Ordinary String contracts over real character buffers #
Character-indexed reads, initialized strings and string rows reuse the existing
buffer operations. Their mathematical equations use ordinary String/List APIs;
no arbitrary toList conversion or UTF-8 byte indexing is introduced.
The allocation bound counts the generated caller and initialized cells, conditional
on arena readiness. It is not a complete whole-program time certificate.
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
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.
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 program's declared first-order signatures.
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 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.
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.
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 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 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.
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.
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
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.
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
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
- 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.
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.
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
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
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
- Complexity.Examples.Strings.Text.replicate_args length initial = Complexity.Language.Env.cons length (Complexity.Language.Env.cons initial Complexity.Language.Env.empty)
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
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
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
Ordinary mathematical function generated from the same represented source block.
Equations
- Complexity.Examples.Strings.Text.length_model text = (pure text.length).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.Examples.Strings.Text.lookup_onArgs function✝ env✝ = function✝ env✝.head env✝.tail.head
Instances For
Automatic correspondence for the same generated source function, without a machine budget.
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.
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.
The complete signature tables retained from imported source programs.
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 named function's actual independently interpreted source body.
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 imported functions retain their actual relocated bodies.
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
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.
Prove the ordinary-parameter source contract with a total-correctness triple for the same action. The ghost initial heap equals the actual entry heap; successful results use the actual final heap, and faults are excluded.
One source-body equation in ordinary monadic notation; named callees remain opaque.
Automatic correspondence for the same generated source function, without a machine budget.
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.Examples.Strings.Text.row_onArgs function✝ env✝ = function✝ env✝.head
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
Signatures of the functions added by this source declaration.
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.
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.
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
Fold an actual source invocation back to its named ordinary-argument observation.
Added function bodies already typed against the complete linked table.
Equations
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
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.
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
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 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
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 complete signature tables retained from imported source programs.
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.Strings.Text.repeatSelected_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 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.
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.
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
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.Strings.Text.length_onArgs function✝ env✝ = function✝ env✝.head
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.Strings.Text.replicate_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.
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.
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
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
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
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 source program's declared first-order signatures.
Equations
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
The finite table of actual named source bodies.
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
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 imported functions retain their actual relocated bodies.
This named source function's index in its declared signature table.
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
Infer the budget from the same real allocator call, including the source wrapper.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The initialized code-point cells carry the existing allocator's linear charge.