Abstract composition

The statement differs between program versions. Each verdict below belongs to the statement shown on its page.

Abstract composition

Disproved
dec2flt
Abstract composition. The lexical and conversion component contracts admit implementations. For any components satisfying those contracts, the dispatcher's normal results satisfy the classification, rounding, and sign requirements. This includes the native shortcut, integer tier, many-digit decision, fallback, sign handling, and final assembly.

View counterexample proof

Later revision · decision
Its refutation proves that the historical package is uninhabited, not a failed dispatcher execution. The minimal fixed-cutoff repair preserves exact targets only through B and normal numeric lexical behavior through A. Revise the component domains and dispatcher conclusions explicitly, retaining genuine inhabitability and all independent unbounded conversion contracts. This prevents a hidden global exact/diagnostic contradiction outside B.
Definitions quoted from revised requirements

Conditional abstract composition

dec2flt
Conditional abstract composition. Let A = 3458764513820540928 bytes and B = 576460752303421440 bytes. The lexical and conversion component contracts admit implementations, with numeric lexical acceptance, rejection and record representation required for nonempty source-valid byte slices of length at most A, and preservation of the ordinary mathematical exact rounding target required for numeric inputs of length at most B. Special parsing, native correctness-or-defer, integer correctness-or-defer, unrestricted assembly, and the full-significand accumulated-exponent slow diagnostic retain their existing domains; the slow diagnostic applies to every source-valid unsigned numeric literal, without an A or B restriction. For any components satisfying these contracts, the dispatcher's normal results on Rust strings of byte length at most A satisfy classification, accumulated-exponent rounding and lexical sign requirements. On numeric strings of byte length at most B they additionally satisfy ordinary mathematical exact rounding. These conclusions include the native shortcut, integer tier, many-digit endpoint decision, fallback, sign handling and final assembly. Contract inhabitability and the existence of an abstract normal output for every Rust string of byte length at most A must be established, not inferred from an implication over an empty contract package.

Conditional component compliance

dec2flt
Conditional component compliance. Let A = 3458764513820540928 bytes and B = 576460752303421440 bytes. The actual source components satisfy the contracts used in conditional abstract composition. In particular, the numeric lexical component returns normally and satisfies acceptance, rejection and record representation on every nonempty source-valid byte slice of length at most A; it preserves the input's ordinary mathematical exact rounding target on numeric slices of length at most B. The source components for special parsing, native conversion, integer conversion and unrestricted assembly retain their existing full-domain obligations. The actual slow component satisfies the full-significand accumulated-exponent diagnostic on every source-valid unsigned numeric literal, without a length restriction. For every Rust string of byte length at most A, the concrete dispatcher agrees with the abstract component operations at its calls and establishes their helper preconditions. On numeric strings of byte length at most B, this agreement additionally preserves the exact rounding target throughout dispatch. These obligations include native shortcut, integer tier, many-digit decision, fallback, sign handling and assembly, and require a genuinely inhabited compatible component package.
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 DispatchAbstractComposition__Refutation : ¬ ((∃ C : DispatchContracts,
      ∀ s, DecimalGoalVocabularyDefault.sourceString s ->
        ∃ out, C.flow (DecimalGoalVocabularyDefault.bytes s) out) ∧
    ∀ (C : DispatchContracts) s out,
      DecimalGoalVocabularyDefault.sourceString s ->
      C.flow (DecimalGoalVocabularyDefault.bytes s) out ->
      (out = none ↔ DecimalGoalVocabularyDefault.classifies
        (DecimalGoalVocabularyDefault.bytes s) none) ∧
      (∀ x, DecimalGoalVocabularyDefault.classifies
          (DecimalGoalVocabularyDefault.bytes s) (some (Sum.inl x)) ->
          ∃ (f target : F64), out = some f ∧
            DecimalGoalVocabularyDefault.roundsMagnitude
              (DecimalGoalVocabularyDefault.exactMagnitude x) target ∧
            DecimalGoalVocabularyDefault.signedMagnitude
              (DecimalGoalVocabularyDefault.lexicalNegative x) target f) ∧
      (∀ sign nan,
        DecimalGoalVocabularyDefault.classifies
          (DecimalGoalVocabularyDefault.bytes s)
          (some (Sum.inr (sign, nan))) ->
        ∃ f, out = some f ∧
          (if nan then DecimalGoalVocabularyDefault.isNan f
           else DecimalGoalVocabularyDefault.isInfinity (sign = some true) f))) := by

The negation is proved, disproving the requirement.

