NaN

NaN

Proved
parse_inf_nan
NaN. For every byte slice and either value of the separate sign argument, an unsigned NaN keyword returns Some of a NaN.

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 SpecialHelperNan :
    ∀ (s : Slice Std.U8) (negative : Bool), DecimalGoalVocabularyDefault.specialLiteral (DecimalGoalVocabularyDefault.bytes s) none true ->
      ∃ f : F64, num.imp.dec2flt.parse.parse_inf_nan
        F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 s negative = ok (some f) ∧ DecimalGoalVocabularyDefault.isNan f := by

The requirement is proved.

Alternate registered target · outside this verdict
theorem SpecialHelperNan__Refutation : ¬ (∀ (s : Slice Std.U8) (negative : Bool), DecimalGoalVocabularyDefault.specialLiteral (DecimalGoalVocabularyDefault.bytes s) none true ->
      ∃ f : F64, num.imp.dec2flt.parse.parse_inf_nan
        F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 s negative = ok (some f) ∧ DecimalGoalVocabularyDefault.isNan f) := by
Statement registration
Live polarityprove
Authorityregistered Decide default: prove
Registered targetauthored:SpecialHelperNan
Closure nodes
  • SpecialHelperNan

Models and assumptions

Program assumptions and trust

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

All 31 entries