OAI/Computability/WLIdentification/FiniteEncoding.lean
28 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.WLIdentification.NumericFinite.elementsline 9 - def
OAI.WLIdentification.NumericFinite.countline 10 - theorem
OAI.WLIdentification.NumericFinite.elements_zeroline 12 - theorem
OAI.WLIdentification.NumericFinite.elements_succline 13 - theorem
OAI.WLIdentification.NumericFinite.count_zeroline 18 - theorem
OAI.WLIdentification.NumericFinite.count_succline 19 - theorem
OAI.WLIdentification.NumericFinite.mem_elementsline 24 - theorem
OAI.WLIdentification.NumericFinite.count_monoline 27 - theorem
OAI.WLIdentification.NumericFinite.count_strictline 32 - theorem
OAI.WLIdentification.NumericFinite.rankline 39 - def
OAI.WLIdentification.NumericFinite.selectline 58 - theorem
OAI.WLIdentification.NumericFinite.select_correctline 61 - theorem
OAI.WLIdentification.WordExpressions.NatPoly.filterCountline 76 - theorem
OAI.WLIdentification.WordExpressions.NatPoly.filterSelectline 92 - def
OAI.WLIdentification.WordExpressions.Expr.decisionBoundline 115 - theorem
OAI.WLIdentification.WordExpressions.Expr.decisionBound_polynomialline 118 - theorem
OAI.WLIdentification.WordExpressions.Expr.decidesline 124Source documentation
The output bit is tested by three actual finite-control instructions. Rejection is a literal rejecting state, including on malformed words.
theorem decides (e : Expr 1) (B : ℕ → ℕ) (hw : ∀ n, n ≤ B n) (h : ∀ w, e.Bounded (fun _ => w) (B w.length)) : ∃ M : Machine, DecidesWithin M {w | (e.eval (fun _ => w)).getLast?.getD false = true} (fun n => e.decisionBound (B n)) := by …Mentions: OAI.WLIdentification.WordExpressions.Expr, OAI.WLIdentification.Machine, OAI.WLIdentification.DecidesWithin
- def
OAI.WLIdentification.ComputationBounds.Exponentialline 170Source documentation
A single exponential with a polynomial exponent (not an iterated exponential).
def Exponential (f : ℕ → ℕ) : Prop := ∃ C d : ℕ, ∀ n, f n ≤ 2^(C*(n+1)^d)
- theorem
OAI.WLIdentification.ComputationBounds.powerline 172 - theorem
OAI.WLIdentification.ComputationBounds.exp_dominatesline 177 - theorem
OAI.WLIdentification.ComputationBounds.two_powline 181 - theorem
OAI.WLIdentification.ComputationBounds.polynomial_exponentialline 185 - theorem
OAI.WLIdentification.ComputationBounds.exp_constantline 188 - theorem
OAI.WLIdentification.ComputationBounds.exp_identityline 190 - theorem
OAI.WLIdentification.ComputationBounds.exp_addline 192 - theorem
OAI.WLIdentification.ComputationBounds.exp_mulline 208 - theorem
OAI.WLIdentification.ComputationBounds.exp_powerline 218 - theorem
OAI.WLIdentification.ComputationBounds.polynomial_exp_compline 223