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.PointOrbits |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.InvariantAffine |
| 3 | import Mathlib.LinearAlgebra.Basis.VectorSpace |
| 4 | |
| 5 | /-! # Auxiliary Affine Neighborhood Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.AuxiliaryAffineNeighborhoodDescent.IntegralAuxiliaryAction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Affine neighborhoods of finite subsets descend through the actual |
| 12 | auxiliary quotient over a field. Take the affine invariant core of one |
| 13 | neighborhood containing the complete finite inverse image. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 18 | [Field K] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 19 | {iotaO : NumberField.RingOfIntegers E →+* K} {X : Over (Spec (.of K))} |
| 20 | [IsReduced X.left] [X.left.IsSeparated] |
| 21 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P K iotaO L N X) (hU : U.IsFine) |
| 22 | |
| 23 | theorem finite_set_affine_neighborhood_descends {Y : Scheme.{0}} (q : X.left ⟶ Y) |
| 24 | [IsFinite q] [Flat q] [Surjective q] |
| 25 | (hk : IsKernelPair q (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 26 | (hX : ∀ F : Set X.left, F.Finite → ∃ V : X.left.Opens, IsAffineOpen V ∧ F ⊆ V) |
| 27 | (F : Set Y) (hF : F.Finite) : ∃ V : Y.Opens, IsAffineOpen V ∧ F ⊆ V := by |
| 28 | let a := (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 29 | let t := (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left |
| 30 | let H := AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of K)) (AbelianModuli.HilbertConstruction.Level.Parameters.LevelLabelAut (3 * s) L) |
| 31 | have : IsAffine H.left := isAffine_of_isAffineHom H.hom |
| 32 | let : Field Γ(Spec (.of K), ⊤) := |
| 33 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 34 | (Field.toIsField K)).toField |
| 35 | let := H.hom.appTop.hom.toAlgebra |
| 36 | have : Module.Finite Γ(Spec (.of K), ⊤) Γ(H.left, ⊤) := H.hom.finite_appTop |
| 37 | let basis := Module.finBasis Γ(Spec (.of K), ⊤) Γ(H.left, ⊤) |
| 38 | obtain ⟨V, hV, hFV⟩ := hX (q ⁻¹' F) (q.finite_preimage hF) |
| 39 | let W := Quotients.FiniteDescent.Invariant.Construction.InvariantCore.core a t V |
| 40 | have hW : IsAffineOpen W := IntegralAuxiliary.PointOrbits.IntegralAuxiliaryAction.affine_core U hU V hV |
| 41 | let e := hk.equivalenceRelation q a t (pullback.isLimit t a) |
| 42 | have hInv : a ⁻¹ᵁ W = t ⁻¹ᵁ W := Quotients.FiniteDescent.Invariant.Construction.InvariantCore.core_invariant a t e V |
| 43 | refine ⟨Quotients.FiniteDescent.InvariantOpensEq.Construction.InvariantOpens.descend q hk W hInv, ?_, ?_⟩ |
| 44 | · exact AbelianScheme.IsogenyQuotient.InvariantAffine.Construction.invariantAffineOpen_descends q a t hk H.hom X.hom |
| 45 | (prod.snd : IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.relation X (3 * s) L ⟶ H).left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source_isPullback X (3 * s) L) basis W hW hInv |
| 46 | · intro y hy |
| 47 | obtain ⟨x, hx⟩ := (inferInstance : Surjective q).surj y |
| 48 | refine ⟨x, ?_, hx⟩ |
| 49 | apply (Quotients.FiniteDescent.Invariant.Construction.InvariantCore.mem_core a t V x).mpr |
| 50 | intro z hz |
| 51 | obtain ⟨r, hr, ht⟩ := hz |
| 52 | have hq : q x = q z := by |
| 53 | have he : q (a r) = q (t r) := congrArg (fun f => f r) hk.w |
| 54 | exact (congrArg q hr).symm.trans (he.trans (congrArg q ht)) |
| 55 | apply hFV |
| 56 | change q z ∈ F |
| 57 | rw [← hq, hx] |
| 58 | exact hy |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.AuxiliaryAffineNeighborhoodDescent.IntegralAuxiliaryAction |