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.VectorCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CoefficientCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CoefficientResidueSurvivor |
| 4 | |
| 5 | /-! # Residue Pullback -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.ResiduePullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The coefficient residue and the original finite adjunction use the |
| 12 | same affine pullback, including the literal closed-scheme scalar coordinates. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _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.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections |
| 19 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 20 | attribute [local instance] Principal.OrientedResidue.structure_quasicoherent |
| 21 | variable {Y X Z : Scheme.{u}} (f : Y ⟶ X) [IsFinite f] |
| 22 | (i : X ⟶ Z) [IsClosedImmersion i] (U : Z.Opens) (hU : IsAffineOpen U) |
| 23 | |
| 24 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedQuotient.directImage i |
| 25 | local notation "MC" => OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.StructurePullbackUnit.coefficients f i |
| 26 | private abbrev ambientRing := Γ(Z, U) |
| 27 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.ResiduePullback.ambientRing U |
| 28 | local instance coefficient_qc : (MC).IsQuasicoherent := |
| 29 | Finite.MapPureTrace.coefficients_quasicoherent f i |
| 30 | |
| 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 | |
| 44 | abbrev scalarResolution := Affine.OrientedPurity.resolution U hU K M ε |
| 45 | (KoszulPartial.Resolution.normalIdeal A s) (Principal.OrientedResidue.quotientIso i U hU s hs) |
| 46 | |
| 47 | local notation "PC" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CoefficientResidueData.coefficientResolution U hU MC L ε' |
| 48 | (ModuleCat.of A (Finite.FlatCoefficientSections.coefficientRing f i U)) (Finite.FlatCoefficientSections.chartIso f i U hU) |
| 49 | private abbrev lineSections := (AffineOpen.InternalHom.sections U hU).obj N |
| 50 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps.homFunctor A (OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.ResiduePullback.lineSections U hU N) |
| 51 | |
| 52 | omit [N.IsQuasicoherent] in |
| 53 | theorem «section» (z : Γ((Affine.LinearResolutionPurity.internalComplex N L).homology c, U)) |
| 54 | (x : Finite.FlatCoefficientSections.coefficientRing f i U) : |
| 55 | letI := QuotientAction.algebra f i U hU s hs |
| 56 | letI := QuotientAction.tower f i U hU s hs |
| 57 | Principal.CoefficientResidueSurvivor.sectionMap U hU N e MC L ε' |
| 58 | (ModuleCat.of A (Finite.FlatCoefficientSections.coefficientRing f i U)) (Finite.FlatCoefficientSections.chartIso f i U hU) i s hs hreg |
| 59 | (Koszul.CoefficientPointFraction.vector A s (Finite.FlatCoefficientSections.coefficientRing f i U) x) |
| 60 | (scalarResolution i U hU K ε s hs) z = |
| 61 | PrincipalResidue.SurvivorSection.sectionMap U hU N e K i ε s hs hreg |
| 62 | (Affine.CoefficientRestriction.pullback U hU N K L (Principal.ClosedQuotient.directImage i) (Cech.StructurePullbackUnit.coefficients f i) ε ε' |
| 63 | (Finite.FlatCoefficientSections.quotientRing i U) (Finite.FlatCoefficientSections.coefficientRing f i U) |
| 64 | (RestrictionNormalization.scalarChartIso i U hU) |
| 65 | (Finite.FlatCoefficientSections.chartIso f i U hU) c z x) := by |
| 66 | let := QuotientAction.algebra f i U hU s hs |
| 67 | let := QuotientAction.tower f i U hU s hs |
| 68 | have hm := Resolution.CoefficientCoordinates.map F |
| 69 | (AffineOpen.Resolution.ofAugmentation U hU M K ε) PC |
| 70 | (Principal.OrientedResidue.quotientIso i U hU s hs) |
| 71 | (RestrictionNormalization.scalarChartIso i U hU) |
| 72 | (Koszul.CoefficientPointFraction.vector A s (Finite.FlatCoefficientSections.coefficientRing f i U) x) |
| 73 | (Quotient.CoefficientEvaluation.point A (Finite.FlatCoefficientSections.quotientRing i U) (Finite.FlatCoefficientSections.coefficientRing f i U) x) |
| 74 | (VectorCoordinates.vector f i U hU s hs x) c |
| 75 | have hp := Affine.CoefficientRestriction.comparison_pullback U hU N K L M MC ε ε' |
| 76 | (Finite.FlatCoefficientSections.quotientRing i U) (Finite.FlatCoefficientSections.coefficientRing f i U) |
| 77 | (RestrictionNormalization.scalarChartIso i U hU) |
| 78 | (Finite.FlatCoefficientSections.chartIso f i U hU) c z x |
| 79 | have hc := ConcreteCategory.congr_hom hm |
| 80 | ((AffinePrincipal.Cohomology.Comparison.comparison U hU N L c).hom z) |
| 81 | have h := hp.trans hc.symm |
| 82 | dsimp only [Principal.CoefficientResidueSurvivor.sectionMap, PrincipalResidue.SurvivorSection.sectionMap, |
| 83 | Affine.OrientedPurity.iso, AffinePrincipal.Cohomology.Comparison.comparison, |
| 84 | Iso.trans_hom, homologyMapIso_hom, ConcreteCategory.comp_apply] |
| 85 | apply congrArg ((PrincipalResidue.SurvivorSection.coefficientIso U hU i s hs).inv) |
| 86 | apply congrArg ((LinearHomOrientedPurity.iso A |
| 87 | (KoszulPartial.Resolution.normalIdeal A s) s rfl hreg |
| 88 | (scalarResolution i U hU K ε s hs) ((AffineOpen.InternalHom.sections U hU).obj N) |
| 89 | (Principal.OrientedResidueNormalizationBase.lineIso U hU N e)).hom) |
| 90 | exact h.symm |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.ResiduePullback |