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.AlgebraicGeometry.ComplexPoints.IntegralCharacters |
| 2 | import Mathlib.Analysis.Normed.Field.Approximation |
| 3 | |
| 4 | /-! # Open Integral Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexPoints.OpenIntegralMap.ClosednessConstruction |
| 7 | |
| 8 | /-! Closedness: openness on complex points of integral maps to a normal affine base. |
| 9 | The elementary root-persistence argument also appears in |
| 10 | `Proofs/RootContinuity.lean`; it is included here with independent imports. -/ |
| 11 | |
| 12 | open Set _root_.Polynomial _root_.Metric |
| 13 | open scoped _root_.Topology BigOperators |
| 14 | |
| 15 | theorem root_near_of_small_eval {p : ℂ[X]} (hp : p.Monic) {z : ℂ} {ε : ℝ} |
| 16 | (hε : 0 < ε) (heval : ‖p.eval z‖ < ε ^ p.natDegree) : |
| 17 | ∃ w, p.eval w = 0 ∧ dist z w < ε := by |
| 18 | by_contra! hn |
| 19 | have hle := Multiset.prod_map_le_prod_map₀ (s := p.roots) |
| 20 | (fun _ : ℂ => ε) (fun w => ‖z - w‖) (fun _ _ => hε.le) |
| 21 | (fun w hw => by simpa only [dist_eq_norm] using hn w ((mem_roots hp.ne_zero).mp hw)) |
| 22 | have hprod : (p.roots.map (fun w => ‖z - w‖)).prod = ‖p.eval z‖ := by |
| 23 | rw [(IsAlgClosed.splits p).eval_eq_prod_roots_of_monic hp] |
| 24 | exact p.roots.prod_hom' (NormedField.toMulRingNorm ℂ) (fun w => z - w) |
| 25 | rw [hprod, Multiset.map_const', Multiset.prod_replicate, |
| 26 | ← (IsAlgClosed.splits p).natDegree_eq_card_roots] at hle |
| 27 | exact heval.not_ge hle |
| 28 | |
| 29 | theorem continuousAt_monic_family_eval {V : Type*} [TopologicalSpace V] |
| 30 | {P : V → ℂ[X]} {x : V} (d : ℕ) (hd : ∀ y, (P y).natDegree ≤ d) |
| 31 | (hcoeff : ∀ j, ContinuousAt (fun y => (P y).coeff j) x) (z : ℂ) : |
| 32 | ContinuousAt (fun y => (P y).eval z) x := by |
| 33 | have heq : (fun y => (P y).eval z) = |
| 34 | fun y => ∑ j ∈ Finset.range (d + 1), (P y).coeff j * z ^ j := by |
| 35 | funext y |
| 36 | exact eval_eq_sum_range' (Nat.lt_succ_of_le (hd y)) z |
| 37 | rw [heq] |
| 38 | exact tendsto_finsetSum _ (fun j _ => (hcoeff j).mul continuousAt_const) |
| 39 | |
| 40 | theorem eventually_monic_root_near {V : Type*} [TopologicalSpace V] |
| 41 | {P : V → ℂ[X]} {x : V} (k : ℕ) |
| 42 | (hp : ∀ y, (P y).Monic ∧ (P y).natDegree = k) |
| 43 | (hcoeff : ∀ j, ContinuousAt (fun y => (P y).coeff j) x) |
| 44 | {z : ℂ} (hz : (P x).eval z = 0) {ε : ℝ} (hε : 0 < ε) : |
| 45 | ∀ᶠ y in 𝓝 x, ∃ w, (P y).eval w = 0 ∧ dist z w < ε := by |
| 46 | have hc := (continuousAt_monic_family_eval k (fun y => (hp y).2.le) hcoeff z).norm |
| 47 | have hsmall : ∀ᶠ y in 𝓝 x, ‖(P y).eval z‖ < ε ^ k := |
| 48 | hc.eventually_lt_const (by |
| 49 | change ‖(P x).eval z‖ < ε ^ k |
| 50 | rw [hz, norm_zero] |
| 51 | exact pow_pos hε _) |
| 52 | filter_upwards [hsmall] with y hy |
| 53 | apply root_near_of_small_eval (hp y).1 hε |
| 54 | simpa only [(hp y).2] using hy |
| 55 | |
| 56 | variable {R B : Type*} [CommRing R] [Algebra ℂ R] |
| 57 | [CommRing B] [Algebra ℂ B] [Algebra R B] [IsScalarTower ℂ R B] |
| 58 | [IsDomain R] [IsIntegrallyClosed R] [IsDomain B] [Module.IsTorsionFree R B] |
| 59 | [Algebra.IsIntegral R B] [Algebra.FiniteType ℂ B] [Algebra.FiniteType ℂ R] |
| 60 | |
| 61 | /-- An integral map of complex affine domains to a normal base is open on |
| 62 | complex points. The proof uses finite fibers and persistence of monic roots. -/ |
| 63 | theorem normal_integral_comap_isOpenMap : |
| 64 | IsOpenMap (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (IsScalarTower.toAlgHom ℂ R B)) := by |
| 65 | let f := IsScalarTower.toAlgHom ℂ R B |
| 66 | have hf : f.toRingHom.IsIntegral := Algebra.isIntegral_def.mp inferInstance |
| 67 | have hproper := IntegralTopology.ClosednessConstruction.integral_comap_isProperMap f hf |
| 68 | intro U hU |
| 69 | rw [isOpen_iff_mem_nhds] |
| 70 | rintro _ ⟨p, hp, rfl⟩ |
| 71 | obtain ⟨b, hb⟩ := IntegralCharacters.ClosednessConstruction.exists_separating_element |
| 72 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f ⁻¹' {Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f p}) (IntegralCharacters.ClosednessConstruction.integral_comap_finite_fiber f hf _) p |
| 73 | let F : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B → Foundations.Scheme.AffineComplexPoints.affineComplexPoints R × ℂ := |
| 74 | fun x => (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x, x b) |
| 75 | have hF : IsProperMap F := isProperMap_of_comp_of_t2 |
| 76 | ((Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f).continuous.prodMk (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval b)) continuous_fst hproper |
| 77 | have hclosed : IsClosed (F '' Uᶜ) := hF.isClosedMap Uᶜ hU.isClosed_compl |
| 78 | have hpF : F p ∈ (F '' Uᶜ)ᶜ := by |
| 79 | rintro ⟨q, hq, he⟩ |
| 80 | have hbase : Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f q = Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f p := congrArg Prod.fst he |
| 81 | have hval : p b = q b := (congrArg Prod.snd he).symm |
| 82 | have hpq := hb q hbase hval |
| 83 | exact hq (hpq ▸ hp) |
| 84 | obtain ⟨W, hW, V, hV, hWV⟩ := mem_nhds_prod_iff.mp |
| 85 | (hclosed.isOpen_compl.mem_nhds hpF) |
| 86 | obtain ⟨ε, hε, hεV⟩ := Metric.mem_nhds_iff.mp hV |
| 87 | let P : Foundations.Scheme.AffineComplexPoints.affineComplexPoints R → ℂ[X] := fun y => (minpoly R b).map y.toRingHom |
| 88 | have hmon : (minpoly R b).Monic := minpoly.monic (Algebra.IsIntegral.isIntegral b) |
| 89 | have hroot : (P (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f p)).eval (p b) = 0 := by |
| 90 | dsimp only [P] |
| 91 | rw [Polynomial.eval_map] |
| 92 | exact (Polynomial.hom_eval₂ (minpoly R b) (algebraMap R B) p.toRingHom b).symm.trans |
| 93 | ((congrArg p.toRingHom (minpoly.aeval R b)).trans (map_zero _)) |
| 94 | have hev := eventually_monic_root_near (minpoly R b).natDegree |
| 95 | (fun y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints R => ⟨hmon.map y.toRingHom, hmon.natDegree_map _⟩) |
| 96 | (fun j => by |
| 97 | simp only [Polynomial.coeff_map] |
| 98 | exact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval ((minpoly R b).coeff j)).continuousAt) |
| 99 | hroot hε |
| 100 | filter_upwards [hW, hev] with y hyW hy |
| 101 | obtain ⟨z, hz, hdist⟩ := hy |
| 102 | obtain ⟨x, hx, hxb⟩ := IntegralCharacters.ClosednessConstruction.minpoly_specialization_root_lifts b y z hz |
| 103 | refine ⟨x, ?_, hx⟩ |
| 104 | by_contra hxU |
| 105 | have hxy : F x ∈ W ×ˢ V := by |
| 106 | refine ⟨?_, ?_⟩ |
| 107 | · change Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x ∈ W |
| 108 | rwa [hx] |
| 109 | · change x b ∈ V |
| 110 | rw [hxb] |
| 111 | exact hεV (by simpa only [mem_ball, dist_comm] using hdist) |
| 112 | exact hWV hxy ⟨x, hxU, rfl⟩ |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.ComplexPoints.OpenIntegralMap.ClosednessConstruction |