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.ComplexGroups.HolomorphicAlgebraicity.ConeCoordinateImage |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FinitePullback |
| 3 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ConeFiberEquation |
| 4 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.RootContinuity |
| 5 | import Mathlib.Topology.Algebra.MvPolynomial |
| 6 | |
| 7 | /-! # Parametrized Cone Equation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ParametrizedConeEquation.Constructions.Cone |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Full homogeneous equations for scalar images of a parametrized cone |
| 15 | |
| 16 | Local parametrizations of the same dimension as a finite normalization |
| 17 | extend the generic equation across every exceptional fiber. Persistence of |
| 18 | roots gives the reverse inclusion. The monic term controls the zero fiber. |
| 19 | -/ |
| 20 | |
| 21 | open Set Filter _root_.Polynomial |
| 22 | open scoped _root_.Topology |
| 23 | |
| 24 | theorem continuous_fiberCoordinates {n : ℕ} : |
| 25 | Continuous (fun p : (Fin n → ℂ) × ℂ => ConeFiberEquation.Constructions.Cone.fiberCoordinates p.1 p.2) := by |
| 26 | apply continuous_pi |
| 27 | intro i |
| 28 | cases i with |
| 29 | | none => exact continuous_snd |
| 30 | | some i => exact (continuous_apply i).comp continuous_fst |
| 31 | |
| 32 | theorem exists_full_homogeneous_coordinate_equation |
| 33 | {E A : Type*} |
| 34 | [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 35 | [NormedAddCommGroup A] [NormedSpace ℂ A] [FiniteDimensional ℂ A] |
| 36 | {n : ℕ} (hn : 0 < n) |
| 37 | (hdim : Module.finrank ℂ E = Module.finrank ℂ (Fin n → ℂ)) |
| 38 | {S : Set A} (hzero : 0 ∈ S) (hS : IsClosed S) |
| 39 | (hcone : ∀ (c : ℂ) ⦃v⦄, v ∈ S → c • v ∈ S) |
| 40 | (hlocal : ∀ v ∈ S, v ≠ 0 → ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S v) |
| 41 | (L : A →L[ℂ] (Fin n → ℂ)) (hker : ∀ v ∈ S, L v = 0 → v = 0) |
| 42 | (hfinite : ∀ y, {v | v ∈ S ∧ L v = y}.Finite) (hsurj : L '' S = univ) |
| 43 | (hparam : ∀ p ∈ S, p ≠ 0 → ∃ (O : Set A) (U : Set E) (φ : E → A), |
| 44 | IsOpen O ∧ p ∈ O ∧ IsOpen U ∧ DifferentiableOn ℂ φ U ∧ |
| 45 | S ∩ O ⊆ φ '' U ∧ MapsTo φ U S ∧ InjOn φ U) |
| 46 | (ℓ : A →L[ℂ] ℂ) : |
| 47 | ∃ (d : ℕ) (F : MvPolynomial (Option (Fin n)) ℂ), |
| 48 | 0 < d ∧ F.IsHomogeneous d ∧ F ≠ 0 ∧ |
| 49 | (∀ y z, (y, z) ∈ (L.prod ℓ) '' S ↔ MvPolynomial.eval (ConeFiberEquation.Constructions.Cone.fiberCoordinates y z) F = 0) ∧ |
| 50 | ∀ z : ℂ, MvPolynomial.eval (ConeFiberEquation.Constructions.Cone.fiberCoordinates 0 z) F = z ^ d := by |
| 51 | let T := (L.prod ℓ) '' S |
| 52 | obtain ⟨hT, hconeT, hlocalT, hproperT, hfiniteT, _⟩ := |
| 53 | ConeCoordinateImage.Constructions.Cone.coordinate_image_properties hS hcone hlocal L hker hfinite ℓ |
| 54 | obtain ⟨d, P, hcoeff, hP, hnear⟩ := PuncturedFiberPolynomial.Constructions.Cone.exists_punctured_fiber_polynomial hn hproperT hfiniteT |
| 55 | (fun p _ hp => hlocalT p hp) |
| 56 | have hscale (t : ℂ) (ht : t ≠ 0) (x : Fin n → ℂ) (hx : x ≠ 0) : |
| 57 | P (t • x) = (P x).scaleRoots t := by |
| 58 | apply ConeCoefficientScaling.Constructions.Cone.fiber_polynomial_scaleRoots (fun c p hp => hconeT c hp) hcoeff hP _ ht hx |
| 59 | intro y hy |
| 60 | obtain ⟨V, c, hV, hyV, hV0, hc, hcn, _, hroot⟩ := hnear y hy |
| 61 | exact ⟨V, c, hV, hyV, hV0, hc, hcn, hroot⟩ |
| 62 | obtain ⟨F, hF, hFeq, hFzero⟩ := |
| 63 | ConeFiberEquation.Constructions.Cone.exists_monic_homogeneous_fiber_equation_of_scaling hcoeff hP hscale |
| 64 | have hFne : F ≠ 0 := by |
| 65 | intro hz |
| 66 | have h := hFzero 1 |
| 67 | rw [hz, map_zero, one_pow] at h |
| 68 | exact zero_ne_one h |
| 69 | have hd : 0 < d := by |
| 70 | let x : Fin n → ℂ := fun _ => 1 |
| 71 | have hx : x ≠ 0 := by |
| 72 | intro hx0 |
| 73 | exact one_ne_zero (congrFun hx0 ⟨0, hn⟩) |
| 74 | obtain ⟨V, c, _, hxV, hV0, _, _, hdense, hroot⟩ := hnear x hx |
| 75 | obtain ⟨y, hy, hcy⟩ := (mem_closure_iff_frequently.mp (hdense hxV)).exists |
| 76 | have hyS : y ∈ L '' S := by rw [hsurj]; exact mem_univ y |
| 77 | obtain ⟨v, hv, hvy⟩ := hyS |
| 78 | have hrootv : (P y).eval (ℓ v) = 0 := |
| 79 | ((hroot y hy hcy).2 (ℓ v)).mp ⟨v, hv, Prod.ext hvy rfl⟩ |
| 80 | by_contra hdnot |
| 81 | have hd0 : d = 0 := by omega |
| 82 | have hPone : P y = 1 := eq_one_of_monic_natDegree_zero (hP y (hV0 hy)).1 |
| 83 | ((hP y (hV0 hy)).2.trans hd0) |
| 84 | rw [hPone, eval_one] at hrootv |
| 85 | exact one_ne_zero hrootv |
| 86 | have hvanish (v : A) (hv : v ∈ S) (hv0 : v ≠ 0) : |
| 87 | MvPolynomial.eval (ConeFiberEquation.Constructions.Cone.fiberCoordinates (L v) (ℓ v)) F = 0 := by |
| 88 | have hLv : L v ≠ 0 := fun hz => hv0 (hker v hv hz) |
| 89 | obtain ⟨V, c, hV, hLvV, hV0, hc, hcn, _, hroot⟩ := hnear (L v) hLv |
| 90 | have hcont : Continuous (fun w : A => MvPolynomial.eval (ConeFiberEquation.Constructions.Cone.fiberCoordinates (L w) (ℓ w)) F) := |
| 91 | F.continuous_eval.comp (continuous_fiberCoordinates.comp (L.prod ℓ).continuous) |
| 92 | apply FinitePullback.Constructions.Cone.eq_zero_of_generic_finite_local_parametrizations hdim L hfinite hparam hv hv0 |
| 93 | hV hc hLvV hcn hcont.continuousAt |
| 94 | intro w hw hLw hcw |
| 95 | rw [hFeq (L w) (hV0 hLw) (ℓ w)] |
| 96 | exact ((hroot (L w) hLw hcw).2 (ℓ w)).mp ⟨w, hw, rfl⟩ |
| 97 | have hrootmem (y : Fin n → ℂ) (hy : y ≠ 0) (z : ℂ) |
| 98 | (hz : MvPolynomial.eval (ConeFiberEquation.Constructions.Cone.fiberCoordinates y z) F = 0) : (y, z) ∈ T := by |
| 99 | obtain ⟨V, c, hV, hyV, hV0, _, _, hdense, hroot⟩ := hnear y hy |
| 100 | rw [hFeq y hy z] at hz |
| 101 | exact RootContinuity.Constructions.RootPolynomials.root_mem_closed_set_of_generic_roots hT hV |
| 102 | (fun j => (hcoeff j).mono hV0) (fun w hw => hP w (hV0 hw)) hdense |
| 103 | (fun w hw u hu => ((hroot w hw.1 hw.2).2 u).mpr hu) hyV hz |
| 104 | refine ⟨d, F, hd, hF, hFne, ?_, hFzero⟩ |
| 105 | intro y z |
| 106 | constructor |
| 107 | · intro hp |
| 108 | obtain ⟨v, hv, hvp⟩ := hp |
| 109 | by_cases hv0 : v = 0 |
| 110 | · have hp0 : (y, z) = 0 := hvp.symm.trans (by rw [hv0, map_zero]) |
| 111 | have hy0 : y = 0 := congrArg Prod.fst hp0 |
| 112 | have hz0 : z = 0 := congrArg Prod.snd hp0 |
| 113 | rw [hy0, hz0, hFzero, zero_pow (Nat.ne_of_gt hd)] |
| 114 | · have h := hvanish v hv hv0 |
| 115 | have hvy : L v = y := congrArg Prod.fst hvp |
| 116 | have hvz : ℓ v = z := congrArg Prod.snd hvp |
| 117 | rwa [hvy, hvz] at h |
| 118 | · intro hz |
| 119 | by_cases hy : y = 0 |
| 120 | · subst y |
| 121 | rw [hFzero] at hz |
| 122 | have hz0 : z = 0 := eq_zero_of_pow_eq_zero hz |
| 123 | subst z |
| 124 | exact ⟨0, hzero, map_zero (L.prod ℓ)⟩ |
| 125 | · exact hrootmem y hy z hz |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ParametrizedConeEquation.Constructions.Cone |