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.FiniteCoefficient.ResiduePullback |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.HomEvaluation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PushforwardSectionCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionTransformationAtOne |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.LocalQuasiIso |
| 6 | |
| 7 | /-! # Residue Adjunction -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.ResidueAdjunction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Evaluation of the original finite coefficient adjunction agrees on |
| 14 | all principal opens with coefficient residue followed by the same local form. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _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 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 21 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 22 | attribute [local instance] Principal.OrientedResidue.structure_quasicoherent |
| 23 | variable {Y X Z : Scheme.{u}} (f : Y ⟶ X) [IsFinite f] |
| 24 | (i : X ⟶ Z) [IsClosedImmersion i] (U : Z.Opens) (hU : IsAffineOpen U) |
| 25 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedQuotient.directImage i |
| 26 | local notation "MC" => OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.StructurePullbackUnit.coefficients f i |
| 27 | private abbrev ambientRing := Γ(Z, U) |
| 28 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.ResidueAdjunction.ambientRing U |
| 29 | local instance coefficient_qc : (MC).IsQuasicoherent := |
| 30 | Finite.MapPureTrace.coefficients_quasicoherent f i |
| 31 | variable (K L : ChainComplex Z.Modules ℕ) |
| 32 | [∀ q, (K.X q).IsQuasicoherent] [∀ q, (L.X q).IsQuasicoherent] |
| 33 | (ε : K ⟶ (ChainComplex.single₀ Z.Modules).obj (Principal.ClosedQuotient.directImage i)) [QuasiIso ε] |
| 34 | (ε' : L ⟶ (ChainComplex.single₀ Z.Modules).obj (Cech.StructurePullbackUnit.coefficients f i)) [QuasiIso ε'] |
| 35 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 36 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (L.X q))] |
| 37 | (N : Z.Modules) [N.IsQuasicoherent] (e : Γ(N, U) ≃ₗ[Γ(Z, U)] Γ(Z, U)) |
| 38 | [∀ q, ((Affine.LinearResolutionPurity.internalComplex N K).X q).IsQuasicoherent] |
| 39 | [∀ q, ((Affine.LinearResolutionPurity.internalComplex N L).X q).IsQuasicoherent] |
| 40 | {c : ℕ} (s : Fin c → Γ(Z, U)) |
| 41 | (hs : KoszulPartial.Resolution.normalIdeal Γ(Z, U) s = i.ker.ideal ⟨U, hU⟩) |
| 42 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Z, U) (List.ofFn s)) |
| 43 | (P : ProjectiveResolution (ModuleCat.of Γ(Z, U) (Finite.FlatCoefficientSections.coefficientRing f i U))) |
| 44 | (V : X.Modules) [V.IsQuasicoherent] (ω : Γ(V, i ⁻¹ᵁ U)) |
| 45 | (κ : (Affine.LinearResolutionPurity.internalComplex N K).homology c ⟶ |
| 46 | (Scheme.Modules.pushforward i).obj V) |
| 47 | (φ : (Affine.LinearResolutionPurity.internalComplex N L).homology c ⟶ |
| 48 | ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule (Cech.StructurePullbackUnit.coefficients f i) ((Scheme.Modules.pushforward i).obj V)) |
| 49 | (x : Finite.FlatCoefficientSections.coefficientRing f i U) |
| 50 | (hκ : (Affine.ModuleExactSections.sections U).map κ = |
| 51 | PrincipalResidue.SurvivorSection.sectionMap U hU N e K i ε s hs hreg ≫ |
| 52 | Principal.PushforwardSectionCoordinates.sectionsMap i U V ω) |
| 53 | (hφ : ∀ z, ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (Cech.StructurePullbackUnit.coefficients f i) ((Scheme.Modules.pushforward i).obj V) U (φ.app U z) x = |
| 54 | κ.app U (Affine.CoefficientRestriction.pullback U hU N K L (Principal.ClosedQuotient.directImage i) (Cech.StructurePullbackUnit.coefficients f i) ε ε' |
| 55 | (Finite.FlatCoefficientSections.quotientRing i U) (Finite.FlatCoefficientSections.coefficientRing f i U) |
| 56 | (RestrictionNormalization.scalarChartIso i U hU) |
| 57 | (Finite.FlatCoefficientSections.chartIso f i U hU) c z x)) |
| 58 | |
| 59 | include hκ hφ in |
| 60 | theorem comparison : |
| 61 | letI := QuotientAction.algebra f i U hU s hs |
| 62 | letI := QuotientAction.tower f i U hU s hs |
| 63 | (Principal.ModuleFunctor.functor U hU).map φ ≫ |
| 64 | Principal.HomEvaluation.map U hU MC ((Scheme.Modules.pushforward i).obj V) x = |
| 65 | Principal.CoefficientResidueSurvivor.survivor U hU N e MC L ε' |
| 66 | (ModuleCat.of A (Finite.FlatCoefficientSections.coefficientRing f i U)) (Finite.FlatCoefficientSections.chartIso f i U hU) P i s hs hreg |
| 67 | (Koszul.CoefficientPointFraction.vector A s (Finite.FlatCoefficientSections.coefficientRing f i U) x) ≫ |
| 68 | Principal.PushforwardSection.map i U hU V ω := by |
| 69 | let := QuotientAction.algebra f i U hU s hs |
| 70 | let := QuotientAction.tower f i U hU s hs |
| 71 | let D := (Affine.LinearResolutionPurity.internalComplex N L).homology c |
| 72 | let F := (Scheme.Modules.pushforward i).obj V |
| 73 | let a := (Principal.AtOne.iso U hU).app D |
| 74 | let aF := (Principal.AtOne.iso U hU).app F |
| 75 | let β := Koszul.CoefficientPointFraction.vector A s (Finite.FlatCoefficientSections.coefficientRing f i U) x |
| 76 | let Q := ResiduePullback.scalarResolution i U hU K ε s hs |
| 77 | let u := Principal.CoefficientResidueSurvivor.survivor U hU N e MC L ε' |
| 78 | (ModuleCat.of A (Finite.FlatCoefficientSections.coefficientRing f i U)) (Finite.FlatCoefficientSections.chartIso f i U hU) P i s hs hreg β |
| 79 | let u₀ := Principal.CoefficientResidueSurvivor.sectionMap U hU N e MC L ε' |
| 80 | (ModuleCat.of A (Finite.FlatCoefficientSections.coefficientRing f i U)) (Finite.FlatCoefficientSections.chartIso f i U hU) i s hs hreg β Q |
| 81 | let : D.IsQuasicoherent := Affine.LocalQuasiIso.homology_quasicoherent |
| 82 | (Affine.LinearResolutionPurity.internalComplex N L) c |
| 83 | let : F.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom i |
| 84 | apply Principal.SectionTransformationAtOne.Ext.ext_atOne U hU D F |
| 85 | apply (cancel_epi a.hom).mp |
| 86 | apply ModuleCat.hom_ext |
| 87 | apply LinearMap.ext |
| 88 | intro z |
| 89 | have hn := ConcreteCategory.congr_hom ((Principal.AtOne.iso U hU).hom.naturality φ).symm z |
| 90 | have he := Principal.HomEvaluation.atOne U hU MC F x (φ.app U z) |
| 91 | have hp := ResiduePullback.section f i U hU K L ε ε' N e s hs hreg z x |
| 92 | have hk := ConcreteCategory.congr_hom hκ |
| 93 | (Affine.CoefficientRestriction.pullback U hU N K L (Principal.ClosedQuotient.directImage i) (Cech.StructurePullbackUnit.coefficients f i) ε ε' |
| 94 | (Finite.FlatCoefficientSections.quotientRing i U) (Finite.FlatCoefficientSections.coefficientRing f i U) |
| 95 | (RestrictionNormalization.scalarChartIso i U hU) |
| 96 | (Finite.FlatCoefficientSections.chartIso f i U hU) c z x) |
| 97 | have hl : ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen MC F U (φ.app U z) x = |
| 98 | Principal.PushforwardSectionCoordinates.sectionsMap i U V ω (u₀ z) := |
| 99 | (hφ z).trans (hk.trans (congrArg (Principal.PushforwardSectionCoordinates.sectionsMap i U V ω) hp.symm)) |
| 100 | have hu := ConcreteCategory.congr_hom |
| 101 | (Principal.CoefficientResidueSurvivor.atOne U hU N e MC L ε' |
| 102 | (ModuleCat.of A (Finite.FlatCoefficientSections.coefficientRing f i U)) (Finite.FlatCoefficientSections.chartIso f i U hU) P i s hs hreg β Q) z |
| 103 | have hv := Principal.PushforwardSection.atOne i U hU V ω (u₀ z) |
| 104 | change (Principal.HomEvaluation.map U hU MC F x).app (op (Principal.AtOne.object U)) |
| 105 | (((Principal.ModuleFunctor.functor U hU).map φ).app (op (Principal.AtOne.object U)) |
| 106 | (a.hom z)) = |
| 107 | (Principal.PushforwardSection.map i U hU V ω).app (op (Principal.AtOne.object U)) |
| 108 | (u.app (op (Principal.AtOne.object U)) (a.hom z)) |
| 109 | exact (congrArg ((Principal.HomEvaluation.map U hU MC F x).app |
| 110 | (op (Principal.AtOne.object U))) hn).trans |
| 111 | (he.trans ((congrArg aF.hom hl).trans |
| 112 | (hv.symm.trans (congrArg ((Principal.PushforwardSection.map i U hU V ω).app |
| 113 | (op (Principal.AtOne.object U))) hu.symm)))) |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.ResidueAdjunction |