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.ClosedImmersionDescent |
| 2 | |
| 3 | /-! # Restricted Graph -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.RestrictedGraph.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a closed relative graph along an open subset of its second |
| 10 | factor preserves the closed graph embedding. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem restricted_graph_closedImmersion |
| 17 | {S : Scheme.{u}} {Z X P : Over S} |
| 18 | (p : Z ⟶ X) (q : Z ⟶ P) |
| 19 | [IsClosedImmersion (pullback.lift p.left q.left (p.w.trans q.w.symm))] |
| 20 | (V : P.left.Opens) |
| 21 | (h : ((q.left ⁻¹ᵁ V).ι ≫ p.left) ≫ X.hom = (q.left ∣_ V) ≫ (V.ι ≫ P.hom)) : |
| 22 | IsClosedImmersion |
| 23 | (pullback.lift ((q.left ⁻¹ᵁ V).ι ≫ p.left) (q.left ∣_ V) h) := by |
| 24 | let i := pullback.lift p.left q.left (p.w.trans q.w.symm) |
| 25 | let A : Over P.left := Over.mk q.left |
| 26 | let B : Over P.left := Over.mk (pullback.snd X.hom P.hom) |
| 27 | let a : A ⟶ B := Over.homMk i (pullback.lift_snd _ _ _) |
| 28 | have : IsClosedImmersion a.left := |
| 29 | inferInstanceAs (IsClosedImmersion (pullback.lift p.left q.left (p.w.trans q.w.symm))) |
| 30 | let F := Over.pullback V.ι |
| 31 | have : IsClosedImmersion (F.map a).left := ClosedImmersionDescent.Construction.baseChange_closedImmersion V.ι a |
| 32 | let e := (isPullback_morphismRestrict q.left V).flip.isoPullback |
| 33 | let v := pullbackLeftPullbackSndIso X.hom P.hom V.ι |
| 34 | let l := e.hom ≫ (F.map a).left ≫ v.hom |
| 35 | have he₁ : e.hom ≫ pullback.fst q.left V.ι = (q.left ⁻¹ᵁ V).ι := |
| 36 | (isPullback_morphismRestrict q.left V).flip.isoPullback_hom_fst |
| 37 | have he₂ : e.hom ≫ pullback.snd q.left V.ι = q.left ∣_ V := |
| 38 | (isPullback_morphismRestrict q.left V).flip.isoPullback_hom_snd |
| 39 | have ha₁ : (F.map a).left ≫ pullback.fst (pullback.snd X.hom P.hom) V.ι = |
| 40 | pullback.fst q.left V.ι ≫ i := |
| 41 | (FoundationsPullback.Constructions.pullback_over_map_isPullback V.ι a).w |
| 42 | have ha₂ : (F.map a).left ≫ pullback.snd (pullback.snd X.hom P.hom) V.ι = |
| 43 | pullback.snd q.left V.ι := (F.map a).w |
| 44 | have hi : i ≫ pullback.fst X.hom P.hom = p.left := pullback.lift_fst _ _ _ |
| 45 | have hl : l = pullback.lift ((q.left ⁻¹ᵁ V).ι ≫ p.left) (q.left ∣_ V) h := by |
| 46 | apply pullback.hom_ext |
| 47 | · simp only [l, v, Category.assoc, pullbackLeftPullbackSndIso_hom_fst, |
| 48 | reassoc_of% ha₁, hi, reassoc_of% he₁, pullback.lift_fst] |
| 49 | · simp only [l, v, Category.assoc, pullbackLeftPullbackSndIso_hom_snd, |
| 50 | ha₂, he₂, pullback.lift_snd] |
| 51 | rw [← hl] |
| 52 | exact inferInstanceAs (IsClosedImmersion (e.hom ≫ (F.map a).left ≫ v.hom)) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.ArithmeticGeometry.Models.SpreadingOut.RestrictedGraph.Construction |