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.AbelianScheme.IsogenyQuotient.Canonical.RelativePairing |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.DoubleAnnihilator |
| 3 | |
| 4 | /-! # Relative Annihilator -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Canonical.RelativeAnnihilator.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | The canonical polarization pairing determines the original relative |
| 12 | subgroup by double annihilation. Its perfection and finite locally free |
| 13 | torsion geometry are derived from the actual polarization. The parameter |
| 14 | scheme and every test scheme are unrestricted. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A : CartierDuality.PolarizedTorsion.AbelianScheme S} |
| 23 | (pol : CartierDuality.PolarizedTorsion.Polarization A) (n : ℕ) (hn : 0 < n) |
| 24 | (hdegree : ∀ s : S, Nat.Coprime n (pol.fiberDegree s)) |
| 25 | |
| 26 | include hdegree |
| 27 | |
| 28 | theorem canonicalPolarization_relative_double_annihilator |
| 29 | (P : Over S) (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n) P) (R : F.Model) : |
| 30 | let e := RelativePairing.Construction.canonicalNativePolarizationPairing pol n hn |
| 31 | e.flip.relativeAnnihilator (e.relativeAnnihilator F) = F := by |
| 32 | have h := RelativePairing.Construction.canonicalNativeTorsion_finiteLocallyFree pol n hn |
| 33 | have : IsFinite (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom := h.1 |
| 34 | have : Flat (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom := h.2.1 |
| 35 | have : LocallyOfFinitePresentation (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom := h.2.2 |
| 36 | exact Relative.DoubleAnnihilator.Construction.relative_double_annihilator_from_perfect_pairing |
| 37 | (Grp.mk (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n)) (Grp.mk (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n)) |
| 38 | P F R (RelativePairing.Construction.canonicalNativePolarizationPairing pol n hn) |
| 39 | (RelativePairing.Construction.canonicalNativePolarizationPairing_isPerfect pol n hn hdegree) |
| 40 | |
| 41 | theorem canonicalPolarization_parameter_annihilator |
| 42 | (P : Over S) (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n) P) (R : F.Model) : |
| 43 | let G := Grp.mk (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n) |
| 44 | let eP := PairingBaseChange.Construction.nativePairingPullback P.hom G G (RelativePairing.Construction.canonicalNativePolarizationPairing pol n hn) |
| 45 | let FP := Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G P F |
| 46 | Nonempty (eP.relativeAnnihilator FP).Model ∧ |
| 47 | eP.flip.relativeAnnihilator (eP.relativeAnnihilator FP) = FP := by |
| 48 | have h := RelativePairing.Construction.canonicalNativeTorsion_finiteLocallyFree pol n hn |
| 49 | have : IsFinite (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom := h.1 |
| 50 | have : Flat (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom := h.2.1 |
| 51 | have : LocallyOfFinitePresentation (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n).hom := h.2.2 |
| 52 | exact Parameter.Annihilator.Construction.relativeParameter_annihilator_from_perfect_pairing |
| 53 | (Grp.mk (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n)) (Grp.mk (Torsion.Groups.Construction.nativeTorsionScheme A.toOver n)) |
| 54 | P F R (RelativePairing.Construction.canonicalNativePolarizationPairing pol n hn) |
| 55 | (RelativePairing.Construction.canonicalNativePolarizationPairing_isPerfect pol n hn hdegree) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Canonical.RelativeAnnihilator.Construction |