Native linked-list programs and named node operations #
The author writes one optional-root match and one ref.read. The generated
source body is definitionally the public linked-list operation, so its existing
mathematical contract and refinement apply directly. The generated uncons_eq
observes the same read through NodeRef.readM; no host list traversal or second
machine proof supplies its behavior. Construction similarly writes one
NodeRef.cons, reuses the public cons contract, and retains the exact new heap
and fresh root. A singleton demonstrates inference of an absent tail's type.
The native family accepts ordinary List Nat arguments. One declaration
generates a mathematical function and an actual node-backed source function;
its refinement is generated without an author-written traversal proof.
Constant initial values, reordered parameters, consecutive folds and calls to
earlier native functions use the same correspondence construction. Mathematical
sum proofs use existing List algebra and do not mention source environments.
NativeConstruction also returns ordinary lists. Its generated source allocates
real nodes, shares tails and composes calls at their actual intermediate heaps.
The mathematical proofs remain ordinary list equations; the final consumer
observes both an old list and its new extension after allocation.
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.LinkedList.Reducer.add_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
Exact total source contract inherited from the generated native function.
One source-body equation in ordinary monadic notation; named callees remain opaque.
Executable total value function generated from the same buffer-free source block.
Equations
- Complexity.Language.Examples.LinkedList.Reducer.add accumulator head = (pure (accumulator.add head)).run
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.
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.
The finite table of actual named source bodies.
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
- Complexity.Language.Examples.LinkedList.Reducer.add_args accumulator head = Complexity.Language.Env.cons accumulator (Complexity.Language.Env.cons head Complexity.Language.Env.empty)
Instances For
The source program's declared first-order signatures.
Equations
Instances For
This named source function's index in its declared signature table.
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
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
A named fold callback is an ordinary mathematical function generated from the same source body as its executable implementation.
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 source program's declared first-order signatures.
Equations
- One or more equations did not get rendered due to their size.
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
One source-body equation in ordinary monadic notation; named callees remain opaque.
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.
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 source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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 same source action, without an asserted total mathematical model.
Equations
Instances For
This named source function's index in its declared signature table.
Equations
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.LinkedList.Implementation.Source.uncons_onArgs function✝ env✝ = function✝ env✝.head
Instances For
The high-level declaration generates exactly the already verified source body.
The public operation's contract applies without another implementation proof.
Ordinary List decomposition refines the same named source declaration.
The native action returns the ordinary head/tail view and preserves the entire initial heap, including other roots sharing this list's tail.
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.
One source-body equation in ordinary monadic notation; named callees remain opaque.
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 source program's declared first-order signatures.
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.LinkedList.Construction.cons_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
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
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
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.
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
This named source function's index in its declared signature table.
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 independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Named construction generates exactly the existing public cons operation.
The public contract supplies mathematical cons, the exact allocated heap and fresh root, and preservation of every old represented list.
The same named constructor refines ordinary mathematical List.cons.
The native action inherits the public source contract without reproving allocation or the representation of the shared tail.
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 named function's actual independently interpreted source body.
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
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.LinkedList.Singleton.singleton_onArgs function✝ env✝ = function✝ env✝.head
Instances For
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.
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.
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 source program's declared first-order signatures.
Equations
Instances For
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
The inferred absent tail is an ordinary typed primitive binding before the real allocation, not an unchecked host-side list constructor.
The generated observation equations identify singleton with cons of the absent tail, even though their source argument lists differ.
The singleton has the ordinary [head] contract and allocates exactly
the same fresh node as the public constructor with an empty represented tail.
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.
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.LinkedList.Native.Source.sum_onArgs function✝ env✝ = function✝ env✝.head
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.
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
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.
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 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
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
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 independently interpreted source body.
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.
Equations
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Automatic correspondence for the same generated source function, without a machine budget.
Fold an actual source invocation back to its named ordinary-argument observation.
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.
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
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.
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.
Automatic correspondence for the same generated source function, without a machine budget.
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.
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.
Automatic correspondence for the same generated source function, without a machine budget.
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
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
Equations
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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 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 actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
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
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.
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.LinkedList.Native.Source.sumTwice_onArgs function✝ env✝ = function✝ env✝.head
Instances For
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
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
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
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
- One or more equations did not get rendered due to their size.
Instances For
Fold an actual source invocation back to its named ordinary-argument observation.
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 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 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
One source-body equation in ordinary monadic notation; named callees remain opaque.
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
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
- 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 imported functions retain their actual relocated bodies.
The source program's declared first-order signatures.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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
- Complexity.Language.Examples.LinkedList.Native.sum values = (have result_native := List.foldl Complexity.Language.Examples.LinkedList.Reducer.add 0 values; pure result_native).run
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
Signature-preserving positions of this imported source program.
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.
Signature-preserving positions of this imported source program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
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
Automatic correspondence for the same generated source function, without a machine budget.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
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.
Fold an actual source invocation back to its named ordinary-argument observation.
One source-body equation in ordinary monadic notation; named callees remain opaque.
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.LinkedList.Native.Source.sumFrom_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
The imported functions retain their actual relocated bodies.
Equations
- One or more equations did not get rendered due to their size.
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
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
The finite table of actual named source bodies.
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 source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
This named source function's index in its declared signature table.
Equations
Instances For
The mathematical proof uses ordinary list algebra. The native frontend generates the correspondence to the actual linked traversal separately.
A constant initial value needs no represented argument supplied by the user.
Consecutive traversals can observe lists with shared tails: their abstract correctness needs no heap-disjointness assumption or repeated loop proof.
Calls to earlier functions in the same native family reuse their generated correspondence while the mathematical proof remains ordinary rewriting.
An ordinary mathematical theorem specializes the generated refinement of the very same source declaration; no environment or register adapter is supplied.
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 named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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
Actual imported function bodies with their internal calls relocated.
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.
The named function's actual independently interpreted source body.
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.LinkedList.NativeConstruction.Source.prepend_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
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
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
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.
Signature-preserving positions of this imported source program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
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 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
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.
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.
Signature-preserving positions of this imported source program.
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
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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
Fold an actual source invocation back to its named ordinary-argument observation.
Ordinary mathematical function generated from the same represented source block.
Equations
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
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
Automatic correspondence for the same generated source function, without a machine budget.
This named source function's index in its declared signature table.
Equations
Instances For
Ordinary mathematical function generated from the same represented source block.
Equations
- Complexity.Language.Examples.LinkedList.NativeConstruction.prepend head values = (have result_native := head :: values; pure result_native).run
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
The finite table of actual named source bodies.
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 source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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 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
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.
Automatic correspondence for the same generated source function, without a machine budget.
One source-body equation in ordinary monadic notation; named callees remain opaque.
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 source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
The complete signature tables retained from imported source programs.
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 imported functions retain their actual relocated bodies.
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
Equations
Instances For
One source-body equation in ordinary monadic notation; named callees remain opaque.
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
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Equations
Instances For
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
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.
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.
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.LinkedList.NativeConstruction.Source.sumWithPrepended_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
Fold an actual source invocation back to its named ordinary-argument observation.
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.LinkedList.NativeConstruction.Source.singleton_onArgs function✝ env✝ = function✝ env✝.head
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.
Signatures of the functions added by this source declaration.
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.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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
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
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 named function's actual independently interpreted source body.
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
Equations
Instances For
The imported functions retain their actual relocated bodies.
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.
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
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.
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.
The native result is an ordinary list; its implementation allocates one node and shares the supplied tail through the generated correspondence.
An empty list is represented without storage, so singleton needs just the actual cons operation selected by the same native declaration.
Calls returning lists compose with ordinary equations, without a second implementation or a user-written proof about intermediate heaps.
Both the old list and the freshly extended list are available after allocation. Their source representations are composed by the frontend.
Ordinary mathematics specializes the generated relation with the actual returned list in its final heap. No time, capacity or disjointness premise is needed.
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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.
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 supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
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
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
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
Signatures of the functions added by this source declaration.
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 imported functions retain their actual relocated bodies.
The named function's actual independently interpreted source body.
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.
Equations
Instances For
Equations
Instances For
The complete signature tables retained from imported source programs.
Equations
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 predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
Instances For
This named source function's index in its declared signature table.
Equations
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 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.
Signature-preserving positions of this imported source program.
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.
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 finite table of actual named source bodies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Recursive calls receive the actually allocated tail. Ordinary induction proves the native equation; generated correspondence handles every represented input and current heap using the declaration's single descent annotation.
This contract refers to the same allocating recursive source, not a second list program. Source termination and correctness have no machine-budget premise.
Coordinate conversion for composing this named observation.
Automatic correspondence for the same generated source function, without a machine budget.
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.
Prove a named loop from independent mathematical guard and body contracts. Actual guard effects and early body returns are retained; only normal iterations decrease.
Source lexical immutability preserves these captures on every actual exit.
Restore grouped locals using the checked coordinate projection laws.
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
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.
Fixed lexical captures, independent of the shared heap.
Equations
Instances For
Continuing completion coordinates recover the same full entry.
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Restore complete lexical coordinates without unfolding proof fields.
Relate this actual loop to a mathematical state without private completion slots. Only a continuing body supplies another invariant and a decrease; a local result exits through the real next guard.
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 named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Enter this source boundary with empty private completion slots.
Equations
Instances For
Equations
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Source lexical immutability preserves these captures on every actual exit.
Complete lexical coordinates for this source block.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The imported functions retain their actual relocated bodies.
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
Equations
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
Signature-preserving positions of this imported source program.
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
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
Introduce named mutable variables directly, without unpacking internal coordinates.
Source-visible locals, without compiler completion slots.
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
- One or more equations did not get rendered due to their size.
Instances For
Coordinate conversion for composing this named observation.
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 guard leaves the private completion slots empty. Only the source-visible locals and heap may change before the loop body.
The ordinary mutable locals of this source loop.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Introduce named mutable variables directly, without unpacking internal coordinates.
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.
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.
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 source-visible values retain only roots from this heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The current local result; actual source control is unchanged.
Equations
Instances For
Observe lexical coordinates without unfolding the equivalence structure.
The real guard's contract mentions only source-visible inputs and outputs. Its compiler-slot frame is supplied by the generated bridge.
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
Signatures of the functions added by this source declaration.
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
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.
Introduce named mutable variables directly, without unpacking internal coordinates.
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.
Local completion does not produce an enclosing source return.
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
The same complete environment, grouped by source mutability.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Lossless proof coordinates, including fixed and shadowed captures.
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.
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 the same completion contract at independently named source inputs. The actual action has canonical arguments, so native specification lookup does not need to infer a tuple from its projections.
Equations
Instances For
Equations
Instances For
Apply the visible completion contract, reconstructing the full output from this same actual execution rather than guessing hidden coordinates.
Prove a named loop from independent mathematical guard and body contracts. Actual guard effects and early body returns are retained; only normal iterations decrease.
Source lexical immutability preserves these captures on every actual exit.
Prove this actual loop using a related mathematical state and well-founded progress. Fixed captures are retained by the generated execution frames.
Author relations use visible locals and actual endpoint heaps. The existing action still returns its full locals and actual source control.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply the same completion contract at independently named source inputs. The actual action has canonical arguments, so native specification lookup does not need to infer a tuple from its projections.
Coordinate conversion for composing this named observation.
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 original full scratch safety condition after actual frame restoration. Ancestor slots are empty at entry; the current completion remains a checked root.
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 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 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
Local completion exits through the actual next false-guard step.
Equations
Instances For
Apply the visible completion contract, reconstructing the full output from this same actual execution rather than guessing hidden coordinates.
Restore the same full locals, retaining the ancestor slots from entry.
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.
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
One source-body equation in ordinary monadic notation; named callees remain opaque.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Actual finite execution fixes every ancestor completion slot. This restores full locals; it does not discard roots or assume successful cleanup.
Local completion does not produce an enclosing source return.
The actual value-producing guard, reevaluated on every iteration.
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
Actual imported function bodies with their internal calls relocated.
Equations
Instances For
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
The complete signature tables retained from imported source programs.
Equations
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
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
Actual finite execution fixes every ancestor completion slot. This restores full locals; it does not discard roots or assume successful cleanup.
Project source-visible coordinates from the unchanged full locals.
Equations
Instances For
This named source function's index in its declared signature table.
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
Instances For
Author relations use visible locals and actual endpoint heaps. The existing action still returns its full locals and actual source control.
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.
Equations
Instances For
Resume from actual mutable locals; immutable captures are preserved by the source frame.
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
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
A statement branch updates the represented mutable local only on its selected path; the mathematical result uses the ordinary List constructor.
Ordinary finite-list induction proves the range's result. The generated source correspondence supplies the allocating loop and its intermediate heaps.
Mutable branch correctness reuses the same generated source refinement, without assumptions about word width, allocation capacity or a time budget.
Finite allocating iteration has budget-free source total correctness from the ordinary replicate equation; no second source-loop induction is supplied.
Fold an actual source invocation back to its named ordinary-argument observation.
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
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
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
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 mathematical local update of a normal actual loop round.
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.
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
Signatures of the functions added by this source declaration.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Extract a field's observation without source-coordinate transport.
The source-named mathematical value of this local.
Equations
- Complexity.Language.Examples.LinkedList.NativeRange.ArrayRangeNative.Source.repeatAppend_loop1.model_initial whileState✝ = whileState✝.2.2.1
Instances For
The checked representation of this field at its current heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Mathematical invariant preservation and descent prove the original named loop.
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
Extract a field's observation without source-coordinate transport.
One source-body equation in ordinary monadic notation; named callees remain opaque.
Equations
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
The imported functions retain their actual relocated bodies.
The source-named mathematical value of this local.
Equations
Instances For
Source lexical immutability preserves these captures on every actual exit.
Lossless proof coordinates, including fixed and shadowed captures.
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
Prove a named loop from independent mathematical guard and body contracts. Actual guard effects and early body returns are retained; only normal iterations decrease.
Use the mathematical loop contract with the actual source continuation.
Complete lexical coordinates for this source block.
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.
The ordinary mutable locals of this source loop.
Equations
Instances For
The checked representation of this field at its current heap.
Equations
Instances For
Coordinate conversion for composing this named observation.
Equations
Instances For
Extract a field's observation without source-coordinate transport.
The finite table of actual named source bodies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The checked representation of this field at its current heap.
Equations
Instances For
Introduce named mutable variables directly, without unpacking internal coordinates.
The same complete environment, grouped by source mutability.
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.
The mathematical round describes the actual named source block and its final heap.
Observe lexical coordinates without unfolding the equivalence structure.
The checked representation of this field at its current heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The same source action, without an asserted total mathematical model.
Equations
Instances For
Ordinary mathematical values of the loop's lexical source bindings.
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.
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.
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 source-named mathematical value of this local.
Equations
- Complexity.Language.Examples.LinkedList.NativeRange.ArrayRangeNative.Source.repeatAppend_loop1.model_count whileState✝ = whileState✝.2.2.2.2
Instances For
The complete signature tables retained from imported source programs.
Equations
Instances For
Restore grouped locals using the checked coordinate projection laws.
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
Signature-preserving positions of this imported source program.
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
Fixed lexical captures, independent of the shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Coordinate conversion for composing this named observation.
Introduce named mutable variables directly, without unpacking internal coordinates.
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 checked representation of this field at its current heap.
Equations
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.
Introduce named mutable variables directly, without unpacking internal coordinates.
Extract a field's observation without source-coordinate transport.
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 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
Extract a field's observation without source-coordinate transport.
Coordinate conversion for composing this named observation.
The mathematical round describes the actual named source block and its final 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
The source-named mathematical value of this local.
Equations
- Complexity.Language.Examples.LinkedList.NativeRange.ArrayRangeNative.Source.repeatAppend_loop1.model_state whileState✝ = whileState✝.2.1
Instances For
Apply a chosen mathematical contract to the native block action. Continuations see ordinary mutable outputs; proved frames restore the fixed captures.
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 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
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 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 independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Restore complete lexical coordinates without unfolding proof fields.
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
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
The mathematical guard of a single actual loop round.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The source-named mathematical value of this local.
Equations
- Complexity.Language.Examples.LinkedList.NativeRange.ArrayRangeNative.Source.repeatAppend_loop1.model_chunk whileState✝ = whileState✝.2.2.2.1
Instances For
Source lexical immutability preserves these captures on every actual exit.
The general while has a budget-free source contract. Its mathematical state tracks the complete payload and the number of remaining copies, while the shared append contract retains the actual arrays at successive heaps.
The source contract observes the entire returned record, including its actual final array. The supplied mathematical postcondition tracks its count; termination and correspondence require no machine resource premise.
Signature-preserving positions of this imported source program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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.
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 imported functions retain their actual relocated bodies.
The complete signature tables retained from imported source programs.
Equations
Instances For
One source-body equation in ordinary monadic notation; named callees remain opaque.
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
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.LinkedList.ListReducer.Source.push_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
Equations
Instances For
Ordinary mathematical function generated from the same represented source block.
Equations
- Complexity.Language.Examples.LinkedList.ListReducer.push accumulator head = (have result_native := head :: accumulator; pure result_native).run
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
The finite table of actual named source bodies.
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
Actual imported function bodies with their internal calls relocated.
Equations
Instances For
Equations
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.
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
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
- Complexity.Language.Examples.LinkedList.ListReducer.Source.push_args accumulator head = Complexity.Language.Env.cons accumulator (Complexity.Language.Env.cons head Complexity.Language.Env.empty)
Instances For
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
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 independently interpreted source body.
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.
Automatic correspondence for the same generated source function, without a machine budget.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fold an actual source invocation back to its named ordinary-argument observation.
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
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
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Fold an actual source invocation back to its named ordinary-argument observation.
Signature-preserving positions of this imported source program.
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
Signature-preserving positions of this imported source program.
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.
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 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 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
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
Automatic correspondence for the same generated source function, without a machine budget.
The finite table of actual named source bodies.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
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
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 actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
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
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
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
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 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
Signature-preserving positions of this imported source program.
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
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.LinkedList.NativeLists.Source.reverseSum_onArgs function✝ env✝ = function✝ env✝.head
Instances For
One source-body equation in ordinary monadic notation; named callees remain opaque.
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
Signature-preserving positions of this imported source program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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 named function's actual independently interpreted source body.
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.LinkedList.NativeLists.Source.reverseAppend_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
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
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.
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.LinkedList.NativeLists.Source.reverse_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.
The named function's actual independently interpreted source body.
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
- Complexity.Language.Examples.LinkedList.NativeLists.reverse values = (have result_native := Complexity.Language.Examples.LinkedList.NativeLists.reverseAppend values []; pure result_native).run
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
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 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
Actual imported function bodies with their internal calls relocated.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fold an actual source invocation back to its named ordinary-argument observation.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
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.
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.
One source-body equation in ordinary monadic notation; named callees remain opaque.
The imported functions retain their actual relocated bodies.
This named source function's index in its declared signature table.
Equations
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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
Signatures of the functions added by this source declaration.
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.
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
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 named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Automatic correspondence for the same generated source function, without a machine budget.
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
The imported functions retain their actual relocated bodies.
The imported functions retain their actual relocated bodies.
Automatic correspondence for the same generated source function, without a machine budget.
The complete signature tables retained from imported source programs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
An imported allocating callback is still an ordinary mathematical function; its generated source implementation constructs the real shared-tail node.
The author's proof reuses Lean's existing fold/cons identity. The frontend supplies callback correspondence, traversal termination and final-heap transport.
Returning the result of the same allocating traversal specializes its ordinary mathematical equation; no source-heap induction is repeated.
A scalar fold can consume the newly allocated list from an earlier call.
The mathematical reverse/append theorem describes the actual returned list in the final heap, with no machine budget or input-list separation premise.
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
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
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
The imported functions retain their actual relocated bodies.
Fold an actual source invocation back to its named ordinary-argument observation.
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.
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
Actual imported function bodies with their internal calls relocated.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The imported functions retain their actual relocated bodies.
Equations
Instances For
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
- 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.
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.
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 named function's actual independently interpreted source body.
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
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
Signature-preserving positions of this imported source program.
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
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 imported functions retain their actual relocated bodies.
Signature-preserving positions of this imported source program.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The imported functions retain their actual relocated bodies.
Equations
Instances For
Fold an actual source invocation back to its named ordinary-argument observation.
The source program's declared first-order signatures.
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.
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.
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
Signature-preserving positions of this imported source program.
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.
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
Equations
Instances For
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.
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 independently interpreted source body.
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.
Equations
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 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
One source-body equation in ordinary monadic notation; named callees remain opaque.
Automatic correspondence for the same generated source function, without a machine budget.
This named source function's index in its declared signature table.
Equations
Instances For
The selected branch returns an ordinary list to one common continuation. Only the true branch adds the extra prefix node before the two named calls.
A scalar fold consumes the list produced by either allocating branch. The proof is ordinary sum algebra, without an intermediate-heap induction.
The generated correspondence relates the actual selected branch and its common continuation to the ordinary list equation in the actual final heap.
List-valued branch merging and a subsequent scalar fold share the same generated source refinement; no separate source traversal is supplied.
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 contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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 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
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.
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.LinkedList.NativeViews.Source.headOption_onArgs function✝ env✝ = function✝ env✝.head
Instances For
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
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
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
Signature-preserving positions of this imported source program.
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
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.
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 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.
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.
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
Fold an actual source invocation back to its named ordinary-argument observation.
The named function's actual independently interpreted source body.
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.
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.
This named source function's index in its declared signature table.
Equations
Instances For
Automatic correspondence for the same generated source function, without a machine budget.
The complete signature tables retained from imported source programs.
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 declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
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
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
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
The named function's actual independently interpreted source body.
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
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
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.LinkedList.NativeViews.Source.inspectAndPrepend_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
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.
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.LinkedList.NativeViews.Source.consPair_onArgs function✝ env✝ = function✝ env✝.head
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
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
Fold an actual source invocation back to its named ordinary-argument observation.
The imported functions retain their actual relocated bodies.
Equations
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Automatic correspondence for the same generated source function, without a machine budget.
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.LinkedList.NativeViews.Source.restoreOr_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
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.
The source program's declared first-order signatures.
Equations
- One or more equations did not get rendered due to their size.
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
One source-body equation in ordinary monadic notation; named callees remain opaque.
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.
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 named function's actual independently interpreted source body.
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 declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
Actual imported function bodies with their internal calls relocated.
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
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 imported functions retain their actual relocated bodies.
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.LinkedList.NativeViews.Source.headOr_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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
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
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.
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 named function's actual independently interpreted source body.
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.
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
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
Signature-preserving positions of this imported source program.
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
Equations
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.
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 source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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.
Automatic correspondence for the same generated source function, without a machine budget.
One source-body equation in ordinary monadic notation; named callees remain opaque.
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 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
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
One source-body equation in ordinary monadic notation; named callees remain opaque.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
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.
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
Fold an actual source invocation back to its named ordinary-argument observation.
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
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.
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.
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.
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
Automatic correspondence for the same generated source function, without a machine budget.
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.
Fold an actual source invocation back to its named ordinary-argument observation.
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.LinkedList.NativeViews.Source.uncons_onArgs function✝ env✝ = function✝ env✝.head
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
One source-body equation in ordinary monadic notation; named callees remain opaque.
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.
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.
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
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 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.
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.
This named source function's index in its declared signature table.
Equations
Instances For
Ordinary mathematical function generated from the same represented source block.
Equations
- Complexity.Language.Examples.LinkedList.NativeViews.isEmpty values = (have empty_native := values.isEmpty; pure empty_native).run
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.LinkedList.NativeViews.Source.replaceHead_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
Automatic correspondence for the same generated source function, without a machine budget.
This named source function's index in its declared signature table.
Equations
Instances For
Equations
Instances For
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.
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
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
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.
Equations
Instances For
This named source function's index in its declared signature table.
Equations
Instances For
Equations
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.
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 imported functions retain their actual relocated bodies.
One source-body equation in ordinary monadic notation; named callees remain opaque.
One source-body equation in ordinary monadic notation; named callees remain opaque.
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
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.LinkedList.NativeViews.Source.isEmpty_onArgs function✝ env✝ = function✝ env✝.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
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
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
Fold an actual source invocation back to its named ordinary-argument observation.
Successful execution observes the native result in its actual final heap and retains every previously represented immutable list.
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
One source-body equation in ordinary monadic notation; named callees remain opaque.
The ordinary emptiness equation comes from the same tag-only source call.
The optional mathematical head and tail describe the actual node read.
A compound argument retains the ordinary head and its shared List tail.
Optional represented fields can be matched and passed to a named constructor.
The old compound observation survives an actual allocation, and both old fields and the newly constructed list are returned together.
List cases expose the ordinary tail; the common continuation constructs the new first node. This is a mathematical proof, not a source-heap induction.
Scalar branch results inherit the ordinary optional-head equation.
A compound conditional result records only the selected allocation and retains the corresponding ordinary head/tail observation.
Ordinary emptiness correctness is independent of word ranges, storage and time bounds; the generated correspondence supplies the actual root observation.
Automatically generated correspondence retains both parts of the compound result at the same final heap, including the pre-allocation head/tail view.
The List-match implementation inherits its ordinary functional theorem without any word-width, storage or time-budget assumption.
Scalar List matching has the same source result without a resource premise.
A compound branch result combines ordinary mathematics with generated heap-indexed correspondence, including the allocating path.