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.ExtExtensions |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.CechSections |
| 3 | |
| 4 | /-! # Cover Cocycles -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CoverCocycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite overlap coefficients bound the actual degree-one sheaf cohomology |
| 11 | when every section in an injective presentation lifts on a fixed cover. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite Abelian |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} |
| 18 | |
| 19 | def connectingSections |
| 20 | (S : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1})) |
| 21 | (hS : S.ShortExact) : S.X₃.obj.obj (op (⊤_ X.ProEt)) →+ S.X₁.H 1 where |
| 22 | toFun a := ((Sheaf.H.equiv₀ S.X₃ terminalIsTerminal).symm a).comp |
| 23 | hS.extClass (zero_add 1) |
| 24 | map_zero' := by simp |
| 25 | map_add' _ _ := by simp |
| 26 | |
| 27 | theorem connectingSections_surjective |
| 28 | (S : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1})) |
| 29 | (hS : S.ShortExact) [Injective S.X₂] : |
| 30 | Function.Surjective (connectingSections S hS) := by |
| 31 | intro x |
| 32 | obtain ⟨y, hy⟩ := Ext.covariant_sequence_exact₁ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X) hS x |
| 33 | (Ext.eq_zero_of_injective _) rfl |
| 34 | exact ⟨Sheaf.H.equiv₀ S.X₃ terminalIsTerminal y, by |
| 35 | simpa only [connectingSections, AddMonoidHom.coe_mk, ZeroHom.coe_mk, |
| 36 | AddEquiv.symm_apply_apply] using hy⟩ |
| 37 | |
| 38 | theorem connectingSections_projection |
| 39 | (S : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1})) |
| 40 | (hS : S.ShortExact) (b : S.X₂.obj.obj (op (⊤_ X.ProEt))) : |
| 41 | connectingSections S hS (S.g.hom.app (op (⊤_ X.ProEt)) b) = 0 := by |
| 42 | change ((Sheaf.H.equiv₀ S.X₃ terminalIsTerminal).symm |
| 43 | (S.g.hom.app (op (⊤_ X.ProEt)) b)).comp hS.extClass (zero_add 1) = 0 |
| 44 | rw [← Sheaf.H.equiv₀_symm_naturality, Sheaf.H.map_apply, |
| 45 | Ext.comp_assoc_of_second_deg_zero, hS.comp_extClass, Ext.comp_zero] |
| 46 | |
| 47 | theorem cover_section_injective (F : Sheaf (Scheme.ProEt.topology X) Ab.{u + 1}) |
| 48 | {U V : X.ProEt} (f : U ⟶ V) [Surjective f.left] [QuasiCompact f.left] : |
| 49 | Function.Injective (F.obj.map f.op) := by |
| 50 | let G := (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj F |
| 51 | have hG : Presieve.IsSheaf (Scheme.ProEt.topology X) G.obj := |
| 52 | (isSheaf_iff_isSheaf_of_type _ _).mp G.property |
| 53 | exact Presieve.isSeparatedFor_singleton.mp |
| 54 | ((hG.isSheafFor (Presieve.singleton f) (AlgebraicGeometry.FormalGeometry.Completion.ProEtale.SingleCover.Construction.proEtaleSingleton_cover f)).isSeparatedFor) |
| 55 | |
| 56 | theorem finite_of_local_lifts |
| 57 | (S : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1})) |
| 58 | (hS : S.ShortExact) [Injective S.X₂] |
| 59 | (U D : X.ProEt) (a b : D ⟶ U) |
| 60 | [Surjective (terminal.from U).left] [QuasiCompact (terminal.from U).left] |
| 61 | (hD : IsPullback a.left b.left (terminal.from U).left (terminal.from U).left) |
| 62 | [Finite (S.X₁.obj.obj (op D))] |
| 63 | (hlift : ∀ z : S.X₃.obj.obj (op (⊤_ X.ProEt)), |
| 64 | ∃ t : S.X₂.obj.obj (op U), S.g.hom.app (op U) t = |
| 65 | S.X₃.obj.map (terminal.from U).op z) : |
| 66 | Finite (S.X₁.H 1) := by |
| 67 | classical |
| 68 | have hsec : (S.map ((sheafToPresheaf _ Ab.{u + 1}) ⋙ |
| 69 | (evaluation _ _).obj (op D))).Exact := |
| 70 | ((Functor.preservesFiniteLimits_iff_forall_exact_map_and_mono _).mp |
| 71 | inferInstance S hS).1 |
| 72 | have hrep (x : S.X₁.H 1) : ∃ z : S.X₃.obj.obj (op (⊤_ X.ProEt)), |
| 73 | ∃ t : S.X₂.obj.obj (op U), connectingSections S hS z = x ∧ |
| 74 | S.g.hom.app (op U) t = S.X₃.obj.map (terminal.from U).op z := by |
| 75 | obtain ⟨z, hz⟩ := connectingSections_surjective S hS x |
| 76 | obtain ⟨t, ht⟩ := hlift z |
| 77 | exact ⟨z, t, hz, ht⟩ |
| 78 | choose z t hz ht using hrep |
| 79 | have hc (x : S.X₁.H 1) : ∃ c : S.X₁.obj.obj (op D), |
| 80 | S.f.hom.app (op D) c = S.X₂.obj.map a.op (t x) - S.X₂.obj.map b.op (t x) := by |
| 81 | apply (ShortComplex.ab_exact_iff _).mp hsec |
| 82 | change S.g.hom.app (op D) |
| 83 | (S.X₂.obj.map a.op (t x) - S.X₂.obj.map b.op (t x)) = 0 |
| 84 | rw [map_sub, NatTrans.naturality_apply, NatTrans.naturality_apply, ht] |
| 85 | simp only [← ConcreteCategory.comp_apply, ← Functor.map_comp, ← op_comp, |
| 86 | terminal.comp_from, sub_self] |
| 87 | choose c hc using hc |
| 88 | apply Finite.of_injective c |
| 89 | intro x y hxy |
| 90 | have hcompat : S.X₂.obj.map a.op (t x - t y) = S.X₂.obj.map b.op (t x - t y) := by |
| 91 | have he := (hc x).symm.trans ((congrArg (S.f.hom.app (op D)) hxy).trans (hc y)) |
| 92 | simp only [map_sub] |
| 93 | exact sub_eq_sub_iff_sub_eq_sub.mp he |
| 94 | let F := (sheafCompose (Scheme.ProEt.topology X) (forget Ab.{u + 1})).obj S.X₂ |
| 95 | obtain ⟨w, hw, _⟩ := AlgebraicGeometry.FormalGeometry.Completion.ProEtale.CechSections.Construction.proEtaleSheaf_descend_section_of_isPullback F |
| 96 | (terminal.from U) a b hD (t x - t y) hcompat |
| 97 | change S.X₂.obj.obj (op (⊤_ X.ProEt)) at w |
| 98 | change S.X₂.obj.map (terminal.from U).op w = t x - t y at hw |
| 99 | have hgw : S.g.hom.app (op (⊤_ X.ProEt)) w = z x - z y := by |
| 100 | apply cover_section_injective S.X₃ (terminal.from U) |
| 101 | rw [← NatTrans.naturality_apply, hw, map_sub, ht, ht, map_sub] |
| 102 | have hzero := connectingSections_projection S hS w |
| 103 | rw [hgw, map_sub, hz, hz] at hzero |
| 104 | exact sub_eq_zero.mp hzero |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.CoverCocycles |