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.ArithmeticGeometry.Models.SpreadingOut.Graph |
| 2 | |
| 3 | /-! # Dense Chart Factor -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.DenseChartFactor.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Extension of closed affine-chart conditions from a dense subscheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem reduced_factors_through_closed_of_dominant |
| 16 | {W X Y T : Scheme.{u}} (d : W ⟶ X) [IsDominant d] [IsReduced X] |
| 17 | (f : X ⟶ T) (i : Y ⟶ T) [IsClosedImmersion i] |
| 18 | (k : W ⟶ Y) (h : d ≫ f = k ≫ i) : |
| 19 | ∃ l : X ⟶ Y, l ≫ i = f := by |
| 20 | let a := pullback.lift k d h.symm |
| 21 | have : IsDominant (a ≫ pullback.snd i f) := by |
| 22 | rw [pullback.lift_snd] |
| 23 | infer_instance |
| 24 | have : IsDominant (pullback.snd i f) := IsDominant.of_comp a (pullback.snd i f) |
| 25 | have : Surjective (pullback.snd i f) := inferInstance |
| 26 | have : IsIso (pullback.snd i f) := |
| 27 | isIso_of_isClosedImmersion_of_surjective (pullback.snd i f) |
| 28 | refine ⟨inv (pullback.snd i f) ≫ pullback.fst i f, ?_⟩ |
| 29 | rw [Category.assoc, pullback.condition, IsIso.inv_hom_id_assoc] |
| 30 | |
| 31 | /-- If a dense part of a reduced scheme lies in a closed affine chart, |
| 32 | its two coordinate maps factor through that chart everywhere. -/ |
| 33 | theorem factor_through_chart_of_dense |
| 34 | {S : Scheme.{u}} {W Z U X A : Over S} |
| 35 | [IsSeparated X.hom] [IsReduced Z.left] |
| 36 | (d : W ⟶ Z) [IsDominant d.left] |
| 37 | (j : U ⟶ X) (e : U ⟶ A) [IsClosedImmersion e.left] |
| 38 | (p : Z ⟶ X) (q : Z ⟶ A) (k : W ⟶ U) |
| 39 | (hp : d.left ≫ p.left = k.left ≫ j.left) |
| 40 | (hq : d.left ≫ q.left = k.left ≫ e.left) : |
| 41 | ∃ l : Z ⟶ U, l.left ≫ j.left = p.left ∧ l.left ≫ e.left = q.left := by |
| 42 | let i := pullback.lift j.left e.left (j.w.trans e.w.symm) |
| 43 | have : IsClosedImmersion i := |
| 44 | Graph.Construction.pullback_lift_closedImmersion_of_right X.hom A.hom j.left e.left _ |
| 45 | let f := pullback.lift p.left q.left (p.w.trans q.w.symm) |
| 46 | have h : d.left ≫ f = k.left ≫ i := by |
| 47 | apply pullback.hom_ext |
| 48 | · simpa only [f, i, Category.assoc, pullback.lift_fst] using hp |
| 49 | · simpa only [f, i, Category.assoc, pullback.lift_snd] using hq |
| 50 | obtain ⟨l, hl⟩ := reduced_factors_through_closed_of_dominant d.left f i k.left h |
| 51 | have hlj : l ≫ j.left = p.left := by |
| 52 | have h := congrArg (fun a ↦ a ≫ pullback.fst X.hom A.hom) hl |
| 53 | simpa only [f, i, Category.assoc, pullback.lift_fst] using h |
| 54 | have hle : l ≫ e.left = q.left := by |
| 55 | have h := congrArg (fun a ↦ a ≫ pullback.snd X.hom A.hom) hl |
| 56 | simpa only [f, i, Category.assoc, pullback.lift_snd] using h |
| 57 | refine ⟨Over.homMk l ?_, hlj, hle⟩ |
| 58 | rw [← e.w, ← Category.assoc, hle, q.w] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.ArithmeticGeometry.Models.SpreadingOut.DenseChartFactor.Construction |