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.Coherent.EulerIndex |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechAllDegrees |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechPushforward |
| 4 | |
| 5 | /-! # Euler Functoriality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.EulerFunctoriality.ProjectiveK |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The coherent Euler index computes the genuine sheaf cohomology, so |
| 12 | it is independent of the projective embedding and respects affine |
| 13 | direct image over the specified coefficient field. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechAllDegrees |
| 18 | |
| 19 | universe u |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | |
| 22 | def coherentCohomologyDimension {K : Type u} [Field K] {A : Scheme.{u}} |
| 23 | (ρ : A ⟶ Spec (CommRingCat.of K)) (M : A.Modules) (q : ℕ) : ℕ := |
| 24 | letI := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule ρ M q |
| 25 | Module.finrank Γ(Spec (CommRingCat.of K), ⊤) (AlgebraicGeometry.SheafCohomology.AffineH.Projective.H M q) |
| 26 | |
| 27 | theorem coherentCohomologyDimension_eq_cech |
| 28 | {K : Type u} [Field K] {A : Scheme.{u}} [A.IsSeparated] |
| 29 | (ρ : A ⟶ Spec (CommRingCat.of K)) (M : A.Modules) [M.IsQuasicoherent] |
| 30 | {ι : Type u} [LinearOrder ι] (U : ι → A.Opens) (hU : IsOpenCover U) |
| 31 | (hUaff : ∀ i, IsAffineOpen (U i)) (q : ℕ) : |
| 32 | coherentCohomologyDimension ρ M q = |
| 33 | Module.finrank Γ(Spec (CommRingCat.of K), ⊤) |
| 34 | ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex ρ M U).homology q) := by |
| 35 | let := AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule ρ M q |
| 36 | exact (AlgebraicGeometry.SheafCohomology.Projective.BaseCechAllDegrees.orderedBaseCechHomologyAffineHLinearEquiv ρ M U hU hUaff q).finrank_eq.symm |
| 37 | |
| 38 | variable {K : Type u} [Field K] {r : ℕ} {A : Scheme.{u}} [A.IsSeparated] |
| 39 | (f : A ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) |
| 40 | [IsClosedImmersion f] |
| 41 | |
| 42 | theorem coherentEuler_eq_sum_native |
| 43 | (ρ : A ⟶ Spec (CommRingCat.of K)) |
| 44 | (hf : f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = ρ) |
| 45 | (M : A.Modules) [M.IsQuasicoherent] (b : ℕ) (hb : r + 1 ≤ b) : |
| 46 | EulerIndex.ProjectiveK.coherentEuler f M = ∑ q ∈ Finset.range b, |
| 47 | (-1 : ℤ) ^ q * (coherentCohomologyDimension ρ M q : ℤ) := by |
| 48 | subst ρ |
| 49 | unfold EulerIndex.ProjectiveK.coherentEuler |
| 50 | rw [AlgebraicGeometry.SheafCohomology.Projective.EulerRange.MvPolynomial.projectiveSheafEuler_eq_sum_range _ AlgebraicGeometry.FormalGeometry.Completion.Projective.Numerics.Construction.fieldSpec_sections_isField b hb] |
| 51 | let V := AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := K) (σ := Fin (r + 1)) |
| 52 | have hV : IsOpenCover V := |
| 53 | IsOpenCover.mk (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top |
| 54 | (R := K) (σ := Fin (r + 1))) |
| 55 | apply Finset.sum_congr rfl |
| 56 | intro q _ |
| 57 | rw [coherentCohomologyDimension_eq_cech _ M (fun i => f ⁻¹ᵁ V i) |
| 58 | (hV.comap f.base.hom) |
| 59 | (fun i => (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := K) i).preimage f)] |
| 60 | exact congrArg (fun n : ℕ => (-1 : ℤ) ^ q * (n : ℤ)) |
| 61 | (HomologicalComplex.homologyMapIso |
| 62 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.orderedBaseCechComplexPushforwardIso f |
| 63 | AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ M V) q).toLinearEquiv.finrank_eq.symm |
| 64 | |
| 65 | theorem coherentEuler_eq_of_embedding |
| 66 | {s : ℕ} (g : A ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (s + 1)) K)) |
| 67 | [IsClosedImmersion g] (ρ : A ⟶ Spec (CommRingCat.of K)) |
| 68 | (hf : f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = ρ) |
| 69 | (hg : g ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = ρ) |
| 70 | (M : A.Modules) [M.IsQuasicoherent] : |
| 71 | EulerIndex.ProjectiveK.coherentEuler f M = EulerIndex.ProjectiveK.coherentEuler g M := by |
| 72 | rw [coherentEuler_eq_sum_native f ρ hf M (r + s + 2) (by omega), |
| 73 | coherentEuler_eq_sum_native g ρ hg M (r + s + 2) (by omega)] |
| 74 | |
| 75 | include f in |
| 76 | theorem coherentCohomologyDimension_pushforward_of_affine |
| 77 | (ρ : A ⟶ Spec (CommRingCat.of K)) |
| 78 | (g : A ⟶ A) [IsAffineHom g] (hg : g ≫ ρ = ρ) |
| 79 | (M : A.Modules) [M.IsQuasicoherent] (q : ℕ) : |
| 80 | coherentCohomologyDimension ρ ((Scheme.Modules.pushforward g).obj M) q = |
| 81 | coherentCohomologyDimension ρ M q := by |
| 82 | have : ((Scheme.Modules.pushforward g).obj M).IsQuasicoherent := |
| 83 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom g |
| 84 | let U := fun i : ULift.{u} (Fin (r + 1)) => |
| 85 | f ⁻¹ᵁ AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover (R := K) i |
| 86 | have hU : IsOpenCover U := |
| 87 | (IsOpenCover.mk (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.iSup_coordinateOpenCover_eq_top |
| 88 | (R := K) (σ := Fin (r + 1)))).comap f.base.hom |
| 89 | have hUaff (i : ULift.{u} (Fin (r + 1))) : IsAffineOpen (U i) := |
| 90 | (AlgebraicGeometry.SheafCohomology.Projective.StandardCech.MvPolynomial.coordinateOpenCover_isAffineOpen (R := K) i).preimage f |
| 91 | rw [coherentCohomologyDimension_eq_cech ρ _ U hU hUaff q, |
| 92 | coherentCohomologyDimension_eq_cech ρ M (fun i => g ⁻¹ᵁ U i) |
| 93 | (hU.comap g.base.hom) (fun i => (hUaff i).preimage g) q] |
| 94 | have he := (HomologicalComplex.homologyMapIso |
| 95 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechPushforward.Scheme.Modules.orderedBaseCechComplexPushforwardIso g ρ M U) q).toLinearEquiv.finrank_eq |
| 96 | rw [hg] at he |
| 97 | exact he.symm |
| 98 | |
| 99 | theorem coherentEuler_pushforward_of_affine |
| 100 | (ρ : A ⟶ Spec (CommRingCat.of K)) |
| 101 | (hf : f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = ρ) |
| 102 | (g : A ⟶ A) [IsAffineHom g] (hg : g ≫ ρ = ρ) |
| 103 | (M : A.Modules) [M.IsQuasicoherent] : |
| 104 | EulerIndex.ProjectiveK.coherentEuler f ((Scheme.Modules.pushforward g).obj M) = EulerIndex.ProjectiveK.coherentEuler f M := by |
| 105 | have : ((Scheme.Modules.pushforward g).obj M).IsQuasicoherent := |
| 106 | AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom g |
| 107 | rw [coherentEuler_eq_sum_native f ρ hf _ (r + 1) le_rfl, |
| 108 | coherentEuler_eq_sum_native f ρ hf M (r + 1) le_rfl] |
| 109 | apply Finset.sum_congr rfl |
| 110 | intro q _ |
| 111 | rw [coherentCohomologyDimension_pushforward_of_affine f ρ g hg M q] |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.EulerFunctoriality.ProjectiveK |