Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalReduced |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.PeriodWhole |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.RemovableGlobal |
| 4 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.MonicRoots |
| 5 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.CoefficientRoot |
| 6 | |
| 7 | /-! # Reduced Families On -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace Geometry.ComplexTorus.RiemannProjectivity.ReducedFamiliesOn.Constructions.ReducedFamilies |
| 14 | |
| 15 | /-! # RiemannProjectivity: canonical reduced polynomial families and uniqueness on overlaps -/ |
| 16 | |
| 17 | open Set Filter _root_.Polynomial |
| 18 | open scoped _root_.Topology |
| 19 | |
| 20 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 21 | |
| 22 | structure On (S : Set (V × ℂ)) (U : Set V) (P : V → ℂ[X]) : Prop where |
| 23 | holomorphic : ∀ j, DifferentiableOn ℂ (fun y => (P y).coeff j) U |
| 24 | monic : ∀ y ∈ U, (P y).Monic |
| 25 | constant_degree : ∃ k, ∀ y ∈ U, (P y).natDegree = k |
| 26 | roots : ∀ y ∈ U, ∀ z, (y, z) ∈ S ↔ (P y).eval z = 0 |
| 27 | generic : ∃ c : V → ℂ, DifferentiableOn ℂ c U ∧ |
| 28 | (∀ x ∈ U, ¬∀ᶠ y in 𝓝 x, c y = 0) ∧ |
| 29 | ∀ y ∈ U, c y ≠ 0 → (P y).Separable |
| 30 | |
| 31 | theorem On.mono {S : Set (V × ℂ)} {U W : Set V} {P : V → ℂ[X]} |
| 32 | (hP : On S U P) (hWU : W ⊆ U) : On S W P := by |
| 33 | obtain ⟨k, hk⟩ := hP.constant_degree |
| 34 | obtain ⟨c, hc, hn, hs⟩ := hP.generic |
| 35 | exact ⟨fun j => (hP.holomorphic j).mono hWU, fun y hy => hP.monic y (hWU hy), |
| 36 | ⟨k, fun y hy => hk y (hWU hy)⟩, fun y hy => hP.roots y (hWU hy), |
| 37 | c, hc.mono hWU, fun y hy => hn y (hWU hy), fun y hy => hs y (hWU hy)⟩ |
| 38 | |
| 39 | theorem eq_at {S : Set (V × ℂ)} {U W : Set V} {P Q : V → ℂ[X]} |
| 40 | (hU : IsOpen U) (hW : IsOpen W) (hP : On S U P) (hQ : On S W Q) |
| 41 | {x : V} (hxU : x ∈ U) (hxW : x ∈ W) : P x = Q x := by |
| 42 | obtain ⟨c, hc, hcn, hPs⟩ := hP.generic |
| 43 | obtain ⟨d, hd, hdn, hQs⟩ := hQ.generic |
| 44 | have hn := AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.GenericDegree.Constructions.GenericPolynomial.not_eventually_zero_mul (hU.inter hW) ⟨hxU, hxW⟩ |
| 45 | (hc.mono inter_subset_left) (hd.mono inter_subset_right) (hcn x hxU) (hdn x hxW) |
| 46 | ext j |
| 47 | apply RemovableGlobal.Constructions.GlobalRemovability.eq_at_of_nonflat hn |
| 48 | (((hP.holomorphic j).differentiableAt (hU.mem_nhds hxU)).continuousAt) |
| 49 | (((hQ.holomorphic j).differentiableAt (hW.mem_nhds hxW)).continuousAt) |
| 50 | filter_upwards [hU.mem_nhds hxU, hW.mem_nhds hxW] with y hyU hyW hycd |
| 51 | have hcd : c y ≠ 0 ∧ d y ≠ 0 := mul_ne_zero_iff.mp hycd |
| 52 | have heq := AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.MonicRoots.Constructions.RootPolynomials.eq_of_same_roots (hP.monic y hyU) (hQ.monic y hyW) |
| 53 | (hPs y hyU hcd.1) (hQs y hyW hcd.2) |
| 54 | (fun z => (hP.roots y hyU z).symm.trans (hQ.roots y hyW z)) |
| 55 | exact congrArg (fun p : ℂ[X] => p.coeff j) heq |
| 56 | |
| 57 | theorem exists_local {d : ℕ} {S : Set ((Fin d → ℂ) × ℂ)} {x : Fin d → ℂ} |
| 58 | (hproper : IsProperMap (fun p : S => p.val.1)) |
| 59 | (hfinite : {z : ℂ | (x, z) ∈ S}.Finite) |
| 60 | (hlocal : ∀ z, (x, z) ∈ S → PeriodWhole.Constructions.PeriodCoordinateEquations.HasLocalMonicEquation S x z) : |
| 61 | ∃ (U : Set (Fin d → ℂ)) (P : (Fin d → ℂ) → ℂ[X]), |
| 62 | IsOpen U ∧ x ∈ U ∧ On S U P := by |
| 63 | obtain ⟨k, O, P, hO, hxO, hPc, hP, hProots⟩ := |
| 64 | PeriodWhole.Constructions.WholeFiberPolynomial.exists_polynomial hproper hfinite hlocal |
| 65 | obtain ⟨m, Q, U, c, hU, hxU, hUO, hc, hdense, hQc, hQ, hQs, hroots⟩ := |
| 66 | LocalReduced.Constructions.LocalReducedFamily.exists_reduced_family hO hPc k hP hxO |
| 67 | refine ⟨U, Q, hU, hxU, ⟨hQc, fun y _ => (hQ y).1, |
| 68 | ⟨m, fun y _ => (hQ y).2⟩, fun y hy z => (hProots y (hUO hy) z).trans (hroots y hy z), |
| 69 | c, hc, ?_, hQs⟩⟩ |
| 70 | intro y hy hz |
| 71 | obtain ⟨w, hw, hwzero⟩ := ((mem_closure_iff_frequently.mp (hdense hy)).and_eventually hz).exists |
| 72 | exact hw.2 hwzero |
| 73 | |
| 74 | end Geometry.ComplexTorus.RiemannProjectivity.ReducedFamiliesOn.Constructions.ReducedFamilies |
| 75 | |
| 76 | namespace Geometry.ComplexTorus.RiemannProjectivity.ReducedFamiliesOn.Constructions.ReducedDegree |
| 77 | |
| 78 | /-! # RiemannProjectivity: uniform degree and coefficient bounds for reduced families -/ |
| 79 | |
| 80 | open Set Filter _root_.Polynomial |
| 81 | open scoped _root_.Topology |
| 82 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ReducedFamiliesOn.Constructions.ReducedFamilies |
| 83 | |
| 84 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 85 | |
| 86 | theorem natDegree_le {S : Set (V × ℂ)} {U : Set V} {P : V → ℂ[X]} |
| 87 | (hU : IsOpen U) (hP : ReducedFamilies.On S U P) {N : ℕ} |
| 88 | (hcard : ∀ y ∈ U, {z : ℂ | (y, z) ∈ S}.ncard ≤ N) |
| 89 | {x : V} (hx : x ∈ U) : (P x).natDegree ≤ N := by |
| 90 | obtain ⟨k, hk⟩ := hP.constant_degree |
| 91 | obtain ⟨c, _, hn, hs⟩ := hP.generic |
| 92 | have hf : ∃ᶠ y in 𝓝 x, c y ≠ 0 := by |
| 93 | simpa only [Filter.Frequently, not_not] using hn x hx |
| 94 | obtain ⟨y, hcy, hy⟩ := (hf.and_eventually (hU.mem_nhds hx)).exists |
| 95 | have hset : {z : ℂ | (y, z) ∈ S} = {z : ℂ | (P y).eval z = 0} := |
| 96 | Set.ext (fun z => hP.roots y hy z) |
| 97 | have heq : {z : ℂ | (y, z) ∈ S}.ncard = (P y).natDegree := by |
| 98 | rw [hset] |
| 99 | exact AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.MonicRoots.Constructions.RootPolynomials.ncard_zero_set (hP.monic y hy).ne_zero (hs y hy hcy) |
| 100 | rw [hk x hx, ← hk y hy, ← heq] |
| 101 | exact hcard y hy |
| 102 | |
| 103 | omit [NormedSpace ℂ V] in |
| 104 | theorem coefficient_growth {P : V → ℂ[X]} {U : Set V} {N : ℕ} {C : ℝ} |
| 105 | (hmonic : ∀ x ∈ U, (P x).Monic) (hdegree : ∀ x ∈ U, (P x).natDegree ≤ N) |
| 106 | (hroot : ∀ x ∈ U, ∀ z, (P x).eval z = 0 → ‖z‖ ≤ C * ‖x‖) (j : ℕ) : |
| 107 | ∀ x ∈ U, ‖(P x).coeff j‖ ≤ |
| 108 | ((N.choose j : ℝ) * (max 1 C) ^ N) * (max 1 ‖x‖) ^ N := by |
| 109 | intro x hx |
| 110 | have hchoose : ((P x).natDegree.choose j : ℝ) ≤ (N.choose j : ℝ) := by |
| 111 | exact_mod_cast Nat.choose_le_choose j (hdegree x hx) |
| 112 | have hmax : max 1 (C * ‖x‖) ≤ max 1 C * max 1 ‖x‖ := by |
| 113 | apply max_le |
| 114 | · exact one_le_mul_of_one_le_of_one_le (le_max_left _ _) (le_max_left _ _) |
| 115 | · exact mul_le_mul (le_max_right _ _) (le_max_right _ _) (norm_nonneg x) |
| 116 | (zero_le_one.trans (le_max_left _ _)) |
| 117 | calc |
| 118 | _ ≤ ((P x).natDegree.choose j : ℝ) * (max 1 (C * ‖x‖)) ^ (P x).natDegree := |
| 119 | CoefficientRoot.Constructions.RootCoefficientBound.norm_coeff_le (hmonic x hx) (hroot x hx) j |
| 120 | _ ≤ (N.choose j : ℝ) * (max 1 (C * ‖x‖)) ^ N := |
| 121 | mul_le_mul hchoose (pow_le_pow_right₀ (le_max_left _ _) (hdegree x hx)) |
| 122 | (pow_nonneg (zero_le_one.trans (le_max_left _ _)) _) (Nat.cast_nonneg _) |
| 123 | _ ≤ (N.choose j : ℝ) * (max 1 C * max 1 ‖x‖) ^ N := by gcongr |
| 124 | _ = _ := by rw [mul_pow, mul_assoc] |
| 125 | |
| 126 | end Geometry.ComplexTorus.RiemannProjectivity.ReducedFamiliesOn.Constructions.ReducedDegree |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI |