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.AbelianModuli.HilbertConstruction.Connected.ReducedFamilyAffineRigidity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiberContainment |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Family.SectionRestriction |
| 4 | |
| 5 | /-! # Reduced Family Local Rigidity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.ReducedFamilyLocalRigidity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Local rigidity near a constant fiber for reduced proper geometrically connected reduced families with a section. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X S Y : Scheme.{u}} |
| 18 | |
| 19 | theorem connectedReducedFamily_rigidity_on_affineTube (p : X ⟶ S) [IsReduced X] |
| 20 | [UniversallyClosed p] [GeometricallyConnected p] [GeometricallyReduced p] (σ : S ⟶ X) (hσ : σ ≫ p = 𝟙 _) |
| 21 | (f : X ⟶ Y) (U : Y.Opens) (hU : IsAffineOpen U) : |
| 22 | (p ⁻¹ᵁ Proper.FiberContainment.properFiberContainmentOpen p f U).ι ≫ f = |
| 23 | (p ⁻¹ᵁ Proper.FiberContainment.properFiberContainmentOpen p f U).ι ≫ (p ≫ σ ≫ f) := by |
| 24 | let V := Proper.FiberContainment.properFiberContainmentOpen p f U |
| 25 | let s := Family.SectionRestriction.familySectionRestrict p σ hσ V |
| 26 | let F := Proper.FiberContainment.properFiberContainmentFactor p f U |
| 27 | let : IsAffine U.toScheme := hU |
| 28 | have : IsReduced (p ⁻¹ᵁ V).toScheme := isReduced_of_isOpenImmersion (p ⁻¹ᵁ V).ι |
| 29 | have hs : s ≫ (p ∣_ V) = 𝟙 _ := Family.SectionRestriction.familySectionRestrict_projection p σ hσ V |
| 30 | have hsi : s ≫ (p ⁻¹ᵁ V).ι = V.ι ≫ σ := Family.SectionRestriction.familySectionRestrict_inclusion p σ hσ V |
| 31 | have hF : F ≫ U.ι = (p ⁻¹ᵁ V).ι ≫ f := Proper.FiberContainment.properFiberContainmentFactor_comp p f U |
| 32 | have H : F = (p ∣_ V) ≫ s ≫ F := ReducedFamilyAffineRigidity.connectedReducedFamily_affineMap_eq (p ∣_ V) s hs F |
| 33 | calc |
| 34 | _ = F ≫ U.ι := hF.symm |
| 35 | _ = ((p ∣_ V) ≫ s ≫ F) ≫ U.ι := congrArg (fun a => a ≫ U.ι) H |
| 36 | _ = (p ∣_ V) ≫ (V.ι ≫ σ) ≫ f := by |
| 37 | simp only [Category.assoc] |
| 38 | rw [hF, ← Category.assoc s, hsi, Category.assoc] |
| 39 | _ = ((p ∣_ V) ≫ V.ι) ≫ σ ≫ f := by simp only [Category.assoc] |
| 40 | _ = _ := (congrArg (fun a => a ≫ σ ≫ f) (morphismRestrict_ι p V)).trans (Category.assoc _ _ _) |
| 41 | |
| 42 | theorem connectedReducedFamily_localRigidity (p : X ⟶ S) [IsReduced X] |
| 43 | [UniversallyClosed p] [GeometricallyConnected p] [GeometricallyReduced p] (σ : S ⟶ X) (hσ : σ ≫ p = 𝟙 _) |
| 44 | (f : X ⟶ Y) (s : S) (y : Y) (hy : ∀ x : X, p x = s → f x = y) : |
| 45 | ∃ V : S.Opens, s ∈ V ∧ (p ⁻¹ᵁ V).ι ≫ f = (p ⁻¹ᵁ V).ι ≫ (p ≫ σ ≫ f) := by |
| 46 | obtain ⟨_, ⟨U, hU, rfl⟩, hyU, _⟩ := |
| 47 | Y.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ y) isOpen_univ |
| 48 | refine ⟨Proper.FiberContainment.properFiberContainmentOpen p f U, ?_, connectedReducedFamily_rigidity_on_affineTube p σ hσ f U hU⟩ |
| 49 | apply (Proper.FiberContainment.mem_properFiberContainmentOpen_iff p f U s).mpr |
| 50 | intro x hx |
| 51 | exact hy x hx ▸ hyU |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Connected.ReducedFamilyLocalRigidity |