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 | /-! # Cartesian Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.CartesianRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A cartesian family whose coefficient map lands in an open subset |
| 10 | has actual compatible lifts to the restricted family and base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem exists_cartesian_open_lifts |
| 17 | {X Y S T : Scheme.{u}} (f : X ⟶ S) (a : Y ⟶ X) (ρ : Y ⟶ T) (g : T ⟶ S) |
| 18 | (hp : IsPullback a ρ f g) (U : S.Opens) (hU : Set.range g ⊆ (U : Set S)) : |
| 19 | ∃ (b : Y ⟶ (f ⁻¹ᵁ U).toScheme) (k : T ⟶ U.toScheme), |
| 20 | b ≫ (f ⁻¹ᵁ U).ι = a ∧ k ≫ U.ι = g ∧ IsPullback b ρ (f ∣_ U) k := by |
| 21 | have hr : Set.range g ⊆ Set.range U.ι := by |
| 22 | rw [Scheme.Opens.range_ι] |
| 23 | exact hU |
| 24 | let k := IsOpenImmersion.lift U.ι g hr |
| 25 | have hk : k ≫ U.ι = g := IsOpenImmersion.lift_fac _ _ _ |
| 26 | have har : Set.range a ⊆ Set.range (f ⁻¹ᵁ U).ι := by |
| 27 | rw [Scheme.Opens.range_ι] |
| 28 | rintro _ ⟨y, rfl⟩ |
| 29 | change f (a y) ∈ U |
| 30 | have he : f (a y) = g (ρ y) := congrArg (fun z : Y ⟶ S => z y) hp.w |
| 31 | exact he ▸ hU ⟨ρ y, rfl⟩ |
| 32 | let b := IsOpenImmersion.lift (f ⁻¹ᵁ U).ι a har |
| 33 | have hb : b ≫ (f ⁻¹ᵁ U).ι = a := IsOpenImmersion.lift_fac _ _ _ |
| 34 | have hw : b ≫ (f ∣_ U) = ρ ≫ k := by |
| 35 | apply (cancel_mono U.ι).mp |
| 36 | rw [Category.assoc, morphismRestrict_ι, ← Category.assoc, hb, |
| 37 | Category.assoc, hk] |
| 38 | exact hp.w |
| 39 | have hout : IsPullback (b ≫ (f ⁻¹ᵁ U).ι) ρ f (k ≫ U.ι) := by |
| 40 | rw [hb, hk] |
| 41 | exact hp |
| 42 | exact ⟨b, k, hb, hk, hout.of_right hw (isPullback_morphismRestrict f U).flip⟩ |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.CartesianRestriction |