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.StructureModel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Product.CechMorphismDetection |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ModelComparisonDetection |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ModelAxisCycleLifting |
| 5 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModelOrdinaryBaseChange |
| 6 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.AbelianGeometricIntegrality |
| 7 | |
| 8 | /-! # Product Model Cycle Lifting -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.ProductModelCycleLifting |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The two normalized axes lift every residue section cycle of a line |
| 15 | bundle on a varying product of projective abelian schemes. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {S : Scheme.{u}} [IsAffine S] [IsNoetherianRing Γ(S, ⊤)] [IsLocalRing Γ(S, ⊤)] |
| 25 | variable {g h : ℕ} (A : Schemes.AbelianScheme g S) (B : Schemes.AbelianScheme h S) |
| 26 | variable [A.scheme.left.IsSeparated] [B.scheme.left.IsSeparated] |
| 27 | variable [(pullback A.scheme.hom B.scheme.hom).IsSeparated] |
| 28 | variable (PA : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (PB : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation B.scheme) |
| 29 | variable {ι κ : Type u} [LinearOrder ι] [Fintype ι] [LinearOrder κ] [Fintype κ] |
| 30 | variable (U : ι → A.scheme.left.Opens) (V : κ → B.scheme.left.Opens) |
| 31 | variable (hU : ∀ i, IsAffineOpen (U i)) (hV : ∀ j, IsAffineOpen (V j)) |
| 32 | variable (hcU : iSup U = ⊤) (hcV : iSup V = ⊤) |
| 33 | variable (sA : S ⟶ A.scheme.left) (hsA : sA ≫ A.scheme.hom = 𝟙 _) |
| 34 | variable (sB : S ⟶ B.scheme.left) (hsB : sB ≫ B.scheme.hom = 𝟙 _) |
| 35 | variable (i₀ : ι) (hi₀ : ⊤ ≤ sA ⁻¹ᵁ U i₀) (j₀ : κ) (hj₀ : ⊤ ≤ sB ⁻¹ᵁ V j₀) |
| 36 | variable (L : Line.Bundles.LineBundle (pullback A.scheme.hom B.scheme.hom)) |
| 37 | variable (eA : (L.pullback (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.left A.scheme.hom B.scheme.hom sB hsB)).sheaf ≅ |
| 38 | Line.Bundles.structureModule A.scheme.left) |
| 39 | variable (eB : (L.pullback (Quotients.FiniteDescent.ProductBaseAxes.Construction.ProductBaseChangeAxes.right A.scheme.hom B.scheme.hom sA hsA)).sheaf ≅ |
| 40 | Line.Bundles.structureModule B.scheme.left) |
| 41 | variable [LinearOrder (Σ _ : ι, κ)] |
| 42 | variable {D : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ} |
| 43 | variable (φ : D ⟶ SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex (pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom) |
| 44 | L.sheaf (Quotients.FiniteDescent.ProductFamilyCover.Construction.ProductFamilyAxes.cover A.scheme.hom B.scheme.hom U V)) |
| 45 | variable [∀ q, Module.Finite Γ(S, ⊤) (D.X q)] |
| 46 | variable [∀ q, Module.Projective Γ(S, ⊤) (D.X q)] |
| 47 | |
| 48 | include PA PB hU hV hcU hcV eA eB i₀ hi₀ j₀ hj₀ |
| 49 | |
| 50 | theorem abelianProductModel_residue_cycle_lift |
| 51 | (N : ℕ) (hN : ∀ q, N ≤ q → IsZero (D.X q)) |
| 52 | (hφ : ∀ (M : Type u) [AddCommGroup M] [Module Γ(S, ⊤) M], |
| 53 | QuasiIso (Quotients.FiniteDescent.ModuleTensor.Construction.ModuleTensorFunctor.map M φ)) |
| 54 | (he : (L.pullback (pullback.fst (pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom) |
| 55 | (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤))))).sheaf ≅ |
| 56 | Line.Bundles.structureModule (pullback (pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom) |
| 57 | (ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤))))) |
| 58 | (z : IsLocalRing.ResidueField Γ(S, ⊤) ⊗[Γ(S, ⊤)] D.X 0) |
| 59 | (hz : (D.d 0 1).hom.baseChange (IsLocalRing.ResidueField Γ(S, ⊤)) z = 0) : |
| 60 | ∃ x : D.X 0, D.d 0 1 x = 0 ∧ |
| 61 | (1 : IsLocalRing.ResidueField Γ(S, ⊤)) ⊗ₜ[Γ(S, ⊤)] x = z := by |
| 62 | obtain ⟨E₁, ψ₁, hq₁, hfin₁, hproj₁, hlift₁⟩ := A.exists_structureModel PA U hcU hU |
| 63 | obtain ⟨E₂, ψ₂, hq₂, hfin₂, hproj₂, hlift₂⟩ := B.exists_structureModel PB V hcV hV |
| 64 | have : QuasiIso ψ₁ := hq₁ |
| 65 | have : QuasiIso ψ₂ := hq₂ |
| 66 | let W := Quotients.FiniteDescent.ProductFamilyCover.Construction.ProductFamilyAxes.cover A.scheme.hom B.scheme.hom U V |
| 67 | let π := pullback.fst A.scheme.hom B.scheme.hom ≫ A.scheme.hom |
| 68 | let p := φ ≫ (SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv π L.sheaf W).inv |
| 69 | let p₁ := ψ₁ ≫ (SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv A.scheme.hom (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj A.scheme.left) U).inv ≫ |
| 70 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor A.scheme.hom U).mapIso eA).inv |
| 71 | let p₂ := ψ₂ ≫ (SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv B.scheme.hom (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj B.scheme.left) V).inv ≫ |
| 72 | ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplexFunctor B.scheme.hom V).mapIso eB).inv |
| 73 | have : QuasiIso p₁ := inferInstance |
| 74 | have : QuasiIso p₂ := inferInstance |
| 75 | let r₁ := Product.CechMorphismDetection.ProductCechMorphismDetection.left A.scheme.hom B.scheme.hom U V L.sheaf sB hsB j₀ hj₀ |
| 76 | let r₂ := Product.CechMorphismDetection.ProductCechMorphismDetection.right A.scheme.hom B.scheme.hom U V L.sheaf sA hsA i₀ hi₀ |
| 77 | let q := ReferenceFamily.Affine.CoefficientUnitExactness.coefficientFieldPoint S (IsLocalRing.ResidueField Γ(S, ⊤)) |
| 78 | have : GeometricallyIntegral (A.pullback q).scheme.hom := |
| 79 | Picard.PoincareBundle.AbelianGeometricIntegrality.geometricallyIntegral (A.pullback q) |
| 80 | have : GeometricallyIntegral (B.pullback q).scheme.hom := |
| 81 | Picard.PoincareBundle.AbelianGeometricIntegrality.geometricallyIntegral (B.pullback q) |
| 82 | have : IsIntegral (pullback A.scheme.hom q) := |
| 83 | GeometricallyIntegral.isIntegral_of_subsingleton (A.pullback q).scheme.hom |
| 84 | have : IsIntegral (pullback B.scheme.hom q) := |
| 85 | GeometricallyIntegral.isIntegral_of_subsingleton (B.pullback q).scheme.hom |
| 86 | let F := ModuleCat.extendScalars (algebraMap Γ(S, ⊤) (IsLocalRing.ResidueField Γ(S, ⊤))) |
| 87 | let H := F.mapHomologicalComplex (ComplexShape.up ℕ) |
| 88 | let Q := HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(S, ⊤)) (ComplexShape.up ℕ) 0 1 2 |
| 89 | have : QuasiIso (H.map φ) := Quotients.FiniteDescent.TensorExtensionQuasi.Construction.TensorExtension.quasiIso _ φ hφ |
| 90 | have : QuasiIsoAt (H.map (SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv π L.sheaf W).inv) 1 := |
| 91 | (F.mapHomotopyEquiv (SheafCohomology.Projective.BaseCechHomotopyEquiv.Scheme.Modules.baseCechOrderedHomotopyEquiv π L.sheaf W)).quasiIsoAt_inv 1 |
| 92 | have hqp : QuasiIsoAt (H.map p) 1 := by |
| 93 | dsimp only [p] |
| 94 | rw [H.map_comp] |
| 95 | infer_instance |
| 96 | have hp : ShortComplex.QuasiIso (F.mapShortComplex.map (Q.map p)) := |
| 97 | (quasiIsoAt_iff' (H.map p) 0 1 2 (by simp) (by simp)).mp hqp |
| 98 | have hd := Product.CechMorphismDetection.ProductCechMorphismDetection.coefficient_jointly A.scheme.hom B.scheme.hom |
| 99 | U V sA hsA sB hsB i₀ hi₀ j₀ hj₀ hU hV hcU hcV |
| 100 | (IsLocalRing.ResidueField Γ(S, ⊤)) L he |
| 101 | have : ∀ n, Projective (D.X n) := fun n => inferInstance |
| 102 | obtain ⟨g₁, g₂, hg⟩ := HilbertConstruction.Finite.ModelComparisonDetection.finiteModel_exists_detecting_lifts N hN p p₁ p₂ r₁ r₂ _ hp hd |
| 103 | have : ∀ n, Module.Finite Γ(S, ⊤) (E₁.X n) := hfin₁ |
| 104 | have : ∀ n, Module.Projective Γ(S, ⊤) (E₁.X n) := hproj₁ |
| 105 | have : ∀ n, Module.Finite Γ(S, ⊤) (E₂.X n) := hfin₂ |
| 106 | have : ∀ n, Module.Projective Γ(S, ⊤) (E₂.X n) := hproj₂ |
| 107 | have : ∀ n, Module.Free Γ(S, ⊤) (D.X n) := fun n => Module.free_of_flat_of_isLocalRing |
| 108 | have : ∀ n, Module.Free Γ(S, ⊤) (E₁.X n) := fun n => Module.free_of_flat_of_isLocalRing |
| 109 | have : ∀ n, Module.Free Γ(S, ⊤) (E₂.X n) := fun n => Module.free_of_flat_of_isLocalRing |
| 110 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₁ := |
| 111 | inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 0)) |
| 112 | have : Module.Free Γ(S, ⊤) (D.sc' 0 1 2).X₁ := |
| 113 | inferInstanceAs (Module.Free Γ(S, ⊤) (D.X 0)) |
| 114 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₂ := |
| 115 | inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 1)) |
| 116 | have : Module.Free Γ(S, ⊤) (D.sc' 0 1 2).X₂ := |
| 117 | inferInstanceAs (Module.Free Γ(S, ⊤) (D.X 1)) |
| 118 | have : Module.Finite Γ(S, ⊤) (D.sc' 0 1 2).X₃ := |
| 119 | inferInstanceAs (Module.Finite Γ(S, ⊤) (D.X 2)) |
| 120 | have : Module.Free Γ(S, ⊤) (D.sc' 0 1 2).X₃ := |
| 121 | inferInstanceAs (Module.Free Γ(S, ⊤) (D.X 2)) |
| 122 | have : Module.Finite Γ(S, ⊤) (E₁.sc' 0 1 2).X₁ := |
| 123 | inferInstanceAs (Module.Finite Γ(S, ⊤) (E₁.X 0)) |
| 124 | have : Module.Free Γ(S, ⊤) (E₁.sc' 0 1 2).X₁ := |
| 125 | inferInstanceAs (Module.Free Γ(S, ⊤) (E₁.X 0)) |
| 126 | have : Module.Finite Γ(S, ⊤) (E₁.sc' 0 1 2).X₂ := |
| 127 | inferInstanceAs (Module.Finite Γ(S, ⊤) (E₁.X 1)) |
| 128 | have : Module.Free Γ(S, ⊤) (E₁.sc' 0 1 2).X₂ := |
| 129 | inferInstanceAs (Module.Free Γ(S, ⊤) (E₁.X 1)) |
| 130 | have : Module.Finite Γ(S, ⊤) (E₁.sc' 0 1 2).X₃ := |
| 131 | inferInstanceAs (Module.Finite Γ(S, ⊤) (E₁.X 2)) |
| 132 | have : Module.Free Γ(S, ⊤) (E₁.sc' 0 1 2).X₃ := |
| 133 | inferInstanceAs (Module.Free Γ(S, ⊤) (E₁.X 2)) |
| 134 | have : Module.Finite Γ(S, ⊤) (E₂.sc' 0 1 2).X₁ := |
| 135 | inferInstanceAs (Module.Finite Γ(S, ⊤) (E₂.X 0)) |
| 136 | have : Module.Free Γ(S, ⊤) (E₂.sc' 0 1 2).X₁ := |
| 137 | inferInstanceAs (Module.Free Γ(S, ⊤) (E₂.X 0)) |
| 138 | have : Module.Finite Γ(S, ⊤) (E₂.sc' 0 1 2).X₂ := |
| 139 | inferInstanceAs (Module.Finite Γ(S, ⊤) (E₂.X 1)) |
| 140 | have : Module.Free Γ(S, ⊤) (E₂.sc' 0 1 2).X₂ := |
| 141 | inferInstanceAs (Module.Free Γ(S, ⊤) (E₂.X 1)) |
| 142 | have : Module.Finite Γ(S, ⊤) (E₂.sc' 0 1 2).X₃ := |
| 143 | inferInstanceAs (Module.Finite Γ(S, ⊤) (E₂.X 2)) |
| 144 | have : Module.Free Γ(S, ⊤) (E₂.sc' 0 1 2).X₃ := |
| 145 | inferInstanceAs (Module.Free Γ(S, ⊤) (E₂.X 2)) |
| 146 | exact HilbertConstruction.Finite.ModelAxisCycleLifting.finiteModel_axes_lift_cycle (D.sc' 0 1 2) (E₁.sc' 0 1 2) (E₂.sc' 0 1 2) |
| 147 | (Q.map g₁) (Q.map g₂) hlift₁ hlift₂ hg z hz |
| 148 | |
| 149 | end |
| 150 | |
| 151 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.ProductModelCycleLifting |