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.SmoothLocal |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.IdentityEq |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.PolynomialDerivative |
| 4 | import Mathlib.Algebra.MvPolynomial.Funext |
| 5 | |
| 6 | /-! # Polynomial Holomorphic -/ |
| 7 | |
| 8 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # RiemannProjectivity: polynomial evaluation in genuine holomorphic germs -/ |
| 13 | |
| 14 | open Set Filter |
| 15 | open scoped _root_.Topology |
| 16 | |
| 17 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] {n : ℕ} {ι : Type*} [Fintype ι] |
| 18 | |
| 19 | def pullback (x : V) (g : V → ι → ℂ) {U : Set V} |
| 20 | (hU : IsOpen U) (hx : x ∈ U) (hg : DifferentiableOn ℂ g U) : |
| 21 | MvPolynomial ι ℂ →+* AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 22 | (((Germ.coeRingHom (𝓝 x)).comp (RingHom.pi (fun y => MvPolynomial.eval (g y)))).codRestrict |
| 23 | (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.holomorphicGerms x) (fun p => |
| 24 | ⟨(fun y => MvPolynomial.eval (g y) p), rfl, U, hU, hx, |
| 25 | (AlgebraicGeometry.ComplexPoints.Analytic.PolynomialDerivative.differentiable_polynomial_eval p).comp_differentiableOn hg⟩)) |
| 26 | |
| 27 | theorem pullback_eq_zero (x : V) (g : V → ι → ℂ) {U : Set V} |
| 28 | (hU : IsOpen U) (hx : x ∈ U) (hg : DifferentiableOn ℂ g U) |
| 29 | (p : MvPolynomial ι ℂ) : |
| 30 | pullback x g hU hx hg p = 0 ↔ ∀ᶠ y in 𝓝 x, MvPolynomial.eval (g y) p = 0 := by |
| 31 | change (⟨_, _⟩ : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) = 0 ↔ _ |
| 32 | rw [Subtype.ext_iff] |
| 33 | exact Germ.coe_eq |
| 34 | |
| 35 | theorem pullback_val (x : V) (g : V → ι → ℂ) {U : Set V} |
| 36 | (hU : IsOpen U) (hx : x ∈ U) (hg : DifferentiableOn ℂ g U) |
| 37 | (p : MvPolynomial ι ℂ) : |
| 38 | (pullback x g hU hx hg p).val = |
| 39 | ((fun y => MvPolynomial.eval (g y) p) : Germ (𝓝 x) ℂ) := rfl |
| 40 | |
| 41 | theorem pullback_value (x : V) (g : V → ι → ℂ) {U : Set V} |
| 42 | (hU : IsOpen U) (hx : x ∈ U) (hg : DifferentiableOn ℂ g U) |
| 43 | (p : MvPolynomial ι ℂ) : |
| 44 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (pullback x g hU hx hg p) = MvPolynomial.eval (g x) p := rfl |
| 45 | |
| 46 | def base (x : Fin n → ℂ) : MvPolynomial (Fin n) ℂ →+* AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 47 | pullback x id isOpen_univ (mem_univ _) differentiable_id.differentiableOn |
| 48 | |
| 49 | theorem base_injective (x : Fin n → ℂ) : Function.Injective (base x) := by |
| 50 | apply (injective_iff_map_eq_zero _).mpr |
| 51 | intro p hp |
| 52 | have hzero : ∀ᶠ y in 𝓝 x, MvPolynomial.eval y p = 0 := |
| 53 | (pullback_eq_zero x id isOpen_univ (mem_univ _) differentiable_id.differentiableOn p).mp hp |
| 54 | apply MvPolynomial.funext |
| 55 | intro y |
| 56 | rw [map_zero] |
| 57 | exact IdentityEq.Constructions.Identity.eq_zero_of_zero_germ isOpen_univ isPreconnected_univ |
| 58 | (AlgebraicGeometry.ComplexPoints.Analytic.PolynomialDerivative.differentiable_polynomial_eval p).differentiableOn (mem_univ x) hzero y (mem_univ y) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms |