Prepared-unit injection on actual accepting pairs
Lax342547.PreparedInjection · concepts/Lax342547/PreparedInjection.lean · lax-342547
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Adaptive nominal pins and the actual admissible small tables retain accepting mass under all sixteen component tests. Exponential errors are paid relative to inverse-polynomial pair mass before any conditioning.
Concept map
Evidence
This concept declares 2 statements. Each proof establishes one of them relative to its assumptions.
1 actual_accepting_table_loss proven
2 actual_relative_table_injection proven
Lean source view on GitHub
| 1 | import Lax342547.TableInjection |
| 2 | import Lax342547.RawAcceptingInjection |
| 3 | import Lax342547.FrameTranspose |
| 4 | import Lax342547.InjectionUnion |
| 5 | import Lax342547.InjectionThresholds |
| 6 | |
| 7 | /-! |
| 8 | --- |
| 9 | title: Prepared-unit injection on actual accepting pairs |
| 10 | type: lemma |
| 11 | --- |
| 12 | Adaptive nominal pins and the actual admissible small tables retain |
| 13 | accepting mass under all sixteen component tests. Exponential errors are |
| 14 | paid relative to inverse-polynomial pair mass before any conditioning. |
| 15 | -/ |
| 16 | |
| 17 | namespace Lax342547.PreparedInjection |
| 18 | |
| 19 | open Lax342547.MomentSpace Lax342547.RawFrames Lax342547.ExactPins |
| 20 | open Lax342547.TableSpaces Lax342547.SmallTables Lax342547.TableInjection |
| 21 | open Lax342547.RealCellLaws Lax342547.PushforwardWalsh Lax342547.RetainedImages |
| 22 | open Lax342547.RelativeEntropy |
| 23 | open scoped BigOperators |
| 24 | |
| 25 | abbrev Test (Comp : Type) := Comp × (Fin 2 × Fin 2) × (Bool × Bool) |
| 26 | |
| 27 | def testFailure {Comp B H N U : Type} [Fintype B] [Fintype H] [Fintype N] |
| 28 | {E : Matrix B B Binary} (P : U → Pin (Comp × Bool) (Fin 2 × (B ⊕ H)) N) |
| 29 | (A : U → Fin 2 → Comp → Frame B H N E) (j : Test Comp) (a b : U) : Prop := |
| 30 | Failed (P a) (P b) (A a) (A b) j.1 j.2.1.1 j.2.1.2 j.2.2.1 j.2.2.2 |
| 31 | |
| 32 | structure Budget (K m t Cs p h N : ℕ) (η : ℝ) : Prop where |
| 33 | gap : 1/(2 : ℝ)^t ≤ η/2 |
| 34 | ambient : p+h+1 ≤ N |
| 35 | primal : p ≤ N/8 |
| 36 | density : m+h+1 ≤ N/10 |
| 37 | channel : 2*K+t+20*(K+1)*(Cs+3) ≤ h |
| 38 | probes : 20*(K+1) ≤ N |
| 39 | constant : m+h*K ≤ N |
| 40 | small : 1/(2 : ℝ)^(N/2) ≤ η/2 |
| 41 | |
| 42 | variable {Comp B H N U I : Type} [Fintype Comp] [Fintype B] [Fintype H] [Fintype N] |
| 43 | [Fintype U] [Fintype I] [DecidableEq B] [DecidableEq H] [DecidableEq N] |
| 44 | {E : Matrix B B Binary} [Nonempty (Frame B H N E)] |
| 45 | |
| 46 | axiom actual_accepting_table_loss (ρ : U → ℝ) |
| 47 | (P : U → Pin (Comp × Bool) (Fin 2 × (B ⊕ H)) N) |
| 48 | (A : U → Fin 2 → Comp → Frame B H N E) |
| 49 | (accept : U → U → Prop) (CL CR : I → U → Prop) (keyL keyR : U → I) |
| 50 | (T : ∀ a b,Table (P a) (P b)) (K m t Cs : ℕ) (M η : ℝ) |
| 51 | (hρ : Probability ρ) (hM : 0 ≤ M) |
| 52 | (hbudget : Budget K m t Cs (Fintype.card B) (Fintype.card H) (Fintype.card N) η) |
| 53 | (hcapM : M ≤ (2 : ℝ)^m) (hcapMB : 2*M ≤ (2 : ℝ)^(m+Fintype.card N)) |
| 54 | (hcount : (Fintype.card I : ℝ) ≤ (2 : ℝ)^(Cs*Fintype.card N)) |
| 55 | (hP : ∀ u,(P u).rank ≤ K) |
| 56 | (hcap : ∀ i e f,push ρ (fun u => A u i e) f ≤ |
| 57 | M*weights (PMF.uniformOfFintype (Frame B H N E)) f) |
| 58 | (hleft : ∀ a b,accept a b ↔ CL (keyL b) a) |
| 59 | (hright : ∀ a b,accept b a ↔ CR (keyR b) a) |
| 60 | (hT : ∀ a b,accept a b → Admissible (T a b) |
| 61 | Lax342547.ReferencePins.observation Lax342547.ReferencePins.observation (A a) (A b)) : |
| 62 | cellMass (fun ab : U × U => ρ ab.1*ρ ab.2) |
| 63 | (fun ab => accept ab.1 ab.2 ∧ ¬ Injecting (T ab.1 ab.2)) ≤ |
| 64 | (16*Fintype.card Comp : ℕ)*(η*cellMass (fun ab : U × U => ρ ab.1*ρ ab.2) |
| 65 | (fun ab => accept ab.1 ab.2)+ |
| 66 | (1/(2 : ℝ)^(Fintype.card N/100)+1/(2 : ℝ)^Fintype.card N)) |
| 67 | |
| 68 | axiom actual_relative_table_injection (ρ : U → ℝ) |
| 69 | (P : U → Pin (Comp × Bool) (Fin 2 × (B ⊕ H)) N) |
| 70 | (A : U → Fin 2 → Comp → Frame B H N E) |
| 71 | (accept : U → U → Prop) (CL CR : I → U → Prop) (keyL keyR : U → I) |
| 72 | (T : ∀ a b,Table (P a) (P b)) (K m t Cs : ℕ) (M η ε : ℝ) |
| 73 | (hρ : Probability ρ) (hM : 0 ≤ M) |
| 74 | (hbudget : Budget K m t Cs (Fintype.card B) (Fintype.card H) (Fintype.card N) η) |
| 75 | (hcapM : M ≤ (2 : ℝ)^m) (hcapMB : 2*M ≤ (2 : ℝ)^(m+Fintype.card N)) |
| 76 | (hcount : (Fintype.card I : ℝ) ≤ (2 : ℝ)^(Cs*Fintype.card N)) |
| 77 | (hP : ∀ u,(P u).rank ≤ K) |
| 78 | (hcap : ∀ i e f,push ρ (fun u => A u i e) f ≤ |
| 79 | M*weights (PMF.uniformOfFintype (Frame B H N E)) f) |
| 80 | (hleft : ∀ a b,accept a b ↔ CL (keyL b) a) |
| 81 | (hright : ∀ a b,accept b a ↔ CR (keyR b) a) |
| 82 | (hT : ∀ a b,accept a b → Admissible (T a b) |
| 83 | Lax342547.ReferencePins.observation Lax342547.ReferencePins.observation (A a) (A b)) |
| 84 | (c : ℕ) (hJ : 0 < 16*Fintype.card Comp) (hε : 0 ≤ ε) |
| 85 | (hη : η = ε/(2*(16*Fintype.card Comp : ℕ))) |
| 86 | (haccept : 1/(Fintype.card N : ℝ)^c ≤ cellMass (fun ab : U × U => ρ ab.1*ρ ab.2) |
| 87 | (fun ab => accept ab.1 ab.2)) |
| 88 | (htail : (16*Fintype.card Comp : ℕ)*(1/(2 : ℝ)^(Fintype.card N/100)+1/(2 : ℝ)^Fintype.card N) ≤ |
| 89 | (ε/2)/(Fintype.card N : ℝ)^c) : |
| 90 | cellMass (fun ab : U × U => ρ ab.1*ρ ab.2) |
| 91 | (fun ab => accept ab.1 ab.2 ∧ ¬ Injecting (T ab.1 ab.2)) ≤ |
| 92 | ε*cellMass (fun ab : U × U => ρ ab.1*ρ ab.2) (fun ab => accept ab.1 ab.2) |
| 93 | |
| 94 | end Lax342547.PreparedInjection |
| 95 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments