Exponent agreement

Exponent agreement

Proved
Mathematical specification
Exponent agreement. For every numeric literal whose accumulated explicit exponent equals its mathematical explicit exponent, exact and accumulated-exponent rounding agree.

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 ExponentValueAgreement :
    ∀ x : DecimalLexeme, DecimalGoalVocabularyDefault.validNumeric x ->
      DecimalGoalVocabularyDefault.accumulatedExplicitExponent x = DecimalGoalVocabularyDefault.mathExplicitExponent x ->
      ∀ target : F64,
        DecimalGoalVocabularyDefault.roundsMagnitude (DecimalGoalVocabularyDefault.exactMagnitude x) target ↔
        DecimalGoalVocabularyDefault.roundsMagnitude (DecimalGoalVocabularyDefault.accumulatedMagnitude x) target := by

The requirement is proved.

Alternate registered target · outside this verdict
theorem ExponentValueAgreement__Refutation : ¬ (∀ x : DecimalLexeme, DecimalGoalVocabularyDefault.validNumeric x ->
      DecimalGoalVocabularyDefault.accumulatedExplicitExponent x = DecimalGoalVocabularyDefault.mathExplicitExponent x ->
      ∀ target : F64,
        DecimalGoalVocabularyDefault.roundsMagnitude (DecimalGoalVocabularyDefault.exactMagnitude x) target ↔
        DecimalGoalVocabularyDefault.roundsMagnitude (DecimalGoalVocabularyDefault.accumulatedMagnitude x) target) := by
Statement registration
Live polarityprove
Authorityregistered Decide default: prove
Registered targetauthored:ExponentValueAgreement
Closure nodes
  • ExponentValueAgreement

Models and assumptions

Program assumptions and trust

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

All 31 entries