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.FunctionsComparison |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | |
| 4 | /-! # Comparison Injective -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ComparisonInjective.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Completion: injectivity of the actual completion comparison for faithfully flat families -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | /-- A flat surjective family induces an injection on actual global functions. -/ |
| 20 | theorem flat_surjective_appTop_injective {X Y : Scheme.{u}} (f : X ⟶ Y) [Flat f] [Surjective f] : |
| 21 | Function.Injective f.appTop := by |
| 22 | have : Epi f := Flat.epi_of_flat_of_surjective f |
| 23 | have : Mono f.appTop := by |
| 24 | rw [← Scheme.Γ_map_op] |
| 25 | infer_instance |
| 26 | exact (ConcreteCategory.mono_iff_injective_of_preservesPullback f.appTop).mp inferInstance |
| 27 | |
| 28 | /-- Every infinitesimal structure-ring map is injective for the actual flat surjective family. -/ |
| 29 | theorem infinitesimalBaseSectionsMap_injective {R : Type u} [CommRing R] (I : Ideal R) |
| 30 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of R)) [Flat f] [Surjective f] (n : ℕ) : |
| 31 | Function.Injective (FunctionsComparison.Construction.infinitesimalBaseSectionsMap I f n) := by |
| 32 | exact (flat_surjective_appTop_injective (pullback.snd f (Infinitesimal.Neighborhoods.Construction.infinitesimalBaseToSpec I n))).comp |
| 33 | (Scheme.ΓSpecIso (CommRingCat.of (R ⧸ I ^ (n + 1)))).symm.commRingCatIsoToRingEquiv.injective |
| 34 | |
| 35 | /-- The actual completed-base comparison is injective for every flat surjective family. -/ |
| 36 | theorem formalFunctionsComparison_injective {R : Type u} [CommRing R] (I : Ideal R) |
| 37 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of R)) [Flat f] [Surjective f] : |
| 38 | Function.Injective (FunctionsComparison.Construction.formalFunctionsComparison I f) := by |
| 39 | intro x y h |
| 40 | apply AdicCompletion.ext_evalₐ |
| 41 | intro n |
| 42 | cases n with |
| 43 | | zero => |
| 44 | have : Subsingleton (R ⧸ I ^ 0) := by |
| 45 | rw [show I ^ 0 = ⊤ by simp] |
| 46 | infer_instance |
| 47 | exact Subsingleton.elim _ _ |
| 48 | | succ n => |
| 49 | apply infinitesimalBaseSectionsMap_injective I f n |
| 50 | exact congrArg (fun s : Infinitesimal.ClopenSections.Construction.infinitesimalGlobalSections I f => s.val n) h |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ComparisonInjective.Construction |