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.RegularPushoutBaseChange |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Cartier Chart Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CartierChartBaseChange.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Affine pullback charts preserve a Cartier equation when the |
| 12 | closed divisor is flat over the base. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable {S S' X X' Z : Scheme.{0}} |
| 17 | (p : X ⟶ S) (p' : X' ⟶ S') (f : X' ⟶ X) (h : S' ⟶ S) |
| 18 | (hp : IsPullback f p' p h) (i : Z ⟶ X) [IsClosedImmersion i] [Flat (i ≫ p)] |
| 19 | (U : S.affineOpens) (V : X.affineOpens) (U' : S'.affineOpens) |
| 20 | (hV : V.1 ≤ p ⁻¹ᵁ U.1) (hU' : U'.1 ≤ h ⁻¹ᵁ U.1) |
| 21 | |
| 22 | theorem relativeCartierChart_cokernel_flat : |
| 23 | (p.appLE U.1 V.1 hV ≫ i.app V.1).hom.Flat := by |
| 24 | have he := Scheme.Hom.appLE_comp_appLE i p U.1 V.1 (i ⁻¹ᵁ V.1) hV le_rfl |
| 25 | rw [Scheme.Hom.appLE_eq_app] at he |
| 26 | rw [he] |
| 27 | exact (i ≫ p).flat_appLE U.2 (V.2.preimage i) _ |
| 28 | |
| 29 | include hp hV hU' in |
| 30 | theorem relativeCartierChart_pullback_regular (t : Γ(X, V.1)) (ht : IsRegular t) |
| 31 | (hk : RingHom.ker (i.app V.1).hom = Ideal.span {t}) : |
| 32 | IsRegular (f.appLE V.1 (f ⁻¹ᵁ V.1 ⊓ p' ⁻¹ᵁ U'.1) inf_le_left t) := by |
| 33 | let : IsIso (pushoutSection hp hU' hV rfl) := |
| 34 | isIso_pushoutSection_of_isAffineOpen hp hU' hV rfl U.2 U'.2 V.2 |
| 35 | have H := (isIso_pushoutSection_iff hp hU' hV rfl).mp inferInstance |
| 36 | exact RegularPushoutBaseChange.BundleCycles.regular_pushout_baseChange (p.appLE U.1 V.1 hV) (h.appLE U.1 U'.1 hU') |
| 37 | (f.appLE V.1 (f ⁻¹ᵁ V.1 ⊓ p' ⁻¹ᵁ U'.1) inf_le_left) |
| 38 | (p'.appLE U'.1 (f ⁻¹ᵁ V.1 ⊓ p' ⁻¹ᵁ U'.1) inf_le_right) H |
| 39 | (i.app V.1) (i.app_surjective V.1 V.2) |
| 40 | (relativeCartierChart_cokernel_flat p i U V hV) t ht hk |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CartierChartBaseChange.BundleCycles |