Component compliance

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

Component compliance

Disproved
dec2flt
Component compliance. The actual source components satisfy the contracts used in abstract composition, including preservation of the input's rounding target. The dispatcher establishes the helper preconditions at their call sites.

View counterexample proof

Later revision · decision
The second dispatch refutation uses the same empty package. Concrete numeric normal-return and record laws must use A, exact-target preservation must use B, and the actual slow helper must still meet its full unsigned diagnostic contract. The prior full-domain compliance approval/proof inventory cannot validate these changed source meanings and requirements.
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 DispatchComponentCompliance__Refutation : ¬ (∃ C : DispatchContracts,
      (∀ (s : Slice Std.U8),
        SourceValidByteSlice s ->
        s.val ≠ [] ->
        ∃ out,
          num.imp.dec2flt.parse.parse_number s = ok out ∧
            C.parseNumber (DecimalGoalVocabularyDefault.bytes s) = out) ∧
      (∀ (s : Slice Std.U8) negative,
        SourceValidByteSlice s ->
        ∃ out,
          num.imp.dec2flt.parse.parse_inf_nan
            F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 s negative = ok out ∧
          C.parseSpecial (DecimalGoalVocabularyDefault.bytes s) negative = out) ∧
      (∀ d out,
        num.imp.dec2flt.decimal.Decimal.try_fast_path
          F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64
          F64.Insts.CoreOpsArithDivF64F64 F64.Insts.CoreOpsArithMulF64F64
          F64.Insts.CoreOpsArithNegF64 d = ok out -> C.native d = out) ∧
      (∀ q w fp,
        num.imp.dec2flt.lemire.compute_float
          F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 q w = ok fp ->
        C.integer q w = fp) ∧
      (∀ (body : Slice Std.U8) x,
        SourceValidByteSlice body ->
        x.leadingSign = none ->
        DecimalGoalVocabularyDefault.validNumeric x ->
        DecimalGoalVocabularyDefault.renderNumeric x =
          DecimalGoalVocabularyDefault.bytes body ->
        ∃ fp,
          num.imp.dec2flt.slow.parse_long_mantissa
            F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 body = ok fp ∧
          C.slow (DecimalGoalVocabularyDefault.bytes body) = fp) ∧
      (∀ fp f,
        num.imp.dec2flt.biased_fp_to_float
          F64.Insts.Dec2flt_modelNumImpTraitsFloatExtU64 fp = ok f ->
        C.assemble fp = f) ∧
      (∀ magnitude result,
        F64.Insts.CoreOpsArithNegF64.neg magnitude = ok result ->
        C.applySign true magnitude = result) ∧
      (∀ magnitude, C.applySign false magnitude = magnitude) ∧
      (∀ a b equal,
        num.imp.dec2flt.common.BiasedFp.Insts.CoreCmpPartialEqBiasedFp.eq
          a b = ok equal -> C.samePair a b = equal) ∧
      ∀ (s : Str) r (tr : num.imp.dec2flt.Dec2FltTrace F64),
        DecimalGoalVocabularyDefault.sourceString s ->
        num.imp.dec2flt.dec2flt_with_trace
          F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64
          F64.Insts.CoreOpsArithDivF64F64 F64.Insts.CoreOpsArithMulF64F64
          F64.Insts.CoreOpsArithNegF64 s = ok (r, tr) ->
        num.imp.dec2flt.dec2flt
          F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64
          F64.Insts.CoreOpsArithDivF64F64 F64.Insts.CoreOpsArithMulF64F64
          F64.Insts.CoreOpsArithNegF64 s = ok r ∧
        match tr with
        | num.imp.dec2flt.Dec2FltTrace.EmptyInput =>
            DecimalGoalVocabularyDefault.bytes s = [] ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) = none ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) none ∧
              ∃ e, r = core.result.Result.Err e
        | num.imp.dec2flt.Dec2FltTrace.SignOnly body negative =>
            body.val = [] ∧
              DecimalGoalVocabularyDefault.bytes s =
                [if negative then 45 else 43] ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) = none ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) none ∧
              ∃ e, r = core.result.Result.Err e
        | num.imp.dec2flt.Dec2FltTrace.Invalid body negative
            parseNumber parseSpecial =>
            ∃ sign,
              body.val ≠ [] ∧
              SourceValidByteSlice body ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) =
                some (sign, DecimalGoalVocabularyDefault.bytes body) ∧
              negative = decide (sign = some true) ∧
              parseNumber = none ∧
              C.parseNumber (DecimalGoalVocabularyDefault.bytes body) = none ∧
              parseSpecial = none ∧
              C.parseSpecial (DecimalGoalVocabularyDefault.bytes body) negative = none ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) none ∧
              ∃ e, r = core.result.Result.Err e
        | num.imp.dec2flt.Dec2FltTrace.Special body negative
            parseNumber parseSpecial result =>
            ∃ sign,
              body.val ≠ [] ∧
              SourceValidByteSlice body ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) =
                some (sign, DecimalGoalVocabularyDefault.bytes body) ∧
              negative = decide (sign = some true) ∧
              parseNumber = none ∧
              C.parseNumber (DecimalGoalVocabularyDefault.bytes body) = none ∧
              parseSpecial = some result ∧
              C.parseSpecial (DecimalGoalVocabularyDefault.bytes body) negative =
                some result ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) (some result) ∧
              r = core.result.Result.Ok result
        | num.imp.dec2flt.Dec2FltTrace.FastPath body negative parseNumber
            fastInput fastResult result =>
            ∃ sign parsed,
              body.val ≠ [] ∧
              SourceValidByteSlice body ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) =
                some (sign, DecimalGoalVocabularyDefault.bytes body) ∧
              negative = decide (sign = some true) ∧
              parseNumber = some parsed ∧
              C.parseNumber (DecimalGoalVocabularyDefault.bytes body) = some parsed ∧
              fastInput = { parsed with negative := negative } ∧
              C.native fastInput = fastResult ∧ fastResult = some result ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) (some result) ∧
              r = core.result.Result.Ok result
        | num.imp.dec2flt.Dec2FltTrace.Assembled a =>
            ∃ sign parsed,
              a.body.val ≠ [] ∧
              SourceValidByteSlice a.body ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) =
                some (sign, DecimalGoalVocabularyDefault.bytes a.body) ∧
              a.negative = decide (sign = some true) ∧
              a.parse_number_result = some parsed ∧
              C.parseNumber (DecimalGoalVocabularyDefault.bytes a.body) = some parsed ∧
              a.fast_path_input = { parsed with negative := a.negative } ∧
              a.fast_path_result = none ∧ C.native a.fast_path_input = none ∧
              a.first_compute_exponent = parsed.exponent ∧
              a.first_compute_mantissa = parsed.mantissa ∧
              C.integer a.first_compute_exponent a.first_compute_mantissa =
                a.first_compute_result ∧
              parsed.mantissa.val < 10 ^ 19 ∧
              parsed.mantissa.val + 1 < 2 ^ 64 ∧
              a.second_compute_guard =
                (parsed.many_digits &&
                  decide (0 <= a.first_compute_result.p_biased.val)) ∧
              (a.second_compute_guard = true ->
                ∃ nextMantissa second,
                  a.second_compute_exponent = some parsed.exponent ∧
                  a.second_compute_mantissa = some nextMantissa ∧
                  C.incrementMantissa parsed.mantissa = some nextMantissa ∧
                  nextMantissa.val = parsed.mantissa.val + 1 ∧
                  a.second_compute_result = some second ∧
                  C.integer parsed.exponent nextMantissa = second ∧
                  a.second_equals_first =
                    some (C.samePair a.first_compute_result second) ∧
                  ((C.samePair a.first_compute_result second = true ∧
                      a.forced_deferral = false ∧
                      a.post_comparison_pair = a.first_compute_result) ∨
                   (C.samePair a.first_compute_result second = false ∧
                      a.forced_deferral = true ∧
                      a.post_comparison_pair =
                        C.forceDefer a.first_compute_result ∧
                      a.post_comparison_pair.m = a.first_compute_result.m ∧
                      a.post_comparison_pair.p_biased.val = -1))) ∧
              (a.second_compute_guard = false ->
                a.second_compute_exponent = none ∧
                  a.second_compute_mantissa = none ∧
                  a.second_compute_result = none ∧
                  a.second_equals_first = none ∧
                  a.forced_deferral = false ∧
                  a.post_comparison_pair = a.first_compute_result) ∧
              a.slow_path_guard =
                decide (a.post_comparison_pair.p_biased.val < 0) ∧
              (a.slow_path_guard = true ->
                ∃ replacement,
                  a.slow_path_result = some replacement ∧
                  C.slow (DecimalGoalVocabularyDefault.bytes a.body) = replacement ∧
                  a.selected_pair = replacement) ∧
              (a.slow_path_guard = false ->
                a.slow_path_result = none ∧
                  a.selected_pair = a.post_comparison_pair) ∧
              C.assemble a.selected_pair = a.assembly_result ∧
              DecimalGoalVocabularyDefault.assembledWord
                a.selected_pair a.assembly_result ∧
              a.assembled_word.val = a.assembly_result.val ∧
              a.lexical_sign_applied = a.negative ∧
              C.applySign a.negative a.assembly_result = a.result ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) (some a.result) ∧
              r = core.result.Result.Ok a.result) := by

The negation is proved, disproving the requirement.

Alternate registered target · outside this verdict
theorem DispatchComponentCompliance :
    ∃ C : DispatchContracts,
      (∀ (s : Slice Std.U8),
        SourceValidByteSlice s ->
        s.val ≠ [] ->
        ∃ out,
          num.imp.dec2flt.parse.parse_number s = ok out ∧
            C.parseNumber (DecimalGoalVocabularyDefault.bytes s) = out) ∧
      (∀ (s : Slice Std.U8) negative,
        SourceValidByteSlice s ->
        ∃ out,
          num.imp.dec2flt.parse.parse_inf_nan
            F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 s negative = ok out ∧
          C.parseSpecial (DecimalGoalVocabularyDefault.bytes s) negative = out) ∧
      (∀ d out,
        num.imp.dec2flt.decimal.Decimal.try_fast_path
          F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64
          F64.Insts.CoreOpsArithDivF64F64 F64.Insts.CoreOpsArithMulF64F64
          F64.Insts.CoreOpsArithNegF64 d = ok out -> C.native d = out) ∧
      (∀ q w fp,
        num.imp.dec2flt.lemire.compute_float
          F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 q w = ok fp ->
        C.integer q w = fp) ∧
      (∀ (body : Slice Std.U8) x,
        SourceValidByteSlice body ->
        x.leadingSign = none ->
        DecimalGoalVocabularyDefault.validNumeric x ->
        DecimalGoalVocabularyDefault.renderNumeric x =
          DecimalGoalVocabularyDefault.bytes body ->
        ∃ fp,
          num.imp.dec2flt.slow.parse_long_mantissa
            F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 body = ok fp ∧
          C.slow (DecimalGoalVocabularyDefault.bytes body) = fp) ∧
      (∀ fp f,
        num.imp.dec2flt.biased_fp_to_float
          F64.Insts.Dec2flt_modelNumImpTraitsFloatExtU64 fp = ok f ->
        C.assemble fp = f) ∧
      (∀ magnitude result,
        F64.Insts.CoreOpsArithNegF64.neg magnitude = ok result ->
        C.applySign true magnitude = result) ∧
      (∀ magnitude, C.applySign false magnitude = magnitude) ∧
      (∀ a b equal,
        num.imp.dec2flt.common.BiasedFp.Insts.CoreCmpPartialEqBiasedFp.eq
          a b = ok equal -> C.samePair a b = equal) ∧
      ∀ (s : Str) r (tr : num.imp.dec2flt.Dec2FltTrace F64),
        DecimalGoalVocabularyDefault.sourceString s ->
        num.imp.dec2flt.dec2flt_with_trace
          F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64
          F64.Insts.CoreOpsArithDivF64F64 F64.Insts.CoreOpsArithMulF64F64
          F64.Insts.CoreOpsArithNegF64 s = ok (r, tr) ->
        num.imp.dec2flt.dec2flt
          F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64
          F64.Insts.CoreOpsArithDivF64F64 F64.Insts.CoreOpsArithMulF64F64
          F64.Insts.CoreOpsArithNegF64 s = ok r ∧
        match tr with
        | num.imp.dec2flt.Dec2FltTrace.EmptyInput =>
            DecimalGoalVocabularyDefault.bytes s = [] ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) = none ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) none ∧
              ∃ e, r = core.result.Result.Err e
        | num.imp.dec2flt.Dec2FltTrace.SignOnly body negative =>
            body.val = [] ∧
              DecimalGoalVocabularyDefault.bytes s =
                [if negative then 45 else 43] ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) = none ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) none ∧
              ∃ e, r = core.result.Result.Err e
        | num.imp.dec2flt.Dec2FltTrace.Invalid body negative
            parseNumber parseSpecial =>
            ∃ sign,
              body.val ≠ [] ∧
              SourceValidByteSlice body ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) =
                some (sign, DecimalGoalVocabularyDefault.bytes body) ∧
              negative = decide (sign = some true) ∧
              parseNumber = none ∧
              C.parseNumber (DecimalGoalVocabularyDefault.bytes body) = none ∧
              parseSpecial = none ∧
              C.parseSpecial (DecimalGoalVocabularyDefault.bytes body) negative = none ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) none ∧
              ∃ e, r = core.result.Result.Err e
        | num.imp.dec2flt.Dec2FltTrace.Special body negative
            parseNumber parseSpecial result =>
            ∃ sign,
              body.val ≠ [] ∧
              SourceValidByteSlice body ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) =
                some (sign, DecimalGoalVocabularyDefault.bytes body) ∧
              negative = decide (sign = some true) ∧
              parseNumber = none ∧
              C.parseNumber (DecimalGoalVocabularyDefault.bytes body) = none ∧
              parseSpecial = some result ∧
              C.parseSpecial (DecimalGoalVocabularyDefault.bytes body) negative =
                some result ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) (some result) ∧
              r = core.result.Result.Ok result
        | num.imp.dec2flt.Dec2FltTrace.FastPath body negative parseNumber
            fastInput fastResult result =>
            ∃ sign parsed,
              body.val ≠ [] ∧
              SourceValidByteSlice body ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) =
                some (sign, DecimalGoalVocabularyDefault.bytes body) ∧
              negative = decide (sign = some true) ∧
              parseNumber = some parsed ∧
              C.parseNumber (DecimalGoalVocabularyDefault.bytes body) = some parsed ∧
              fastInput = { parsed with negative := negative } ∧
              C.native fastInput = fastResult ∧ fastResult = some result ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) (some result) ∧
              r = core.result.Result.Ok result
        | num.imp.dec2flt.Dec2FltTrace.Assembled a =>
            ∃ sign parsed,
              a.body.val ≠ [] ∧
              SourceValidByteSlice a.body ∧
              C.stripSign (DecimalGoalVocabularyDefault.bytes s) =
                some (sign, DecimalGoalVocabularyDefault.bytes a.body) ∧
              a.negative = decide (sign = some true) ∧
              a.parse_number_result = some parsed ∧
              C.parseNumber (DecimalGoalVocabularyDefault.bytes a.body) = some parsed ∧
              a.fast_path_input = { parsed with negative := a.negative } ∧
              a.fast_path_result = none ∧ C.native a.fast_path_input = none ∧
              a.first_compute_exponent = parsed.exponent ∧
              a.first_compute_mantissa = parsed.mantissa ∧
              C.integer a.first_compute_exponent a.first_compute_mantissa =
                a.first_compute_result ∧
              parsed.mantissa.val < 10 ^ 19 ∧
              parsed.mantissa.val + 1 < 2 ^ 64 ∧
              a.second_compute_guard =
                (parsed.many_digits &&
                  decide (0 <= a.first_compute_result.p_biased.val)) ∧
              (a.second_compute_guard = true ->
                ∃ nextMantissa second,
                  a.second_compute_exponent = some parsed.exponent ∧
                  a.second_compute_mantissa = some nextMantissa ∧
                  C.incrementMantissa parsed.mantissa = some nextMantissa ∧
                  nextMantissa.val = parsed.mantissa.val + 1 ∧
                  a.second_compute_result = some second ∧
                  C.integer parsed.exponent nextMantissa = second ∧
                  a.second_equals_first =
                    some (C.samePair a.first_compute_result second) ∧
                  ((C.samePair a.first_compute_result second = true ∧
                      a.forced_deferral = false ∧
                      a.post_comparison_pair = a.first_compute_result) ∨
                   (C.samePair a.first_compute_result second = false ∧
                      a.forced_deferral = true ∧
                      a.post_comparison_pair =
                        C.forceDefer a.first_compute_result ∧
                      a.post_comparison_pair.m = a.first_compute_result.m ∧
                      a.post_comparison_pair.p_biased.val = -1))) ∧
              (a.second_compute_guard = false ->
                a.second_compute_exponent = none ∧
                  a.second_compute_mantissa = none ∧
                  a.second_compute_result = none ∧
                  a.second_equals_first = none ∧
                  a.forced_deferral = false ∧
                  a.post_comparison_pair = a.first_compute_result) ∧
              a.slow_path_guard =
                decide (a.post_comparison_pair.p_biased.val < 0) ∧
              (a.slow_path_guard = true ->
                ∃ replacement,
                  a.slow_path_result = some replacement ∧
                  C.slow (DecimalGoalVocabularyDefault.bytes a.body) = replacement ∧
                  a.selected_pair = replacement) ∧
              (a.slow_path_guard = false ->
                a.slow_path_result = none ∧
                  a.selected_pair = a.post_comparison_pair) ∧
              C.assemble a.selected_pair = a.assembly_result ∧
              DecimalGoalVocabularyDefault.assembledWord
                a.selected_pair a.assembly_result ∧
              a.assembled_word.val = a.assembly_result.val ∧
              a.lexical_sign_applied = a.negative ∧
              C.applySign a.negative a.assembly_result = a.result ∧
              C.flow (DecimalGoalVocabularyDefault.bytes s) (some a.result) ∧
              r = core.result.Result.Ok a.result := by
