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.Cech.MorphismOver |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.HomotopyBoundaryDetection |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GeometricProduct |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.RingEquiv |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Affine.CoefficientUnitExactness |
| 6 | |
| 7 | /-! # Cech Morphism Detection -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Product.CechMorphismDetection |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The geometric product detector applies to the actual full cochain |
| 14 | maps, including specialization to a prescribed coefficient field. -/ |
| 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 | namespace ProductCechMorphismDetection |
| 23 | |
| 24 | variable {X Y S : Scheme.{u}} (f : X ⟶ S) (g : Y ⟶ S) |
| 25 | variable {ι κ : Type u} (U : ι → X.Opens) (V : κ → Y.Opens) |
| 26 | variable (M : (pullback f g).Modules) |
| 27 | variable (sX : S ⟶ X) (hsX : sX ≫ f = 𝟙 _) (sY : S ⟶ Y) (hsY : sY ≫ g = 𝟙 _) |
| 28 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sX ⁻¹ᵁ U i₀) (j₀ : κ) (hj₀ : ⊤ ≤ sY ⁻¹ᵁ V j₀) |
| 29 | |
| 30 | def left := Cech.MorphismOver.CechMorphismOver.map (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY) |
| 31 | (pullback.fst f g ≫ f) f (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.left_over f g sY hsY) M |
| 32 | (Quotients.FiniteDescent.ProductFamilyCover.Construction.ProductFamilyAxes.cover f g U V) U (fun i => ⟨i, j₀⟩) |
| 33 | (fun i => Quotients.FiniteDescent.ProductBaseOpens.Construction.ProductBaseChangeOpens.left f g sY hsY (U i) (V j₀) hj₀) |
| 34 | |
| 35 | def right := Cech.MorphismOver.CechMorphismOver.map (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX) |
| 36 | (pullback.fst f g ≫ f) g (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.right_over f g sX hsX) M |
| 37 | (Quotients.FiniteDescent.ProductFamilyCover.Construction.ProductFamilyAxes.cover f g U V) V (fun j => ⟨i₀, j⟩) |
| 38 | (fun j => Quotients.FiniteDescent.ProductBaseOpens.Construction.ProductBaseChangeOpens.right f g sX hsX (U i₀) (V j) hi₀) |
| 39 | |
| 40 | theorem jointly_of_coordinates {K : Type u} [CommRing K] (a : Γ(S, ⊤) →+* K) |
| 41 | (hd : Quotients.FiniteDescent.CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 42 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 43 | (Quotients.FiniteDescent.ProductFamilyCover.Construction.ProductFamilyAxes.left f g U V M sY hsY j₀ hj₀)) |
| 44 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 45 | (Quotients.FiniteDescent.ProductFamilyCover.Construction.ProductFamilyAxes.right f g U V M sX hsX i₀ hi₀))) : |
| 46 | Quotients.FiniteDescent.CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 47 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 48 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(S, ⊤)) (ComplexShape.up ℕ) 0 1 2).map |
| 49 | (left f g U V M sY hsY j₀ hj₀))) |
| 50 | ((ModuleCat.extendScalars a).mapShortComplex.map |
| 51 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(S, ⊤)) (ComplexShape.up ℕ) 0 1 2).map |
| 52 | (right f g U V M sX hsX i₀ hi₀))) := by |
| 53 | apply HomotopyBoundaryDetection.CechBoundaryTransport.jointly_of_iso_middle_map |
| 54 | (ModuleCat.extendScalars a) _ _ _ _ |
| 55 | (Quotients.FiniteDescent.CechShort.Construction.CechShortCoordinates.iso (pullback.fst f g ≫ f) M (Quotients.FiniteDescent.ProductFamilyCover.Construction.ProductFamilyAxes.cover f g U V)) |
| 56 | (Quotients.FiniteDescent.CechShort.Construction.CechShortCoordinates.iso f |
| 57 | ((Scheme.Modules.pullback (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.left f g sY hsY)).obj M) U).hom |
| 58 | (Quotients.FiniteDescent.CechShort.Construction.CechShortCoordinates.iso g |
| 59 | ((Scheme.Modules.pullback (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.right f g sX hsX)).obj M) V).hom _ _ hd |
| 60 | · exact Cech.MorphismOver.CechMorphismOver.short_middle _ _ _ _ _ _ _ _ _ |
| 61 | · exact Cech.MorphismOver.CechMorphismOver.short_middle _ _ _ _ _ _ _ _ _ |
| 62 | |
| 63 | variable [IsAffine S] [X.IsSeparated] [Y.IsSeparated] [(pullback f g).IsSeparated] |
| 64 | variable [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] |
| 65 | variable (hU : ∀ a, IsAffineOpen (U a)) (hV : ∀ a, IsAffineOpen (V a)) |
| 66 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 67 | variable (K : Type u) [Field K] [Algebra Γ(S, ⊤) K] |
| 68 | variable [IsIntegral (pullback f (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S K))] |
| 69 | variable [IsIntegral (pullback g (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S K))] |
| 70 | variable [UniversallyClosed f] [UniversallyClosed g] |
| 71 | |
| 72 | include hU hV hcU hcV |
| 73 | |
| 74 | theorem coefficient_jointly (L : Line.Bundles.LineBundle (pullback f g)) |
| 75 | (he : (L.pullback (pullback.fst (pullback.fst f g ≫ f) |
| 76 | (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S K))).sheaf ≅ |
| 77 | Line.Bundles.structureModule (pullback (pullback.fst f g ≫ f) (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S K))) : |
| 78 | Quotients.FiniteDescent.CechBoundary.Construction.CechBoundaryTransport.JointlyDetects |
| 79 | ((ModuleCat.extendScalars (algebraMap Γ(S, ⊤) K)).mapShortComplex.map |
| 80 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(S, ⊤)) (ComplexShape.up ℕ) 0 1 2).map |
| 81 | (left f g U V L.sheaf sY hsY j₀ hj₀))) |
| 82 | ((ModuleCat.extendScalars (algebraMap Γ(S, ⊤) K)).mapShortComplex.map |
| 83 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(S, ⊤)) (ComplexShape.up ℕ) 0 1 2).map |
| 84 | (right f g U V L.sheaf sX hsX i₀ hi₀))) := by |
| 85 | let q := ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S K |
| 86 | have hd := Quotients.FiniteDescent.GeometricProduct.Construction.GeometricProductDetector.jointly f g (pullback.snd f q) (pullback.snd g q) |
| 87 | (pullback.fst f q) (pullback.fst g q) q |
| 88 | (IsPullback.of_hasPullback f q) (IsPullback.of_hasPullback g q) |
| 89 | U V hU hV hcU hcV sX hsX sY hsY i₀ hi₀ j₀ hj₀ L he |
| 90 | have ht := Quotients.FiniteDescent.RingEquiv.Construction.RingEquivCechDetection.composite (Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv |
| 91 | q.appTop.hom _ _ hd |
| 92 | have heq : (Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toRingHom.comp q.appTop.hom = |
| 93 | algebraMap Γ(S, ⊤) K := |
| 94 | ReferenceFamily.Affine.CoefficientPoints.affineCoefficientPoint_coefficients S (algebraMap Γ(S, ⊤) K) |
| 95 | rw [heq] at ht |
| 96 | exact jointly_of_coordinates f g U V L.sheaf sX hsX sY hsY i₀ hi₀ j₀ hj₀ _ ht |
| 97 | |
| 98 | end ProductCechMorphismDetection |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Product.CechMorphismDetection |