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.StandardSmoothBasicOpens |
| 2 | |
| 3 | /-! # Smooth Base Charts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.SmoothBaseCharts |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible standard smooth charts for a morphism between schemes smooth over the same base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem exists_common_standardSmooth_charts {X Y S : Scheme.{u}} (f : X ⟶ Y) (q : Y ⟶ S) |
| 16 | (d : ℕ) [SmoothOfRelativeDimension d q] [SmoothOfRelativeDimension d (f ≫ q)] (x : X) : |
| 17 | ∃ (U : S.affineOpens) (V : Y.affineOpens) (W : X.affineOpens), x ∈ W.1 ∧ |
| 18 | ∃ (eq : V.1 ≤ q ⁻¹ᵁ U.1) (ef : W.1 ≤ f ⁻¹ᵁ V.1), |
| 19 | RingHom.IsStandardSmoothOfRelativeDimension d (q.appLE U.1 V.1 eq).hom ∧ |
| 20 | RingHom.IsStandardSmoothOfRelativeDimension d |
| 21 | ((f ≫ q).appLE U.1 W.1 (ef.trans (f.preimage_mono eq))).hom := by |
| 22 | obtain ⟨U, hU, V, hV, hfxV, eq, hq⟩ := |
| 23 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension (n := d) (f := q) (f x) |
| 24 | obtain ⟨_, ⟨W : X.Opens, hW, rfl⟩, hxW, hWV⟩ := |
| 25 | X.isBasis_affineOpens.exists_subset_of_mem_open |
| 26 | (show x ∈ f ⁻¹ᵁ V from hfxV) (f ⁻¹ᵁ V).isOpen |
| 27 | obtain ⟨U₀, hU₀, W₀, hW₀, hxW₀, e₀, hp₀⟩ := |
| 28 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension |
| 29 | (n := d) (f := f ≫ q) x |
| 30 | obtain ⟨r, s, hxs, ep, hp⟩ := exists_basicOpen_le_appLE_of_appLE_of_isAffine |
| 31 | (RingHom.isStandardSmoothOfRelativeDimension_stableUnderCompositionWithLocalizationAway d).right |
| 32 | (RingHom.isStandardSmoothOfRelativeDimension_localizationPreserves d).away |
| 33 | x ⟨U, hU⟩ ⟨U₀, hU₀⟩ ⟨W, hW⟩ ⟨W₀, hW₀⟩ hxW hxW₀ e₀ hp₀ (eq hfxV) |
| 34 | let V' := Y.basicOpen (q.appLE U V eq r) |
| 35 | have eq' : V' ≤ q ⁻¹ᵁ S.basicOpen r := |
| 36 | (le_of_eq (Scheme.basicOpen_appLE q V U eq r)).trans inf_le_right |
| 37 | have ef' : X.basicOpen s ≤ f ⁻¹ᵁ V' := by |
| 38 | intro z hz |
| 39 | exact (congrArg (fun O : Y.Opens => f z ∈ O) (Scheme.basicOpen_appLE q V U eq r)).mpr |
| 40 | ⟨hWV (X.basicOpen_le s hz), ep hz⟩ |
| 41 | refine ⟨⟨S.basicOpen r, hU.basicOpen r⟩, |
| 42 | ⟨V', hV.basicOpen (q.appLE U V eq r)⟩, ⟨X.basicOpen s, hW.basicOpen s⟩, |
| 43 | hxs, eq', ef', ?_, hp⟩ |
| 44 | exact StandardSmoothBasicOpens.standardSmooth_basicOpen_appLE q hU hV eq d hq r |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.SmoothBaseCharts |