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.QuotientPower |
| 2 | import Mathlib.AlgebraicGeometry.Limits |
| 3 | |
| 4 | /-! # Neighborhoods -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.Neighborhoods.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Completion: actual infinitesimal neighborhoods and their closed homeomorphisms -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 21 | |
| 22 | /-- The positive infinitesimal base cut out by the indicated ideal power. -/ |
| 23 | def infinitesimalBase (n : ℕ) : Scheme.{u} := Spec (CommRingCat.of (R ⧸ I ^ (n + 1))) |
| 24 | |
| 25 | def infinitesimalBaseToSpec (n : ℕ) : infinitesimalBase I n ⟶ Spec (CommRingCat.of R) := |
| 26 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (I ^ (n + 1)))) |
| 27 | |
| 28 | def infinitesimalBaseTransition (n : ℕ) : infinitesimalBase I n ⟶ infinitesimalBase I (n + 1) := |
| 29 | QuotientPower.Construction.quotientPowerMap I (Nat.le_succ (n + 1)) |
| 30 | |
| 31 | instance infinitesimalBaseTransition_isClosedImmersion (n : ℕ) : |
| 32 | IsClosedImmersion (infinitesimalBaseTransition I n) := by |
| 33 | unfold infinitesimalBaseTransition |
| 34 | infer_instance |
| 35 | |
| 36 | instance infinitesimalBaseTransition_surjective (n : ℕ) : |
| 37 | Surjective (infinitesimalBaseTransition I n) := |
| 38 | QuotientPower.Construction.quotientPowerMap_surjective I (Nat.zero_lt_succ n) (Nat.le_succ (n + 1)) |
| 39 | |
| 40 | @[reassoc] |
| 41 | theorem infinitesimalBaseTransition_toSpec (n : ℕ) : |
| 42 | infinitesimalBaseTransition I n ≫ infinitesimalBaseToSpec I (n + 1) = |
| 43 | infinitesimalBaseToSpec I n := by |
| 44 | dsimp [infinitesimalBaseTransition, infinitesimalBaseToSpec, QuotientPower.Construction.quotientPowerMap] |
| 45 | rw [← Spec.map_comp] |
| 46 | congr 1 |
| 47 | |
| 48 | variable {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of R)) |
| 49 | |
| 50 | /-- The actual base change of the family to a positive infinitesimal base. -/ |
| 51 | def infinitesimalNeighborhood (n : ℕ) : Scheme.{u} := pullback f (infinitesimalBaseToSpec I n) |
| 52 | |
| 53 | /-- The actual inclusion into the next infinitesimal neighborhood. -/ |
| 54 | def infinitesimalTransition (n : ℕ) : |
| 55 | infinitesimalNeighborhood I f n ⟶ infinitesimalNeighborhood I f (n + 1) := |
| 56 | pullback.map _ _ _ _ (𝟙 _) (infinitesimalBaseTransition I n) (𝟙 _) |
| 57 | (by simp) (by simp [infinitesimalBaseTransition_toSpec]) |
| 58 | |
| 59 | theorem infinitesimalTransition_isPullback (n : ℕ) : |
| 60 | IsPullback (infinitesimalTransition I f n) (pullback.snd f (infinitesimalBaseToSpec I n)) |
| 61 | (pullback.snd f (infinitesimalBaseToSpec I (n + 1))) (infinitesimalBaseTransition I n) := by |
| 62 | refine .of_right (t := IsPullback.of_hasPullback f (infinitesimalBaseToSpec I (n + 1))) ?_ ?_ |
| 63 | · simpa [infinitesimalTransition, infinitesimalBaseTransition_toSpec] using |
| 64 | (IsPullback.of_hasPullback f (infinitesimalBaseToSpec I n)) |
| 65 | · dsimp [infinitesimalTransition] |
| 66 | cat_disch |
| 67 | |
| 68 | instance infinitesimalTransition_isClosedImmersion (n : ℕ) : |
| 69 | IsClosedImmersion (infinitesimalTransition I f n) := |
| 70 | MorphismProperty.of_isPullback (P := @IsClosedImmersion) |
| 71 | (infinitesimalTransition_isPullback I f n).flip inferInstance |
| 72 | |
| 73 | instance infinitesimalTransition_surjective (n : ℕ) : |
| 74 | Surjective (infinitesimalTransition I f n) := |
| 75 | MorphismProperty.of_isPullback (P := @Surjective) |
| 76 | (infinitesimalTransition_isPullback I f n).flip inferInstance |
| 77 | |
| 78 | /-- Infinitesimal neighborhood inclusions are homeomorphisms on the actual underlying spaces. -/ |
| 79 | def infinitesimalTransitionHomeomorph (n : ℕ) : |
| 80 | infinitesimalNeighborhood I f n ≃ₜ infinitesimalNeighborhood I f (n + 1) := |
| 81 | (infinitesimalTransition I f n).isClosedEmbedding.isEmbedding.toHomeomorphOfSurjective |
| 82 | (infinitesimalTransition I f n).surjective |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Infinitesimal.Neighborhoods.Construction |