Alternate registered target · outside this verdict
theorem DispatchAbstractComposition :
    (∃ C : DispatchContracts,
      ∀ s, DecimalGoalVocabularyDefault.sourceString s ->
        ∃ out, C.flow (DecimalGoalVocabularyDefault.bytes s) out) ∧
    ∀ (C : DispatchContracts) s out,
      DecimalGoalVocabularyDefault.sourceString s ->
      C.flow (DecimalGoalVocabularyDefault.bytes s) out ->
      (out = none ↔ DecimalGoalVocabularyDefault.classifies
        (DecimalGoalVocabularyDefault.bytes s) none) ∧
      (∀ x, DecimalGoalVocabularyDefault.classifies
          (DecimalGoalVocabularyDefault.bytes s) (some (Sum.inl x)) ->
          ∃ (f target : F64), out = some f ∧
            DecimalGoalVocabularyDefault.roundsMagnitude
              (DecimalGoalVocabularyDefault.exactMagnitude x) target ∧
            DecimalGoalVocabularyDefault.signedMagnitude
              (DecimalGoalVocabularyDefault.lexicalNegative x) target f) ∧
      (∀ sign nan,
        DecimalGoalVocabularyDefault.classifies
          (DecimalGoalVocabularyDefault.bytes s)
          (some (Sum.inr (sign, nan))) ->
        ∃ f, out = some f ∧
          (if nan then DecimalGoalVocabularyDefault.isNan f
           else DecimalGoalVocabularyDefault.isInfinity (sign = some true) f)) := by
Statement registration
Live polaritydisprove
Authorityrecorded audit polarity
Registered targetauthored:DispatchAbstractComposition__refutation
Closure nodes
  • DispatchAbstractComposition__Refutation
Counterexample argument as recorded · DispatchAbstractComposition__Refutation

Theorem

The following result is false: The shared lexical, native-shortcut, integer-tier, many-digit comparison/deferral, slow-fallback, assembly, and sign contracts of DispatchContracts admit implementations whose explicit dispatcher flow produces a normal result for the bytes of every source-valid Rust string. For any implementation of those same contracts and every source-valid Rust string, that flow first strips the sign; failed stripping is invalid, while successful stripping obtains a source-valid byte-slice body and performs numeric-or-special lexical classification. On a numeric record it tries the native shortcut; after native deferral it computes the first integer pair, conditionally computes the mantissa-plus-one pair for a many-digit record, retains an equal pair or forces deferral on disagreement, replaces a deferred pair by the slow result, assembles the selected pair, and finally applies the lexical sign. Every normal flow result is invalid exactly for an invalid input; every numeric literal returns its exact binary64 magnitude rounding with its lexical sign; and every special literal returns a NaN or the infinity with its lexical sign, as appropriate.

Proof

Suppose the displayed positive claim held. Its first conjunct supplies a dispatcher contract package C, and therefore supplies an inhabitant of DispatchContracts. This contradicts DispatchContractsUninhabited, which proves that no such package exists. Hence the exact positive claim displayed above is false.
DispatchAbstractComposition Refutation
Recorded replacement requirements

dispatch_abstract_composition

dec2flt
Conditional abstract composition. Let A = 3 EiB and B = ≈ 512 PiB. The lexical and conversion component contracts admit implementations, with numeric lexical acceptance, rejection and record representation required for nonempty source-valid byte slices of length at most A, and preservation of the ordinary mathematical exact rounding target required for numeric inputs of length at most B. Special parsing, native correctness-or-defer, integer correctness-or-defer, unrestricted assembly, and the full-significand accumulated-exponent slow diagnostic retain their existing domains; the slow diagnostic applies to every source-valid unsigned numeric literal, without an A or B restriction. For any components satisfying these contracts, the dispatcher's normal results on Rust strings of byte length at most A satisfy classification, accumulated-exponent rounding and lexical sign requirements. On numeric strings of byte length at most B they additionally satisfy ordinary mathematical exact rounding. These conclusions include the native shortcut, integer tier, many-digit endpoint decision, fallback, sign handling and final assembly. Contract inhabitability and the existence of an abstract normal output for every Rust string of byte length at most A must be established, not inferred from an implication over an empty contract package.
Compare requirement statements

Revised program

dec2flt
Conditional abstract composition. Let A = 3 EiB and B = ≈ 512 PiB. The lexical and conversion component contracts admit implementations, with numeric lexical acceptance, rejection and record representation required for nonempty source-valid byte slices of length at most A, and preservation of the ordinary mathematical exact rounding target required for numeric inputs of length at most B. Special parsing, native correctness-or-defer, integer correctness-or-defer, unrestricted assembly, and the full-significand accumulated-exponent slow diagnostic retain their existing domains; the slow diagnostic applies to every source-valid unsigned numeric literal, without an A or B restriction. For any components satisfying these contracts, the dispatcher's normal results on Rust strings of byte length at most A satisfy classification, accumulated-exponent rounding and lexical sign requirements. On numeric strings of byte length at most B they additionally satisfy ordinary mathematical exact rounding. These conclusions include the native shortcut, integer tier, many-digit endpoint decision, fallback, sign handling and final assembly. Contract inhabitability and the existence of an abstract normal output for every Rust string of byte length at most A must be established, not inferred from an implication over an empty contract package.

Read this version’s verdict and proof

Models and assumptions

Program assumptions and trust

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

All 33 entries