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.AlgebraicGeometry.Quotients.FiniteDescent.AffineGeometric |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 3 | import Mathlib.Algebra.Category.Ring.Constructions |
| 4 | import Mathlib.RingTheory.IsTensorProduct |
| 5 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PushoutModule |
| 6 | |
| 7 | /-! # Affine Square -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineSquare |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Sections in an affine Cartesian square satisfy the canonical tensor base-change formula. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open scoped TensorProduct ChangeOfRings |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace Construction.AffineSquareSections |
| 23 | |
| 24 | variable {X Y S T : Scheme.{u}} [IsAffine X] [IsAffine S] [IsAffine T] |
| 25 | variable (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 26 | variable (h : IsPullback f ρ π g) (M : X.Modules) [M.IsQuasicoherent] |
| 27 | |
| 28 | def iso : |
| 29 | (ModuleCat.extendScalars g.appTop.hom).obj |
| 30 | ((ModuleCat.restrictScalars π.appTop.hom).obj ((AffineSectionIs.Construction.AffineSectionAdjunction.sections X).obj M)) ≅ |
| 31 | (ModuleCat.restrictScalars ρ.appTop.hom).obj |
| 32 | ((AffineSectionIs.Construction.AffineSectionAdjunction.sections Y).obj ((Scheme.Modules.pullback f).obj M)) := by |
| 33 | have : IsAffine Y := .of_isPullback h |
| 34 | let : Algebra Γ(S, ⊤) Γ(X, ⊤) := π.appTop.hom.toAlgebra |
| 35 | let : Algebra Γ(S, ⊤) Γ(T, ⊤) := g.appTop.hom.toAlgebra |
| 36 | let : Algebra Γ(X, ⊤) Γ(Y, ⊤) := f.appTop.hom.toAlgebra |
| 37 | let : Algebra Γ(T, ⊤) Γ(Y, ⊤) := ρ.appTop.hom.toAlgebra |
| 38 | let : Algebra Γ(S, ⊤) Γ(Y, ⊤) := (π.appTop ≫ f.appTop).hom.toAlgebra |
| 39 | have : IsScalarTower Γ(S, ⊤) Γ(X, ⊤) Γ(Y, ⊤) := |
| 40 | IsScalarTower.of_algebraMap_eq' rfl |
| 41 | have hw : π.appTop ≫ f.appTop = g.appTop ≫ ρ.appTop := |
| 42 | (isPushout_appTop_of_isPullback h).w |
| 43 | have : IsScalarTower Γ(S, ⊤) Γ(T, ⊤) Γ(Y, ⊤) := |
| 44 | IsScalarTower.of_algebraMap_eq' (congrArg CommRingCat.Hom.hom hw) |
| 45 | have : Algebra.IsPushout Γ(S, ⊤) Γ(T, ⊤) Γ(X, ⊤) Γ(Y, ⊤) := |
| 46 | CommRingCat.isPushout_iff_isPushout.mp (isPushout_appTop_of_isPullback h).flip |
| 47 | let N := (AffineSectionIs.Construction.AffineSectionAdjunction.sections X).obj M |
| 48 | let : Module Γ(S, ⊤) N := Module.compHom N π.appTop.hom |
| 49 | have : IsScalarTower Γ(S, ⊤) Γ(X, ⊤) N := |
| 50 | IsScalarTower.of_algebraMap_smul (fun _ _ => rfl) |
| 51 | let P := (AffineSectionIs.Construction.AffineSectionAdjunction.sections Y).obj ((Scheme.Modules.pullback f).obj M) |
| 52 | let : Module Γ(T, ⊤) P := Module.compHom P ρ.appTop.hom |
| 53 | have : IsScalarTower Γ(T, ⊤) Γ(Y, ⊤) P := |
| 54 | IsScalarTower.of_algebraMap_smul (fun _ _ => rfl) |
| 55 | let q : Γ(Y, ⊤) ⊗[Γ(X, ⊤)] N ≃ₗ[Γ(Y, ⊤)] P := |
| 56 | (AffineGeometric.Construction.AffineGeometricSections.iso f M).toLinearEquiv |
| 57 | exact PushoutModule.Construction.PushoutModuleIso.iso Γ(S, ⊤) Γ(X, ⊤) Γ(T, ⊤) Γ(Y, ⊤) N P q |
| 58 | |
| 59 | theorem one_tmul (s : (AffineSectionIs.Construction.AffineSectionAdjunction.sections X).obj M) : |
| 60 | (iso f π ρ g h M).hom ((1 : Γ(T, ⊤)) ⊗ₜ[Γ(S, ⊤),g.appTop.hom] |
| 61 | (show (ModuleCat.restrictScalars π.appTop.hom).obj ((AffineSectionIs.Construction.AffineSectionAdjunction.sections X).obj M) from s)) = |
| 62 | PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map f M ⊤ s := by |
| 63 | have : IsAffine Y := .of_isPullback h |
| 64 | let : Algebra Γ(S, ⊤) Γ(X, ⊤) := π.appTop.hom.toAlgebra |
| 65 | let : Algebra Γ(S, ⊤) Γ(T, ⊤) := g.appTop.hom.toAlgebra |
| 66 | let : Algebra Γ(X, ⊤) Γ(Y, ⊤) := f.appTop.hom.toAlgebra |
| 67 | let : Algebra Γ(T, ⊤) Γ(Y, ⊤) := ρ.appTop.hom.toAlgebra |
| 68 | let : Algebra Γ(S, ⊤) Γ(Y, ⊤) := (π.appTop ≫ f.appTop).hom.toAlgebra |
| 69 | have : IsScalarTower Γ(S, ⊤) Γ(X, ⊤) Γ(Y, ⊤) := |
| 70 | IsScalarTower.of_algebraMap_eq' rfl |
| 71 | have hw : π.appTop ≫ f.appTop = g.appTop ≫ ρ.appTop := |
| 72 | (isPushout_appTop_of_isPullback h).w |
| 73 | have : IsScalarTower Γ(S, ⊤) Γ(T, ⊤) Γ(Y, ⊤) := |
| 74 | IsScalarTower.of_algebraMap_eq' (congrArg CommRingCat.Hom.hom hw) |
| 75 | have : Algebra.IsPushout Γ(S, ⊤) Γ(T, ⊤) Γ(X, ⊤) Γ(Y, ⊤) := |
| 76 | CommRingCat.isPushout_iff_isPushout.mp (isPushout_appTop_of_isPullback h).flip |
| 77 | let N := (AffineSectionIs.Construction.AffineSectionAdjunction.sections X).obj M |
| 78 | let : Module Γ(S, ⊤) N := Module.compHom N π.appTop.hom |
| 79 | have : IsScalarTower Γ(S, ⊤) Γ(X, ⊤) N := |
| 80 | IsScalarTower.of_algebraMap_smul (fun _ _ => rfl) |
| 81 | let P := (AffineSectionIs.Construction.AffineSectionAdjunction.sections Y).obj ((Scheme.Modules.pullback f).obj M) |
| 82 | let : Module Γ(T, ⊤) P := Module.compHom P ρ.appTop.hom |
| 83 | have : IsScalarTower Γ(T, ⊤) Γ(Y, ⊤) P := |
| 84 | IsScalarTower.of_algebraMap_smul (fun _ _ => rfl) |
| 85 | let q : Γ(Y, ⊤) ⊗[Γ(X, ⊤)] N ≃ₗ[Γ(Y, ⊤)] P := |
| 86 | (AffineGeometric.Construction.AffineGeometricSections.iso f M).toLinearEquiv |
| 87 | exact (PushoutModule.Construction.PushoutModuleIso.one_tmul Γ(S, ⊤) Γ(X, ⊤) Γ(T, ⊤) Γ(Y, ⊤) N P q s).trans |
| 88 | (AffineGeometric.Construction.AffineGeometricSections.one_tmul f M s) |
| 89 | |
| 90 | end Construction.AffineSquareSections |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineSquare |