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.Quotients.FiniteDescent.DenseOpen |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperLocal |
| 3 | |
| 4 | /-! # Chow Embedding Closed -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ChowEmbeddingClosed.Construction.ChowEmbedding |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The closed-embedding step of Chow's construction: a proper graph |
| 11 | closure embeds in the product of its chart compactifications. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | theorem closed {Z X P W : Scheme.{u}} [IsReduced Z] [X.IsSeparated] |
| 18 | (q : Z ⟶ X) (g : Z ⟶ P) [IsProper g] [IsImmersion (prod.lift q g)] |
| 19 | {ι : Type v} (U : ι → X.Opens) (hU : ∀ x : X, ∃ i, x ∈ U i) |
| 20 | (Q : ι → Scheme.{u}) [∀ i, (Q i).IsSeparated] |
| 21 | (c : ∀ i, (U i).toScheme ⟶ Q i) [∀ i, IsOpenImmersion (c i)] |
| 22 | (r : ∀ i, P ⟶ Q i) |
| 23 | (j : W ⟶ Z) [IsDominant j] (w : ∀ i, W ⟶ (U i).toScheme) |
| 24 | (hq : ∀ i, j ≫ q = w i ≫ (U i).ι) |
| 25 | (hg : ∀ i, j ≫ g ≫ r i = w i ≫ c i) : IsClosedImmersion g := by |
| 26 | let V : ι → P.Opens := fun i => r i ⁻¹ᵁ (c i).opensRange |
| 27 | have he (i) : q ⁻¹ᵁ U i = g ⁻¹ᵁ V i := |
| 28 | DenseOpen.Construction.DenseOpenFactorization.preimage_eq q (g ≫ r i) (U i) (c i) j (w i) (hq i) (hg i) |
| 29 | apply ProperLocal.Construction.ProperLocalImmersion.closed_of_chart_cover g V |
| 30 | · intro z |
| 31 | obtain ⟨i, hi⟩ := hU (q z) |
| 32 | refine ⟨i, ?_⟩ |
| 33 | change z ∈ g ⁻¹ᵁ V i |
| 34 | rw [← he i] |
| 35 | exact hi |
| 36 | · intro i |
| 37 | have hrel := DenseOpen.Construction.DenseOpenFactorization.factor q (g ≫ r i) (U i) (c i) j (w i) (hq i) (hg i) |
| 38 | let A := q ⁻¹ᵁ U i |
| 39 | have hp : IsImmersion (prod.lift (q ∣_ U i ≫ (U i).ι) (A.ι ≫ g)) := by |
| 40 | have hpair : prod.lift (q ∣_ U i ≫ (U i).ι) (A.ι ≫ g) = A.ι ≫ prod.lift q g := by |
| 41 | rw [morphismRestrict_ι, prod.comp_lift] |
| 42 | rw [hpair] |
| 43 | infer_instance |
| 44 | have hi : IsImmersion (A.ι ≫ g) := |
| 45 | ProperLocal.Construction.ProperLocalImmersion.immersion_of_open_coordinate (q ∣_ U i) (A.ι ≫ g) |
| 46 | (U i).ι (c i) (r i) (by simpa only [Category.assoc] using hrel) |
| 47 | exact (congrArg (fun B : Z.Opens => IsImmersion (B.ι ≫ g)) (he i)).mp hi |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ChowEmbeddingClosed.Construction.ChowEmbedding |