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.OrientedResidue |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.AtOne |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ResidueHomology |
| 4 | |
| 5 | /-! # Oriented Residue Normalization Base -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OrientedResidueNormalizationBase |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The principal normal-residue representative is normalized by the |
| 12 | same affine frame and canonical resolution comparison as the original |
| 13 | oriented local adjunction. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 23 | |
| 24 | variable {Y : Scheme.{u}} (U : Y.Opens) (hU : IsAffineOpen U) |
| 25 | (N : Y.Modules) [N.IsQuasicoherent] |
| 26 | (e : Γ(N, U) ≃ₗ[Γ(Y, U)] Γ(Y, U)) |
| 27 | |
| 28 | theorem frame_restriction (r : SectionPresheaf.Index U) (x : Γ(N, U)) : |
| 29 | LineFrame.frame U hU N e r (N.presheaf.map (SectionPresheaf.inclusion U r).op x) = |
| 30 | algebraMap Γ(Y, U) Γ(Y, SectionPresheaf.openSubset U r) (e x) := by |
| 31 | apply (LineFrame.frame U hU N e r).symm.injective |
| 32 | rw [LinearEquiv.symm_apply_apply, LineFrame.frame_symm] |
| 33 | have hx : x = e x • e.symm 1 := by |
| 34 | apply e.injective |
| 35 | simp only [map_smul, LinearEquiv.apply_symm_apply, smul_eq_mul, mul_one] |
| 36 | calc |
| 37 | N.presheaf.map (SectionPresheaf.inclusion U r).op x = |
| 38 | N.presheaf.map (SectionPresheaf.inclusion U r).op (e x • e.symm 1) := congrArg _ hx |
| 39 | _ = _ := N.map_smul (SectionPresheaf.inclusion U r) (e x) (e.symm 1) |
| 40 | |
| 41 | theorem framed_restriction (M : Y.Modules) [M.IsQuasicoherent] |
| 42 | (r : SectionPresheaf.Index U) (a : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, U)) (x : Γ(M, U)) : |
| 43 | LineFrame.frame U hU N e r |
| 44 | ((show Γ(M, U) →ₗ[Γ(Y, U)] Γ(N, SectionPresheaf.openSubset U r) from |
| 45 | (InternalHom.iso U hU M N).hom.app (op r) |
| 46 | ((ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N).presheaf.map (SectionPresheaf.inclusion U r).op a)) x) = |
| 47 | algebraMap Γ(Y, U) Γ(Y, SectionPresheaf.openSubset U r) |
| 48 | (e (Affine.HomEvaluation.evaluation M N U a x)) := by |
| 49 | rw [InternalHom.hom_apply, Affine.HomEvaluation.restriction, |
| 50 | frame_restriction] |
| 51 | |
| 52 | def scalarAtOne : Γ(Y, U) ≃ₗ[Γ(Y, U)] Γ(Y, SectionPresheaf.openSubset U (AtOne.object U)) := |
| 53 | AtOne.equiv U (SheafOfModules.unit Y.ringCatSheaf) |
| 54 | |
| 55 | theorem scalarAtOne_apply (a : Γ(Y, U)) : |
| 56 | scalarAtOne U a = algebraMap Γ(Y, U) Γ(Y, SectionPresheaf.openSubset U (AtOne.object U)) a := rfl |
| 57 | |
| 58 | variable (K : ChainComplex Y.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 59 | |
| 60 | def sourceAtOneIso : |
| 61 | (((AffineOpen.LinearHom.sectionHom U N).mapHomologicalComplex (.up ℕ)).obj K.op) ≅ |
| 62 | (((evaluation (SectionPresheaf.Index U)ᵒᵖ (ModuleCat Γ(Y, U))).obj (op (AtOne.object U))).mapHomologicalComplex |
| 63 | (.up ℕ)).obj (Koszul.Comparison.nativeComplex U hU N K) := |
| 64 | (NatIso.mapHomologicalComplex (AtOne.iso U hU) (.up ℕ)).app |
| 65 | (Affine.LinearResolutionPurity.internalComplex N K) |
| 66 | |
| 67 | def lineIso : (AffineOpen.InternalHom.sections U hU).obj N ≅ ModuleCat.of Γ(Y, U) Γ(Y, U) := |
| 68 | (Affine.ChartSections.iso U hU N).symm ≪≫ e.toModuleIso |
| 69 | |
| 70 | def affineDualIso : |
| 71 | (((AffineOpen.LinearHom.sectionHom U N).mapHomologicalComplex (.up ℕ)).obj K.op) ≅ |
| 72 | DualComplexHomology.complex Γ(Y, U) |
| 73 | (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).obj K) := |
| 74 | Affine.LinearResolutionPurity.sectionComplexIso U hU N K ≪≫ |
| 75 | (NatIso.mapHomologicalComplex |
| 76 | ((linearYoneda Γ(Y, U) (ModuleCat Γ(Y, U))).mapIso (lineIso U hU N e)) (.up ℕ)).app |
| 77 | ((((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).obj K).op) ≪≫ |
| 78 | LinearHomDualPurity.complexIso Γ(Y, U) |
| 79 | (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).obj K) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OrientedResidueNormalizationBase |