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.Projective.PurityConcentration |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.LocalDualLine |
| 3 | |
| 4 | /-! # Complement Adjunction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ComplementAdjunction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On an affine open outside a closed subscheme, both the original |
| 11 | dual cohomology and every direct-image module vanish. Their unique |
| 12 | identification is the complement piece of local adjunction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | section DirectImage |
| 22 | |
| 23 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (N : X.Modules) (U : Y.Opens) |
| 24 | (hunit : RingHom.ker (f.app U).hom = ⊤) |
| 25 | |
| 26 | include hunit in |
| 27 | theorem directImage_sections_zero : |
| 28 | IsZero ((Affine.ModuleExactSections.sections U).obj |
| 29 | ((Scheme.Modules.pushforward f).obj N)) := by |
| 30 | have h1 : (f.app U).hom 1 = 0 := by |
| 31 | change (1 : Γ(Y, U)) ∈ RingHom.ker (f.app U).hom |
| 32 | rw [hunit] |
| 33 | trivial |
| 34 | have h01 : (0 : Γ(X, f ⁻¹ᵁ U)) = 1 := h1.symm.trans (map_one _) |
| 35 | let : Subsingleton Γ(X, f ⁻¹ᵁ U) := subsingleton_of_zero_eq_one h01 |
| 36 | apply ModuleCat.isZero_iff_subsingleton.mpr |
| 37 | change Subsingleton Γ(N, f ⁻¹ᵁ U) |
| 38 | exact Module.subsingleton Γ(X, f ⁻¹ᵁ U) _ |
| 39 | |
| 40 | end DirectImage |
| 41 | |
| 42 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 43 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 44 | |
| 45 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 46 | |
| 47 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ClosedImmersionPurity |
| 48 | |
| 49 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule σ R)) [IsClosedImmersion f] |
| 50 | (j : σ) (B b : ℕ) (hb : b ≤ B) |
| 51 | (U : (Proj (homogeneousSubmodule σ R)).Opens) (hU : IsAffineOpen U) |
| 52 | (i : σ) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 53 | (hunit : RingHom.ker (f.app U).hom = ⊤) (c : ℕ) |
| 54 | |
| 55 | include hb hU i hUi hunit in |
| 56 | omit [LinearOrder σ] in |
| 57 | theorem dual_sections_zero : |
| 58 | IsZero ((Affine.ModuleExactSections.sections U).obj |
| 59 | ((ClosedImmersionPurity.internalComplex f j B b).homology c)) := by |
| 60 | let (q : ℕ) : ((ClosedImmersionPurity.internalComplex f j B b).X q).IsQuasicoherent := |
| 61 | LocalDualLine.term_quasicoherent f j B b hb q |
| 62 | have h := PurityConcentration.exactAt_of_unit f j B b U hU i hUi hunit c |
| 63 | have hz := (Affine.LocalExactness.homologyIso (ClosedImmersionPurity.internalComplex f j B b) U hU c).isZero_iff.mp |
| 64 | ((HomologicalComplex.exactAt_iff_isZero_homology _ _).mp h) |
| 65 | let := AddCommGrpCat.subsingleton_of_isZero hz |
| 66 | exact ModuleCat.isZero_of_subsingleton _ |
| 67 | |
| 68 | def sectionIso (N : X.Modules) : |
| 69 | (Affine.ModuleExactSections.sections U).obj ((ClosedImmersionPurity.internalComplex f j B b).homology c) ≅ |
| 70 | (Affine.ModuleExactSections.sections U).obj ((Scheme.Modules.pushforward f).obj N) := |
| 71 | (dual_sections_zero f j B b hb U hU i hUi hunit c).isoZero ≪≫ |
| 72 | (directImage_sections_zero f N U hunit).isoZero.symm |
| 73 | |
| 74 | omit [LinearOrder σ] in |
| 75 | theorem sectionIso_hom (N : X.Modules) : |
| 76 | (sectionIso f j B b hb U hU i hUi hunit c N).hom = 0 := |
| 77 | (dual_sections_zero f j B b hb U hU i hUi hunit c).eq_of_src _ _ |
| 78 | |
| 79 | def openIso (N : X.Modules) [N.IsQuasicoherent] : |
| 80 | ((ClosedImmersionPurity.internalComplex f j B b).homology c).restrict U.ι ≅ |
| 81 | ((Scheme.Modules.pushforward f).obj N).restrict U.ι := by |
| 82 | let := LocalDualLine.homology_quasicoherent f j B b hb c |
| 83 | let := AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.Image.quasiCompact_separated_directImage_quasicoherent f N |
| 84 | exact AffineSection.Isomorphism.openIso U hU _ _ |
| 85 | (sectionIso f j B b hb U hU i hUi hunit c N) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ComplementAdjunction |