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.IteratedPullbackIsomorphism |
| 2 | |
| 3 | /-! # On Open Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.OnOpenBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Every base change whose target image lies in an isomorphism open |
| 10 | is itself an isomorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X Y T : Scheme.{u}} (f : X ⟶ Y) |
| 16 | |
| 17 | theorem isIso_pullback_fst_of_range_subset_isomorphism_open |
| 18 | (U : Y.Opens) [IsIso (f ∣_ U)] (g : T ⟶ Y) (h : Set.range g ⊆ (U : Set Y)) : |
| 19 | IsIso (pullback.fst g f) := by |
| 20 | have hr : Set.range g ⊆ Set.range U.ι := by |
| 21 | rw [Scheme.Opens.range_ι] |
| 22 | exact h |
| 23 | let k := IsOpenImmersion.lift U.ι g hr |
| 24 | have hk : k ≫ U.ι = g := IsOpenImmersion.lift_fac _ _ _ |
| 25 | let : IsIso (pullback.fst U.ι f) := (OpenPullbackIsomorphismTransport.isIso_pullback_fst_open_iff f U).mpr inferInstance |
| 26 | have hi : IsIso (pullback.fst (k ≫ U.ι) f) := |
| 27 | (IteratedPullbackIsomorphism.isIso_pullback_fst_iterated_iff U.ι f k).mp inferInstance |
| 28 | exact hk ▸ hi |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.OnOpenBaseChange |