Rounding totality

Rounding totality

Proved
Mathematical specification
Rounding totality. Every nonnegative real has a binary64 magnitude rounding target, finite or infinite.

View proof and assumptions

Supporting proofs
Inspect related source (199)
More program dependencies (157)
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 RoundingTotality :
    ∀ x : Real, 0 <= x -> ∃ target : F64, DecimalGoalVocabularyDefault.roundsMagnitude x target := by

The requirement is proved.

Alternate registered target · outside this verdict
theorem RoundingTotality__Refutation : Not
  (∀ (x : Real),
    @LE.le.{0} Real Real.instLE (@OfNat.ofNat.{0} Real (nat_lit 0) (@Zero.toOfNat0.{0} Real Real.instZero)) x →
      @Exists.{1} dec2flt_model.F64 fun (target : dec2flt_model.F64) =>
        dec2flt_model.DecimalGoalVocabulary.roundsMagnitude dec2flt_model.DecimalGoalVocabularyDefault x target) := by
Statement registration
Live polarityprove
Authorityregistered Decide default: prove
Registered targetauthored:RoundingTotality
Closure nodes
  • RoundingTotality

Models and assumptions

Program assumptions and trust

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

All 31 entries