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.AbelianModuli.HilbertConstruction.Graph.SquareFiniteMorphism |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.FiberSectionGeneration |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CanonicalGraph.ResidueCohomology |
| 4 | |
| 5 | /-! # Graph Square Generation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The graph-bundle square is globally generated on a Noetherian affine |
| 12 | tame base. Fiber sections lift using the proved vanishing of first cohomology. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 16 | variable {g N : ℕ} {δ : Fin g → ℕ} (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 17 | |
| 18 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_square_pointwise_sections_noetherian_affine |
| 19 | (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) : |
| 20 | ∀ y : A.abelian.scheme.left, |
| 21 | ∃ t : Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower 2).sheaf, |
| 22 | y ∈ Ample.LineBundles.sectionNonvanishing t := by |
| 23 | intro y |
| 24 | let x := A.abelian.scheme.hom y |
| 25 | let b := S.fromSpecResidueField x |
| 26 | let B := A.pullback b |
| 27 | let f := A.abelian.scheme.hom.fiberι x |
| 28 | have hNk : (N : S.residueField x) ≠ 0 := by |
| 29 | have hu := (Abelian.Schemes.level_unit_under_base_change b N hunit).map (Scheme.ΓSpecIso (S.residueField x)).hom.hom |
| 30 | exact isUnit_iff_ne_zero.mp (by simpa only [map_natCast] using hu) |
| 31 | have hgen : ∀ z : A.abelian.scheme.hom.fiber x, |
| 32 | ∃ t : Line.Bundles.structureModule (A.abelian.scheme.hom.fiber x) ⟶ |
| 33 | ((A.graphBundle.tensorPower 2).pullback f).sheaf, z ∈ Ample.LineBundles.sectionNonvanishing t := by |
| 34 | intro z |
| 35 | obtain ⟨t, ht⟩ := B.graphBundle_square_pointwise_sections_overField hN hNk z |
| 36 | let e : ((A.graphBundle.tensorPower 2).pullback f).sheaf ≅ (B.graphBundle.tensorPower 2).sheaf := |
| 37 | A.graphBundle.powerBaseChangeIso f 2 ≪≫ |
| 38 | (TensorPower.Maps.tensorPowerFunctor B.abelian.scheme.left 2).mapIso (A.graphBundle_baseChangeIso b).symm |
| 39 | exact ⟨t ≫ e.inv, (congrArg (fun U : B.abelian.scheme.left.Opens => z ∈ U) |
| 40 | (Ample.Powers.sectionNonvanishing_comp_iso t e.symm)).mpr ht⟩ |
| 41 | have hr : y ∈ Set.range f := by |
| 42 | rw [A.abelian.scheme.hom.range_fiberι x] |
| 43 | rfl |
| 44 | obtain ⟨z, hz⟩ := hr |
| 45 | obtain ⟨t, ht⟩ := ProperFlat.FiberSectionGeneration.properFlat_global_sections_cover_fiber A.abelian.scheme.hom |
| 46 | (A.graphBundle.tensorPower 2) x |
| 47 | (A.graphBundle_residueFiber_positivePower_cohomology_subsingleton hN hunit x 2 (by decide) 0) |
| 48 | hgen z |
| 49 | exact ⟨t, hz ▸ ht⟩ |
| 50 | |
| 51 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_square_finite_section_cover_noetherian_affine |
| 52 | (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) : |
| 53 | ∃ (n : ℕ) (s : Fin (n + 1) → |
| 54 | (Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower 2).sheaf)), |
| 55 | ∀ y : A.abelian.scheme.left, ∃ i, y ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 56 | have : CompactSpace A.abelian.scheme.left := |
| 57 | QuasiCompact.compactSpace_of_compactSpace A.abelian.scheme.hom |
| 58 | exact (A.graphBundle.tensorPower 2).finite_section_cover_of_pointwise |
| 59 | (A.graphBundle_square_pointwise_sections_noetherian_affine hN hunit) |
| 60 | |
| 61 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_square_finite_map_noetherian_affine |
| 62 | (hN : 3 ≤ N) (hunit : IsUnit (N : Γ(S, ⊤))) : |
| 63 | ∃ (n : ℕ) (s : Fin (n + 1) → |
| 64 | (Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower 2).sheaf)) |
| 65 | (hs : ∀ x : A.abelian.scheme.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)), |
| 66 | IsFinite (SectionsProjectiveMorphism.sectionProjectiveMorphism A.abelian.scheme.hom s hs).left := by |
| 67 | obtain ⟨n, s, hs⟩ := A.graphBundle_square_finite_section_cover_noetherian_affine hN hunit |
| 68 | exact ⟨n, s, hs, A.graphBundle_square_sectionMap_isFinite s hs⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |