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.SourceIsomorphismTransport |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.IteratedPullbackIsomorphism |
| 3 | |
| 4 | /-! # Target Base Change Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.TargetBaseChangeIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An isomorphism of a family after base change stays an isomorphism |
| 11 | after any compatible change of its target and coefficient base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {X Y B Y' B' T : Scheme.{u}} |
| 17 | |
| 18 | theorem relativeMorphismBaseChange_target_square |
| 19 | (f : X ⟶ Y) (q : Y ⟶ B) (a : Y' ⟶ Y) (q' : Y' ⟶ B') (b : B' ⟶ B) |
| 20 | (hab : a ≫ q = q' ≫ b) (c : T ⟶ B') |
| 21 | (h : IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange f q (c ≫ b))) : |
| 22 | IsIso (MorphismIsomorphismLocus.relativeMorphismBaseChange (pullback.fst a f) q' c) := by |
| 23 | have hI : IsIso (pullback.fst (pullback.fst q (c ≫ b)) f) := by |
| 24 | rw [← SourceIsomorphismTransport.isIso_pullback_snd_iff_fst, ← MorphismIsomorphismLocus.relativeMorphismBaseChange_isIso_iff] |
| 25 | exact h |
| 26 | let k : pullback q' c ⟶ pullback q (c ≫ b) := |
| 27 | pullback.lift (pullback.fst q' c ≫ a) (pullback.snd q' c) (by |
| 28 | rw [Category.assoc, hab, ← Category.assoc, pullback.condition, Category.assoc]) |
| 29 | have hk : k ≫ pullback.fst q (c ≫ b) = pullback.fst q' c ≫ a := pullback.lift_fst _ _ _ |
| 30 | have hi : IsIso (pullback.fst (pullback.fst q' c ≫ a) f) := by |
| 31 | rw [← hk, ← IteratedPullbackIsomorphism.isIso_pullback_fst_iterated_iff] |
| 32 | infer_instance |
| 33 | rw [MorphismIsomorphismLocus.relativeMorphismBaseChange_isIso_iff, SourceIsomorphismTransport.isIso_pullback_snd_iff_fst, |
| 34 | IteratedPullbackIsomorphism.isIso_pullback_fst_iterated_iff] |
| 35 | exact hi |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.TargetBaseChangeIsomorphism |