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.RingPushoutKernel |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Pullback Affine Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.PullbackAffineKernel.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! In an actual closed-immersion pullback, the equation ideal on |
| 12 | an affine source chart is generated by the pulled-back affine base ideal. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable {X Z X' Z' : Scheme.{0}} (i : Z ⟶ X) [IsClosedImmersion i] |
| 17 | (j : Z' ⟶ X') (f : X' ⟶ X) (g : Z' ⟶ Z) (hp : IsPullback j g f i) |
| 18 | (U : X.affineOpens) (V : X'.affineOpens) (hV : V.1 ≤ f ⁻¹ᵁ U.1) |
| 19 | |
| 20 | include hp in |
| 21 | theorem closedPullback_affineChart_kernel : |
| 22 | RingHom.ker (j.app V.1).hom = |
| 23 | (RingHom.ker (i.app U.1).hom).map (f.appLE U.1 V.1 hV).hom := by |
| 24 | have hg : j ⁻¹ᵁ V.1 ≤ g ⁻¹ᵁ (i ⁻¹ᵁ U.1) := by |
| 25 | intro z hz |
| 26 | have he : f (j z) = i (g z) := congrArg (fun k => k z) hp.w |
| 27 | change i (g z) ∈ U.1 |
| 28 | rw [← he] |
| 29 | exact hV hz |
| 30 | have hY : j ⁻¹ᵁ V.1 = j ⁻¹ᵁ V.1 ⊓ g ⁻¹ᵁ (i ⁻¹ᵁ U.1) := (inf_eq_left.mpr hg).symm |
| 31 | let : IsIso (pushoutSection hp (show i ⁻¹ᵁ U.1 ≤ i ⁻¹ᵁ U.1 from le_rfl) hV hY) := |
| 32 | isIso_pushoutSection_of_isAffineOpen hp le_rfl hV hY U.2 (U.2.preimage i) V.2 |
| 33 | have H := (isIso_pushoutSection_iff hp (show i ⁻¹ᵁ U.1 ≤ i ⁻¹ᵁ U.1 from le_rfl) hV hY).mp inferInstance |
| 34 | have H' : IsPushout (f.appLE U.1 V.1 hV) (i.app U.1) (j.app V.1) |
| 35 | (g.appLE (i ⁻¹ᵁ U.1) (j ⁻¹ᵁ V.1) hg) := by |
| 36 | simpa only [Scheme.Hom.appLE_eq_app] using H |
| 37 | exact RingPushoutKernel.BundleCycles.ringPushout_kernel (i.app U.1) (f.appLE U.1 V.1 hV) |
| 38 | (g.appLE (i ⁻¹ᵁ U.1) (j ⁻¹ᵁ V.1) hg) (j.app V.1) H'.flip (i.app_surjective U.1 U.2) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.PullbackAffineKernel.BundleCycles |