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.HilbertScheme.Presentations.Relative.TargetBaseChangeIsomorphism |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.OpenPullbackIsomorphismTransport |
| 3 | |
| 4 | /-! # Target Restriction Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.TargetRestrictionIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Isomorphism after parameter base change persists after restricting |
| 11 | the target of the original family morphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {X Y B T : Scheme.{u}} |
| 17 | |
| 18 | theorem relativeMorphismBaseChange_restrict_target |
| 19 | (f : X ⟶ Y) (q : Y ⟶ B) (U : Y.Opens) (g : T ⟶ B) |
| 20 | (h : IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q g)) : |
| 21 | IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange (f ∣_ U) (U.ι ≫ q) g) := by |
| 22 | have hi : IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange (pullback.fst U.ι f) (U.ι ≫ q) g) := by |
| 23 | apply TargetBaseChangeIsomorphism.relativeMorphismBaseChange_target_square f q U.ι (U.ι ≫ q) (𝟙 B) |
| 24 | (by simp) g |
| 25 | exact (congrArg (fun a : T ⟶ B => IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q a)) |
| 26 | (Category.comp_id g)).mpr h |
| 27 | let e := (isPullback_morphismRestrict f U).isoPullback |
| 28 | have he : e.hom ≫ pullback.fst U.ι f = f ∣_ U := |
| 29 | (isPullback_morphismRestrict f U).isoPullback_hom_fst |
| 30 | rw [← he, SourceIsomorphismTransport.relativeMorphismBaseChange_sourceIso_iff] |
| 31 | exact hi |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.TargetRestrictionIsomorphism |