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.ProjectivePoint.LocalSectionClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ReferenceUnitClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.CoefficientLocalClass |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalPoint.PureCoordinates |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ScalarForgetEvaluation |
| 6 | |
| 7 | /-! # Local Section Coordinates Data -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionCoordinatesData |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original local point and survivor maps in their precise |
| 14 | principal and ordinary global cohomology coordinates. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomologicalComplex |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u |
| 20 | |
| 21 | private theorem constrained_apply {F : ℕ → Type u} {G : Type u} {n q : ℕ} |
| 22 | (a : ∀ j, j=n → F j → G) (h : q=n) (x : F n) : |
| 23 | a q h (Eq.mpr (congrArg F h) x) = a n rfl x := by |
| 24 | subst q |
| 25 | rfl |
| 26 | |
| 27 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.GlobalTransferRecovery |
| 28 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 29 | [IsArtinianRing R] [IsLocalRing R] {n c g : ℕ} |
| 30 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 31 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 32 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 33 | (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) [IsClosedImmersion i] |
| 34 | [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 35 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 36 | (s₀ : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s₀] |
| 37 | (hbase : s₀ ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2≤B) |
| 38 | (M : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 39 | [M.IsQuasicoherent] [M.IsFiniteType] (v : M ⟶ Survivor.coefficient i s₀) |
| 40 | (hM : ∀ q, q ≠ c → (GlobalTransferRecovery.coefficientDual B M).ExactAt q) |
| 41 | (N : X.Modules) [N.IsQuasicoherent] |
| 42 | (e : (GlobalTransferRecovery.coefficientDual B M).homology c ≅ (Scheme.Modules.pushforward i).obj N) |
| 43 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 44 | (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 45 | (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R),U)) |
| 46 | (t : Fin g → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R),U)) |
| 47 | (hs : Ideal.span (Set.range s) = i.ker.ideal ⟨U,hU⟩) |
| 48 | (hst : KoszulPartial.Resolution.pointIdeal |
| 49 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R),U) s t = (s₀ ≫ i).ker.ideal ⟨U,hU⟩) |
| 50 | (hcg : c+g=n+1) |
| 51 | |
| 52 | private abbrev base := AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)) |
| 53 | private abbrev cover := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := Fin (n+2)) |
| 54 | private abbrev cover_affine := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R) (σ := Fin (n+2)) |
| 55 | private abbrev cover_full := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := Fin (n+2)) |
| 56 | abbrev family := PrincipalPoint.Fraction.family U t |
| 57 | |
| 58 | abbrev pointSource (q : ℕ) := |
| 59 | (Supported.CechHomotopyEquivalence.functor (family U t) q).obj |
| 60 | (LocalCoordinates.principalDual i s₀ B U hU) |
| 61 | abbrev output := (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) |
| 62 | (σ := Fin (n+2)) g).obj ((Scheme.Modules.pushforward i).obj N) |
| 63 | |
| 64 | def transfer (q : ℕ) := by |
| 65 | letI : ∀ r, ((GlobalTransferRecovery.coefficientDual B M).X r).IsQuasicoherent := |
| 66 | ProjectiveRefinement.AffineTerms.fixed_dual_qc M (Survivor.chart (R := R)) B (n+2) hB |
| 67 | letI : ∀ r, ((GlobalTransferRecovery.commonDual i s₀ B M v).X r).IsQuasicoherent := |
| 68 | ProjectiveRefinement.AffineTerms.common_dual_qc M (Survivor.coefficient i s₀) |
| 69 | (Survivor.chart (R := R)) B (n+2) hB v |
| 70 | letI := ProjectiveRefinement.DualMap.left_quasiIso M (Survivor.coefficient i s₀) |
| 71 | (Survivor.chart (R := R)) B (n+2) hB v |
| 72 | exact Principal.RelativeTransfer.map U hU (family U t) q |
| 73 | (GlobalTransferRecovery.left i s₀ B M v) (GlobalTransferRecovery.right i s₀ B M v) |
| 74 | |
| 75 | def evaluationMap (q : ℕ) (hq : q=n+1) : |
| 76 | (Principal.AdditiveSections.forgetScalars U).obj |
| 77 | ((PrincipalReference.Concentration.Reference.functor U hU (family U t) q).obj (GlobalTransferRecovery.coefficientDual B M)) ⟶ |
| 78 | output (g := g) i N := by |
| 79 | subst q |
| 80 | exact LocalSectionData.Class.localOutput |
| 81 | (i := i) (s₀ := s₀) (B := B) (hB := hB) (M := M) (d := c) (hM := hM) |
| 82 | (N := N) (e := e) (U := U) (hU := hU) (hcontains := hcontains) (a := s) (t := t) |
| 83 | (ha := hs) (hat := hst) (g := g) (hg := (Nat.add_comm g c).trans hcg) |
| 84 | |
| 85 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 86 | [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 87 | private theorem evaluationMap_original (q : ℕ) (hq : q=n+1) : |
| 88 | evaluationMap i s₀ B hB M hM N e U hU hcontains s t hs hst hcg q hq = |
| 89 | letI : ∀ r, ((GlobalTransferRecovery.coefficientDual B M).X r).IsQuasicoherent := |
| 90 | ProjectiveRefinement.AffineTerms.fixed_dual_qc M (Survivor.chart (R := R)) B (n+2) hB |
| 91 | (Principal.AdditiveSections.forgetScalars U).map |
| 92 | (PrincipalPoint.PureCoordinates.localPure i U hU t (GlobalTransferRecovery.coefficientDual B M) c hM N e q) ≫ |
| 93 | PrincipalPoint.SingleCoordinates.originalMap (AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2))) |
| 94 | i s₀ U hU hcontains s t hs ((KoszulPoint.Ideal.append _ s t).symm.trans hst) |
| 95 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := Fin (n+2))) |
| 96 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := Fin (n+2))) |
| 97 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R) (σ := Fin (n+2))) |
| 98 | N c q (hq.trans ((Nat.add_comm g c).trans hcg).symm) := by |
| 99 | subst q |
| 100 | let : ∀ r, ((GlobalTransferRecovery.coefficientDual B M).X r).IsQuasicoherent := |
| 101 | ProjectiveRefinement.AffineTerms.fixed_dual_qc M (Survivor.chart (R := R)) B (n+2) hB |
| 102 | simp only [evaluationMap, LocalSectionData.Class.localOutput, |
| 103 | PrincipalPoint.PureCoordinates.localPure, PrincipalPoint.SingleCoordinates.originalMap, |
| 104 | PrincipalPoint.SingleCoordinates.family, PrincipalPoint.SingleCoordinates.coefficient] |
| 105 | |
| 106 | abbrev evaluationAt (q : ℕ) (hq : q=n+1) : pointSource i s₀ B U hU t q → output (g := g) i N := |
| 107 | fun x => evaluationMap i s₀ B hB M hM N e U hU hcontains s t hs hst hcg q hq |
| 108 | (transfer i s₀ B hB M v U hU t q x) |
| 109 | |
| 110 | def survivorMap (q : ℕ) : |
| 111 | (PrincipalReference.Concentration.Reference.functor U hU (family U t) q).obj (GlobalTransferRecovery.coefficientDual B M) ⟶ |
| 112 | (Supported.CechHomotopyEquivalence.functor (family U t) q).obj |
| 113 | ((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ |
| 114 | ModuleCat Γ(Proj (homogeneousSubmodule (Fin (n+2)) R),U)) (.up ℕ) c).obj |
| 115 | ((Principal.ModuleFunctor.functor U hU).obj ((Scheme.Modules.pushforward i).obj N))) := by |
| 116 | letI : ∀ r, ((GlobalTransferRecovery.coefficientDual B M).X r).IsQuasicoherent := |
| 117 | ProjectiveRefinement.AffineTerms.fixed_dual_qc M (Survivor.chart (R := R)) B (n+2) hB |
| 118 | exact PrincipalPoint.PureCoordinates.localMap i U hU t (GlobalTransferRecovery.coefficientDual B M) c hM N e q |
| 119 | |
| 120 | variable (eM : Projective.TopTracePairing.coefficientRing R ≃ₗ[ |
| 121 | Projective.TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology M 0) |
| 122 | |
| 123 | def globalClass : output (g := g) i N := |
| 124 | (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n+2)) g).map e.hom |
| 125 | (Projective.UnitPureClass.pureClass M (Survivor.coefficient i s₀) B n (Fintype.card_fin (n+2)) hB |
| 126 | v eM (Projective.SectionClass.pointUnitIso i s₀ hbase) c hM g ((Nat.add_comm g c).trans hcg)) |
| 127 | |
| 128 | def localClass := |
| 129 | survivorMap i B hB M hM N e U hU t (c+g) |
| 130 | (CoefficientLocalClass.value i s₀ hbase B hB M v U hU s t hst hcg) |
| 131 | |
| 132 | def ordinaryMap : |
| 133 | (Principal.AdditiveSections.forgetScalars U).obj |
| 134 | ((Supported.CechHomotopyEquivalence.functor (family U t) (c+g)).obj |
| 135 | ((single ((Principal.SectionPresheaf.Index U)ᵒᵖ ⥤ |
| 136 | ModuleCat Γ(Proj (homogeneousSubmodule (Fin (n+2)) R),U)) (.up ℕ) c).obj |
| 137 | ((Principal.ModuleFunctor.functor U hU).obj ((Scheme.Modules.pushforward i).obj N)))) ⟶ |
| 138 | output (g := g) i N := |
| 139 | (Principal.AdditiveSections.forgetScalars U).map |
| 140 | (Principal.SingleModuleCoordinates.moduleCoordinates U hU ((Scheme.Modules.pushforward i).obj N) |
| 141 | c (family U t) g (c+g) (Nat.add_comm c g)).hom ≫ |
| 142 | PrincipalPoint.SingleCoordinates.coefficientComparison (base (R := R) (n := n)) |
| 143 | i s₀ U hU hcontains s t hs ((KoszulPoint.Ideal.append _ s t).symm.trans hst) |
| 144 | (cover (R := R) (n := n)) (cover_full (R := R) (n := n)) (cover_affine (R := R) (n := n)) |
| 145 | N c (c+g) (Nat.add_comm c g) |
| 146 | |
| 147 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 148 | theorem survivor_coordinates : |
| 149 | (Principal.AdditiveSections.forgetScalars U).map |
| 150 | (survivorMap i B hB M hM N e U hU t (c+g)) ≫ |
| 151 | ordinaryMap i s₀ N U hU hcontains s t hs hst = |
| 152 | evaluationMap i s₀ B hB M hM N e U hU hcontains s t hs hst hcg (c+g) hcg := by |
| 153 | rw [evaluationMap_original] |
| 154 | let : ∀ r, ((GlobalTransferRecovery.coefficientDual B M).X r).IsQuasicoherent := |
| 155 | ProjectiveRefinement.AffineTerms.fixed_dual_qc M (Survivor.chart (R := R)) B (n+2) hB |
| 156 | exact PrincipalPoint.PureCoordinates.coordinates (base (R := R) (n := n)) i s₀ U hU hcontains |
| 157 | s t hs ((KoszulPoint.Ideal.append _ s t).symm.trans hst) |
| 158 | (cover (R := R) (n := n)) (cover_full (R := R) (n := n)) (cover_affine (R := R) (n := n)) |
| 159 | (GlobalTransferRecovery.coefficientDual B M) c hM N e (c+g) (Nat.add_comm c g) |
| 160 | |
| 161 | omit [IsArtinianRing R] [IsLocalRing R] [X.IsSeparated] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 162 | theorem transfer_value : |
| 163 | transfer i s₀ B hB M v U hU t (c+g) |
| 164 | (LocalCoordinates.pointAt i s₀ hbase B hB U hU s t hst hcg) = |
| 165 | CoefficientLocalClass.value i s₀ hbase B hB M v U hU s t hst hcg := by |
| 166 | rfl |
| 167 | |
| 168 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 169 | theorem survivor_coordinates_apply |
| 170 | (x : (PrincipalReference.Concentration.Reference.functor U hU (family U t) (c+g)).obj |
| 171 | (GlobalTransferRecovery.coefficientDual B M)) : |
| 172 | ordinaryMap i s₀ N U hU hcontains s t hs hst |
| 173 | (survivorMap i B hB M hM N e U hU t (c+g) x) = |
| 174 | evaluationMap i s₀ B hB M hM N e U hU hcontains s t hs hst hcg (c+g) hcg x := |
| 175 | ScalarForgetEvaluation.composite |
| 176 | (survivorMap i B hB M hM N e U hU t (c+g)) |
| 177 | (ordinaryMap i s₀ N U hU hcontains s t hs hst) |
| 178 | (evaluationMap i s₀ B hB M hM N e U hU hcontains s t hs hst hcg (c+g) hcg) |
| 179 | (survivor_coordinates i s₀ B hB M hM N e U hU hcontains s t hs hst hcg) x |
| 180 | |
| 181 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 182 | theorem ordinary_coordinates : |
| 183 | ordinaryMap i s₀ N U hU hcontains s t hs hst |
| 184 | (localClass i s₀ hbase B hB M v hM N e U hU s t hst hcg) = |
| 185 | evaluationAt i s₀ B hB M v hM N e U hU hcontains s t hs hst hcg (c+g) hcg |
| 186 | (LocalCoordinates.pointAt i s₀ hbase B hB U hU s t hst hcg) := by |
| 187 | have h := survivor_coordinates_apply i s₀ B hB M hM N e U hU hcontains s t hs hst hcg |
| 188 | (CoefficientLocalClass.value i s₀ hbase B hB M v U hU s t hst hcg) |
| 189 | dsimp only [evaluationAt] |
| 190 | rw [transfer_value i s₀ hbase B hB M v U hU s t hst hcg] |
| 191 | exact h |
| 192 | |
| 193 | end |
| 194 | |
| 195 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionCoordinatesData |