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.Trace.DualityComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopDuality |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativeResolution |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DualComplexHomology |
| 5 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 6 | |
| 7 | /-! # Duality -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.Duality |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual negative-twist resolution pairs termwise with its top |
| 14 | projective Čech cohomology. The native trace therefore identifies its Hom |
| 15 | complex with the coefficient dual of the top-cohomology complex. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing |
| 23 | |
| 24 | universe u |
| 25 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 26 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 27 | |
| 28 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 29 | |
| 30 | local notation "C₀" => OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing.coefficientRing R |
| 31 | |
| 32 | variable (M : (Proj (homogeneousSubmodule σ R)).Modules) |
| 33 | [M.IsQuasicoherent] [M.IsFiniteType] (j : σ) (B : ℕ) |
| 34 | |
| 35 | instance term_quasicoherent (i : ℕ) : |
| 36 | ((Projective.NegativeResolution.complex M j B).X i).IsQuasicoherent := |
| 37 | inferInstanceAs ((Projective.NegativeResolution.presentation |
| 38 | (Projective.NegativeResolution.state M j B i).module j B).source.IsQuasicoherent) |
| 39 | |
| 40 | instance term_finiteType (i : ℕ) : |
| 41 | ((Projective.NegativeResolution.complex M j B).X i).IsFiniteType := |
| 42 | inferInstanceAs ((Projective.NegativeResolution.presentation |
| 43 | (Projective.NegativeResolution.state M j B i).module j B).source.IsFiniteType) |
| 44 | |
| 45 | theorem term_pairing_bijective (n : ℕ) (hn : Fintype.card σ = n + 2) (i : ℕ) : |
| 46 | Function.Bijective (Trace.DualityDescent.pairingMap |
| 47 | (Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n) (Projective.TopTracePairing.trace (R := R) n hn) |
| 48 | ((Projective.NegativeResolution.complex M j B).X i)) := |
| 49 | Projective.TopDuality.pairing_bijective n hn _ |
| 50 | |
| 51 | abbrev homComplex (n : ℕ) (hn : Fintype.card σ = n + 2) := |
| 52 | ((preadditiveYoneda.obj (Projective.TopTracePairing.canonicalTwist (R := R) n hn)).mapHomologicalComplex |
| 53 | (ComplexShape.down ℕ).symm).obj (Projective.NegativeResolution.complex M j B).op |
| 54 | |
| 55 | abbrev topComplex (n : ℕ) := |
| 56 | ((Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n).mapHomologicalComplex (ComplexShape.down ℕ)).obj |
| 57 | (Projective.NegativeResolution.complex M j B) |
| 58 | |
| 59 | abbrev dualTopComplex (n : ℕ) := |
| 60 | DualComplexHomology.complex C₀ (topComplex M j B n) |
| 61 | |
| 62 | abbrev additiveDualTopComplex (n : ℕ) := |
| 63 | ((forget₂ (ModuleCat.{u} C₀) AddCommGrpCat).mapHomologicalComplex |
| 64 | (ComplexShape.down ℕ).symm).obj (dualTopComplex M j B n) |
| 65 | |
| 66 | def complexIso (n : ℕ) (hn : Fintype.card σ = n + 2) : |
| 67 | homComplex M j B n hn ≅ additiveDualTopComplex M j B n := |
| 68 | Trace.DualityComplex.complexIso C₀ (Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n) |
| 69 | (Projective.TopTracePairing.trace (R := R) n hn) (ComplexShape.down ℕ).symm |
| 70 | (Projective.NegativeResolution.complex M j B).op |
| 71 | (term_pairing_bijective M j B n hn) |
| 72 | |
| 73 | @[simp] theorem complexIso_hom_f_apply (n : ℕ) (hn : Fintype.card σ = n + 2) |
| 74 | (i : ℕ) (f : (Projective.NegativeResolution.complex M j B).X i ⟶ Projective.TopTracePairing.canonicalTwist (R := R) n hn) : |
| 75 | (complexIso M j B n hn).hom.f i f = |
| 76 | ((Projective.TopTracePairing.topFunctor (R := R) (σ := σ) n).map f ≫ Projective.TopTracePairing.trace (R := R) n hn).hom := rfl |
| 77 | |
| 78 | variable [Module.Injective (Projective.TopTracePairing.coefficientRing R) (Projective.TopTracePairing.coefficientRing R)] |
| 79 | |
| 80 | def homologyIso (n : ℕ) (hn : Fintype.card σ = n + 2) (i : ℕ) : |
| 81 | (homComplex M j B n hn).homology i ≅ |
| 82 | AddCommGrpCat.of (Module.Dual C₀ ((topComplex M j B n).homology i)) := |
| 83 | (HomologicalComplex.homologyFunctor AddCommGrpCat (ComplexShape.down ℕ).symm i).mapIso |
| 84 | (complexIso M j B n hn) ≪≫ |
| 85 | ((dualTopComplex M j B n).sc i).mapHomologyIso (forget₂ (ModuleCat.{u} C₀) AddCommGrpCat) ≪≫ |
| 86 | (forget₂ (ModuleCat.{u} C₀) AddCommGrpCat).mapIso |
| 87 | (DualComplexHomology.homologyIso C₀ (topComplex M j B n) i) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.Duality |