Supporting results for pointwise provable equality.
Compilation of Foundation's finite-arity arithmetic codes to unary Mathlib program descriptions, with arithmetic proofs for the encoded inputs.
The ACode construction in FailureOfComposition.ArithmeticCodeCompiler.
Equations
Instances For
Nested pairs ending in zero encode a fixed finite input vector.
Equations
Instances For
The projection Code construction in FailureOfComposition.ArithmeticCodeCompiler.
Equations
- One or more equations did not get rendered due to their size.
- PointwiseComposition.FailureOfComposition.ArithmeticCodeCompiler.projectionCode 0 i = i.elim0
Instances For
The tuple Code construction in FailureOfComposition.ArithmeticCodeCompiler.
Equations
- One or more equations did not get rendered due to their size.
- PointwiseComposition.FailureOfComposition.ArithmeticCodeCompiler.tupleCode 0 x_2 = Nat.Partrec.Code.zero
Instances For
The swap Code construction in FailureOfComposition.ArithmeticCodeCompiler.
Equations
Instances For
The search Zero Code construction in FailureOfComposition.ArithmeticCodeCompiler.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Structural compilation preserves the finite vector coding at every constructor; minimization prepends its candidate to that vector.
Equations
- One or more equations did not get rendered due to their size.
- PointwiseComposition.FailureOfComposition.ArithmeticCodeCompiler.compile (PointwiseComposition.Nat.ArithPart₁.Code.zero x✝) = Nat.Partrec.Code.zero
- PointwiseComposition.FailureOfComposition.ArithmeticCodeCompiler.compile (PointwiseComposition.Nat.ArithPart₁.Code.one x✝) = Nat.Partrec.Code.const 1
Instances For
Unary programs accept the ordinary input directly.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The structural compiler preserves the graph in every PA model. All input components and outputs may be nonstandard elements of that model.
Unary compilation realizes the source arithmetic graph on the ordinary input, without exposing the tuple representation.
The source arithmetic-code graph, in input-output argument order.
Equations
- One or more equations did not get rendered due to their size.
Instances For
PA proves the uniform realization equation for this explicit compiler.