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.GraphGermsOn |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothKernelQuotientLocal |
| 3 | |
| 4 | /-! # Localized Graph -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph.Constructions.LocalizedGraphGerms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # RiemannProjectivity: the regular branch gives a faithful smooth local algebra -/ |
| 11 | |
| 12 | open Set _root_.Polynomial |
| 13 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.JacobianLocalizationAt.Constructions.SmoothEquationPoint OAI.Geometry.ComplexTorus.RiemannProjectivity.GraphGermsOn.Constructions.GraphGerms |
| 14 | |
| 15 | variable {n m : ℕ} |
| 16 | |
| 17 | abbrev smoothRing (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) := |
| 18 | Localization.Away (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian |
| 19 | |
| 20 | theorem jacobian_unit (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) |
| 21 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 22 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 23 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 24 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) : |
| 25 | IsUnit (GraphGermsOn.Constructions.GraphGerms.equationMap F x ψ hU hx hψ hzero (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian) := by |
| 26 | apply (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.isUnit_iff_value_ne_zero x _).mpr |
| 27 | have hv := congrArg (fun f : JacobianLocalizationAt.Constructions.SmoothEquationPoint.equationRing F →+* ℂ => f (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian) |
| 28 | (GraphGermsOn.Constructions.GraphGerms.equationMap_value F x ψ hU hx hψ hzero) |
| 29 | change AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (GraphGermsOn.Constructions.GraphGerms.equationMap F x ψ hU hx hψ hzero (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian) = _ at hv |
| 30 | rw [hv] |
| 31 | change JacobianLocalizationAt.Constructions.SmoothEquationPoint.point F x (ψ x) (hzero x hx) (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian ≠ 0 |
| 32 | rw [JacobianLocalizationAt.Constructions.SmoothEquationPoint.point_jacobian] |
| 33 | exact JacobianLocalizationAt.Constructions.SplitPolynomialJacobian.jacobian_det_ne_zero F x (ψ x) hderiv |
| 34 | |
| 35 | def branchMap (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) |
| 36 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 37 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 38 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 39 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) : |
| 40 | smoothRing F →ₐ[MvPolynomial (Fin n) ℂ] AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm x := |
| 41 | IsLocalization.Away.liftAlgHom (f := GraphGermsOn.Constructions.GraphGerms.equationMap F x ψ hU hx hψ hzero) |
| 42 | (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian (jacobian_unit F x ψ hU hx hψ hzero hderiv) |
| 43 | |
| 44 | def branchPoint (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) |
| 45 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 46 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 47 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 48 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) : |
| 49 | smoothRing F →ₐ[ℂ] ℂ := |
| 50 | { (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x).comp (branchMap F x ψ hU hx hψ hzero hderiv).toRingHom with |
| 51 | commutes' c := by |
| 52 | rw [IsScalarTower.algebraMap_apply ℂ (MvPolynomial (Fin n) ℂ) (smoothRing F)] |
| 53 | change AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (branchMap F x ψ hU hx hψ hzero hderiv |
| 54 | (algebraMap (MvPolynomial (Fin n) ℂ) (smoothRing F) (MvPolynomial.C c))) = c |
| 55 | rw [(branchMap F x ψ hU hx hψ hzero hderiv).commutes] |
| 56 | change MvPolynomial.eval x (MvPolynomial.C c) = c |
| 57 | simp } |
| 58 | |
| 59 | theorem exists_smooth_quotient_neighborhood |
| 60 | (F : Fin m → Polynomial (MvPolynomial (Fin n) ℂ)) (hF : ∀ j, F j ≠ 0) |
| 61 | (x : Fin n → ℂ) (ψ : (Fin n → ℂ) → Fin m → ℂ) |
| 62 | {U : Set (Fin n → ℂ)} (hU : IsOpen U) (hx : x ∈ U) (hψ : DifferentiableOn ℂ ψ U) |
| 63 | (hzero : ∀ y ∈ U, ∀ j, (F j).eval₂ (MvPolynomial.eval y) (ψ y j) = 0) |
| 64 | (hderiv : ∀ j, ((F j).map (MvPolynomial.eval x)).derivative.eval (ψ x j) ≠ 0) |
| 65 | (I : Ideal (smoothRing F)) (hI : I.FG) |
| 66 | (hvanish : I ≤ RingHom.ker (branchMap F x ψ hU hx hψ hzero hderiv).toRingHom) : |
| 67 | ∃ s : smoothRing F, |
| 68 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (branchMap F x ψ hU hx hψ hzero hderiv s) ≠ 0 ∧ |
| 69 | Algebra.Smooth ℂ (Localization.Away (Ideal.Quotient.mk I s)) := by |
| 70 | let : Algebra.IsAlgebraic (MvPolynomial (Fin n) ℂ) (JacobianLocalizationAt.Constructions.SmoothEquationPoint.equationRing F) := |
| 71 | EquationAlgebraicityIs.Constructions.EquationAlgebraicity.isAlgebraic F hF |
| 72 | let : Algebra.IsAlgebraic (MvPolynomial (Fin n) ℂ) (smoothRing F) := |
| 73 | JacobianLocalizationAt.Constructions.AlgebraicLocalization.isAlgebraic (Submonoid.powers (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F).jacobian) |
| 74 | let : Algebra.IsStandardSmooth ℂ (smoothRing F) := |
| 75 | JacobianLocalizationAt.Constructions.JacobianLocalization.isStandardSmooth (JacobianLocalizationAt.Constructions.SmoothEquationPoint.presentation F) |
| 76 | let p := RingHom.ker ((AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x).comp |
| 77 | (branchMap F x ψ hU hx hψ hzero hderiv).toRingHom) |
| 78 | let : p.IsPrime := RingHom.ker_isPrime _ |
| 79 | have hp : RingHom.ker (branchMap F x ψ hU hx hψ hzero hderiv).toRingHom ≤ p := by |
| 80 | intro a ha |
| 81 | change AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.valueHom x (branchMap F x ψ hU hx hψ hzero hderiv a) = 0 |
| 82 | rw [show branchMap F x ψ hU hx hψ hzero hderiv a = 0 from ha, map_zero] |
| 83 | exact SmoothKernelQuotientLocal.Constructions.SmoothKernelQuotient.exists_smooth_neighborhood |
| 84 | (branchMap F x ψ hU hx hψ hzero hderiv) (PolynomialHolomorphic.Constructions.PolynomialHolomorphicGerms.base_injective x) |
| 85 | I hI hvanish p hp |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.LocalizedGraph.Constructions.LocalizedGraphGerms |