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.Quotients.FiniteDescent.DetectedFrame |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductResidue |
| 3 | |
| 4 | /-! # Product Constant Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductConstantOpen |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A line bundle on a product of constant projective families, trivial |
| 11 | on the two axes and on one integral fiber, is trivial near that fiber. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.ProductConstantFrameNeighborhood |
| 21 | |
| 22 | variable {K : Type u} [Field K] {A B X Y S : Scheme.{u}} |
| 23 | variable [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] |
| 24 | variable [A.IsSeparated] [B.IsSeparated] [X.IsSeparated] [Y.IsSeparated] |
| 25 | variable (a : A ⟶ Spec (.of K)) (b : B ⟶ Spec (.of K)) |
| 26 | variable (f : X ⟶ S) (g : Y ⟶ S) [(pullback f g).IsSeparated] |
| 27 | variable [IsProper f] [IsProper g] [Flat f] [Flat g] |
| 28 | variable [GeometricallyIntegral f] [GeometricallyIntegral g] |
| 29 | variable (p : X ⟶ A) (q : Y ⟶ B) (t : S ⟶ Spec (.of K)) |
| 30 | variable (hp : IsPullback p f a t) (hq : IsPullback q g b t) |
| 31 | variable (PA : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk a)) |
| 32 | variable (PB : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk b)) |
| 33 | variable (P : AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk (pullback.fst f g ≫ f))) |
| 34 | variable {ι κ : Type u} [LinearOrder ι] [Fintype ι] [LinearOrder κ] [Fintype κ] |
| 35 | variable (U : ι → A.Opens) (V : κ → B.Opens) |
| 36 | variable (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 37 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 38 | variable (sX : S ⟶ X) (hsX : sX ≫ f = 𝟙 _) (sY : S ⟶ Y) (hsY : sY ≫ g = 𝟙 _) |
| 39 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sX ⁻¹ᵁ (p ⁻¹ᵁ U i₀)) |
| 40 | variable (j₀ : κ) (hj₀ : ⊤ ≤ sY ⁻¹ᵁ (q ⁻¹ᵁ V j₀)) |
| 41 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (pullback f g)) |
| 42 | variable (eX : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 43 | variable (eY : (L.pullback (ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 44 | |
| 45 | include hp hq PA PB P hU hV hcU hcV hi₀ hj₀ eX eY |
| 46 | |
| 47 | theorem exists_open (x : S) [IsIntegral ((pullback.fst f g ≫ f).fiber x)] |
| 48 | (he : Nonempty ((L.pullback ((pullback.fst f g ≫ f).fiberι x)).sheaf ≅ |
| 49 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((pullback.fst f g ≫ f).fiber x))) : |
| 50 | ∃ W : S.Opens, x ∈ W ∧ Nonempty |
| 51 | ((L.pullback ((pullback.fst f g ≫ f) ⁻¹ᵁ W).ι).sheaf ≅ |
| 52 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((pullback.fst f g ≫ f) ⁻¹ᵁ W).toScheme) := by |
| 53 | classical |
| 54 | let : Field Γ(Spec (.of K), ⊤) := FieldPoint.Construction.FieldPointPrime.sectionsField K |
| 55 | let : LinearOrder (Σ _ : ι, κ) := (Fintype.equivFin (Σ _ : ι, κ)).linearOrder |
| 56 | have : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A).IsQuasicoherent := LineBundleFree.Construction.LineBundleCoherence.quasicoherent (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial A) |
| 57 | have : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B).IsQuasicoherent := LineBundleFree.Construction.LineBundleCoherence.quasicoherent (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial B) |
| 58 | have : Module.Finite Γ(Spec (.of K), ⊤) |
| 59 | ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex a (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A) U).homology 1) := |
| 60 | CechCoverHomology.Construction.CechCoverFiniteness.projective a U hcU hU PA (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial A) 1 |
| 61 | have : Module.Finite Γ(Spec (.of K), ⊤) |
| 62 | ((SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex b (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B) V).homology 1) := |
| 63 | CechCoverHomology.Construction.CechCoverFiniteness.projective b V hcV hV PB (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial B) 1 |
| 64 | let D₁ := UniversalCech.Construction.UniversalCechDetector.ofConstantFamily p a f t hp (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A) U |
| 65 | (fun n i => SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection U hU n i.1) |
| 66 | let D₂ := UniversalCech.Construction.UniversalCechDetector.ofConstantFamily q b g t hq (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B) V |
| 67 | (fun n i => SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection V hV n i.1) |
| 68 | let U' := fun i => p ⁻¹ᵁ U i |
| 69 | let V' := fun j => q ⁻¹ᵁ V j |
| 70 | let e₁ := eX ≪≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).symm |
| 71 | let e₂ := eY ≪≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso q).symm |
| 72 | let r₁ := ProductFamilyCover.Construction.ProductFamilyAxes.left f g U' V' L.sheaf sY hsY j₀ hj₀ ≫ |
| 73 | ((CechCoefficient.Construction.CechCoefficientFunctor.moduleFunctor f U').mapIso e₁).hom |
| 74 | let r₂ := ProductFamilyCover.Construction.ProductFamilyAxes.right f g U' V' L.sheaf sX hsX i₀ hi₀ ≫ |
| 75 | ((CechCoefficient.Construction.CechCoefficientFunctor.moduleFunctor g V').mapIso e₂).hom |
| 76 | have : MorphismProperty.IsStableUnderBaseChange (@IsAffineHom : MorphismProperty Scheme.{u}) := |
| 77 | isAffineHom_isStableUnderBaseChange |
| 78 | have : IsAffineHom t := inferInstance |
| 79 | have : IsAffineHom p := MorphismProperty.of_isPullback hp.flip ‹IsAffineHom t› |
| 80 | have : IsAffineHom q := MorphismProperty.of_isPullback hq.flip ‹IsAffineHom t› |
| 81 | have hU' : ∀ i, IsAffineOpen (U' i) := fun i => (hU i).preimage p |
| 82 | have hV' : ∀ j, IsAffineOpen (V' j) := fun j => (hV j).preimage q |
| 83 | have hcU' : iSup U' = ⊤ := ProductCech.Construction.ProductCechCoverProperties.preimage_covers U p hcU |
| 84 | have hcV' : iSup V' = ⊤ := ProductCech.Construction.ProductCechCoverProperties.preimage_covers V q hcV |
| 85 | apply DetectedFrame.Construction.DetectedFrameNeighborhood.exists_open (pullback.fst f g ≫ f) P L |
| 86 | (ProductFamilyCover.Construction.ProductFamilyAxes.cover f g U' V') |
| 87 | (ProductCech.Construction.ProductCechCoverProperties.covers f g U' V' hcU' hcV') |
| 88 | (ProductCech.Construction.ProductCechCoverProperties.affine f g U' V' hU' hV') r₁ r₂ D₁ D₂ x he |
| 89 | exact ProductResidue.Construction.ProductResidueDetector.normalized f g U' V' hU' hV' hcU' hcV' |
| 90 | sX hsX sY hsY i₀ hi₀ j₀ hj₀ L x he _ _ e₁ e₂ |
| 91 | |
| 92 | end Construction.ProductConstantFrameNeighborhood |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProductConstantOpen |