@@ -116,6 +116,36 @@ theorem mcaThreshold_eq_top_of_epsMCA_one_le
116116 exact Nat.lt_succ_iff.mp i.isLt
117117 exact (mcaThreshold_unique C ε_star hne top hsat hmax).symm
118118
119+ /-- The full/top linear code makes the faithful MCA lattice threshold exist for every target
120+ threshold. This is the lattice endpoint form of `epsMCA_top_eq_zero`. -/
121+ theorem mcaThresholdExists_topCode (ε_star : ℝ≥0 ) :
122+ mcaThresholdExists (((⊤ : LinearCode ι F) : Set (ι → F))) ε_star := by
123+ let top : Fin (Fintype.card ι + 1 ) := ⟨Fintype.card ι, Nat.lt_succ_self _⟩
124+ refine ⟨top, ?_⟩
125+ unfold mcaSatisfies
126+ rw [epsMCA_top_eq_zero]
127+ exact zero_le _
128+
129+ /-- The faithful MCA lattice threshold of the full/top linear code is the top lattice index. -/
130+ theorem mcaThreshold_topCode_eq_top (ε_star : ℝ≥0 ) :
131+ mcaThreshold (((⊤ : LinearCode ι F) : Set (ι → F))) ε_star
132+ (mcaThresholdExists_topCode (ι := ι) (F := F) ε_star) =
133+ ⟨Fintype.card ι, Nat.lt_succ_self _⟩ := by
134+ let top : Fin (Fintype.card ι + 1 ) := ⟨Fintype.card ι, Nat.lt_succ_self _⟩
135+ change mcaThreshold (((⊤ : LinearCode ι F) : Set (ι → F))) ε_star
136+ (mcaThresholdExists_topCode (ι := ι) (F := F) ε_star) = top
137+ have hsat : mcaSatisfies (((⊤ : LinearCode ι F) : Set (ι → F))) ε_star top := by
138+ unfold mcaSatisfies
139+ rw [epsMCA_top_eq_zero]
140+ exact zero_le _
141+ have hmax : ∀ i : Fin (Fintype.card ι + 1 ),
142+ mcaSatisfies (((⊤ : LinearCode ι F) : Set (ι → F))) ε_star i → i ≤ top := by
143+ intro i _hi
144+ rw [Fin.le_iff_val_le_val]
145+ exact Nat.lt_succ_iff.mp i.isLt
146+ exact (mcaThreshold_unique (((⊤ : LinearCode ι F) : Set (ι → F))) ε_star
147+ (mcaThresholdExists_topCode (ι := ι) (F := F) ε_star) top hsat hmax).symm
148+
119149/-- Endpoint upper bounds resolve the faithful MCA lattice prize with threshold `1` at every
120150prize rate. -/
121151theorem mcaPrizeLatticeResolved_top_of_radiusOne_bounds
@@ -1208,3 +1238,5 @@ end ProximityGap
12081238
12091239#print axioms
12101240 ProximityGap.GrandChallengesLattice.listPrizeLatticeResolved_of_ordinaryRSCapacityAtPrizeRates_and_elias_next
1241+ #print axioms ProximityGap.GrandChallengesLattice.mcaThresholdExists_topCode
1242+ #print axioms ProximityGap.GrandChallengesLattice.mcaThreshold_topCode_eq_top
0 commit comments