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.LocalizedParameterBasis |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IdealSheafPrincipalEquations |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicDeRham.SectionRestriction |
| 4 | |
| 5 | /-! # Quotient Basis -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.QuotientBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The quotient differential basis on a principal open is matched to |
| 12 | the literal restrictions of the original ambient parameter lifts. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | variable (R : Type u) [CommRing R] (Y : Over (Spec (CommRingCat.of R))) |
| 18 | (I : Y.left.IdealSheafData) (U : Y.left.Opens) (hU : IsAffineOpen U) (r : Γ(Y.left, U)) |
| 19 | |
| 20 | local instance baseAlgebra (V : Y.left.Opens) : Algebra R Γ(Y.left, V) := |
| 21 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R Y V |
| 22 | local instance scalarTower : IsScalarTower R Γ(Y.left, U) Γ(Y.left, Y.left.basicOpen r) := |
| 23 | IsScalarTower.of_algebraMap_eq (fun a => |
| 24 | (((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R Y).map |
| 25 | (homOfLE (Y.left.basicOpen_le r)).op).hom.commutes a).symm) |
| 26 | |
| 27 | variable {g : ℕ} (b : Module.Basis (Fin g) (Γ(Y.left, U) ⧸ I.ideal ⟨U,hU⟩) |
| 28 | Ω[Γ(Y.left, U) ⧸ I.ideal ⟨U,hU⟩⁄R]) |
| 29 | |
| 30 | def basis : Module.Basis (Fin g) |
| 31 | (Γ(Y.left, Y.left.basicOpen r) ⧸ I.ideal ⟨Y.left.basicOpen r,hU.basicOpen r⟩) |
| 32 | Ω[Γ(Y.left, Y.left.basicOpen r) ⧸ I.ideal ⟨Y.left.basicOpen r,hU.basicOpen r⟩⁄R] := by |
| 33 | letI : IsLocalization.Away r Γ(Y.left, Y.left.basicOpen r) := hU.isLocalization_basicOpen r |
| 34 | exact LocalizedConormalBasisTransport.Bases.quotientBasisOfEq r (I.ideal ⟨U,hU⟩) |
| 35 | (I.ideal ⟨Y.left.basicOpen r,hU.basicOpen r⟩) |
| 36 | (IdealSheafPrincipalEquations.ideal_map I U hU r) b |
| 37 | |
| 38 | variable (t : Fin g → Γ(Y.left, U)) |
| 39 | (hb : ∀ i, b i = KaehlerDifferential.D R (Γ(Y.left, U) ⧸ I.ideal ⟨U,hU⟩) |
| 40 | (Ideal.Quotient.mk _ (t i))) |
| 41 | |
| 42 | include hb in |
| 43 | theorem basis_apply (i : Fin g) : basis R Y I U hU r b i = |
| 44 | KaehlerDifferential.D R (Γ(Y.left, Y.left.basicOpen r) ⧸ |
| 45 | I.ideal ⟨Y.left.basicOpen r,hU.basicOpen r⟩) |
| 46 | (Ideal.Quotient.mk _ (IdealSheafPrincipalEquations.sequence U r t i)) := by |
| 47 | let : IsLocalization.Away r Γ(Y.left, Y.left.basicOpen r) := hU.isLocalization_basicOpen r |
| 48 | exact LocalizedParameterBasis.ConormalBases.quotientBasisOfEq_equations r (I.ideal ⟨U,hU⟩) b t hb |
| 49 | (I.ideal ⟨Y.left.basicOpen r,hU.basicOpen r⟩) |
| 50 | (IdealSheafPrincipalEquations.ideal_map I U hU r) i |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.QuotientBasis |