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.PolynomialHolomorphic |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.EquationAlgebraicityIs |
| 3 | |
| 4 | /-! # Graph Germs On -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.GraphGermsOn.Constructions.GraphGerms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # RiemannProjectivity: the equation algebra maps to its genuine holomorphic branch -/ |
| 11 | |
| 12 | open Set Filter _root_.Polynomial |
| 13 | open scoped _root_.Topology |
| 14 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt.Constructions.SmoothEquationPoint OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt.Constructions.SplitPolynomialJacobian |
| 15 | |
| 16 | variable {n m : ℕ} |
| 17 | |
| 18 | def graph (ψ : (Fin n → ℂ) → Fin m → ℂ) (y : Fin n → ℂ) : Fin n ⊕ Fin m → ℂ := |
| 19 | Sum.elim y (ψ y) |
| 20 | |
| 21 | theorem differentiableOn_graph (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 22 | {U : Set (Fin n → ℂ)} (hψ : DifferentiableOn ℂ ψ U) : DifferentiableOn ℂ (graph ψ) U := by |
| 23 | intro y hy |
| 24 | apply differentiableWithinAt_pi.mpr |
| 25 | intro i |
| 26 | cases i with |
| 27 | | inl i => exact differentiableAt_apply i y |>.differentiableWithinAt |
| 28 | | inr i => exact differentiableWithinAt_pi.mp (hψ y hy) i |
| 29 | |
| 30 | def polynomialMap (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 31 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) : |
| 32 | MvPolynomial (Fin n ⊕ Fin m) ℂ →+* AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 33 | PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.pullback x (graph ψ) hU hx (differentiableOn_graph ψ hψ) |
| 34 | |
| 35 | theorem polynomialMap_base (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 36 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) : |
| 37 | (polynomialMap x ψ hU hx hψ).comp (MvPolynomial.rename Sum.inl).toRingHom = |
| 38 | PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.base x := by |
| 39 | apply RingHom.ext |
| 40 | intro p |
| 41 | apply Subtype.ext |
| 42 | apply Germ.coe_eq.mpr |
| 43 | exact Eventually.of_forall (fun y => by |
| 44 | simp [graph, MvPolynomial.eval_rename, Function.comp_def]) |
| 45 | |
| 46 | instance germAlgebra (x : Fin n → ℂ) : |
| 47 | Algebra (MvPolynomial (Fin n) ℂ) (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x) := |
| 48 | (PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.base x).toAlgebra |
| 49 | |
| 50 | def equationMap (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) |
| 51 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 52 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 53 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) : |
| 54 | JacobianLocalizationAt.Constructions.SmoothEquationPoint.equationRing F →ₐ[MvPolynomial (Fin n) ℂ] AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 55 | { Ideal.Quotient.lift _ (polynomialMap x ψ hU hx hψ) (by |
| 56 | change Ideal.span _ ≤ RingHom.ker (polynomialMap x ψ hU hx hψ) |
| 57 | apply Ideal.span_le.mpr |
| 58 | rintro _ ⟨j, rfl⟩ |
| 59 | apply (PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.pullback_eq_zero x (graph ψ) hU hx |
| 60 | (differentiableOn_graph ψ hψ) (JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.equation j (F j))).mpr |
| 61 | filter_upwards [hU.mem_nhds hx] with y hy |
| 62 | exact (JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.eval_equation j (F j) y (ψ y)).trans (hzero y hy j)) with |
| 63 | commutes' p := by |
| 64 | change polynomialMap x ψ hU hx hψ ((MvPolynomial.rename Sum.inl) p) = |
| 65 | PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.base x p |
| 66 | exact congrArg (fun f : MvPolynomial (Fin n) ℂ →+* AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x => f p) |
| 67 | (polynomialMap_base x ψ hU hx hψ) } |
| 68 | |
| 69 | theorem equationMap_value (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) |
| 70 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 71 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 72 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) : |
| 73 | (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x).comp (equationMap F x ψ hU hx hψ hzero).toRingHom = |
| 74 | (JacobianLocalizationAt.Constructions.SmoothEquationPoint.point F x (ψ x) (hzero x hx)).toRingHom := by |
| 75 | apply Ideal.Quotient.ringHom_ext |
| 76 | apply RingHom.ext |
| 77 | intro p |
| 78 | rfl |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.GraphGermsOn.Constructions.GraphGerms |