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.Restrict |
| 2 | |
| 3 | /-! # Open Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.OpenRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a Cartesian square to an open subset of its base gives an actual Cartesian square with explicitly specified maps. -/ |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | variable {S X Y P : Scheme.{u}} {a : P ⟶ X} {b : P ⟶ Y} |
| 13 | {f : X ⟶ S} {g : Y ⟶ S} (H : IsPullback a b f g) (U : S.Opens) |
| 14 | |
| 15 | include H |
| 16 | |
| 17 | theorem cartesian_preimage_eq : a ⁻¹ᵁ (f ⁻¹ᵁ U) = b ⁻¹ᵁ (g ⁻¹ᵁ U) := |
| 18 | congrArg (fun k : P ⟶ S => k ⁻¹ᵁ U) H.w |
| 19 | |
| 20 | def restrictedCartesianFirst : (b ⁻¹ᵁ (g ⁻¹ᵁ U)).toScheme ⟶ (f ⁻¹ᵁ U).toScheme := |
| 21 | a.resLE (f ⁻¹ᵁ U) (b ⁻¹ᵁ (g ⁻¹ᵁ U)) (cartesian_preimage_eq H U).symm.le |
| 22 | |
| 23 | theorem restrictedCartesianFirst_comp_ι : |
| 24 | restrictedCartesianFirst H U ≫ (f ⁻¹ᵁ U).ι = (b ⁻¹ᵁ (g ⁻¹ᵁ U)).ι ≫ a := |
| 25 | a.resLE_comp_ι _ |
| 26 | |
| 27 | theorem restrictedCartesianSquare : |
| 28 | IsPullback (restrictedCartesianFirst H U) (b ∣_ (g ⁻¹ᵁ U)) (f ∣_ U) (g ∣_ U) := by |
| 29 | have h : b ⁻¹ᵁ (g ⁻¹ᵁ U) = a ⁻¹ᵁ (f ⁻¹ᵁ U) ⊓ b ⁻¹ᵁ (g ⁻¹ᵁ U) := by |
| 30 | rw [cartesian_preimage_eq H U] |
| 31 | exact (inf_idem _).symm |
| 32 | simpa only [restrictedCartesianFirst, Scheme.Hom.resLE_eq_morphismRestrict] using |
| 33 | Scheme.Hom.isPullback_resLE H le_rfl le_rfl h |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.OpenRestriction |