OAI/Computability/WLIdentification/NumericKernel.lean
30 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.WLIdentification.NumericKernel.lookupline 9 - def
OAI.WLIdentification.NumericKernel.digitline 11 - def
OAI.WLIdentification.NumericKernel.vectorMatchline 13 - def
OAI.WLIdentification.NumericKernel.countMatchline 18 - def
OAI.WLIdentification.NumericKernel.entryline 22 - def
OAI.WLIdentification.NumericKernel.stepline 27 - def
OAI.WLIdentification.NumericKernel.tableline 31 - theorem
OAI.WLIdentification.WordExpressions.NatPoly.digitline 38 - theorem
OAI.WLIdentification.NumericKernel.vectorMatch_polyline 50Source documentation
All loops below range over explicit unary word lengths.
theorem vectorMatch_poly : BoolPoly (fun S : Fin 7 → Word => vectorMatch (S 0).length (S 1).length (S 2) (S 3) (S 4).length (S 5).length (S 6).length) := by …Mentions: OAI.WLIdentification.Word, OAI.WLIdentification.NumericKernel.vectorMatch
- theorem
OAI.WLIdentification.NumericKernel.vectorMatch_poly_ofline 65 - theorem
OAI.WLIdentification.NumericKernel.countMatch_polyline 74 - theorem
OAI.WLIdentification.NumericKernel.countMatch_poly_ofline 86 - theorem
OAI.WLIdentification.NumericKernel.entry_polyline 95 - theorem
OAI.WLIdentification.NumericKernel.entry_poly_ofline 105 - theorem
OAI.WLIdentification.NumericKernel.step_polyline 115 - theorem
OAI.WLIdentification.NumericKernel.step_poly_ofline 122 - theorem
OAI.WLIdentification.WordExpressions.Poly.iterateline 137Source documentation
Iteration with a proved output-length invariant. Its loop count is a physical unary word, not an unbounded recursion primitive.
theorem iterate {c b : (Fin n → Word) → ℕ} {a : (Fin n → Word) → Word} {f : (Fin n → Word) → Word → Word} (hc : NatPoly c) (hb : NatPoly b) (ha : Poly a) (hf : Poly (fun T => f (T ∘ Fin.castSucc) (T (Fin.last n)))) (hlen : ∀ S W, (f S W).length ≤ b S) : Poly (fun S => (f S)^[c S] (a S)) := by …Mentions: OAI.WLIdentification.Word, OAI.WLIdentification.WordExpressions.NatPoly, OAI.WLIdentification.WordExpressions.Poly, OAI.WLIdentification.WordExpressions.Poly.length
- theorem
OAI.WLIdentification.NumericKernel.table_polyline 173 - structure
OAI.WLIdentification.NumericKernel.Dataline 187 - def
OAI.WLIdentification.NumericKernel.Data.vectorsline 193 - def
OAI.WLIdentification.NumericKernel.Encodedline 196 - def
OAI.WLIdentification.NumericKernel.Representsline 201 - theorem
OAI.WLIdentification.NumericKernel.vectorMatch_correctline 204 - theorem
OAI.WLIdentification.NumericKernel.sum_range_finline 229 - theorem
OAI.WLIdentification.NumericKernel.multiset_countP_sumline 236 - theorem
OAI.WLIdentification.NumericKernel.countMatch_correctline 244 - theorem
OAI.WLIdentification.NumericKernel.entry_correctline 259 - theorem
OAI.WLIdentification.NumericKernel.lookup_stepline 275 - theorem
OAI.WLIdentification.NumericKernel.step_correctline 285 - theorem
OAI.WLIdentification.NumericKernel.table_correctline 292