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.PELModuli.IntegralModel.IntegralAuxiliary.ActionPoints |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.Invariant |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 4 | |
| 5 | /-! # Point Orbits -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.PointOrbits.IntegralAuxiliaryAction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The underlying orbits of the integral relation are exactly the |
| 14 | orbits of its constructed constant-label automorphisms. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 20 | {iotaO : NumberField.RingOfIntegers E →+* R} {X : Over (Spec (.of R))} |
| 21 | [IsReduced X.left] (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 22 | |
| 23 | theorem related_iff_relabel (x y : X.left) : |
| 24 | Quotients.FiniteDescent.Invariant.Construction.InvariantCore.Related (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left (ActionSpace.IntegralAuxiliaryAction.target U hU).left x y ↔ |
| 25 | ∃ σ : AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut (3 * s) L, (U.auxiliaryRelabelMap hU σ).left x = y := by |
| 26 | constructor |
| 27 | · rintro ⟨r, rfl, rfl⟩ |
| 28 | let Z := ActionSpace.IntegralAuxiliaryAction.relation X (3 * s) L |
| 29 | let k := Z.left.residueField r |
| 30 | let a := Z.left.fromSpecResidueField r |
| 31 | let W : Over (Spec (.of R)) := Over.mk (a ≫ Z.hom) |
| 32 | let p : W ⟶ Z := Over.homMk a rfl |
| 33 | have : IsReduced W.left := inferInstanceAs (IsReduced (Spec (.of k))) |
| 34 | have : Subsingleton W.left := inferInstanceAs (Subsingleton (Spec (.of k))) |
| 35 | let z : W.left := IsLocalRing.closedPoint k |
| 36 | let b := ActionSpace.IntegralAuxiliaryAction.labels X (3 * s) L W p |
| 37 | let σ := b z |
| 38 | have hb : b = LocallyConstant.const W.left σ := by |
| 39 | apply LocallyConstant.ext |
| 40 | intro w |
| 41 | exact congrArg b (Subsingleton.elim w z) |
| 42 | have he := ActionSpace.IntegralAuxiliaryAction.target_points U hU W p |
| 43 | change p ≫ ActionSpace.IntegralAuxiliaryAction.target U hU = U.auxiliaryRelabelAt hU (p ≫ ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L) b at he |
| 44 | rw [hb, U.auxiliaryRelabelAt_const hU] at he |
| 45 | have hv := congrArg (fun f : W ⟶ X => f.left z) he |
| 46 | change (ActionSpace.IntegralAuxiliaryAction.target U hU).left (p.left z) = |
| 47 | (U.auxiliaryRelabelMap hU σ).left ((ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left (p.left z)) at hv |
| 48 | have hp : p.left z = r := Z.left.fromSpecResidueField_apply r _ |
| 49 | rw [hp] at hv |
| 50 | exact ⟨σ, hv.symm⟩ |
| 51 | · rintro ⟨σ, hσ⟩ |
| 52 | let p := ActionPoints.IntegralAuxiliaryAction.pair (𝟙 X) (LocallyConstant.const X.left σ) |
| 53 | have hs : p ≫ ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L = 𝟙 X := ActionPoints.IntegralAuxiliaryAction.pair_source _ _ |
| 54 | have ht : p ≫ ActionSpace.IntegralAuxiliaryAction.target U hU = U.auxiliaryRelabelMap hU σ := by |
| 55 | rw [ActionPoints.IntegralAuxiliaryAction.pair_target, U.auxiliaryRelabelAt_const hU, Category.id_comp] |
| 56 | exact ⟨p.left x, congrArg (fun f : X ⟶ X => f.left x) hs, |
| 57 | (congrArg (fun f : X ⟶ X => f.left x) ht).trans hσ⟩ |
| 58 | |
| 59 | end |
| 60 | |
| 61 | /-! On a separated parameter, the invariant core of an affine open |
| 62 | is affine: it is a finite intersection of its translates. -/ |
| 63 | |
| 64 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 65 | |
| 66 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 67 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 68 | {iotaO : NumberField.RingOfIntegers E →+* R} {X : Over (Spec (.of R))} |
| 69 | [IsReduced X.left] (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 70 | |
| 71 | theorem core_eq_iInf (V : X.left.Opens) : |
| 72 | Quotients.FiniteDescent.Invariant.Construction.InvariantCore.core (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left (ActionSpace.IntegralAuxiliaryAction.target U hU).left V = |
| 73 | ⨅ σ : AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut (3 * s) L, (U.auxiliaryRelabelMap hU σ).left ⁻¹ᵁ V := by |
| 74 | ext x |
| 75 | change x ∈ Quotients.FiniteDescent.Invariant.Construction.InvariantCore.core (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left (ActionSpace.IntegralAuxiliaryAction.target U hU).left V ↔ |
| 76 | x ∈ ⨅ σ : AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut (3 * s) L, (U.auxiliaryRelabelMap hU σ).left ⁻¹ᵁ V |
| 77 | rw [Quotients.FiniteDescent.Invariant.Construction.InvariantCore.mem_core] |
| 78 | simp only [← SetLike.mem_coe, Opens.coe_iInf, Set.mem_iInter] |
| 79 | constructor |
| 80 | · intro h σ |
| 81 | exact h _ ((related_iff_relabel U hU x _).mpr ⟨σ, rfl⟩) |
| 82 | · intro h y hy |
| 83 | obtain ⟨σ, rfl⟩ := (related_iff_relabel U hU x y).mp hy |
| 84 | exact h σ |
| 85 | |
| 86 | theorem affine_core [X.left.IsSeparated] (V : X.left.Opens) (hV : IsAffineOpen V) : |
| 87 | IsAffineOpen (Quotients.FiniteDescent.Invariant.Construction.InvariantCore.core (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left (ActionSpace.IntegralAuxiliaryAction.target U hU).left V) := by |
| 88 | rw [core_eq_iInf U hU] |
| 89 | apply IsAffineOpen.iInf |
| 90 | intro σ |
| 91 | have : IsIso (U.auxiliaryRelabelMap hU σ).left := |
| 92 | ((Over.forget (Spec (.of R))).mapIso (U.auxiliaryRelabelIso hU σ)).isIso_hom |
| 93 | exact hV.preimage_of_isIso (U.auxiliaryRelabelMap hU σ).left |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.PointOrbits.IntegralAuxiliaryAction |