OAI/Combinatorics/UniformKServer/AutomaticTable.lean
14 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.UniformKServer.AutomaticTable.assignmentline 10 - def
OAI.UniformKServer.AutomaticTable.flowline 14 - def
OAI.UniformKServer.AutomaticTable.coefficientline 17 - abbrev
OAI.UniformKServer.AutomaticTable.Stateline 20 - def
OAI.UniformKServer.AutomaticTable.qrowline 22 - def
OAI.UniformKServer.AutomaticTable.nextline 26 - def
OAI.UniformKServer.AutomaticTable.chargeline 29 - def
OAI.UniformKServer.AutomaticTable.bitWidthline 32 - def
OAI.UniformKServer.AutomaticTable.countsline 34 - theorem
OAI.UniformKServer.AutomaticTable.flow_validline 38 - theorem
OAI.UniformKServer.AutomaticTable.rationalCost_eqline 45 - theorem
OAI.UniformKServer.AutomaticTable.row_factsline 56 - theorem
OAI.UniformKServer.AutomaticTable.error_boundline 70 - theorem
OAI.UniformKServer.AutomaticTable.constructline 83Source documentation
Total deterministic construction, exact-bit legal realization, and the finite-word inequality of source Proposition finite-table. The sharp coefficient is deliberately exposed as optimization against real feasible flows, not assumed from an unproved companion theorem.
theorem construct {n k : ℕ} [NeZero k] (d : RationalMetric n) (u : Config n k) (H : ℕ) (D : ℝ) (hD : 0 ≤ D) (hd : ∀ x y, (d.distance x y : ℝ) ≤ D) : 0 ≤ coefficient d u H ∧ (∀ (F : BoundedFlow n k H ℝ) (a : ℝ), Valid d u F a → (coefficient d u H : ℝ) ≤ a) ∧ (k * H^2 ≤ 2^(bitWidth k H)) ∧ (∀ b, k * H^2 ≤ 2^b → bitWidth k H ≤ b) ∧ ∃ hN : ∀ s r, ∑ j, counts d u H s r j = 2^(bitWidth k H), (∀ s r coins, BitSampling.row (counts d u H s r) (hN s r) coins ∈ labels s.2 r) ∧ (∀ w : List (Fin n), w.length ≤ H → BitSampling.mean (BitSampling.runCost (counts d u H) hN next (fun s r j => (charge d s r j : ℝ)) ([],u) w) ≤ …Mentions: OAI.UniformKServer.RationalMetric, OAI.UniformKServer.AutomaticTable.coefficient, OAI.UniformKServer.AutomaticTable.bitWidth, OAI.UniformKServer.AutomaticTable.counts, OAI.UniformKServer.BitSampling.row, OAI.UniformKServer.BitSampling.mean, OAI.UniformKServer.BitSampling.runCost, OAI.UniformKServer.AutomaticTable.next, OAI.UniformKServer.AutomaticTable.charge