Defaulted reads from scalar-pair arrays #
Each source function checks the first column's length before executing two actual reads. A product-array observation supplies the equal column lengths. Out-of-bounds access returns the entire supplied pair without reading either column. All branches preserve the complete heap, including aliased views.
The returned scalar pair uses the ordinary pure identity representation, as does the fallback argument. Only the array input has a heap-backed column representation. Fixed input loading and represented frontend selection are separate from these source functions and their correctness contracts.
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 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
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
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 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
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
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 named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
- 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
- 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
Instances For
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
Budget-free total correctness with ordinary source parameters and relational initial/final heap postconditions. This is the existing source function contract.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Apply a supplied source contract with ordinary named arguments and its actual returned value and final heap. No callee body or new contract is inferred.
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 named function's actual independently interpreted source body.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The actual declared argument environment, constructed from ordinary source parameters. This is proof-side parameter transport, not an additional runtime operation.
Equations
- 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
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.
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 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.
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
Fold an actual source invocation back to its named ordinary-argument observation.
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
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.
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
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.
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 two-column lookup returns the ordinary pair or its whole default.
Pair-array input with identity-represented index, fallback and returned pair.
Equations
- One or more equations did not get rendered due to their size.
Instances For
This source entry refines total Lean array access, with no supplied index bound.
Every previously observed buffer retains its contents, including aliases.
The standard represented-call frame for a pure pair returned by a real read.
The actual two-column lookup returns the ordinary pair or its whole default.
Pair-array input with identity-represented index, fallback and returned pair.
Equations
- One or more equations did not get rendered due to their size.
Instances For
This source entry refines total Lean array access, with no supplied index bound.
Every previously observed buffer retains its contents, including aliases.
The standard represented-call frame for a pure pair returned by a real read.
The actual two-column lookup returns the ordinary pair or its whole default.
Pair-array input with identity-represented index, fallback and returned pair.
Equations
- One or more equations did not get rendered due to their size.
Instances For
This source entry refines total Lean array access, with no supplied index bound.
Every previously observed buffer retains its contents, including aliases.
The standard represented-call frame for a pure pair returned by a real read.
The actual two-column lookup returns the ordinary pair or its whole default.
Pair-array input with identity-represented index, fallback and returned pair.
Equations
- One or more equations did not get rendered due to their size.
Instances For
This source entry refines total Lean array access, with no supplied index bound.
Every previously observed buffer retains its contents, including aliases.
The standard represented-call frame for a pure pair returned by a real read.