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.Divisors.LineBundles.Section.OpenRestriction |
| 2 | import Mathlib.AlgebraicGeometry.IdealSheaf.Basic |
| 3 | |
| 4 | /-! # Affine Ring Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Section.AffineRingMaps.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The rings of compatible affine section neighborhoods retain the |
| 11 | actual section retraction and its kernel ideal, without chart choices. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {X Y : Scheme.{0}} (p : Y ⟶ X) (s : X ⟶ Y) (hs : s ≫ p = 𝟙 X) |
| 16 | (U : Y.Opens) (V : X.Opens) (hV : V ≤ s ⁻¹ᵁ U) (hU : U ≤ p ⁻¹ᵁ V) |
| 17 | |
| 18 | include hs in |
| 19 | theorem section_appLE_retraction : |
| 20 | p.appLE V U hU ≫ s.appLE U V hV = 𝟙 Γ(X, V) := by |
| 21 | rw [Scheme.Hom.appLE_comp_appLE] |
| 22 | have h : ∀ (f : X ⟶ X) (hf : f = 𝟙 X) (e : V ≤ f ⁻¹ᵁ V), |
| 23 | f.appLE V V e = 𝟙 Γ(X, V) := by |
| 24 | intro f hf e |
| 25 | subst f |
| 26 | change 𝟙 Γ(X, V) ≫ X.presheaf.map (𝟙 (Opposite.op V)) = 𝟙 Γ(X, V) |
| 27 | rw [X.presheaf.map_id, Category.id_comp] |
| 28 | exact h _ hs _ |
| 29 | |
| 30 | include hs hU in |
| 31 | theorem section_appLE_kernel [IsClosedImmersion s] (hUaff : IsAffineOpen U) : |
| 32 | RingHom.ker (s.appLE U V hV).hom = s.ker.ideal ⟨U, hUaff⟩ := by |
| 33 | have he : s ⁻¹ᵁ U = V := OpenRestriction.BundleCycles.sectionOpen_preimage p s hs U V hV hU |
| 34 | have hm : IsIso (X.presheaf.map (homOfLE hV).op) := by |
| 35 | have : IsIso (homOfLE hV) := by |
| 36 | change IsIso (eqToHom he.symm) |
| 37 | infer_instance |
| 38 | infer_instance |
| 39 | have hi : Function.Injective (X.presheaf.map (homOfLE hV).op).hom := |
| 40 | (ConcreteCategory.bijective_of_isIso (X.presheaf.map (homOfLE hV).op)).injective |
| 41 | rw [Scheme.Hom.ker_apply] |
| 42 | change RingHom.ker ((X.presheaf.map (homOfLE hV).op).hom.comp (s.app U).hom) = _ |
| 43 | exact RingHom.ker_comp_of_injective _ hi |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Section.AffineRingMaps.BundleCycles |