OAI/Computability/WLIdentification/PolynomialWords.lean
36 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.WLIdentification.WordExpressions.Polyline 12Source documentation
Uniform polynomial boundedness of a fixed word expression. This is a proven realizer property, not an oracle or a unit-cost word instruction.
def Poly {n : ℕ} (f : (Fin n → Word) → Word) : Prop := …Mentions: OAI.WLIdentification.Word
- theorem
OAI.WLIdentification.WordExpressions.Poly.congrline 21 - theorem
OAI.WLIdentification.WordExpressions.Poly.varline 25 - theorem
OAI.WLIdentification.WordExpressions.Poly.nilline 28 - theorem
OAI.WLIdentification.WordExpressions.Poly.snocline 31 - theorem
OAI.WLIdentification.WordExpressions.Poly.dropline 42 - theorem
OAI.WLIdentification.WordExpressions.Poly.constline 46 - theorem
OAI.WLIdentification.WordExpressions.Poly.casesline 51 - theorem
OAI.WLIdentification.WordExpressions.Poly.renameline 75 - theorem
OAI.WLIdentification.WordExpressions.Poly.bindline 81 - theorem
OAI.WLIdentification.WordExpressions.Poly.substline 98 - theorem
OAI.WLIdentification.WordExpressions.Poly.stages_congrline 120 - theorem
OAI.WLIdentification.WordExpressions.Poly.loopline 128Source documentation
Polynomial bounded loop rule. The index and accumulator bounds are mathematical invariants of the actual semantics; no execution primitive is added.
theorem loop {c a : (Fin n → Word) → Word} {f : (Fin (n+2) → Word) → Word} (hc : Poly c) (ha : Poly a) (hf : Poly f) (H : ℕ → ℕ) (hH : Polynomial H) (hstage : ∀ S N, (∀ j, (S j).length ≤ N) → ∀ i ≤ (c S).length, (Expr.stages f S (a S) i).length ≤ H N) : Poly (fun S => Expr.stages f S (a S) (c S).length) := by …Mentions: OAI.WLIdentification.Word, OAI.WLIdentification.WordExpressions.Poly, OAI.WLIdentification.WordExpressions.Poly.length, OAI.WLIdentification.WordExpressions.Expr.stages
- abbrev
OAI.WLIdentification.WordExpressions.unaryline 166 - abbrev
OAI.WLIdentification.WordExpressions.boolWordline 167 - def
OAI.WLIdentification.WordExpressions.oldline 169 - def
OAI.WLIdentification.WordExpressions.indexline 170 - def
OAI.WLIdentification.WordExpressions.accumline 171 - theorem
OAI.WLIdentification.WordExpressions.extend_oldline 173 - theorem
OAI.WLIdentification.WordExpressions.extend_indexline 175 - theorem
OAI.WLIdentification.WordExpressions.extend_accumline 177 - theorem
OAI.WLIdentification.WordExpressions.snoc_prefixline 180 - theorem
OAI.WLIdentification.WordExpressions.extend_prefixline 183 - theorem
OAI.WLIdentification.WordExpressions.extend_baseline 186 - theorem
OAI.WLIdentification.WordExpressions.Poly.branchesline 193 - theorem
OAI.WLIdentification.WordExpressions.Poly.emptyTestline 200 - theorem
OAI.WLIdentification.WordExpressions.Poly.lengthline 212 - theorem
OAI.WLIdentification.WordExpressions.Poly.unaryLengthline 225 - theorem
OAI.WLIdentification.WordExpressions.Poly.stages_dropline 230 - theorem
OAI.WLIdentification.WordExpressions.Poly.cutline 241 - theorem
OAI.WLIdentification.WordExpressions.Poly.cutOfline 250 - theorem
OAI.WLIdentification.WordExpressions.Poly.subline 255 - theorem
OAI.WLIdentification.WordExpressions.Poly.leline 261 - theorem
OAI.WLIdentification.WordExpressions.Poly.stages_addline 267 - theorem
OAI.WLIdentification.WordExpressions.Poly.addline 275 - theorem
OAI.WLIdentification.WordExpressions.Poly.addOfline 284