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.AbelianModuli.ReferenceFamily.Dual.PresentedAlgebra |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints |
| 3 | |
| 4 | /-! # Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.Localization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual dual-number points extend uniquely to a principal open |
| 11 | neighborhood of their reduction, so the tangent construction is local. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.Foundations.Scheme.LocalizationComplexPoints.Algebraic |
| 14 | |
| 15 | variable {S : Type*} [CommRing S] [Algebra ℂ S] |
| 16 | |
| 17 | def localizeDualPoint (x : S →ₐ[ℂ] ℂ) (g : S) (hg : x g ≠ 0) (f : PresentedAlgebra.DualAlgebraPoints x) : |
| 18 | Localization.Away g →ₐ[ℂ] DualNumber ℂ := |
| 19 | IsLocalization.Away.liftAlgHom (S := Localization.Away g) (f := f.val) g |
| 20 | (TrivSqZeroExt.isUnit_iff_isUnit_fst.mpr |
| 21 | (isUnit_iff_ne_zero.mpr (fun h => hg |
| 22 | ((DFunLike.congr_fun f.property g).symm.trans h)))) |
| 23 | |
| 24 | theorem localizeDualPoint_algebraMap (x : S →ₐ[ℂ] ℂ) (g : S) (hg : x g ≠ 0) |
| 25 | (f : PresentedAlgebra.DualAlgebraPoints x) (a : S) : |
| 26 | localizeDualPoint x g hg f (algebraMap S (Localization.Away g) a) = f.val a := by |
| 27 | simp [localizeDualPoint] |
| 28 | |
| 29 | theorem localizeDualPoint_reduction (x : S →ₐ[ℂ] ℂ) (g : S) (hg : x g ≠ 0) |
| 30 | (f : PresentedAlgebra.DualAlgebraPoints x) : |
| 31 | (TrivSqZeroExt.fstHom ℂ ℂ ℂ).comp (localizeDualPoint x g hg f) = Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg := by |
| 32 | apply IsLocalization.algHom_ext (Submonoid.powers g) |
| 33 | apply AlgHom.ext |
| 34 | intro a |
| 35 | exact (congrArg TrivSqZeroExt.fst (localizeDualPoint_algebraMap x g hg f a)).trans |
| 36 | ((DFunLike.congr_fun f.property a).trans (Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_algebraMap x g hg a).symm) |
| 37 | |
| 38 | def dualLocalizationEquiv (x : S →ₐ[ℂ] ℂ) (g : S) (hg : x g ≠ 0) : |
| 39 | PresentedAlgebra.DualAlgebraPoints x ≃ PresentedAlgebra.DualAlgebraPoints (Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hg) where |
| 40 | toFun f := ⟨localizeDualPoint x g hg f, localizeDualPoint_reduction x g hg f⟩ |
| 41 | invFun f := ⟨f.val.comp (Algebra.algHom ℂ S (Localization.Away g)), by |
| 42 | apply AlgHom.ext |
| 43 | intro a |
| 44 | exact (DFunLike.congr_fun f.property (algebraMap S (Localization.Away g) a)).trans |
| 45 | (Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_algebraMap x g hg a)⟩ |
| 46 | left_inv f := by |
| 47 | apply Subtype.ext |
| 48 | apply AlgHom.ext |
| 49 | intro a |
| 50 | exact localizeDualPoint_algebraMap x g hg f a |
| 51 | right_inv f := by |
| 52 | apply Subtype.ext |
| 53 | apply IsLocalization.algHom_ext (Submonoid.powers g) |
| 54 | apply AlgHom.ext |
| 55 | intro a |
| 56 | exact localizeDualPoint_algebraMap x g hg _ a |
| 57 | |
| 58 | def dualLocalizationRestrictionEquiv (g : S) (y : Localization.Away g →ₐ[ℂ] ℂ) : |
| 59 | PresentedAlgebra.DualAlgebraPoints y ≃ PresentedAlgebra.DualAlgebraPoints (y.comp (Algebra.algHom ℂ S (Localization.Away g))) := by |
| 60 | let x := y.comp (Algebra.algHom ℂ S (Localization.Away g)) |
| 61 | have hx : x g ≠ 0 := isUnit_iff_ne_zero.mp |
| 62 | ((IsLocalization.Away.algebraMap_isUnit (S := Localization.Away g) g).map y) |
| 63 | have hy : Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hx = y := (Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint_unique x g hx y rfl).symm |
| 64 | let e : PresentedAlgebra.DualAlgebraPoints y ≃ PresentedAlgebra.DualAlgebraPoints (Foundations.Scheme.LocalizationComplexPoints.Algebraic.localizePoint x g hx) := |
| 65 | Set.equivOfEq (congrArg (fun z => {f : Localization.Away g →ₐ[ℂ] DualNumber ℂ | |
| 66 | (TrivSqZeroExt.fstHom ℂ ℂ ℂ).comp f = z}) hy.symm) |
| 67 | exact e.trans (dualLocalizationEquiv x g hx).symm |
| 68 | |
| 69 | theorem dualLocalizationRestrictionEquiv_apply (g : S) (y : Localization.Away g →ₐ[ℂ] ℂ) |
| 70 | (f : PresentedAlgebra.DualAlgebraPoints y) (a : S) : |
| 71 | (dualLocalizationRestrictionEquiv g y f).val a = |
| 72 | f.val (algebraMap S (Localization.Away g) a) := rfl |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.Localization |