Enumeration programs with ordinary mathematical contracts #
The fixed interfaces retain the original constructors. Reads and initialized arrays use actual natural-cell operations, while their contracts mention enums. The source and RAM inputs share the same canonical constructor-index embedding. These examples establish source correctness, not whole-program RAM time bounds.
A layout and identity program need no equality decision procedure.
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
- Complexity.Examples.Enumerations.Status.different_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
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.
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
Signatures of the functions added by this source declaration.
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
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
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.
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
The imported functions retain their actual relocated bodies.
Fold an actual source invocation back to its named ordinary-argument observation.
The named function's actual partial source action, with ordinary typed arguments and an explicitly supplied shared heap.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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.
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
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
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
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
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.Examples.Enumerations.Status.isRunning_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
The source program's declared first-order signatures.
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 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
Automatic correspondence for the same generated source function, without a machine budget.
The imported functions retain their actual relocated bodies.
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.
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.
The finite table of actual named source bodies.
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
Fold an actual source invocation back to its named ordinary-argument 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 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
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
Ordinary mathematical function generated from the same represented source block.
Equations
- Complexity.Examples.Enumerations.Status.keepPhase_model phase = (pure phase).run
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.
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 independently interpreted source body.
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 predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Examples.Enumerations.Status.lookup_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.
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
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 imported functions retain their actual relocated bodies.
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.
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Examples.Enumerations.Status.replicate_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
Ordinary mathematical function generated from the same represented source block.
Equations
- Complexity.Examples.Enumerations.Status.replicate_model count mode = (have sourceResult_native := Array.replicate count mode; pure sourceResult_native).run
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.
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
Apply a predicate, postcondition or bound with ordinary source parameters to the actual argument environment. No new contract or execution is introduced.
Equations
- Complexity.Examples.Enumerations.Status.keepPhase_onArgs function✝ env✝ = function✝ env✝.head
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
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
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.
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
Instances For
This named source function's index in its declared signature table.
Equations
Instances For
The complete signature tables retained from imported source programs.
Equations
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
- 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
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.
Actual imported function bodies with their internal calls relocated.
Equations
Instances For
The source contract is equivalent to ordinary curried preconditions and successful result/heap postconditions, including termination and absence of faults.
Ordinary mathematical function generated from the same represented source block.
Equations
- Complexity.Examples.Enumerations.Status.lookup_model input = (have sourceResult_native := input.values.getD input.index Complexity.Examples.Enumerations.Mode.idle; pure sourceResult_native).run
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 same source execution returns the encoded mathematical result without changing its supplied heap, under the actual input representations.
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.
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
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
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
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.
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
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
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.
Fold an actual source invocation back to its named ordinary-argument observation.
The same source execution returns the encoded mathematical result without changing its supplied heap, under the actual input representations.
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.
Fold an actual source invocation back to its named ordinary-argument observation.
Actual imported function bodies with their internal calls relocated.
Equations
Instances For
Ordinary mathematical function generated from the same represented source block.
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
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 actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
Instances For
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
- One or more equations did not get rendered due to their size.