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.ClopenIdempotents |
| 2 | |
| 3 | /-! # Compatible Clopen Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CompatibleClopenSections.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: compatible clopen idempotents on a sequence of schemes |
| 11 | |
| 12 | The ring below consists of actual compatible global sections. Compatible |
| 13 | open-and-closed pieces give a canonical idempotent in this ring. If the |
| 14 | ring is local, all of those pieces must be empty or all must be the whole |
| 15 | scheme. No comparison with a completed base ring is postulated here. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (X : ℕ → Scheme.{u}) (d : ∀ n, X n ⟶ X (n + 1)) |
| 26 | |
| 27 | /-- The actual ring of global sections compatible under restriction along the sequence. -/ |
| 28 | def compatibleGlobalSections : Subring (∀ n, Γ(X n, ⊤)) where |
| 29 | carrier := {s | ∀ n, (d n).appTop (s (n + 1)) = s n} |
| 30 | zero_mem' := by intro n; simp |
| 31 | one_mem' := by intro n; simp |
| 32 | add_mem' := by |
| 33 | intro a b ha hb n |
| 34 | change (d n).appTop (a (n + 1) + b (n + 1)) = a n + b n |
| 35 | rw [map_add, ha n, hb n] |
| 36 | mul_mem' := by |
| 37 | intro a b ha hb n |
| 38 | change (d n).appTop (a (n + 1) * b (n + 1)) = a n * b n |
| 39 | rw [map_mul, ha n, hb n] |
| 40 | neg_mem' := by |
| 41 | intro a ha n |
| 42 | change (d n).appTop (-a (n + 1)) = -a n |
| 43 | rw [map_neg, ha n] |
| 44 | |
| 45 | variable (U : ∀ n, (X n).Opens) (hU : ∀ n, IsClosed (U n : Set (X n))) |
| 46 | (hcompat : ∀ n, (d n) ⁻¹ᵁ U (n + 1) = U n) |
| 47 | |
| 48 | /-- Compatible clopen pieces define an idempotent in the actual ring of compatible sections. -/ |
| 49 | def compatibleClopenIndicator : compatibleGlobalSections X d := |
| 50 | ⟨fun n => ClopenIdempotents.Construction.clopenIndicator (U n) (hU n), fun n => by |
| 51 | simpa only [hcompat n] using ClopenIdempotents.Construction.clopenIndicator_pullback (d n) (U (n + 1)) (hU (n + 1))⟩ |
| 52 | |
| 53 | theorem compatibleClopenIndicator_isIdempotent : |
| 54 | IsIdempotentElem (compatibleClopenIndicator X d U hU hcompat) := by |
| 55 | apply Subtype.ext |
| 56 | funext n |
| 57 | exact (ClopenIdempotents.Construction.clopenIndicator_isIdempotent (U n) (hU n)).eq |
| 58 | |
| 59 | include hU hcompat |
| 60 | |
| 61 | /-- Locality of the actual compatible-section ring rules out a nontrivial compatible clopen family. -/ |
| 62 | theorem compatibleClopen_trivial_of_local_globalSections |
| 63 | [IsLocalRing (compatibleGlobalSections X d)] : |
| 64 | (∀ n, U n = ⊥) ∨ (∀ n, U n = ⊤) := by |
| 65 | rcases IntegralIdempotents.Construction.local_idempotent_eq_zero_or_one (compatibleGlobalSections X d) |
| 66 | (compatibleClopenIndicator_isIdempotent X d U hU hcompat) with h | h |
| 67 | · left |
| 68 | intro n |
| 69 | apply (ClopenIdempotents.Construction.clopenIndicator_eq_zero_iff (U n) (hU n)).mp |
| 70 | exact congrArg (fun s : compatibleGlobalSections X d => s.val n) h |
| 71 | · right |
| 72 | intro n |
| 73 | apply (ClopenIdempotents.Construction.clopenIndicator_eq_one_iff (U n) (hU n)).mp |
| 74 | exact congrArg (fun s : compatibleGlobalSections X d => s.val n) h |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CompatibleClopenSections.Construction |