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.Morphisms.ClosedImmersion |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | |
| 4 | /-! # Closed Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.ClosedLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A reduced source lifts across a surjective closed immersion. The |
| 11 | actual lift preserves open and closed immersions by its pullback square. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {X Y Z : Scheme.{0}} [IsReduced X] (i : Z ⟶ Y) [IsClosedImmersion i] [Surjective i] |
| 16 | (f : X ⟶ Y) |
| 17 | |
| 18 | def reducedClosedLift : X ⟶ Z := |
| 19 | let _ : IsIso (pullback.fst f i) := isIso_of_isClosedImmersion_of_surjective (pullback.fst f i) |
| 20 | inv (pullback.fst f i) ≫ pullback.snd f i |
| 21 | |
| 22 | theorem reducedClosedLift_comp : reducedClosedLift i f ≫ i = f := by |
| 23 | have : IsIso (pullback.fst f i) := isIso_of_isClosedImmersion_of_surjective (pullback.fst f i) |
| 24 | change (inv (pullback.fst f i) ≫ pullback.snd f i) ≫ i = f |
| 25 | rw [Category.assoc, ← pullback.condition, ← Category.assoc, IsIso.inv_hom_id, Category.id_comp] |
| 26 | |
| 27 | theorem reducedClosedLift_open [IsOpenImmersion f] : IsOpenImmersion (reducedClosedLift i f) := by |
| 28 | have : IsIso (pullback.fst f i) := isIso_of_isClosedImmersion_of_surjective (pullback.fst f i) |
| 29 | change IsOpenImmersion (inv (pullback.fst f i) ≫ pullback.snd f i) |
| 30 | infer_instance |
| 31 | |
| 32 | theorem reducedClosedLift_closed [IsClosedImmersion f] : IsClosedImmersion (reducedClosedLift i f) := by |
| 33 | have : IsIso (pullback.fst f i) := isIso_of_isClosedImmersion_of_surjective (pullback.fst f i) |
| 34 | change IsClosedImmersion (inv (pullback.fst f i) ≫ pullback.snd f i) |
| 35 | infer_instance |
| 36 | |
| 37 | variable {B : Scheme.{0}} {V W T : Over B} |
| 38 | |
| 39 | def reducedClosedOverLift (j : W ⟶ T) [IsClosedImmersion j.left] [Surjective j.left] |
| 40 | (g : V ⟶ T) [IsReduced V.left] : V ⟶ W := |
| 41 | Over.homMk (reducedClosedLift j.left g.left) (by |
| 42 | rw [← j.w, ← Category.assoc, reducedClosedLift_comp, g.w]) |
| 43 | |
| 44 | theorem reducedClosedOverLift_comp (j : W ⟶ T) [IsClosedImmersion j.left] [Surjective j.left] |
| 45 | (g : V ⟶ T) [IsReduced V.left] : reducedClosedOverLift j g ≫ j = g := |
| 46 | Over.OverMorphism.ext (reducedClosedLift_comp j.left g.left) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.ClosedLift |