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.NumberTheory.PadicHodge.GeometricComparison.Affine.ComplementDivisor |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Integrality |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GroupAmple |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.FlatAmpleDescent |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 6 | |
| 7 | /-! # Abelian Field -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.AbelianField.AbelianFieldAmple |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An abelian scheme over an arbitrary field has an ample line bundle, constructed from an affine complement and descended from the algebraic closure. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 18 | |
| 19 | theorem exists_ample {K : Type} [Field K] {g : ℕ} |
| 20 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) : |
| 21 | ∃ L : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.scheme.left, L.IsAmple := by |
| 22 | let : GeometricallyIntegral A.scheme.hom := |
| 23 | Integrality.GeometricIntegrality.of_smooth_geometricallyConnected A.scheme.hom |
| 24 | let : IsIntegral A.scheme.left := |
| 25 | GeometricallyIntegral.isIntegral_of_subsingleton A.scheme.hom |
| 26 | let : A.scheme.left.IsSeparated := ⟨by |
| 27 | rw [← terminal.comp_from A.scheme.hom] |
| 28 | infer_instance⟩ |
| 29 | let x : A.scheme.left := Classical.choice inferInstance |
| 30 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, _⟩ := |
| 31 | A.scheme.left.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 32 | let : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 33 | obtain ⟨L, s, hs⟩ := Affine.ComplementDivisor.AffineComplementDivisor.exists_lineBundle A.scheme.hom ⟨U, hU⟩ |
| 34 | let b : Spec (.of (AlgebraicClosure K)) ⟶ Spec (.of K) := |
| 35 | Spec.map (CommRingCat.ofHom (algebraMap K (AlgebraicClosure K))) |
| 36 | let B := A.pullback b |
| 37 | let p : B.scheme.left ⟶ A.scheme.left := pullback.fst A.scheme.hom b |
| 38 | let : IsAffineHom b := inferInstance |
| 39 | let : MorphismProperty.IsStableUnderBaseChangeAlong (@IsAffineHom.{0}) A.scheme.hom := |
| 40 | ⟨MorphismProperty.IsStableUnderBaseChange.of_isPullback⟩ |
| 41 | let : IsAffineHom p := |
| 42 | MorphismProperty.pullback_fst (P := @IsAffineHom.{0}) A.scheme.hom b inferInstance |
| 43 | let : Surjective b := ⟨fun z => ⟨IsLocalRing.closedPoint (AlgebraicClosure K), |
| 44 | Subsingleton.elim _ z⟩⟩ |
| 45 | let : Surjective p := inferInstanceAs (Surjective (pullback.fst A.scheme.hom b)) |
| 46 | let t : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B.scheme.left ⟶ (L.pullback p).sheaf := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection p s |
| 47 | have ht : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t = p ⁻¹ᵁ U := |
| 48 | (AlgebraicGeometry.Quotients.FiniteDescent.SectionBase.Construction.SectionBaseChange.nonvanishing_pullback p L s).trans (congrArg (fun V => p ⁻¹ᵁ V) hs) |
| 49 | have hnonempty : (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t : Set B.scheme.left).Nonempty := by |
| 50 | obtain ⟨y, hy⟩ := p.surjective x |
| 51 | refine ⟨y, ?_⟩ |
| 52 | rw [ht] |
| 53 | change p y ∈ U |
| 54 | exact hy.symm ▸ hxU |
| 55 | have haff : IsAffineOpen (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing t) := by |
| 56 | rw [ht] |
| 57 | exact hU.preimage p |
| 58 | have hL : (L.pullback p).IsAmple := |
| 59 | AlgebraicGeometry.AbelianScheme.TateComparison.GroupAmple.groupLineBundle_ample_of_affine_section B.scheme (L.pullback p) t hnonempty haff |
| 60 | let : Field Γ(Spec (.of K), ⊤) := |
| 61 | ((Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 62 | (Field.toIsField K)).toField |
| 63 | exact ⟨L, AlgebraicGeometry.PELModuli.IntegralModel.FlatAmpleDescent.properFlat_isAmple_of_flat_surjective_baseChange |
| 64 | A.scheme.hom L p B.scheme.hom b (.of_hasPullback A.scheme.hom b) |
| 65 | (HasRingHomProperty.appTop (P := @Flat) b inferInstance) hL⟩ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.AbelianField.AbelianFieldAmple |