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.FormallyUnramified |
| 2 | |
| 3 | /-! # Unramified Open Factor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.UnramifiedOpenFactor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A factor of an open immersion through an unramified morphism |
| 10 | of finite type is again an open immersion. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem factor {X Y S : Scheme} (f : X ⟶ Y) (g : Y ⟶ S) |
| 18 | [FormallyUnramified g] [LocallyOfFiniteType g] [IsOpenImmersion (f ≫ g)] : |
| 19 | IsOpenImmersion f := by |
| 20 | let gr : X ⟶ pullback (f ≫ g) g := pullback.lift (𝟙 X) f (by simp) |
| 21 | have hgr : IsOpenImmersion gr := |
| 22 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) |
| 23 | (pullback_lift_diagonal_isPullback f g) inferInstance |
| 24 | let := hgr |
| 25 | have hsnd : IsOpenImmersion (pullback.snd (f ≫ g) g) := |
| 26 | MorphismProperty.pullback_snd (P := @IsOpenImmersion) _ _ inferInstance |
| 27 | let := hsnd |
| 28 | have he : f = gr ≫ pullback.snd (f ≫ g) g := by simp [gr] |
| 29 | rw [he] |
| 30 | infer_instance |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.UnramifiedOpenFactor |