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.Abelian.ProductModelCycleLifting |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ResidueModelCycle |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalCoefficientFrameNeighborhood |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SectionPair |
| 5 | |
| 6 | /-! # Product Frame -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProductFrame |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A line bundle on a varying product of projective abelian schemes |
| 13 | over a Noetherian local affine base is trivial when its two axes and |
| 14 | coefficient-residue fiber are trivial. The base may be nonreduced. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] [IsLocalRing Γ(S, ⊤)] |
| 23 | variable {g h : ℕ} (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 24 | variable [A.scheme.left.IsSeparated] [B.scheme.left.IsSeparated] |
| 25 | variable [(pullback A.scheme.hom B.scheme.hom).IsSeparated] |
| 26 | variable (PA : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (PB : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation B.scheme) |
| 27 | variable (P : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (Over.mk (pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom))) |
| 28 | variable {ι κ : Type u} [LinearOrder ι] [Fintype ι] [LinearOrder κ] [Fintype κ] |
| 29 | variable (U : ι → A.scheme.left.Opens) (V : κ → B.scheme.left.Opens) |
| 30 | variable (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 31 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 32 | variable (sA : S ⟶ A.scheme.left) (hsA : sA ≫ A.scheme.hom = 𝟙 _) |
| 33 | variable (sB : S ⟶ B.scheme.left) (hsB : sB ≫ B.scheme.hom = 𝟙 _) |
| 34 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sA ⁻¹ᵁ U i₀) (j₀ : κ) (hj₀ : ⊤ ≤ sB ⁻¹ᵁ V j₀) |
| 35 | variable (L : Line.Bundles.LineBundle (pullback A.scheme.hom B.scheme.hom)) |
| 36 | variable (eA : (L.pullback (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.left A.scheme.hom B.scheme.hom sB hsB)).sheaf ≅ |
| 37 | Line.Bundles.structureModule A.scheme.left) |
| 38 | variable (eB : (L.pullback (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.right A.scheme.hom B.scheme.hom sA hsA)).sheaf ≅ |
| 39 | Line.Bundles.structureModule B.scheme.left) |
| 40 | |
| 41 | include PA PB P hU hV hcU hcV eA eB i₀ hi₀ j₀ hj₀ |
| 42 | |
| 43 | theorem localAbelianProduct_line_trivial |
| 44 | (he : (L.pullback (pullback.fst (pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom) |
| 45 | (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤))))).sheaf ≅ |
| 46 | Line.Bundles.structureModule (pullback (pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom) |
| 47 | (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤))))) : |
| 48 | Nonempty (L.sheaf ≅ Line.Bundles.structureModule (pullback A.scheme.hom B.scheme.hom)) := by |
| 49 | classical |
| 50 | let : LinearOrder (Σ _ : ι, κ) := (Fintype.equivFin (Σ _ : ι, κ)).linearOrder |
| 51 | let W := Quotients.FiniteDescent.ProductFamilyCover.Construction.ProductFamilyAxes.cover A.scheme.hom B.scheme.hom U V |
| 52 | let π := pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom |
| 53 | have hW : iSup W = ⊤ := Quotients.FiniteDescent.ProductCech.Construction.ProductCechCoverProperties.covers _ _ U V hcU hcV |
| 54 | have haW : ∀ i, IsAffineOpen (W i) := Quotients.FiniteDescent.ProductCech.Construction.ProductCechCoverProperties.affine _ _ U V hU hV |
| 55 | have : IsProper π := inferInstance |
| 56 | have : Smooth π := inferInstance |
| 57 | have : GeometricallyConnected π := |
| 58 | GeometricallyConnected.comp (pullback.fst A.scheme.hom B.scheme.hom) A.scheme.hom |
| 59 | obtain ⟨D, φ, hq, ⟨N, hN⟩, hfin, hproj, hφ⟩ := |
| 60 | Quotients.FiniteDescent.AffineCoverModel.Construction.AffineCoverPerfectModel.exists_model π P W hW haW L |
| 61 | have : QuasiIso φ := hq |
| 62 | have : ∀ n, Module.Finite Γ(S, ⊤) (D.X n) := hfin |
| 63 | have : ∀ n, Module.Projective Γ(S, ⊤) (D.X n) := hproj |
| 64 | let q := ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤)) |
| 65 | have : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 66 | have : QuasiIso (Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap (pullback.fst π q) π |
| 67 | (pullback.snd π q) q pullback.condition L.sheaf W φ) := |
| 68 | Quotients.FiniteDescent.CechModelBaseChange.Construction.CechBaseChangeMap.modelMap_quasiIso (pullback.fst π q) π (pullback.snd π q) |
| 69 | q L.sheaf W φ (IsPullback.of_hasPullback π q) |
| 70 | (fun n i => SheafCohomology.Cech.Cochains.IsAffineOpen.cechIntersection W haW n i.1) hφ |
| 71 | have : ConnectedSpace (pullback π q : Scheme.{u}) := |
| 72 | GeometricallyConnected.connectedSpace_of_subsingleton (pullback.snd π q) |
| 73 | have : IsIntegral (pullback π q) := |
| 74 | ArithmeticGeometry.Models.SpreadingOut.SmoothGeometricIntegrality.Construction.smooth_connected_scheme_integral (pullback.snd π q) |
| 75 | have : IsIntegral (Over.mk (pullback.snd π q)).left := |
| 76 | inferInstanceAs (IsIntegral (pullback π q)) |
| 77 | have : IsProper (Over.mk (pullback.snd π q)).hom := |
| 78 | inferInstanceAs (IsProper (pullback.snd π q)) |
| 79 | have : Nontrivial Γ((Scheme.Modules.pullback (pullback.fst π q)).obj L.sheaf, ⊤) := |
| 80 | Quotients.FiniteDescent.SectionPair.Construction.SectionPairTriviality.nontrivial_sections_of_trivial (Over.mk (pullback.snd π q)) |
| 81 | (L.pullback (pullback.fst π q)) he |
| 82 | have hn := (Quotients.FiniteDescent.CechModelSections.Construction.CechBaseChangeMap.kernelSections (pullback.fst π q) π |
| 83 | (pullback.snd π q) q pullback.condition L.sheaf W hW φ).nontrivial_congr.mpr |
| 84 | (show Nontrivial Γ((Scheme.Modules.pullback (pullback.fst π q)).obj L.sheaf, ⊤) |
| 85 | from inferInstance) |
| 86 | have hlift := Abelian.ProductModelCycleLifting.abelianProductModel_residue_cycle_lift A B PA PB U V hU hV hcU hcV |
| 87 | sA hsA sB hsB i₀ hi₀ j₀ hj₀ L eA eB φ N hN hφ he |
| 88 | obtain ⟨x, hx, hxn⟩ := Coefficient.ResidueModelCycle.extendedComplex_exists_surviving_cycle D q.appTop.hom |
| 89 | (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldSectionsEquiv S (IsLocalRing.ResidueField Γ(S, ⊤))) |
| 90 | (Coefficient.ResidueModelCycle.coefficientSectionsEquiv_one S (IsLocalRing.ResidueField Γ(S, ⊤))) hn hlift |
| 91 | let z : (D.d 0 1).hom.ker := ⟨x, hx⟩ |
| 92 | have hz : (Quotients.FiniteDescent.ModelOneTensor.Construction.CechBaseChangeMap.oneCycle q z).val ≠ 0 := hxn |
| 93 | exact Quotients.FiniteDescent.LocalCoefficientFrameNeighborhood.Construction.ModelFrameNeighborhood.exists_global_frame_of_coefficient_residue π L W hW φ |
| 94 | (pullback.fst π q) (pullback.snd π q) (IsPullback.of_hasPullback π q) ⟨he⟩ inferInstance z hz |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProductFrame |