A mathematical proof of an independent source program #
The program calls an increment function, compares its actual returned natural number with a supplied limit, and assigns the smaller value to a local before returning it. Both function bodies are typed source syntax. Their mathematical proof uses the generated native functions and ordinary natural-number facts. Shared evaluation adequacy supplies the source contracts used by the compiler, without another implementation proof.
This file establishes source behavior only. Realizing these unbounded natural operations on a word backend requires its separate range, compilation and cost theorems.
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Ordinary mathematical function generated from the same represented source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The source program's declared first-order signatures.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Language.Examples.Scalar.Implementation.increment_onArgs function✝ env✝ = function✝ env✝.head
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The same source execution returns the encoded mathematical result without changing its supplied heap, under the actual input representations.
The named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
This named source function's index in its declared signature table.
Equations
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
One source-body equation in ordinary monadic notation; named callees remain opaque.
Automatic correspondence for the same generated source function, without a machine budget.
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
Ordinary arguments and the actual result observed in their real source heaps. This interface does not assert the existence of a total mathematical model.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Automatic correspondence for the same generated source function, without a machine budget.
Exact total source contract derived from the checked encoded-result equation and the existing raw-input reconstruction, with the same final heap.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
This named source function's index in its declared signature table.
Equations
Instances For
Ordinary arguments and the actual result observed in their real source heaps. This interface does not assert the existence of a total mathematical model.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact total source contract derived from the checked encoded-result equation and the existing raw-input reconstruction, with the same final heap.
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The finite table of actual named source bodies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Language.Examples.Scalar.Implementation.boundedIncrement_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
Ordinary mathematical function generated from the same represented source block.
Equations
Instances For
The same source execution returns the encoded mathematical result without changing its supplied heap, under the actual input representations.
The named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The increment helper and its two-argument caller.
Equations
Instances For
Bind the mathematical sum, then return it from the helper.
Equations
Instances For
Call the real helper, update a local in the selected branch, and observe that update after the branch. The original limit parameter is unchanged.
Equations
Instances For
Both actual typed function bodies, with no host-side executable callback.
Equations
Instances For
The actual named helper has the ordinary mathematical increment value.
The named source function has an ordinary curried mathematical result, obtained from the same source correctness proof.
The caller's source proof composes the helper contract and the actual branch.
A successful invocation exists for every pair of natural inputs, and its actual returned value is the ordinary mathematical minimum.
Every actual return from the caller has the proved mathematical value.
Ordinary mathematical inputs to the existing bounded increment operation.
Instances For
Ordinary mathematical function generated from the same represented source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Actual imported function bodies with their internal calls relocated.
Equations
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact total source contract derived from the checked encoded-result equation and the existing raw-input reconstruction, with the same final heap.
The complete signature tables retained from imported source programs.
Equations
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Language.Examples.Scalar.Structured.update_onArgs function✝ env✝ = function✝ env✝.head
Instances For
This named source function's index in its declared signature table.
Equations
Instances For
The imported functions retain their actual relocated bodies.
The finite table of actual named source bodies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Signature-preserving positions of this imported source program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Signatures of the functions added by this source declaration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Automatic correspondence for the same generated source function, without a machine budget.
The same source execution returns the encoded mathematical result without changing its supplied heap, under the actual input representations.
Added function bodies already typed against the complete linked table.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
One source-body equation in ordinary monadic notation; named callees remain opaque.
Ordinary arguments and the actual result observed in their real source heaps. This interface does not assert the existence of a total mathematical model.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Ordinary arguments and the actual result observed in their real source heaps. This interface does not assert the existence of a total mathematical model.
Equations
- One or more equations did not get rendered due to their size.
Instances For
One source-body equation in ordinary monadic notation; named callees remain opaque.
Exact total source contract derived from the checked encoded-result equation and the existing raw-input reconstruction, with the same final heap.
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
The named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
This named source function's index in its declared signature table.
Equations
Instances For
The same source execution returns the encoded mathematical result without changing its supplied heap, under the actual input representations.
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Automatic correspondence for the same generated source function, without a machine budget.
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Language.Examples.Scalar.Structured.run_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Ordinary mathematical function generated from the same represented source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The source program's declared first-order signatures.
Equations
Instances For
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The native structure view reuses the unchanged scalar helper's mathematics.
Constructing, passing and projecting an ordinary structure needs no second algorithm or representation-specific mathematical proof.
The frontend's generated correspondence transfers the ordinary mathematical equation to this same represented source invocation.
The actual source block observed with ordinary named local inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Executable total value function generated from the same buffer-free source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Finite iteration correspondence, with its one-body obligation left in the enclosing function's callee and recursive-hypothesis scope.
Source lexical immutability preserves these captures on every actual exit.
Prove this actual loop with fixed captures and well-founded progress on its mutable locals. Only normal body exits must decrease; guard effects, returns and faults retain their real heap.
The ordinary mutable locals of this source loop.
Instances For
This actual source block, retaining its loop or allocation-scope semantics.
Equations
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The finite table of actual named source bodies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source lexical immutability preserves these captures on every actual exit.
Prove a named loop from independent mathematical guard and body contracts. Actual guard effects and early body returns are retained; only normal iterations decrease.
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
One source-body equation in ordinary monadic notation; named callees remain opaque.
Introduce named mutable variables directly, without unpacking internal coordinates.
Relational total correctness with ordinary mutable parameters and fixed captures. The existing block contract retains both actual heaps and excludes faults.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Resume from actual mutable locals; immutable captures are preserved by the source frame.
Prove this actual loop using a related mathematical state and well-founded progress. Fixed captures are retained by the generated execution frames.
Relational total correctness with ordinary mutable parameters and fixed captures. The existing block contract retains both actual heaps and excludes faults.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Introduce named mutable variables directly, without unpacking internal coordinates.
The source program's declared first-order signatures.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual source action terminates with the generated native result and preserves every initial heap. Lean's native recursion principle proves this once.
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
The actual source block observed with ordinary named local inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
Compose an increasing count and a transitive heap frame from the actual guard and body contracts. The guard preserves the count and heap; normal body steps increase the count by one. Array effects and the exit consequence remain supplied mathematical facts, without a runtime budget.
Coordinate conversion for composing this named observation.
Source lexical immutability preserves these captures on every actual exit.
Prove a named loop from independent mathematical guard and body contracts. Actual guard effects and early body returns are retained; only normal iterations decrease.
Coordinate conversion for composing this named observation.
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Relational total correctness with ordinary mutable parameters and fixed captures. The existing block contract retains both actual heaps and excludes faults.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Coordinate conversion for composing this named observation.
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
This named source function's index in its declared signature table.
Equations
Instances For
Prove this actual loop with fixed captures and well-founded progress on its mutable locals. Only normal body exits must decrease; guard effects, returns and faults retain their real heap.
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
Introduce named mutable variables directly, without unpacking internal coordinates.
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
Instances For
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
Exact total source contract inherited from the generated native function.
The actual source block observed with ordinary named local inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Restore grouped locals using the checked coordinate projection laws.
Restore complete lexical coordinates without unfolding proof fields.
A dynamic positive stride enumerates the same ordinary arithmetic progression, including empty ranges and a last increment that passes the stop.
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Immutable captures in their registered native types.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Prove a named loop from independent mathematical guard and body contracts. Actual guard effects and early body returns are retained; only normal iterations decrease.
The named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Compose an increasing count and a transitive heap frame from the actual guard and body contracts. The guard preserves the count and heap; normal body steps increase the count by one. Array effects and the exit consequence remain supplied mathematical facts, without a runtime budget.
The actual guard observed at native mutable locals and fixed captures.
One source-body equation in ordinary monadic notation; named callees remain opaque.
Observe any raw layout through its checked native reconstruction. Reconstruction is proof-side transport, not an additional source operation.
Prove a named loop from independent mathematical guard and body contracts. Actual guard effects and early body returns are retained; only normal iterations decrease.
Introduce named mutable variables directly, without unpacking internal coordinates.
The existing source range in checked native local coordinates. Encoding changes neither its iterations, early exits, heap nor source operation costs.
The same actual exit preserves its native immutable captures.
The same range correspondence at arbitrary raw locals, reconstructed through the registered lossless native coordinates for theorem composition.
Resume from actual mutable locals; immutable captures are preserved by the source frame.
Native mathematical arguments and results of this actual source function.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual fixed stride selected from this loop's native captures.
Equations
- Complexity.Language.Examples.Scalar.StructuredRange.sum_loop1.nativeRangeStep captures✝ = captures✝.1
Instances For
Restore native loop coordinates without unfolding equivalence proofs.
Exact total source contract inherited from the generated native function.
Fixed lexical captures, independent of the shared heap.
Equations
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
This actual source block, retaining its loop or allocation-scope semantics.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Observe lexical coordinates without unfolding the equivalence structure.
Executable total value function generated from the same buffer-free source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Observe any raw layout through its checked native reconstruction. Reconstruction is proof-side transport, not an additional source operation.
The same complete environment, grouped by source mutability.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Prove this actual loop using a related mathematical state and well-founded progress. Fixed captures are retained by the generated execution frames.
The actual source block observed with ordinary named local inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A native view of the same environment, with no runtime conversion.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Canonical proof-side encoding of this function's native arguments. It does not insert an uncharged runtime conversion.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The same actual exit preserves its native immutable captures.
Lossless proof coordinates, including fixed and shadowed captures.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Prove this actual loop with fixed captures and well-founded progress on its mutable locals. Only normal body exits must decrease; guard effects, returns and faults retain their real heap.
Relational total correctness with ordinary mutable parameters and fixed captures. The existing block contract retains both actual heaps and excludes faults.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual value-producing guard, reevaluated on every iteration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
Canonical proof-side encoding of this function's native arguments. It does not insert an uncharged runtime conversion.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Executable total value function generated from the same buffer-free source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Transport the same body equation into native locals, retaining actual early returns.
The same source body in native locals, using the already proved callee correspondences. Its result keeps normal continuation and early return distinct and preserves the heap.
The generated ordinary native function describes this same source body.
Source lexical immutability preserves these captures on every actual exit.
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Language.Examples.Scalar.StructuredRange.add_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
The generated pure single-step view, with native mutable values and possible early return. Naming this view adds neither a source operation nor a separate user-written implementation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
The same actual exit preserves its native immutable captures.
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
The generated ordinary native function describes this same source body.
Restore complete lexical coordinates without unfolding proof fields.
Observe native loop coordinates without unfolding registered equivalences.
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
The source program's declared first-order signatures.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual block contract with native mutable parameters and fixed captures. Only the returned predicate decodes the source value; control and both heaps stay unchanged.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
Restore grouped locals using the checked coordinate projection laws.
Coordinate conversion for composing this named observation.
The actual source action terminates with the generated native result and preserves every initial heap. Lean's native recursion principle proves this once.
Native mathematical arguments and results of this actual source function.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual fixed range endpoint selected from this loop's native captures.
Equations
- Complexity.Language.Examples.Scalar.StructuredRange.sum_loop1.nativeRangeStop captures✝ = captures✝.2.2.2.2.2.2.1
Instances For
The actual source block observed with ordinary named local inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Coordinate conversion for composing this named observation.
Source lexical immutability preserves these captures on every actual exit.
Mutable loop coordinates in their registered native types.
Equations
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
Instances For
The actual block contract with native mutable parameters and fixed captures. Only the returned predicate decodes the source value; control and both heaps stay unchanged.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Complete lexical coordinates for this source block.
Equations
Instances For
Introduce named mutable variables directly, without unpacking internal coordinates.
The actual source action terminates with the generated native result and preserves every initial heap. Lean's native recursion principle proves this once.
This named source function's index in its declared signature table.
Equations
Instances For
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
Coordinate conversion for composing this named observation.
The finite table of actual named source bodies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Introduce named mutable variables directly, without unpacking internal coordinates.
Relational total correctness with ordinary mutable parameters and fixed captures. The existing block contract retains both actual heaps and excludes faults.
Equations
- One or more equations did not get rendered due to their size.
Instances For
This named source function's index in its declared signature table.
Equations
Instances For
Prove this actual loop with fixed captures and well-founded progress on its mutable locals. Only normal body exits must decrease; guard effects, returns and faults retain their real heap.
Source lexical immutability preserves these captures on every actual exit.
The actual source block observed with ordinary named local inputs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
Exact total source contract inherited from the generated native function.
The actual block contract with native mutable parameters and fixed captures. Only the returned predicate decodes the source value; control and both heaps stay unchanged.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual parsed lexical body, with its enclosing return type.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Relational total correctness with ordinary mutable parameters and fixed captures. The existing block contract retains both actual heaps and excludes faults.
Equations
- One or more equations did not get rendered due to their size.
Instances For
One source-body equation in ordinary monadic notation; named callees remain opaque.
The structure-valued helper retains the original limit and adds one amount.
A native structure remains the loop accumulator across actual source calls. Ordinary fold transport proves its mathematical sum and unchanged second field.
The mathematical structure equation transfers to the same terminating source function through generated correspondence, without a second loop proof.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
One source-body equation in ordinary monadic notation; named callees remain opaque.
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Language.Examples.Scalar.Signed.distance_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
The imported functions retain their actual relocated bodies.
Ordinary arguments and the actual result observed in their real source heaps. This interface does not assert the existence of a total mathematical model.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Signatures of the functions added by this source declaration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The finite table of actual named source bodies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Ordinary arguments and the actual result observed in their real source heaps. This interface does not assert the existence of a total mathematical model.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Ordinary mathematical function generated from the same represented source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The complete signature tables retained from imported source programs.
Equations
Instances For
This named source function's index in its declared signature table.
Equations
Instances For
This named source function's index in its declared signature table.
Equations
Instances For
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
The named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Added function bodies already typed against the complete linked table.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
The same source execution returns the encoded mathematical result without changing its supplied heap, under the actual input representations.
Ordinary mathematical function generated from the same represented source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The source program's declared first-order signatures.
Equations
Instances For
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
One source-body equation in ordinary monadic notation; named callees remain opaque.
The same source execution returns the encoded mathematical result without changing its supplied heap, under the actual input representations.
Actual imported function bodies with their internal calls relocated.
Equations
Instances For
Automatic correspondence for the same generated source function, without a machine budget.
Automatic correspondence for the same generated source function, without a machine budget.
Signature-preserving positions of this imported source program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Language.Examples.Scalar.Signed.squaredDistance_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Ordinary integer subtraction and absolute value describe the actual signed source calls. The algorithm proof does not mention their sign/magnitude fields.
Generated correspondence transfers the mathematical equation to the same source function, independently of word bounds or an instruction budget.
Multiplication reuses the ordinary integer square, not a proof about the two natural fields used by its implementation.