Skip to content

Conversation

@ak-2485
Copy link
Collaborator

@ak-2485 ak-2485 commented Dec 1, 2025

The lemma Bplus_commut in FPCore.v was redundant. The file already imports IEEE754_extra.Bplus_commut, which proves commutativity of float add under the assumption that the payload constructor is itself commutative. More importantly, for most practical cases we only need commutativity under the assumption that the inputs are finite, where the NaN-payload function is never invoked. This PR replaces the redundant lemma with a finite-input commutativity lemma, which is both strictly weaker in assumptions and strictly more useful in downstream proofs.

@ak-2485 ak-2485 requested a review from andrew-appel December 1, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants