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.Principal.OrientedResidueNormalizationBase |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.NormalPurity |
| 3 | |
| 4 | /-! # Oriented Residue Normalization -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OrientedResidueNormalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original principal residue, evaluated at the ambient member, |
| 11 | and the intrinsic affine oriented-purity map use the same normalization. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 21 | |
| 22 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 23 | (N : Y.Modules) [N.IsQuasicoherent] |
| 24 | (e : Γ(N, U) ≃ₗ[Γ(Y, U)] Γ(Y, U)) |
| 25 | (K : ChainComplex Y.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 26 | {X : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 27 | (ε : K ⟶ (ChainComplex.single₀ Y.Modules).obj (ClosedQuotient.directImage f)) |
| 28 | [QuasiIso ε] [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 29 | {c : ℕ} (s : Fin c → Γ(Y, U)) |
| 30 | (hs : Koszul.OrientedTopCohomology.ideal Γ(Y, U) s = f.ker.ideal ⟨U, hU⟩) |
| 31 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(Y, U) (List.ofFn s)) |
| 32 | |
| 33 | attribute [local instance] OrientedResidue.structure_quasicoherent |
| 34 | |
| 35 | abbrev sectionRing : Type u := Γ(Y, U) |
| 36 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OrientedResidueNormalization.sectionRing U |
| 37 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.ClosedQuotient.directImage f |
| 38 | local notation "J" => OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution.normalIdeal R s |
| 39 | local notation "r₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AtOne.object U |
| 40 | |
| 41 | abbrev atOneFunctor := (evaluation (SectionPresheaf.Index U)ᵒᵖ (ModuleCat R)).obj (op r₁) |
| 42 | |
| 43 | def targetAtOne : (ClosedKoszulResidue.target f U hU).obj (op r₁) ≅ |
| 44 | ModuleCat.of R (R ⧸ J) := |
| 45 | ((AtOne.iso U hU).app M).symm ≪≫ |
| 46 | Affine.ChartSections.iso U hU M ≪≫ |
| 47 | OrientedResidue.quotientIso f U hU s hs |
| 48 | |
| 49 | theorem targetAtOne_pullback (a : R) : |
| 50 | (targetAtOne U hU f s hs).hom |
| 51 | (f.app (SectionPresheaf.openSubset U r₁) (algebraMap R Γ(Y, SectionPresheaf.openSubset U r₁) a)) = |
| 52 | Ideal.Quotient.mk J a := by |
| 53 | have ha : ((AtOne.iso U hU).app M).hom (f.app U a) = |
| 54 | f.app (SectionPresheaf.openSubset U r₁) (algebraMap R Γ(Y, SectionPresheaf.openSubset U r₁) a) := |
| 55 | (ConcreteCategory.congr_hom (f.naturality (SectionPresheaf.inclusion U r₁).op) a).symm |
| 56 | change (OrientedResidue.quotientIso f U hU s hs).hom |
| 57 | ((Affine.ChartSections.iso U hU M).hom |
| 58 | (((AtOne.iso U hU).app M).inv |
| 59 | (f.app (SectionPresheaf.openSubset U r₁) (algebraMap R Γ(Y, SectionPresheaf.openSubset U r₁) a)))) = _ |
| 60 | rw [← ha, Iso.hom_inv_id_apply] |
| 61 | change (Ideal.quotientEquivAlgOfEq R hs.symm) |
| 62 | ((Closed.QuotientSectionNormalization.chartIso f U hU).hom |
| 63 | ((Affine.ChartSections.iso U hU M).hom (f.app U a))) = _ |
| 64 | rw [Closed.QuotientSectionNormalization.chartIso_apply, |
| 65 | Closed.QuotientSectionNormalization.iso_pullback, Ideal.quotientEquivAlgOfEq_mk] |
| 66 | |
| 67 | abbrev coefficientResolution := Affine.OrientedPurity.resolution U hU K M ε J |
| 68 | (OrientedResidue.quotientIso f U hU s hs) |
| 69 | |
| 70 | def normalizedMap : |
| 71 | (((AffineOpen.LinearHom.sectionHom U N).mapHomologicalComplex (.up ℕ)).obj K.op) ⟶ |
| 72 | (single (ModuleCat R) (.up ℕ) c).obj (ModuleCat.of R (R ⧸ J)) := |
| 73 | (OrientedResidueNormalizationBase.sourceAtOneIso U hU N K).hom ≫ |
| 74 | ((atOneFunctor U).mapHomologicalComplex (.up ℕ)).map |
| 75 | (OrientedResidue.map f U hU N e K ε s hs hreg) ≫ |
| 76 | (singleMapHomologicalComplex (atOneFunctor U) (.up ℕ) c).hom.app |
| 77 | (ClosedKoszulResidue.target f U hU) ≫ |
| 78 | (single (ModuleCat R) (.up ℕ) c).map (targetAtOne U hU f s hs).hom |
| 79 | |
| 80 | def canonicalMap : |
| 81 | (((AffineOpen.LinearHom.sectionHom U N).mapHomologicalComplex (.up ℕ)).obj K.op) ⟶ |
| 82 | (single (ModuleCat R) (.up ℕ) c).obj (ModuleCat.of R (R ⧸ J)) := |
| 83 | (OrientedResidueNormalizationBase.affineDualIso U hU N e K).hom ≫ |
| 84 | Koszul.NormalPurity.map R s hreg (coefficientResolution U hU K f ε s hs) |
| 85 | |
| 86 | omit [N.IsQuasicoherent] in |
| 87 | theorem canonical_homology : |
| 88 | homologyMap (canonicalMap U hU N e K f ε s hs hreg) c ≫ |
| 89 | (singleObjHomologySelfIso (.up ℕ) c (ModuleCat.of R (R ⧸ J))).hom = |
| 90 | homologyMap (Affine.LinearResolutionPurity.sectionComplexIso U hU N K).hom c ≫ |
| 91 | (LinearHomOrientedPurity.iso R J s rfl hreg |
| 92 | (coefficientResolution U hU K f ε s hs) ((AffineOpen.InternalHom.sections U hU).obj N) |
| 93 | (OrientedResidueNormalizationBase.lineIso U hU N e)).hom := by |
| 94 | rw [canonicalMap, homologyMap_comp, Category.assoc, Koszul.NormalPurity.homology] |
| 95 | simp only [OrientedResidueNormalizationBase.affineDualIso, LinearHomOrientedPurity.iso, |
| 96 | LinearHomDualPurity.targetHomologyIso, LinearHomDualPurity.homologyIso, |
| 97 | Iso.trans_hom, homologyMap_comp, homologyMapIso_hom, Category.assoc] |
| 98 | rfl |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OrientedResidueNormalization |