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.Infinitesimal.Neighborhoods |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.CompatibleClopenSections |
| 3 | |
| 4 | /-! # Clopen Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.ClopenSections.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: a separated fiber gives an actual compatible infinitesimal idempotent |
| 12 | |
| 13 | The homeomorphisms between the actual infinitesimal neighborhoods extend |
| 14 | each initial clopen piece through every thickening. Its characteristic |
| 15 | functions form a canonical compatible idempotent, nontrivial whenever the |
| 16 | initial piece is nontrivial. The formal-functions comparison remains a |
| 17 | separate proof obligation. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 28 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of R)) |
| 29 | |
| 30 | /-- The actual initial infinitesimal neighborhood is homeomorphic to every later one. -/ |
| 31 | def infinitesimalInitialHomeomorph : ∀ n, |
| 32 | Neighborhoods.Construction.infinitesimalNeighborhood I f 0 ≃ₜ Neighborhoods.Construction.infinitesimalNeighborhood I f n |
| 33 | | 0 => Homeomorph.refl _ |
| 34 | | n + 1 => (infinitesimalInitialHomeomorph n).trans (Neighborhoods.Construction.infinitesimalTransitionHomeomorph I f n) |
| 35 | |
| 36 | variable (U : (Neighborhoods.Construction.infinitesimalNeighborhood I f 0).Opens) |
| 37 | |
| 38 | /-- Extension of the initial open subset through the actual infinitesimal homeomorphisms. -/ |
| 39 | def infinitesimalClopenExtension (n : ℕ) : (Neighborhoods.Construction.infinitesimalNeighborhood I f n).Opens := |
| 40 | ⟨(Construction.infinitesimalInitialHomeomorph I f n).symm ⁻¹' (U : Set _), |
| 41 | U.isOpen.preimage (Construction.infinitesimalInitialHomeomorph I f n).symm.continuous⟩ |
| 42 | |
| 43 | theorem infinitesimalClopenExtension_isClosed |
| 44 | (hU : IsClosed (U : Set (Neighborhoods.Construction.infinitesimalNeighborhood I f 0))) (n : ℕ) : |
| 45 | IsClosed (infinitesimalClopenExtension I f U n : Set (Neighborhoods.Construction.infinitesimalNeighborhood I f n)) := |
| 46 | hU.preimage (Construction.infinitesimalInitialHomeomorph I f n).symm.continuous |
| 47 | |
| 48 | /-- The extended clopen pieces restrict to each other along the actual transition maps. -/ |
| 49 | theorem infinitesimalClopenExtension_compatible (n : ℕ) : |
| 50 | Neighborhoods.Construction.infinitesimalTransition I f n ⁻¹ᵁ infinitesimalClopenExtension I f U (n + 1) = |
| 51 | infinitesimalClopenExtension I f U n := by |
| 52 | ext x |
| 53 | change (Construction.infinitesimalInitialHomeomorph I f n).symm |
| 54 | ((Neighborhoods.Construction.infinitesimalTransitionHomeomorph I f n).symm |
| 55 | ((Neighborhoods.Construction.infinitesimalTransitionHomeomorph I f n) x)) ∈ U ↔ |
| 56 | (Construction.infinitesimalInitialHomeomorph I f n).symm x ∈ U |
| 57 | rw [Homeomorph.symm_apply_apply] |
| 58 | |
| 59 | /-- The actual ring of compatible global functions on these infinitesimal neighborhoods. -/ |
| 60 | abbrev infinitesimalGlobalSections := |
| 61 | CompatibleClopenSections.Construction.compatibleGlobalSections (Neighborhoods.Construction.infinitesimalNeighborhood I f) (Neighborhoods.Construction.infinitesimalTransition I f) |
| 62 | |
| 63 | /-- The canonical compatible infinitesimal idempotent attached to the initial clopen piece. -/ |
| 64 | def infinitesimalClopenIndicator (hU : IsClosed (U : Set (Neighborhoods.Construction.infinitesimalNeighborhood I f 0))) : |
| 65 | infinitesimalGlobalSections I f := |
| 66 | CompatibleClopenSections.Construction.compatibleClopenIndicator _ _ (infinitesimalClopenExtension I f U) |
| 67 | (infinitesimalClopenExtension_isClosed I f U hU) |
| 68 | (infinitesimalClopenExtension_compatible I f U) |
| 69 | |
| 70 | /-- A nontrivial initial clopen piece produces a nontrivial idempotent in the actual compatible |
| 71 | infinitesimal global sections. -/ |
| 72 | theorem infinitesimalClopenIndicator_nontrivial |
| 73 | (hU : IsClosed (U : Set (Neighborhoods.Construction.infinitesimalNeighborhood I f 0))) |
| 74 | (h₀ : U ≠ ⊥) (h₁ : U ≠ ⊤) : |
| 75 | IsIdempotentElem (infinitesimalClopenIndicator I f U hU) ∧ |
| 76 | infinitesimalClopenIndicator I f U hU ≠ 0 ∧ |
| 77 | infinitesimalClopenIndicator I f U hU ≠ 1 := by |
| 78 | refine ⟨CompatibleClopenSections.Construction.compatibleClopenIndicator_isIdempotent _ _ _ _ _, ?_, ?_⟩ |
| 79 | · intro h |
| 80 | have he := congrArg (fun s : infinitesimalGlobalSections I f => s.val 0) h |
| 81 | change ClopenIdempotents.Construction.clopenIndicator U hU = 0 at he |
| 82 | exact h₀ ((ClopenIdempotents.Construction.clopenIndicator_eq_zero_iff U hU).mp he) |
| 83 | · intro h |
| 84 | have he := congrArg (fun s : infinitesimalGlobalSections I f => s.val 0) h |
| 85 | change ClopenIdempotents.Construction.clopenIndicator U hU = 1 at he |
| 86 | exact h₁ ((ClopenIdempotents.Construction.clopenIndicator_eq_one_iff U hU).mp he) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.ClopenSections.Construction |