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.TerminalSectionRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.BigEtaleCohomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.ConnectedComponents |
| 4 | |
| 5 | /-! # Degree Zero General Pullback -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DegreeZeroGeneralPullback |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Arbitrary original rational étale pullbacks in degree zero are precomposition on actual continuous sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry Opposite _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cohomology OAI.NumberTheory.PadicHodge.PeriodInvariants.BigEtaleCohomology |
| 18 | |
| 19 | variable (ℓ : ℕ) [Fact ℓ.Prime] |
| 20 | |
| 21 | def sectionsEquiv (X : Scheme.{u}) : PeriodInvariants.BigEtaleCohomology.Cohomology ℓ X 0 ≃ₗ[Cohomology.Coeff.{u} ℓ] C(X, Cohomology.Coeff.{u} ℓ) := |
| 22 | PeriodInvariants.DegreeZeroSections.degreeZeroEquiv (Scheme.proetaleTopology.over X) (Cohomology.Coeff.{u} ℓ) |
| 23 | Over.mkIdTerminal (PeriodInvariants.BigEtaleCohomology.coefficientSheaf ℓ X) |
| 24 | |
| 25 | theorem comparison_sections (X : Scheme.{u}) (z : PeriodInvariants.BigEtaleCohomology.Cohomology ℓ X 0) : |
| 26 | PeriodInvariants.EtaleDegreeZero.sectionsEquiv ℓ X (PeriodInvariants.BigEtaleCohomology.comparison ℓ X 0 z) = sectionsEquiv ℓ X z := by |
| 27 | have h := TerminalSectionRestriction.cohomology (Scheme.ProEt.topology X) |
| 28 | (Scheme.proetaleTopology.over X) (Cohomology.Coeff.{u} ℓ) (PeriodInvariants.EtaleDegreeZero.identityTerminal X) |
| 29 | Over.mkIdTerminal (Scheme.ProEt.forget X) (PeriodInvariants.BigEtaleCohomology.coefficientSheaf ℓ X) z |
| 30 | change PeriodInvariants.EtaleDegreeZero.sectionsEquiv ℓ X |
| 31 | (((Ext.mk₀ (PeriodInvariants.BigEtaleCohomology.constantComparison ℓ X).inv).comp |
| 32 | (z.mapExactFunctor (PeriodInvariants.BigProEtaleSite.restriction ℓ X)) (Nat.zero_add 0)).comp |
| 33 | (Ext.mk₀ (𝟙 _)) (Nat.add_zero 0)) = _ |
| 34 | rw [Ext.comp_mk₀_id] |
| 35 | apply h.trans |
| 36 | apply ContinuousMap.ext |
| 37 | intro x |
| 38 | change sectionsEquiv ℓ X z ((Over.mkIdTerminal.from |
| 39 | ((Scheme.ProEt.forget X).obj (Scheme.ProEt.mk (𝟙 X)))).left x) = sectionsEquiv ℓ X z x |
| 40 | rw [Over.mkIdTerminal_from_left] |
| 41 | rfl |
| 42 | |
| 43 | theorem big_pullback_sections {X Y : Scheme.{u}} (g : X ⟶ Y) (z : PeriodInvariants.BigEtaleCohomology.Cohomology ℓ Y 0) : |
| 44 | sectionsEquiv ℓ X (PeriodInvariants.BigEtaleCohomology.bigPullback ℓ g 0 z) = (sectionsEquiv ℓ Y z).comp g.base.hom := by |
| 45 | have h := TerminalSectionRestriction.cohomology (Scheme.proetaleTopology.over X) |
| 46 | (Scheme.proetaleTopology.over Y) (Cohomology.Coeff.{u} ℓ) |
| 47 | Over.mkIdTerminal Over.mkIdTerminal (Over.map g) (PeriodInvariants.BigEtaleCohomology.coefficientSheaf ℓ Y) z |
| 48 | change sectionsEquiv ℓ X |
| 49 | (((Ext.mk₀ (PeriodInvariants.BigEtaleCohomology.constantTransport ℓ g).inv).comp |
| 50 | (z.mapExactFunctor (PeriodInvariants.BigEtaleCohomology.pullbackFunctor ℓ g)) (Nat.zero_add 0)).comp |
| 51 | (Ext.mk₀ (𝟙 _)) (Nat.add_zero 0)) = _ |
| 52 | rw [Ext.comp_mk₀_id] |
| 53 | apply h.trans |
| 54 | apply ContinuousMap.ext |
| 55 | intro x |
| 56 | change sectionsEquiv ℓ Y z ((Over.mkIdTerminal.from |
| 57 | ((Over.map g).obj (Over.mk (𝟙 X)))).left x) = sectionsEquiv ℓ Y z (g x) |
| 58 | rw [Over.mkIdTerminal_from_left] |
| 59 | rfl |
| 60 | |
| 61 | theorem pullback_sections {X Y : Scheme.{u}} (g : X ⟶ Y) (z : Cohomology.RationalEllAdicCohomology ℓ Y 0) : |
| 62 | PeriodInvariants.EtaleDegreeZero.sectionsEquiv ℓ X (PeriodInvariants.BigEtaleCohomology.pullback ℓ g 0 z) = |
| 63 | (PeriodInvariants.EtaleDegreeZero.sectionsEquiv ℓ Y z).comp g.base.hom := by |
| 64 | obtain ⟨w, rfl⟩ := (PeriodInvariants.BigEtaleCohomology.comparisonEquiv ℓ Y 0).surjective z |
| 65 | change PeriodInvariants.EtaleDegreeZero.sectionsEquiv ℓ X |
| 66 | (PeriodInvariants.BigEtaleCohomology.comparison ℓ X 0 (PeriodInvariants.BigEtaleCohomology.bigPullback ℓ g 0 ((PeriodInvariants.BigEtaleCohomology.comparisonEquiv ℓ Y 0).symm (PeriodInvariants.BigEtaleCohomology.comparisonEquiv ℓ Y 0 w)))) = _ |
| 67 | rw [LinearEquiv.symm_apply_apply, comparison_sections, big_pullback_sections] |
| 68 | exact congrArg (fun s => s.comp g.base.hom) (comparison_sections ℓ Y w).symm |
| 69 | |
| 70 | theorem pullback_components {X Y : Scheme.{u}} [NoetherianSpace X] [NoetherianSpace Y] |
| 71 | (g : X ⟶ Y) (z : Cohomology.RationalEllAdicCohomology ℓ Y 0) (c : _root_.ConnectedComponents X) : |
| 72 | Etale.ConnectedComponents.equiv ℓ X (PeriodInvariants.BigEtaleCohomology.pullback ℓ g 0 z) c = |
| 73 | Etale.ConnectedComponents.equiv ℓ Y z (ConnectedComponentSections.map g.base.hom c) := by |
| 74 | obtain ⟨x, rfl⟩ := _root_.ConnectedComponents.surjective_coe c |
| 75 | exact congrArg ULift.down (congrArg (fun s => s x) (pullback_sections ℓ g z)) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DegreeZeroGeneralPullback |