Supporting results for pointwise provable equality.
Total arithmetic codes and their standard computations #
Computes c f says that the partial-recursive code c realizes the total
function f over the natural numbers. This module collects the constructors
used throughout the development -- projection, zero, one, addition,
multiplication, equality, strict order and composition -- together with the
derived total constructors built from them, and records the standard
computation theorem for each.
These are statements about the natural numbers. Arbitrary-model evaluation is
the subject of CategoricalRiceShapiro.ArithmeticCode.Evaluation.
c realizes the total function f.
Equations
- PointwiseComposition.CategoricalRiceShapiro.ArithmeticCode.Computes c f = c.eval fun (v : List.Vector ℕ n) => ↑(some (f v))
Instances For
Generic composition at the total-function layer.
Arity-specific composition #
Derived total functions #
The code Succ construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
Instances For
The code Const construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
- One or more equations did not get rendered due to their size.
- PointwiseComposition.CategoricalRiceShapiro.ArithmeticCode.codeConst 0 = PointwiseComposition.Nat.ArithPart₁.Code.zero n
Instances For
The code Inv construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
Instances For
The code Pos construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
Instances For
Boolean combinators #
The code And construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The code Or construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The code Eq construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
Instances For
The code Lt construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
Instances For
The code Add construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
Instances For
The code Mul construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
Instances For
Lifting a code under an extra search variable #
The code Lift construction in CategoricalRiceShapiro.ArithmeticCode.
Equations
Instances For
The code Head construction in CategoricalRiceShapiro.ArithmeticCode.