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 Mathlib.AlgebraicGeometry.Scheme |
| 2 | |
| 3 | /-! # Section Pullback Composition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.SectionPullbackComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Explicit value-level identities for pulling regular sections |
| 10 | through composable scheme maps and equal morphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X Y Z : Scheme.{u}} |
| 16 | |
| 17 | theorem appLE_comp_apply (f : X ⟶ Y) (g : Y ⟶ Z) |
| 18 | (U : Z.Opens) (V : Y.Opens) (W : X.Opens) |
| 19 | (hg : V ≤ g ⁻¹ᵁ U) (hf : W ≤ f ⁻¹ᵁ V) (hfg : W ≤ (f ≫ g) ⁻¹ᵁ U) |
| 20 | (s : Γ(Z, U)) : |
| 21 | f.appLE V W hf (g.appLE U V hg s) = (f ≫ g).appLE U W hfg s := |
| 22 | congrArg (fun k : Γ(Z, U) ⟶ Γ(X, W) => k s) |
| 23 | (Scheme.Hom.appLE_comp_appLE f g U V W hg hf) |
| 24 | |
| 25 | theorem appLE_congr_apply {f g : X ⟶ Y} (h : f = g) |
| 26 | (U : Y.Opens) (V : X.Opens) (hf : V ≤ f ⁻¹ᵁ U) (hg : V ≤ g ⁻¹ᵁ U) (s : Γ(Y, U)) : |
| 27 | f.appLE U V hf s = g.appLE U V hg s := by |
| 28 | subst g |
| 29 | rfl |
| 30 | |
| 31 | theorem appLE_comp_preimage_apply (f : X ⟶ Y) (g : Y ⟶ Z) |
| 32 | (U : Z.Opens) (W : X.Opens) (h : W ≤ (f ≫ g) ⁻¹ᵁ U) (s : Γ(Z, U)) : |
| 33 | (f ≫ g).appLE U W h s = f.appLE (g ⁻¹ᵁ U) W h (g.app U s) := |
| 34 | congrArg (fun k : Γ(Z, U) ⟶ Γ(X, W) => k s) (Scheme.Hom.comp_appLE f g U W h) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.SectionPullbackComposition |