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.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CoefficientResidueConcentration |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientPurity |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.IntrinsicDualCoordinates |
| 5 | |
| 6 | /-! # Coefficient Residue Dimension Data -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueDimensionData |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual finite-coefficient residue and adjunction maps with an |
| 13 | arbitrary ambient projective dimension. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module Opposite _root_.HomologicalComplex |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 21 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g N : ℕ} (h : c+g=N) |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | Projective.LocalAdjunction.ambientAlgebra Projective.ParameterChart.coordinateOrder |
| 24 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra |
| 25 | Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 26 | attribute [local instance] ProjectiveCoefficient.HomLocal.scalar_terms |
| 27 | ProjectiveCoefficient.HomLocal.coefficient_terms |
| 28 | variable (X : Over (Spec (CommRingCat.of R))) {Y : Scheme.{u}} |
| 29 | (f : Y ⟶ X.left) [IsFinite f] [Flat f] |
| 30 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R N) [IsClosedImmersion i.left] |
| 31 | [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 32 | (j : Fin (N+1)) (B : ℕ) (hB : N+1≤B) |
| 33 | (U : (Projective.IntrinsicOverlap.Intrinsic.space R N).Opens) (hU : IsAffineOpen U) |
| 34 | (k : Fin (N+1)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 35 | (s : Fin c → Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)) |
| 36 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) s = Projective.LocalAdjunction.ideal X i U hU) |
| 37 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) (List.ofFn s)) |
| 38 | (t : Fin g → Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)) |
| 39 | (b : Basis (Fin N) Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) Ω[Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)⁄R]) |
| 40 | |
| 41 | include h hB in |
| 42 | omit [Smooth X.hom] [IsProper X.hom] in |
| 43 | theorem exactAt (q : ℕ) (hq : q ≠ c) : (ProjectiveCoefficient.HomLocal.coefficientDual X f i j B).ExactAt q := by |
| 44 | let : SmoothOfRelativeDimension g (i.left ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) := by |
| 45 | change SmoothOfRelativeDimension g (i.left ≫ (Projective.IntrinsicOverlap.Intrinsic.model R N).hom) |
| 46 | rw [Over.w i] |
| 47 | infer_instance |
| 48 | apply CoefficientPurity.exactAt f i.left j B (N+1) hB g q |
| 49 | simp only [Fintype.card_fin, Nat.add_sub_cancel_right] |
| 50 | have hc : N-g=c := by omega |
| 51 | simpa only [hc] using hq |
| 52 | |
| 53 | abbrev sourceComplex := |
| 54 | ((Principal.ModuleFunctor.functor U hU).mapHomologicalComplex (.up ℕ)).obj |
| 55 | (ProjectiveCoefficient.HomLocal.coefficientDual X f i j B) |
| 56 | |
| 57 | abbrev structureSingle := |
| 58 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U)) (.up ℕ) c).obj |
| 59 | (Principal.ClosedKoszulResidue.target i.left U hU) |
| 60 | |
| 61 | abbrev formSingle := |
| 62 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U)) (.up ℕ) c).obj |
| 63 | ((Principal.ModuleFunctor.functor U hU).obj (ProjectiveCoefficient.HomLocal.formSheaf X i g)) |
| 64 | |
| 65 | abbrev survivorSingle := |
| 66 | ((Principal.ModuleFunctor.functor U hU).mapHomologicalComplex (.up ℕ)).obj |
| 67 | ((single (Projective.IntrinsicOverlap.Intrinsic.space R N).Modules (.up ℕ) c).obj ((ProjectiveCoefficient.HomLocal.coefficientDual X f i j B).homology c)) |
| 68 | |
| 69 | abbrev principalSurvivorSingle := |
| 70 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U)) (.up ℕ) c).obj |
| 71 | ((Principal.ModuleFunctor.functor U hU).obj ((ProjectiveCoefficient.HomLocal.coefficientDual X f i j B).homology c)) |
| 72 | |
| 73 | abbrev homSingle := |
| 74 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N,U)) (.up ℕ) c).obj |
| 75 | ((Principal.ModuleFunctor.functor U hU).obj (ProjectiveCoefficient.HomLocal.targetSheaf X f i g)) |
| 76 | |
| 77 | def residue (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 78 | sourceComplex X f i j B U hU ⟶ structureSingle (c := c) X i U hU := by |
| 79 | letI : (ProjectiveCoefficient.HomLocal.coefficient X f i).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent f i.left |
| 80 | letI : (ProjectiveCoefficient.HomLocal.coefficient X f i).IsFiniteType := Finite.MapPureTrace.coefficients_finiteType f i.left |
| 81 | letI : (ProjectiveCoefficient.HomLocal.canonical (R := R) j).IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 82 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (N+1)) |
| 83 | letI (r : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_term_projective X f i j B U hU k hUk r |
| 84 | letI : Algebra |
| 85 | (Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) ⧸ KoszulPartial.Resolution.normalIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) s) |
| 86 | (Finite.FlatCoefficientSections.coefficientRing f i.left U) := |
| 87 | FiniteCoefficient.QuotientAction.algebra f i.left U hU s hs |
| 88 | letI : IsScalarTower Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) |
| 89 | (Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) ⧸ KoszulPartial.Resolution.normalIdeal Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) s) |
| 90 | (Finite.FlatCoefficientSections.coefficientRing f i.left U) := |
| 91 | FiniteCoefficient.QuotientAction.tower f i.left U hU s hs |
| 92 | let ε := Projective.NegativeResolution.augmentation (ProjectiveCoefficient.HomLocal.coefficient X f i) j B |
| 93 | let P := Principal.Resolution.Comparison.resolution U hU (ProjectiveCoefficient.HomLocal.coefficient X f i) |
| 94 | (ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B) ε (ModuleCat.of Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) (Finite.FlatCoefficientSections.coefficientRing f i.left U)) |
| 95 | (Finite.FlatCoefficientSections.chartIso f i.left U hU) |
| 96 | exact Principal.IntrinsicDualCoordinates.Intrinsic.map U hU (ProjectiveCoefficient.HomLocal.canonical j) (ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B) |
| 97 | (Principal.CoefficientResidueData.map U hU (ProjectiveCoefficient.HomLocal.canonical j) |
| 98 | (Projective.PrincipalResidueCoordinates.scalarFrame (c := N) (g := 0) j U hU k hUk b) |
| 99 | (ProjectiveCoefficient.HomLocal.coefficient X f i) (ProjectiveCoefficient.HomLocal.coefficientComplex X f i j B) ε |
| 100 | (ModuleCat.of Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) (Finite.FlatCoefficientSections.coefficientRing f i.left U)) |
| 101 | (Finite.FlatCoefficientSections.chartIso f i.left U hU) P i.left s hs hreg |
| 102 | (Koszul.CoefficientPointFraction.vector Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U) s (Finite.FlatCoefficientSections.coefficientRing f i.left U) x)) |
| 103 | |
| 104 | def symbol : structureSingle (c := c) X i U hU ⟶ formSingle (c := c) (g := g) X i U hU := |
| 105 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)) (.up ℕ) c).map |
| 106 | (Principal.DifferentialSymbol.map R X (Projective.IntrinsicOverlap.Intrinsic.model R N) i U hU g (fun a => i.left.app U (t a))) |
| 107 | |
| 108 | variable {ι : Type u} [LinearOrder ι] |
| 109 | (W : ι → Principal.SectionPresheaf.Index U) (q : ℕ) |
| 110 | |
| 111 | def concentration : |
| 112 | (Supported.CechHomotopyEquivalence.functor W q).obj (sourceComplex X f i j B U hU) ≅ |
| 113 | (Supported.CechHomotopyEquivalence.functor W q).obj |
| 114 | (survivorSingle (c := c) X f i j B U hU) := by |
| 115 | letI (r : ℕ) := ProjectiveCoefficient.HomLocal.coefficient_dual_terms X f i j B hB r |
| 116 | exact PrincipalReference.Concentration.Reference.iso U hU W (ProjectiveCoefficient.HomLocal.coefficientDual X f i j B) |
| 117 | c (exactAt h X f i j B hB) q |
| 118 | |
| 119 | def homologyToPrincipal : |
| 120 | survivorSingle (c := c) X f i j B U hU ⟶ principalSurvivorSingle (c := c) X f i j B U hU := |
| 121 | (singleMapHomologicalComplex (Principal.ModuleFunctor.functor U hU) (.up ℕ) c).hom.app |
| 122 | ((ProjectiveCoefficient.HomLocal.coefficientDual X f i j B).homology c) |
| 123 | |
| 124 | def homMap : |
| 125 | principalSurvivorSingle (c := c) X f i j B U hU ⟶ homSingle (c := c) (g := g) X f i U hU := |
| 126 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)) (.up ℕ) c).map |
| 127 | ((Principal.ModuleFunctor.functor U hU).map |
| 128 | (ProjectiveCoefficient.HomDegreeCoordinates.iso X f i g c (by omega) j B hB (by omega)).hom) |
| 129 | |
| 130 | def evaluation (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 131 | homSingle (c := c) (g := g) X f i U hU ⟶ formSingle (c := c) (g := g) X i U hU := |
| 132 | (single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ ModuleCat.{u} Γ(Projective.IntrinsicOverlap.Intrinsic.space R N, U)) (.up ℕ) c).map |
| 133 | (Principal.HomEvaluation.map U hU (ProjectiveCoefficient.HomLocal.coefficient X f i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) x) |
| 134 | |
| 135 | def leftMap (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 136 | (Supported.CechHomotopyEquivalence.functor W q).obj (sourceComplex X f i j B U hU) ⟶ |
| 137 | (Supported.CechHomotopyEquivalence.functor W q).obj |
| 138 | (formSingle (c := c) (g := g) X i U hU) := |
| 139 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 140 | (residue X f i j B U hU k hUk s hs hreg b x) ≫ |
| 141 | (Supported.CechHomotopyEquivalence.functor W q).map (symbol (c := c) X i U hU t) |
| 142 | |
| 143 | def rightMap (x : Finite.FlatCoefficientSections.coefficientRing f i.left U) : |
| 144 | (Supported.CechHomotopyEquivalence.functor W q).obj (sourceComplex X f i j B U hU) ⟶ |
| 145 | (Supported.CechHomotopyEquivalence.functor W q).obj |
| 146 | (formSingle (c := c) (g := g) X i U hU) := |
| 147 | (concentration h X f i j B hB U hU W q).hom ≫ |
| 148 | (Supported.CechHomotopyEquivalence.functor W q).map |
| 149 | (homologyToPrincipal (c := c) X f i j B U hU) ≫ |
| 150 | (Supported.CechHomotopyEquivalence.functor W q).map (homMap h X f i j B hB U hU) ≫ |
| 151 | (Supported.CechHomotopyEquivalence.functor W q).map (evaluation (c := c) (g := g) X f i U hU x) |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveFinite.CoefficientResidueDimensionData |