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.GeometricComparison.Cohomology.ExtensionCompactCover |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cohomology.ExtensionDescent |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.CoefficientExactness |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ProEtaleIs |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SheafCohomology |
| 6 | |
| 7 | /-! # Denominators -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.Denominators.RationalProEtaleCoefficients |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! On a quasi-compact quasi-separated scheme, a power of ℓ times each actual rational degree-one class comes from integral cohomology. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cohomology |
| 18 | |
| 19 | private theorem overlap_to_base {Y T Z : Scheme.{0}} (g : Y ⟶ T) (u : Y ⟶ Z) |
| 20 | (v : T ⟶ Z) (h : g ≫ v = u) : |
| 21 | pullback.snd g g ≫ u = pullback.fst g g ≫ u := by |
| 22 | rw [← h, ← Category.assoc, ← Category.assoc, pullback.condition] |
| 23 | |
| 24 | variable (ℓ : ℕ) [Fact ℓ.Prime] (X : Scheme.{0}) [CompactSpace X] [QuasiSeparatedSpace X] |
| 25 | |
| 26 | theorem additiveH1_denominator (x : (ProEtaleCoefficients.RationalProEtaleCoefficients.additiveSheaf ℓ X).H 1) : |
| 27 | ∃ N : ℕ, ∃ y : X.EllAdicCohomology ℓ 1, |
| 28 | Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) 1 y = (ℓ ^ N) • x := by |
| 29 | obtain ⟨E, rfl⟩ := Cohomology.ExtensionOf.CohomologyExtension.extension_exists X (ProEtaleCoefficients.RationalProEtaleCoefficients.additiveSheaf ℓ X) x |
| 30 | obtain ⟨U, g, hU, hg, ⟨s⟩⟩ := E.exists_compact_cover_lift (⊤_ X.ProEt) |
| 31 | let : IsAffine U.left := hU |
| 32 | let : Surjective g.left := hg |
| 33 | let : WeaklyEtale g.left := AlgebraicGeometry.FormalGeometry.Completion.ProEtale.SingleCover.Construction.proEtaleMorphism_weaklyEtale g |
| 34 | let D : X.ProEt := Scheme.ProEt.mk (pullback.fst g.left g.left ≫ U.hom) |
| 35 | let a : D ⟶ U := MorphismProperty.Over.homMk (pullback.fst g.left g.left) rfl |
| 36 | let b : D ⟶ U := MorphismProperty.Over.homMk (pullback.snd g.left g.left) (by |
| 37 | exact overlap_to_base g.left U.hom (⊤_ X.ProEt).hom (MorphismProperty.Over.w g)) |
| 38 | have : CompactSpace D.left := |
| 39 | inferInstanceAs (CompactSpace (pullback g.left g.left : Scheme.{0})) |
| 40 | obtain ⟨c, hc, _⟩ := E.fiber_unique_difference D (E.restrict a s) (E.restrict b s) |
| 41 | obtain ⟨N, t, ht⟩ := CoefficientExactness.RationalProEtaleCoefficients.sections_denominator ℓ X D c |
| 42 | let π := cokernel.π (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) |
| 43 | let f := (ℓ ^ N) • π |
| 44 | have hz : f.hom.app (op D) c = 0 := by |
| 45 | change (ℓ ^ N) • (π.hom.app (op D) c) = 0 |
| 46 | rw [← map_nsmul, ← ht] |
| 47 | exact congrArg |
| 48 | (fun k : AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X ⟶ cokernel (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) => |
| 49 | k.hom.app (op D) t) (cokernel.condition (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X)) |
| 50 | have he := E.class_map_eq_zero_of_overlap f g a b (.of_hasPullback g.left g.left) s c hc hz |
| 51 | change Sheaf.H.map ((ℓ ^ N) • π) 1 E.extClass = 0 at he |
| 52 | rw [SheafCohomology.SheafCohomologyScalars.map_nsmul] at he |
| 53 | obtain ⟨y, hy⟩ := CoefficientExactness.RationalProEtaleCoefficients.cohomology_lift_of_cokernel_zero ℓ X 1 ((ℓ ^ N) • E.extClass) he |
| 54 | exact ⟨N, y, hy⟩ |
| 55 | |
| 56 | theorem rationalH1_denominator (x : IntegralComparison.Cohomology.RationalEllAdicCohomology ℓ X 1) : |
| 57 | ∃ N : ℕ, ∃ y : X.EllAdicCohomology ℓ 1, |
| 58 | ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyInclusion ℓ X 1 y = (ℓ ^ N) • x := by |
| 59 | obtain ⟨N, y, hy⟩ := additiveH1_denominator ℓ X (ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X 1 x) |
| 60 | refine ⟨N, y, (ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X 1).injective ?_⟩ |
| 61 | change (ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X 1) |
| 62 | ((ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X 1).symm (Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) 1 y)) = _ |
| 63 | rw [AddEquiv.apply_symm_apply, map_nsmul] |
| 64 | exact hy |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.Denominators.RationalProEtaleCoefficients |