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.AlgebraicGeometry.FormalGeometry.Completion.CoefficientSheafLimit |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientCohomology |
| 3 | import Mathlib.CategoryTheory.Functor.OfSequence |
| 4 | import Mathlib.CategoryTheory.Limits.Types.Limits |
| 5 | |
| 6 | /-! # Coefficient Tower -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientTower.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: the actual coefficient sheaf is a limit of finite coefficient sheaves |
| 14 | |
| 15 | The cone consists of the checked reduction morphisms. Its universal |
| 16 | property follows from reconstruction on sections, and degree-zero |
| 17 | transition maps are surjective. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite Abelian |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable (ℓ : ℕ) [Fact ℓ.Prime] (X : Scheme.{u}) |
| 28 | |
| 29 | theorem finiteEllAdicTransition_id (n : ℕ) : CoefficientSheafLimit.Construction.finiteEllAdicTransition ℓ n n le_rfl X = 𝟙 _ := by |
| 30 | apply (cancel_epi (CoefficientSheaf.Construction.finiteEllAdicReduction ℓ n X)).mp |
| 31 | rw [CoefficientSheafLimit.Construction.finiteEllAdicReduction_transition, Category.comp_id] |
| 32 | |
| 33 | theorem finiteEllAdicTransition_comp (m n p : ℕ) (hmn : m ≤ n) (hnp : n ≤ p) : |
| 34 | CoefficientSheafLimit.Construction.finiteEllAdicTransition ℓ n p hnp X ≫ CoefficientSheafLimit.Construction.finiteEllAdicTransition ℓ m n hmn X = |
| 35 | CoefficientSheafLimit.Construction.finiteEllAdicTransition ℓ m p (hmn.trans hnp) X := by |
| 36 | apply (cancel_epi (CoefficientSheaf.Construction.finiteEllAdicReduction ℓ p X)).mp |
| 37 | rw [← Category.assoc, CoefficientSheafLimit.Construction.finiteEllAdicReduction_transition, |
| 38 | CoefficientSheafLimit.Construction.finiteEllAdicReduction_transition, CoefficientSheafLimit.Construction.finiteEllAdicReduction_transition] |
| 39 | |
| 40 | /-- The inverse diagram of actual finite coefficient sheaves. -/ |
| 41 | def finiteCoefficientTower : ℕᵒᵖ ⥤ Sheaf (Scheme.ProEt.topology X) Ab.{u + 1} where |
| 42 | obj n := CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n.unop X |
| 43 | map {n m} f := CoefficientSheafLimit.Construction.finiteEllAdicTransition ℓ m.unop n.unop (leOfHom f.unop) X |
| 44 | map_id n := finiteEllAdicTransition_id ℓ X n.unop |
| 45 | map_comp {n m p} _ _ := (finiteEllAdicTransition_comp ℓ X p.unop m.unop n.unop _ _).symm |
| 46 | |
| 47 | /-- The cone of actual integral-to-finite reductions. -/ |
| 48 | def integralCoefficientCone : Cone (finiteCoefficientTower ℓ X) where |
| 49 | pt := ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X |
| 50 | π := { |
| 51 | app n := CoefficientSheaf.Construction.finiteEllAdicReduction ℓ n.unop X |
| 52 | naturality n m f := by |
| 53 | simpa [finiteCoefficientTower] using! |
| 54 | (CoefficientSheafLimit.Construction.finiteEllAdicReduction_transition ℓ X m.unop n.unop (leOfHom f.unop)).symm } |
| 55 | |
| 56 | /-- Integral coefficients satisfy the inverse-limit universal property as sheaves. -/ |
| 57 | def integralCoefficientConeIsLimit : IsLimit (integralCoefficientCone ℓ X) := by |
| 58 | apply isLimitOfReflects (sheafToPresheaf _ Ab.{u + 1}) |
| 59 | apply evaluationJointlyReflectsLimits |
| 60 | intro U |
| 61 | apply isLimitOfReflects (forget Ab.{u + 1}) |
| 62 | apply Classical.choice |
| 63 | apply (Types.isLimit_iff _).mpr |
| 64 | intro s hs |
| 65 | obtain ⟨a, ha, huniq⟩ := CoefficientSheafLimit.Construction.integralCoefficientSections_existsUnique ℓ X U |
| 66 | (fun n => s (op n)) (fun m n h => hs (homOfLE h).op) |
| 67 | exact ⟨a, fun n => ha n.unop, fun b hb => huniq b (fun n => hb (op n))⟩ |
| 68 | |
| 69 | /-- Degree-zero finite-coefficient transitions are surjective. -/ |
| 70 | theorem finiteEllAdicTransition_H0_surjective (m n : ℕ) (h : m ≤ n) : |
| 71 | Function.Surjective (Sheaf.H.map (CoefficientSheafLimit.Construction.finiteEllAdicTransition ℓ m n h X) 0) := by |
| 72 | intro y |
| 73 | obtain ⟨x, hx⟩ := CoefficientCohomology.Construction.integralEllAdicFiniteReduction_zero_surjective ℓ m X y |
| 74 | refine ⟨CoefficientCohomology.Construction.integralEllAdicFiniteReduction ℓ n X 0 x, ?_⟩ |
| 75 | change (Sheaf.H.map (CoefficientSheafLimit.Construction.finiteEllAdicTransition ℓ m n h X) 0) |
| 76 | (Sheaf.H.map (CoefficientSheaf.Construction.finiteEllAdicReduction ℓ n X) 0 x) = y |
| 77 | rw [← Sheaf.H.map_comp_apply, CoefficientSheafLimit.Construction.finiteEllAdicReduction_transition] |
| 78 | exact hx |
| 79 | |
| 80 | /-- The transitions are surjective on maps from the actual integer constant sheaf. -/ |
| 81 | theorem finiteEllAdicTransition_constantHom_surjective (m n : ℕ) (h : m ≤ n) : |
| 82 | Function.Surjective (fun d : ProetalePullback.Construction.proEtIntegerConstant X ⟶ CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X => |
| 83 | d ≫ CoefficientSheafLimit.Construction.finiteEllAdicTransition ℓ m n h X) := by |
| 84 | intro d |
| 85 | obtain ⟨y, hy⟩ := finiteEllAdicTransition_H0_surjective ℓ X m n h (Ext.mk₀ d) |
| 86 | obtain ⟨b, rfl⟩ := (Ext.mk₀_bijective _ _).surjective y |
| 87 | refine ⟨b, (Ext.mk₀_bijective _ _).injective ?_⟩ |
| 88 | simpa only [Sheaf.H.map_apply, Ext.mk₀_comp_mk₀] using hy |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientTower.Construction |