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.Pullbacks |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.OpenImmersion |
| 3 | |
| 4 | /-! # Mono Open Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.MonoOpenSection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A local section of a scheme monomorphism identifies the whole |
| 11 | inverse image of its open domain. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem monoOpenSection_isOpenImmersion {X Y : Scheme.{u}} (f : X ⟶ Y) [Mono f] |
| 22 | (U : Y.Opens) (j : U.toScheme ⟶ X) (hj : j ≫ f = U.ι) : IsOpenImmersion j := by |
| 23 | let g : U.toScheme ⟶ pullback f U.ι := pullback.lift j (𝟙 _) (by simpa using hj) |
| 24 | let e : U.toScheme ≅ pullback f U.ι := |
| 25 | { hom := g |
| 26 | inv := pullback.snd f U.ι |
| 27 | hom_inv_id := pullback.lift_snd _ _ _ |
| 28 | inv_hom_id := by |
| 29 | apply (cancel_mono (pullback.snd f U.ι)).mp |
| 30 | simp only [Category.assoc, g, pullback.lift_snd, Category.comp_id, Category.id_comp] } |
| 31 | have he : j = e.hom ≫ pullback.fst f U.ι := (pullback.lift_fst _ _ _).symm |
| 32 | have : IsIso e.hom := ⟨⟨e.inv, e.hom_inv_id, e.inv_hom_id⟩⟩ |
| 33 | have : IsOpenImmersion (pullback.fst f U.ι) := inferInstance |
| 34 | have h : IsOpenImmersion (e.hom ≫ pullback.fst f U.ι) := inferInstance |
| 35 | exact he ▸ h |
| 36 | |
| 37 | end Construction |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.MonoOpenSection |