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.FiniteTorsor.App |
| 2 | |
| 3 | /-! # Extension Of -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cohomology.ExtensionOf.CohomologyExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual degree-one extensions and their torsors for arbitrary additive coefficients. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.CategoryTheory.Abelian |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction |
| 14 | |
| 15 | universe u |
| 16 | variable (X : Scheme.{u}) (F : Sheaf (Scheme.ProEt.topology X) Ab.{u + 1}) |
| 17 | |
| 18 | /-- Extension data with the actual coefficient sheaf and integer source. -/ |
| 19 | structure Extension where |
| 20 | middle : Sheaf (Scheme.ProEt.topology X) Ab.{u + 1} |
| 21 | inclusion : F ⟶ middle |
| 22 | projection : middle ⟶ AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X |
| 23 | zero : inclusion ≫ projection = 0 |
| 24 | shortExact : (ShortComplex.mk inclusion projection zero).ShortExact |
| 25 | |
| 26 | namespace Extension |
| 27 | |
| 28 | variable {X F} (E : Extension X F) |
| 29 | |
| 30 | def complex : ShortComplex (Sheaf (Scheme.ProEt.topology X) Ab.{u + 1}) := |
| 31 | ShortComplex.mk E.inclusion E.projection E.zero |
| 32 | |
| 33 | def extClass : (F).H 1 := E.shortExact.extClass |
| 34 | |
| 35 | instance : Mono E.inclusion := E.shortExact.mono_f |
| 36 | instance : Epi E.projection := E.shortExact.epi_g |
| 37 | |
| 38 | end Extension |
| 39 | |
| 40 | /-- Every actual coefficient H¹ class has such an extension representative. -/ |
| 41 | theorem extension_exists (x : (F).H 1) : |
| 42 | ∃ E : Extension X F, E.extClass = x := by |
| 43 | obtain ⟨M, i, p, h, hS, hx⟩ := AlgebraicGeometry.FormalGeometry.Completion.ExtExtensions.Construction.ext_one_exists_shortExact x |
| 44 | exact ⟨⟨M, i, p, h, hS⟩, hx⟩ |
| 45 | |
| 46 | /-- A chosen representative, obtained from the checked Ext¹ presentation. -/ |
| 47 | def extensionOfClass (x : (F).H 1) : |
| 48 | Extension X F := (extension_exists X F x).choose |
| 49 | |
| 50 | theorem extensionOfClass_class (x : (F).H 1) : |
| 51 | (extensionOfClass X F x).extClass = x := |
| 52 | (extension_exists X F x).choose_spec |
| 53 | |
| 54 | namespace Extension |
| 55 | |
| 56 | variable {X F} (E : Extension X F) |
| 57 | |
| 58 | /-- Sections of the fiber over the integer generator. -/ |
| 59 | def Fiber (U : X.ProEt) := |
| 60 | {s : E.middle.obj.obj (op U) // E.projection.hom.app (op U) s = |
| 61 | AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator X U} |
| 62 | |
| 63 | /-- Restriction in the torsor of lifts of the generator. -/ |
| 64 | def restrict {U V : X.ProEt} (f : V ⟶ U) (s : E.Fiber U) : E.Fiber V := |
| 65 | ⟨E.middle.obj.map f.op s.val, by |
| 66 | erw [NatTrans.naturality_apply, s.property, AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator_naturality]⟩ |
| 67 | |
| 68 | /-- The presheaf of local lifts of the integer generator. -/ |
| 69 | def fiberPresheaf : X.ProEtᵒᵖ ⥤ Type (u + 1) where |
| 70 | obj U := E.Fiber U.unop |
| 71 | map f := ↾(E.restrict f.unop) |
| 72 | map_id U := by ext s; apply Subtype.ext; exact ConcreteCategory.congr_hom (E.middle.obj.map_id U) _ |
| 73 | map_comp f g := by |
| 74 | ext s |
| 75 | apply Subtype.ext |
| 76 | exact ConcreteCategory.congr_hom (E.middle.obj.map_comp f g) _ |
| 77 | |
| 78 | /-- The torsor is locally inhabited in the actual pro-étale topology. -/ |
| 79 | theorem fiber_locally_nonempty (U : X.ProEt) : |
| 80 | Presheaf.imageSieve E.projection.hom (AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator X U) ∈ |
| 81 | Scheme.ProEt.topology X U := by |
| 82 | have : Sheaf.IsLocallySurjective E.projection := |
| 83 | (Sheaf.isLocallySurjective_iff_epi' Ab E.projection).mpr inferInstance |
| 84 | exact Presheaf.imageSieve_mem _ _ _ |
| 85 | |
| 86 | /-- Every arrow in the covering sieve carries a local torsor section. -/ |
| 87 | theorem fiber_nonempty_of_imageSieve {U V : X.ProEt} (f : V ⟶ U) |
| 88 | (hf : Presheaf.imageSieve E.projection.hom (AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator X U) f) : |
| 89 | Nonempty (E.Fiber V) := by |
| 90 | obtain ⟨s, hs⟩ := hf |
| 91 | exact ⟨s, hs.trans (AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator_naturality X f)⟩ |
| 92 | |
| 93 | /-- The inclusion and projection remain exact at the middle on sections. -/ |
| 94 | theorem sections_exact (U : X.ProEt) : |
| 95 | (E.complex.map ((sheafToPresheaf _ Ab.{u + 1}) ⋙ (evaluation _ _).obj (op U))).Exact := |
| 96 | ((Functor.preservesFiniteLimits_iff_forall_exact_map_and_mono _).mp inferInstance |
| 97 | E.complex E.shortExact).1 |
| 98 | |
| 99 | theorem inclusion_app_injective (U : X.ProEt) : |
| 100 | Function.Injective (E.inclusion.hom.app (op U)) := by |
| 101 | exact (AddCommGrpCat.mono_iff_injective _).mp inferInstance |
| 102 | |
| 103 | /-- Two local torsor sections differ by a unique coefficient section. -/ |
| 104 | theorem fiber_unique_difference (U : X.ProEt) (s t : E.Fiber U) : |
| 105 | ∃! a : (F).obj.obj (op U), |
| 106 | E.inclusion.hom.app (op U) a + s.val = t.val := by |
| 107 | have h : E.projection.hom.app (op U) (t.val - s.val) = 0 := by |
| 108 | rw [map_sub, t.property, s.property, sub_self] |
| 109 | obtain ⟨a, ha⟩ := (ShortComplex.ab_exact_iff _).mp (E.sections_exact U) _ h |
| 110 | refine ⟨a, (eq_sub_iff_add_eq).mp ha, ?_⟩ |
| 111 | intro b hb |
| 112 | apply E.inclusion_app_injective U |
| 113 | exact (eq_sub_iff_add_eq.mpr hb).trans ha.symm |
| 114 | |
| 115 | /-- A global torsor section is equivalent to a split extension. -/ |
| 116 | theorem class_eq_zero_iff_fiber_nonempty : E.extClass = 0 ↔ Nonempty (E.Fiber (⊤_ X.ProEt)) := by |
| 117 | rw [Extension.extClass, AlgebraicGeometry.FormalGeometry.Completion.ExtExtensions.Construction.extClass_eq_zero_iff_exists_section E.shortExact] |
| 118 | constructor |
| 119 | · rintro ⟨s, hs⟩ |
| 120 | refine ⟨Sheaf.H.equiv₀ E.middle terminalIsTerminal (Ext.mk₀ s), ?_⟩ |
| 121 | rw [Sheaf.H.equiv₀_naturality, AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator_terminal] |
| 122 | change Sheaf.H.equiv₀ _ terminalIsTerminal |
| 123 | ((Ext.mk₀ s).comp (Ext.mk₀ E.projection) (add_zero 0)) = _ |
| 124 | rw [Ext.mk₀_comp_mk₀, hs] |
| 125 | rfl |
| 126 | · rintro ⟨s⟩ |
| 127 | let y := (Sheaf.H.equiv₀ E.middle terminalIsTerminal).symm s.val |
| 128 | obtain ⟨t, ht⟩ := (Ext.mk₀_bijective _ _).surjective y |
| 129 | refine ⟨t, (Ext.mk₀_bijective _ _).injective ?_⟩ |
| 130 | apply (Sheaf.H.equiv₀ (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X) terminalIsTerminal).injective |
| 131 | rw [← Ext.mk₀_comp_mk₀] |
| 132 | change Sheaf.H.equiv₀ _ terminalIsTerminal (Sheaf.H.map E.projection 0 (Ext.mk₀ t)) = _ |
| 133 | rw [← Sheaf.H.equiv₀_naturality, ht] |
| 134 | change E.projection.hom.app _ ((Sheaf.H.equiv₀ E.middle terminalIsTerminal) |
| 135 | ((Sheaf.H.equiv₀ E.middle terminalIsTerminal).symm s.val)) = _ |
| 136 | rw [AddEquiv.apply_symm_apply, s.property, AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator_terminal] |
| 137 | rfl |
| 138 | |
| 139 | end Extension |
| 140 | |
| 141 | end |
| 142 | |
| 143 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cohomology.ExtensionOf.CohomologyExtension |