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.Affine.LiteralHomEquiv |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections |
| 3 | import Mathlib.RingTheory.TensorProduct.Basic |
| 4 | |
| 5 | /-! # Literal Hom Equiv -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.LiteralHomEquiv |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! On a principal affine subopen the original sheaf Hom is the Hom |
| 12 | from the original ambient affine section module to the restricted target. |
| 13 | The normalization is literal restriction followed by evaluation. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped TensorProduct |
| 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.AffinePrincipal.Sections OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.HomEvaluation |
| 21 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (r : Γ(X, U)) |
| 22 | |
| 23 | local instance sectionModule (M : X.Modules) : Module Γ(X, U) Γ(M, AffinePrincipal.Sections.openSubset U r) := |
| 24 | Module.compHom _ (algebraMap Γ(X, U) Γ(X, AffinePrincipal.Sections.openSubset U r)) |
| 25 | local instance sectionTower (M : X.Modules) : |
| 26 | IsScalarTower Γ(X, U) Γ(X, AffinePrincipal.Sections.openSubset U r) Γ(M, AffinePrincipal.Sections.openSubset U r) where |
| 27 | smul_assoc a b m := by |
| 28 | change (algebraMap Γ(X, U) Γ(X, AffinePrincipal.Sections.openSubset U r) a * b) • m = |
| 29 | algebraMap Γ(X, U) Γ(X, AffinePrincipal.Sections.openSubset U r) a • (b • m) |
| 30 | exact mul_smul _ _ _ |
| 31 | |
| 32 | variable (M N : X.Modules) [M.IsQuasicoherent] |
| 33 | |
| 34 | def equiv : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, AffinePrincipal.Sections.openSubset U r) ≃ₗ[Γ(X, U)] |
| 35 | (Γ(M, U) →ₗ[Γ(X, U)] Γ(N, AffinePrincipal.Sections.openSubset U r)) := |
| 36 | ((Affine.LiteralHomEquiv.equiv (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) M N).trans |
| 37 | ((LinearEquiv.arrowCongr (AffinePrincipal.Sections.iso U hU r M).symm |
| 38 | (LinearEquiv.refl Γ(X, AffinePrincipal.Sections.openSubset U r) Γ(N, AffinePrincipal.Sections.openSubset U r))).trans |
| 39 | (LinearMap.liftBaseChangeEquiv Γ(X, AffinePrincipal.Sections.openSubset U r)).symm)).restrictScalars Γ(X, U) |
| 40 | |
| 41 | theorem equiv_apply (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M N, AffinePrincipal.Sections.openSubset U r)) (m : Γ(M, U)) : |
| 42 | equiv U hU r M N q m = |
| 43 | Affine.HomEvaluation.evaluation M N (AffinePrincipal.Sections.openSubset U r) q (M.presheaf.map (AffinePrincipal.Sections.inclusion U r).op m) := by |
| 44 | change Affine.HomEvaluation.evaluation M N (AffinePrincipal.Sections.openSubset U r) q |
| 45 | (AffinePrincipal.Sections.iso U hU r M (1 ⊗ₜ[Γ(X, U)] m)) = _ |
| 46 | rw [AffinePrincipal.Sections.iso_tmul_one] |
| 47 | |
| 48 | theorem precomp {M' : X.Modules} [M'.IsQuasicoherent] (f : M ⟶ M') |
| 49 | (q : Γ(ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomModule.Construction.sheafHomModule M' N, AffinePrincipal.Sections.openSubset U r)) (m : Γ(M, U)) : |
| 50 | equiv U hU r M N ((ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomFunctoriality.Construction.sheafHomMap f (𝟙 N)).val.app (op (AffinePrincipal.Sections.openSubset U r)) q) m = |
| 51 | equiv U hU r M' N q (f.val.app (op U) m) := by |
| 52 | rw [equiv_apply, equiv_apply] |
| 53 | change Affine.HomEvaluation.evaluation M' N (AffinePrincipal.Sections.openSubset U r) q |
| 54 | (f.val.app (op (AffinePrincipal.Sections.openSubset U r)) (M.presheaf.map (AffinePrincipal.Sections.inclusion U r).op m)) = _ |
| 55 | exact congrArg (Affine.HomEvaluation.evaluation M' N (AffinePrincipal.Sections.openSubset U r) q) |
| 56 | (PresheafOfModules.naturality_apply f.val (AffinePrincipal.Sections.inclusion U r).op m) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.LiteralHomEquiv |