Reification support for the determinant tactic #
This file contains the meta-level parser, refiyBirdDet, used by
normalizeBirdDet to turn BirdDet.birdDet calls into the context used by the
certificate-chain evaluator.
Main definitions #
reifyBirdDet: Parse a call toBirdDet.birdDet.
Construct a CommSemiring instance expression from a CommRing instance expression
Instances For
Parse an array literal into an array of element expressions.
Compared to getArrayLit?, this also performs whnf.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The context for a certificate evaluation.
- cα : Ring.Common.Cache (commSemiringOfCommRing rα)
Ringevaluation cache for the scalar ring. Proof-producing ring arithmetic.
- dimension : ℕ
The dimension of the reified matrix
- dimensionLit : Q(ℕ)
The quoted dimension expression from the reified determinant call.
- arrayExpr : Q(Array «$α»)
The array of matrix entries as an Expr
- arrayEntries : Array Q(«$α»)
An array of matrix entry
Exprs`
Instances For
The ring instance and evaluator context parsed by reifyBirdDet.
- u : Lean.Level
The universe level associated with the
birdDetcall - α : Q(Type udummy._uniq.14)
The type of a matrix entry
- rα : Q(CommRing unknown_1)
The
CommRinginstance for matrix entries The evaluator context for the parsed determinant expression.
Instances For
Recognise a birdDet call and reify it into an evaluator context.
Equations
- One or more equations did not get rendered due to their size.