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 a PDF of the paper titled When Equality Fails as a Rewrite Principle: Provenance and Definedness for Measurement-Bearing Expressions, by David B. Hulak and 2 other authors
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)
|
Full-text links:
Access Paper:
- View PDF
- HTML (experimental)
- TeX Source
View a PDF of the paper titled When Equality Fails as a Rewrite Principle: Provenance and Definedness for Measurement-Bearing Expressions, by David B. Hulak and 2 other authors
References & Citations
Loading...
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
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.
