VOOZH about

URL: https://arxiv.org/abs/2604.07626

⇱ [2604.07626] When Equality Fails as a Rewrite Principle: Provenance and Definedness for Measurement-Bearing Expressions


Computer Science > Logic in Computer Science

arXiv:2604.07626 (cs)
[Submitted on 8 Apr 2026]

Title:When Equality Fails as a Rewrite Principle: Provenance and Definedness for Measurement-Bearing Expressions

View PDF HTML (experimental)
Abstract:Ordinary algebraic equality is not a sound rewrite principle for measurement-bearing expressions. Reuse of the same observation matters, and division can make algebraically equal forms differ on where they are defined. We present a unified semantics that tracks both provenance and definedness. Token-sensitive enclosure semantics yields judgments for one-way rewriting and interchangeability. An admissible-domain refinement yields a domain-safe rewrite judgment, and support-relative variants connect local and global admissibility. Reduction theorems recover the enclosure-based theory on universally admissible supports. Recovery theorems internalize cancellation, background subtraction, and positive-interval self-division. Strictness theorems show that reachable singularities make simplification one-way and make common-domain equality too weak for licensed replacement. An insufficiency theorem shows that erasing token identity collapses distinctions that definedness alone cannot recover. All definitions and theorems are formalized in sorry-free Lean 4.
Comments: 14 pages; prepared for submission to Logical Methods in Computer Science
Subjects: Logic in Computer Science (cs.LO); Programming Languages (cs.PL)
Cite as: arXiv:2604.07626 [cs.LO]
(or arXiv:2604.07626v1 [cs.LO] for this version)
https://doi.org/10.48550/arXiv.2604.07626
arXiv-issued DOI via DataCite (pending registration)

Submission history

From: David Barros Hulak [view email]
[v1] Wed, 8 Apr 2026 21:58:01 UTC (34 KB)
Full-text links:

Access Paper:

  • View PDF
  • HTML (experimental)
  • TeX Source
👁 license icon
view license
Current browse context:
cs.LO
< prev   |   next >
Change to browse by:

References & Citations

export BibTeX citation

BibTeX formatted citation

×
Data provided by:

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.