Rounding determinism

Rounding determinism

Proved
Mathematical specification
Rounding determinism. For every nonnegative real, the binary64 magnitude rounding target is unique.

View proof and assumptions

Supporting proofs
Inspect related source (201)
More program dependencies (159)
Standard-library dependencies (39)

Related source and models come from the extraction records and declared dependencies.

Lean statement and supporting proof

Proposition checked for this verdict

theorem RoundingDeterminism :
    ∀ (x : Real) (a b : F64), 0 <= x -> DecimalGoalVocabularyDefault.roundsMagnitude x a ->
      DecimalGoalVocabularyDefault.roundsMagnitude x b -> a = b := by

The requirement is proved.

Alternate registered target · outside this verdict
theorem RoundingDeterminism__Refutation : ¬ (∀ (x : Real) (a b : F64), 0 <= x -> DecimalGoalVocabularyDefault.roundsMagnitude x a ->
      DecimalGoalVocabularyDefault.roundsMagnitude x b -> a = b) := by
Statement registration
Live polarityprove
Authorityregistered Decide default: prove
Registered targetauthored:RoundingDeterminism
Closure nodes
  • RoundingDeterminism

Models and assumptions

Program assumptions and trust

These modeling choices occur in the declared dependencies of this requirement’s proofs.

All 31 entries