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.FlatSectionGenerationDescent |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.SectionAmpleness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.FiniteMorphism |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 5 | |
| 6 | /-! # Flat Ample Descent -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.FlatAmpleDescent |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Ampleness descends through a surjective flat affine coefficient |
| 13 | change for a proper flat family over a noetherian affine base. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.SectionAmpleness.PolarizationEmbedding |
| 20 | |
| 21 | theorem properFlat_isAmple_of_flat_surjective_baseChange |
| 22 | {X Y S T : Scheme.{0}} [IsAffine S] [IsAffine T] [IsNoetherianRing Γ(S, ⊤)] |
| 23 | (f : X ⟶ S) [IsProper f] [Flat f] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 24 | (a : Y ⟶ X) (ρ : Y ⟶ T) (g : T ⟶ S) (hp : IsPullback a ρ f g) |
| 25 | (hg : g.appTop.hom.Flat) [Surjective g] |
| 26 | (hL : (L.pullback a).IsAmple) : L.IsAmple := by |
| 27 | have : Surjective a := MorphismProperty.of_isPullback (P := @Surjective) hp.flip inferInstance |
| 28 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 29 | obtain ⟨d, hd, k, t, ht, _⟩ := hL.projective_section_family |
| 30 | let e := L.powerBaseChangeIso a d |
| 31 | have hgeneration : ∀ y : Y, ∃ s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ |
| 32 | ((L.tensorPower d).pullback a).sheaf, y ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing s := by |
| 33 | intro y |
| 34 | obtain ⟨i, hi⟩ := ht y |
| 35 | exact ⟨t i ≫ e.inv, (AbelianModuli.HilbertConstruction.Ample.Powers.sectionNonvanishing_comp_iso (t i) e.symm).symm ▸ hi⟩ |
| 36 | obtain ⟨n, s, hs⟩ := FlatSectionGenerationDescent.properFlat_exists_generating_sections_of_flat_baseChange |
| 37 | f (L.tensorPower d) a ρ g hp hg a.surjective hgeneration |
| 38 | let A := AbelianModuli.HilbertConstruction.SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs |
| 39 | let q := (AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom |
| 40 | have : IsProper A := AbelianModuli.HilbertConstruction.Affine.SectionMorphism.sectionAbsoluteMorphism_proper f s hs |
| 41 | have hfin := Cartesian.SectionAmpleness.PolarizationEmbedding.section_finite_of_cartesian_ample f (L.tensorPower d) s hs a ρ g hp |
| 42 | ((hL.tensorPower d hd).of_iso e.symm) |
| 43 | have hb := (Relative.FiniteLocus.relativeMorphismBaseChange_isFinite_iff_range A q (g ≫ S.toSpecΓ)).mp hfin |
| 44 | have hsurj : Function.Surjective (g ≫ S.toSpecΓ) := |
| 45 | S.toSpecΓ.surjective.comp g.surjective |
| 46 | have : IsFinite A := by |
| 47 | apply IsZariskiLocalAtTarget.of_forall_exists_morphismRestrict (P := @IsFinite) |
| 48 | intro y |
| 49 | apply (MaximalFiniteOpen.mem_maximalFiniteOpen A y).mp |
| 50 | exact (Proper.RelativeFiniteNeighborhood.mem_properRelativeFiniteOpen A q (q y)).mp |
| 51 | (hb (Set.range_eq_univ.mpr hsurj ▸ Set.mem_univ (q y))) y rfl |
| 52 | exact AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsAmple.of_tensorPower d hd |
| 53 | (Affine.SectionAmpleness.PolarizationEmbedding.isAmple_of_affine_section_morphism f (L.tensorPower d) s hs) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.FlatAmpleDescent |