Download data/lean/OAI/Geometry/HeilbronnTriangle/AuxiliaryZeroCount.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.46 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/HeilbronnTriangle/AuxiliaryZeroCount.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/HeilbronnTriangle/AuxiliaryZeroCount.lean
-
curl -L -o AuxiliaryZeroCount.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/HeilbronnTriangle/AuxiliaryZeroCount.lean
2.46 kB
Lean 4 Β· 3
declarations fullstatements
| import OAI.Geometry.HeilbronnTriangle.ZeroGlobalCount | |
| import OAI.Geometry.HeilbronnTriangle.AuxiliaryZeroWeights | |
| namespace OAI | |
| noncomputable section | |
| namespace Problem355.AuxiliaryZeroCount | |
| open Matrix PrimitiveNormal ZeroDeterminantCount LiftingProbability | |
| open scoped BigOperators | |
| def countConstant : β := | |
| ZeroGlobalCount.countConstant 8 (2 * 2000 ^ 6) (4 * 2000 ^ 3) | |
| lemma countConstant_nonneg : 0 β€ countConstant := | |
| ZeroGlobalCount.countConstant_nonneg (by norm_num) (by positivity) (by positivity) | |
| theorem weighted_count_le_log | |
| (D : RowData) (q N : β) [Fact q.Prime] | |
| (hN : 1 β€ N) (hEq : IsUnit (D.E : ZMod q)) | |
| (hparam : D.h ^ 26 β€ (q : β)) | |
| (L : AuxiliarySampling.Law q ((D.B ^ D.k) ^ 2)) | |
| (S : Finset (Matrix (Fin 3) (Fin 3) β€)) | |
| (hdet : β A β S, A.det = 0) | |
| (hrows : β A β S, β i, A i β D.L) | |
| (hheight : β A β S, β i, A 2 i β 0) | |
| (hproj : β A β S, β i j : Fin 3, i β j β | |
| ((A 0 i : β) / A 2 i, (A 1 i : β) / A 2 i) β | |
| ((A 0 j : β) / A 2 j, (A 1 j : β) / A 2 j)) | |
| (hbound : β A β S, β i j, |A i j| β€ (2 * N : β)) : | |
| (β A β S, auxiliaryWeight q L.size L.weight L.sets | |
| (A.map (Int.castRingHom (ZMod q))).col) β€ | |
| countConstant * (N : β) ^ 6 / (D.I : β) ^ 2 * | |
| (Real.log (4 * (N : β)) / Real.log 2) := by | |
| apply ZeroGlobalCount.weighted_count_le_log D q N hN hEq hparam S | |
| (fun A => auxiliaryWeight q L.size L.weight L.sets | |
| (A.map (Int.castRingHom (ZMod q))).col) | |
| 8 (2 * 2000 ^ 6) (4 * 2000 ^ 3) | |
| (by norm_num) (by positivity) (by positivity) | |
| (fun A _ => auxiliaryWeight_nonneg q L.size L.weight L.sets L.weight_nonneg _) | |
| hdet hrows hheight hproj hbound | |
| Β· intro A hA hpositive | |
| obtain β¨Ο, hΟβ© := L.exists_outcome_of_weight_pos | |
| (A.map (Int.castRingHom (ZMod q))).col hpositive | |
| exact β¨L.sets Ο, L.isCap Ο, hΟβ© | |
| Β· intro A hA hAI | |
| exact L.weight_le_eight _ hAI | |
| Β· intro A hA | |
| simpa only [RowData.h, Nat.cast_pow] using | |
| L.weight_le_two_main_square (A.map (Int.castRingHom (ZMod q))).col | |
| Β· intro A hA hne | |
| simpa only [RowData.h, Nat.cast_pow] using | |
| L.weight_le_four_main_square (A.map (Int.castRingHom (ZMod q))).col hne | |
| Β· intro A hA x hx hkernel hAI hpositive | |
| simpa only [RowData.h, Nat.cast_pow] using | |
| L.kernel_norm_gt_main_square A hpositive hAI hx.ne_zero hkernel | |
| end Problem355.AuxiliaryZeroCount | |
| end | |
| end OAI | |
Outline