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.PrincipalPoint.ShiftedMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ReferenceUnitClass |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.UnitConcentrationCoordinates |
| 4 | |
| 5 | /-! # Local Section Data -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionData.Class |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual local point transfer, after principal concentration and |
| 12 | the genuine survivor adjunction, recovers the original global pure class. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomologicalComplex |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 19 | GlobalTransferRecovery |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 21 | [IsArtinianRing R] [IsLocalRing R] {n : ℕ} |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | Survivor.coefficient_qc Survivor.coefficient_finite |
| 24 | variable {X : Scheme.{u}} [X.IsSeparated] |
| 25 | (i : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) [IsClosedImmersion i] |
| 26 | [IsProper (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 27 | [GeometricallyConnected (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 28 | (s₀ : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion s₀] |
| 29 | (hbase : s₀ ≫ (i ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 30 | (M : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 31 | [M.IsQuasicoherent] [M.IsFiniteType] (v : M ⟶ Survivor.coefficient i s₀) |
| 32 | (d : ℕ) (hM : ∀ q, q ≠ d → (GlobalTransferRecovery.coefficientDual B M).ExactAt q) |
| 33 | (N : X.Modules) [N.IsQuasicoherent] |
| 34 | (e : (GlobalTransferRecovery.coefficientDual B M).homology d ≅ (Scheme.Modules.pushforward i).obj N) |
| 35 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 36 | (hcontains : ⊤ ≤ (s₀ ≫ i) ⁻¹ᵁ U) |
| 37 | {c b : ℕ} (a : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 38 | (t : Fin b → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 39 | (ha : Ideal.span (Set.range a) = i.ker.ideal ⟨U, hU⟩) |
| 40 | (hat : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) a t = |
| 41 | (s₀ ≫ i).ker.ideal ⟨U, hU⟩) |
| 42 | (eM : Projective.TopTracePairing.coefficientRing R ≃ₗ[Projective.TopTracePairing.coefficientRing R] ProjectiveTower.UnitTrace.cohomology M 0) |
| 43 | (g : ℕ) (hg : g+d=n+1) |
| 44 | local notation "π" => OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n+2)) |
| 45 | local notation "V" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := R) (σ := Fin (n+2)) |
| 46 | local notation "haV" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := R) (σ := Fin (n+2)) |
| 47 | local notation "hV" => OAI.AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top (R := R) (σ := Fin (n+2)) |
| 48 | |
| 49 | theorem replace_middle {D : Type*} [Category D] |
| 50 | {A B C E F : D} {f : A ⟶ F} {a : A ⟶ B} {b : B ⟶ C} |
| 51 | {c c' : C ⟶ E} {d : E ⟶ F} |
| 52 | (h : f = a ≫ b ≫ c ≫ d) (hc : c' = c) : f = a ≫ b ≫ c' ≫ d := by |
| 53 | rw [hc] |
| 54 | exact h |
| 55 | |
| 56 | include hB in |
| 57 | omit [Module.Injective R R] [IsArtinianRing R] [IsLocalRing R] in |
| 58 | theorem coefficient_quasicoherent : ∀ q : ℕ, ((GlobalTransferRecovery.coefficientDual B M).X q).IsQuasicoherent := |
| 59 | ProjectiveRefinement.AffineTerms.fixed_dual_qc M (Survivor.chart (R := R)) B (n+2) hB |
| 60 | |
| 61 | abbrev principalGroup : AddCommGrpCat.{u} := |
| 62 | (Principal.AdditiveSections.forgetScalars U).obj |
| 63 | ((PrincipalReference.Concentration.Reference.functor U hU |
| 64 | (PrincipalPoint.Fraction.family U t) (n+1)).obj (GlobalTransferRecovery.coefficientDual B M)) |
| 65 | |
| 66 | abbrev nativeGroup |
| 67 | (L : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Modules) |
| 68 | [L.IsQuasicoherent] [L.IsFiniteType] : AddCommGrpCat.{u} := |
| 69 | (IntrinsicOrdered.CechTransferCoordinates.Intrinsic.nativeFunctor π V (n+1)).obj |
| 70 | (GlobalTransferRecovery.coefficientDual B L) |
| 71 | |
| 72 | abbrev outputGroup : AddCommGrpCat.{u} := |
| 73 | (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n+2)) g).obj |
| 74 | ((Scheme.Modules.pushforward i).obj N) |
| 75 | |
| 76 | def globalize : principalGroup B M U hU t ⟶ nativeGroup B M := by |
| 77 | haveI : ∀ q : ℕ, ((GlobalTransferRecovery.coefficientDual B M).X q).IsQuasicoherent := |
| 78 | coefficient_quasicoherent (B := B) (hB := hB) (M := M) |
| 79 | haveI := CanonicalTransfer.refinement_isIso i s₀ B hB M d hM N e |
| 80 | U hU a t ha hat |
| 81 | exact PrincipalReference.CoverTransfer.Reference.comparison U hU |
| 82 | (PrincipalPoint.Fraction.family U t) (s₀ ≫ i) hcontains |
| 83 | (PrincipalPoint.RelativeGeometry.common i s₀ U hU t) |
| 84 | (PrincipalPoint.RelativeGeometry.left i s₀ U hU t) |
| 85 | (PrincipalPoint.RelativeGeometry.right i s₀ U hU t) V hV haV |
| 86 | (K := GlobalTransferRecovery.coefficientDual B M) (n+1) ≫ |
| 87 | (IntrinsicOrdered.CechTransferCoordinates.Intrinsic.iso π V (n+1) (GlobalTransferRecovery.coefficientDual B M)).inv |
| 88 | |
| 89 | def pureMap : nativeGroup B M ⟶ outputGroup i N g := |
| 90 | (Projective.UnitPureClass.concentration M B n |
| 91 | (Fintype.card_fin (n+2)) hB d hM g hg).hom ≫ |
| 92 | (ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n+2)) g).map e.hom |
| 93 | |
| 94 | def localOutput : principalGroup B M U hU t ⟶ outputGroup i N g := by |
| 95 | haveI : ∀ q : ℕ, ((GlobalTransferRecovery.coefficientDual B M).X q).IsQuasicoherent := |
| 96 | coefficient_quasicoherent (B := B) (hB := hB) (M := M) |
| 97 | let D := (Scheme.Modules.pushforward i).obj N |
| 98 | haveI : D.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom i |
| 99 | haveI (k : ℕ) : (((single _ (.up ℕ) d).obj D).X k).IsQuasicoherent := |
| 100 | QuasicoherentTruncation.single D d k |
| 101 | haveI := PrincipalPoint.RelativeGeometry.right_isIso i s₀ U hU a t ha |
| 102 | ((KoszulPoint.Ideal.append _ a t).symm.trans hat) |
| 103 | ((single _ (.up ℕ) d).obj D) d |
| 104 | (fun k hk => exactAt_single_obj (.up ℕ) d D k hk) N |
| 105 | (singleObjHomologySelfIso (.up ℕ) d D) (n+1) |
| 106 | exact (Principal.AdditiveSections.forgetScalars U).map |
| 107 | ((PrincipalReference.Concentration.Reference.iso U hU (PrincipalPoint.Fraction.family U t) |
| 108 | (GlobalTransferRecovery.coefficientDual B M) d hM (n+1)).hom ≫ |
| 109 | (PrincipalReference.Concentration.Reference.functor U hU |
| 110 | (PrincipalPoint.Fraction.family U t) (n+1)).map |
| 111 | ((single _ (.up ℕ) d).map e.hom)) ≫ |
| 112 | PrincipalReference.CoverTransfer.Reference.comparison U hU |
| 113 | (PrincipalPoint.Fraction.family U t) (s₀ ≫ i) hcontains |
| 114 | (PrincipalPoint.RelativeGeometry.common i s₀ U hU t) |
| 115 | (PrincipalPoint.RelativeGeometry.left i s₀ U hU t) |
| 116 | (PrincipalPoint.RelativeGeometry.right i s₀ U hU t) V hV haV |
| 117 | (K := (single _ (.up ℕ) d).obj D) (n+1) ≫ |
| 118 | (IntrinsicOrdered.CechAdditiveCoordinates.Intrinsic.homologyIso π V |
| 119 | ((single _ (.up ℕ) d).obj D) (n+1)).inv ≫ |
| 120 | (Global.PureIndexedCoordinates.singleIso π V D d g (n+1) hg.symm).hom |
| 121 | def incoming : nativeGroup B (Survivor.coefficient i s₀) ⟶ principalGroup B M U hU t := by |
| 122 | haveI : ∀ q : ℕ, ((GlobalTransferRecovery.coefficientDual B M).X q).IsQuasicoherent := |
| 123 | coefficient_quasicoherent (B := B) (hB := hB) (M := M) |
| 124 | haveI : ∀ q, ((GlobalTransferRecovery.commonDual i s₀ B M v).X q).IsQuasicoherent := |
| 125 | ProjectiveRefinement.AffineTerms.common_dual_qc M (Survivor.coefficient i s₀) |
| 126 | (Survivor.chart (R := R)) B (n+2) hB v |
| 127 | haveI := ProjectiveRefinement.DualMap.left_quasiIso M (Survivor.coefficient i s₀) |
| 128 | (Survivor.chart (R := R)) B (n+2) hB v |
| 129 | exact LocalClass.map i s₀ hbase B hB U hU a t hat ≫ |
| 130 | (Principal.AdditiveSections.forgetScalars U).map |
| 131 | (Principal.RelativeTransfer.map U hU (PrincipalPoint.Fraction.family U t) (n+1) |
| 132 | (GlobalTransferRecovery.left i s₀ B M v) |
| 133 | (GlobalTransferRecovery.right i s₀ B M v)) |
| 134 | |
| 135 | def native : nativeGroup B (Survivor.coefficient i s₀) ⟶ nativeGroup B M := |
| 136 | Projective.TotalUnitCoordinates.nativeMap M (Survivor.coefficient i s₀) B n |
| 137 | (Fintype.card_fin (n+2)) hB v |
| 138 | |
| 139 | def nativeTransfer : nativeGroup B (Survivor.coefficient i s₀) ⟶ nativeGroup B M := by |
| 140 | haveI : ∀ q : ℕ, ((GlobalTransferRecovery.coefficientDual B M).X q).IsQuasicoherent := |
| 141 | coefficient_quasicoherent (B := B) (hB := hB) (M := M) |
| 142 | haveI : ∀ q, ((GlobalTransferRecovery.commonDual i s₀ B M v).X q).IsQuasicoherent := |
| 143 | ProjectiveRefinement.AffineTerms.common_dual_qc M (Survivor.coefficient i s₀) |
| 144 | (Survivor.chart (R := R)) B (n+2) hB v |
| 145 | haveI := ProjectiveRefinement.DualMap.left_quasiIso M (Survivor.coefficient i s₀) |
| 146 | (Survivor.chart (R := R)) B (n+2) hB v |
| 147 | exact IntrinsicOrdered.CechTransferCoordinates.Intrinsic.nativeMap π V haV (n+1) |
| 148 | (GlobalTransferRecovery.left i s₀ B M v) |
| 149 | (GlobalTransferRecovery.right i s₀ B M v) |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalSectionData.Class |