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.EpiCompact |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegerGenerator |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.CoefficientExactness |
| 4 | |
| 5 | /-! # Kernel -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.Kernel.RationalProEtaleCoefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The kernel of actual integral-to-rational degree-one cohomology consists of classes killed by a power of ℓ. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | variable (ℓ : ℕ) [Fact ℓ.Prime] (X : Scheme.{0}) [CompactSpace X] [QuasiSeparatedSpace X] |
| 16 | |
| 17 | theorem cokernel_integer_hom_torsion |
| 18 | (a : AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X ⟶ cokernel (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X)) : |
| 19 | ∃ N : ℕ, (ℓ ^ N) • a = 0 := by |
| 20 | let π := cokernel.π (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) |
| 21 | obtain ⟨U, g, hU, hg, s, hs⟩ := EpiCompact.EpiCompactLift.exists_lift π a |
| 22 | let : IsAffine U.left := hU |
| 23 | let : Surjective g.left := hg |
| 24 | obtain ⟨N, t, ht⟩ := CoefficientExactness.RationalProEtaleCoefficients.sections_denominator ℓ X U s |
| 25 | refine ⟨N, IntegerGenerator.IntegerGeneratorDetection.hom_eq_zero_of_cover g ((ℓ ^ N) • a) ?_⟩ |
| 26 | change (ℓ ^ N) • (a.hom.app (op U) (AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator X U)) = 0 |
| 27 | rw [← hs, ← map_nsmul, ← ht] |
| 28 | exact congrArg |
| 29 | (fun k : AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X ⟶ cokernel (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) => |
| 30 | k.hom.app (op U) t) (cokernel.condition (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X)) |
| 31 | |
| 32 | theorem cokernelH0_torsion (x : (cokernel (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X)).H 0) : |
| 33 | ∃ N : ℕ, (ℓ ^ N) • x = 0 := by |
| 34 | obtain ⟨a, rfl⟩ := (Ext.mk₀_bijective _ _).surjective x |
| 35 | obtain ⟨N, hN⟩ := cokernel_integer_hom_torsion ℓ X a |
| 36 | refine ⟨N, ?_⟩ |
| 37 | have h := map_nsmul (Ext.addEquiv₀.symm : |
| 38 | (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X ⟶ cokernel (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X)) ≃+ |
| 39 | (cokernel (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X)).H 0) (ℓ ^ N) a |
| 40 | change Ext.mk₀ ((ℓ ^ N) • a) = (ℓ ^ N) • Ext.mk₀ a at h |
| 41 | rw [← h, hN, Ext.mk₀_zero] |
| 42 | |
| 43 | theorem integralH1_kernel_torsion (x : X.EllAdicCohomology ℓ 1) |
| 44 | (hx : Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) 1 x = 0) : |
| 45 | ∃ N : ℕ, (ℓ ^ N) • x = 0 := by |
| 46 | let hS := CoefficientExactness.RationalProEtaleCoefficients.coefficientSequence_shortExact ℓ X |
| 47 | obtain ⟨y, hy⟩ := Ext.covariant_sequence_exact₁ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X) hS x hx rfl |
| 48 | obtain ⟨N, hN⟩ := cokernelH0_torsion ℓ X y |
| 49 | let δ := hS.extClass.postcomp (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X) (zero_add 1) |
| 50 | have hδ : δ y = x := hy |
| 51 | refine ⟨N, ?_⟩ |
| 52 | have h := (map_nsmul δ (ℓ ^ N) y).symm.trans ((congrArg δ hN).trans δ.map_zero) |
| 53 | exact (congrArg (fun z : X.EllAdicCohomology ℓ 1 => (ℓ ^ N) • z) hδ.symm).trans h |
| 54 | |
| 55 | theorem cohomologyInclusion_kernel_torsion (x : X.EllAdicCohomology ℓ 1) |
| 56 | (hx : ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyInclusion ℓ X 1 x = 0) : ∃ N : ℕ, (ℓ ^ N) • x = 0 := by |
| 57 | apply integralH1_kernel_torsion ℓ X x |
| 58 | have h := congrArg (ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X 1) hx |
| 59 | change (ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X 1) |
| 60 | ((ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X 1).symm (Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) 1 x)) = _ at h |
| 61 | simpa only [AddEquiv.apply_symm_apply, map_zero] using h |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.Kernel.RationalProEtaleCoefficients |