Statement registration
Live polaritydisprove
Authorityrecorded audit polarity
Registered targetauthored:DispatchComponentCompliance__refutation
Closure nodes
  • DispatchComponentCompliance__Refutation
Counterexample argument as recorded · DispatchComponentCompliance__Refutation

Theorem

The following result is false: There is one instance of the shared contracts in DispatchContracts such that, on every nonempty source-valid Rust byte slice, the extracted numeric parser returns normally and its result equals the contract's numeric-parser result. On every source-valid Rust byte slice, including the empty slice, and for either sign, the extracted special parser returns normally and its result equals the contract's special-parser result. On every source-valid slice carrying a valid unsigned numeric lexeme whose rendering is exactly the slice bytes, the extracted slow component also returns normally and its raw pair equals the contract's slow result. The instance's native, integer, comparison, assembly, and sign operations agree with every normal return of their corresponding extracted components. No helper-slice clause adds a UTF-8 premise. The instance therefore preserves each input's exact rounding target through the parsed-record equality or many-digit endpoint interval, and it retains all source-valid input domains and each component's normal-return-or-deferral distinction.
For every source-valid Rust string and every normal execution of the extracted traced dispatcher, the public dispatcher has the trace's first result projection and the same contract instance records the exact value flow. Empty and sign-only inputs take their distinct error branches. Otherwise the trace body is precisely the nonempty sign-stripped body, is a source-valid Rust byte slice, and its Boolean sign is the stripped optional sign; numeric and special parser results equal the corresponding contract results. Thus every traced numeric call receives the already-established nonempty source-valid body, while special-parser agreement itself remains quantified over all source-valid slices. A native return receives the parsed record with only its sign overwritten. On the assembly path, native conversion returned None; the first integer call receives exactly the parsed exponent and mantissa and produces the recorded first pair. The recorded second-call guard is exactly ``many digits and nonnegative first biased exponent.'' When true, the parser's \mathtt{mantissa}<10^{19} bound makes mantissa plus one safe in u64; the second call receives that successor and the same exponent, and the trace records its result and exact comparison with the first pair. Equality retains the first pair, while inequality preserves its mantissa, sets its exponent to -1, and records forced deferral. A false guard records no second operands or result and retains the first pair.
The slow-path guard is exactly negativity of the post-comparison exponent. A true guard calls the slow component on the unchanged sign-stripped body and selects its replacement pair; a false guard records no slow result and selects the post-comparison pair. The selected pair, assembled word, assembly result, whether the lexical sign is applied, and final result are all equal to their successive contract values. Direct special and native returns select no raw pair. Thus the source-string precondition on whole flow, the nonempty source-valid-slice preconditions on numeric parsing, the all-slices source-valid precondition on special parsing, the valid-rendering preconditions on slow fallback, and every other helper precondition and intermediate observation used by abstract composition are established at their actual call sites.

Proof

Suppose, for contradiction, that the complete positive compliance claim in the theorem statement holds. Its outermost quantifier supplies a witness C:\texttt{DispatchContracts}; all the component-agreement and traced-flow clauses following that witness are additional conjuncts and are not needed for this contradiction. The witness C gives an inhabitant of \operatorname{Nonempty}(\texttt{DispatchContracts}). However, DispatchContractsUninhabited states that no dispatcher contract package exists, equivalently that \operatorname{Nonempty}(\texttt{DispatchContracts}) is false. Applying that result to the inhabitant represented by C yields a contradiction. Hence the assumed existential compliance claim is false, which is exactly the asserted refutation.
DispatchComponentCompliance Refutation
Recorded replacement requirements

dispatch_component_compliance

dec2flt
Conditional component compliance. Let A = 3 EiB and B = ≈ 512 PiB. 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.
Compare requirement statements

Revised program

dec2flt
Conditional component compliance. Let A = 3 EiB and B = ≈ 512 PiB. 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.

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