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.ClosedImmersion |
| 2 | |
| 3 | /-! # Pullback Composition Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.PullbackCompositionMap.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal pullback map of a morphism to the source of a family is a base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X Y Z B : Scheme.{u}} (f : X ⟶ Y) (g : Z ⟶ X) (b : B ⟶ Y) |
| 19 | |
| 20 | def pullbackCompositionMap : pullback (g ≫ f) b ⟶ pullback f b := |
| 21 | pullback.map _ _ _ _ g (𝟙 B) (𝟙 Y) (by simp) (by simp) |
| 22 | |
| 23 | @[reassoc (attr := simp)] |
| 24 | theorem pullbackCompositionMap_snd : |
| 25 | pullbackCompositionMap f g b ≫ pullback.snd f b = pullback.snd (g ≫ f) b := by |
| 26 | simp [pullbackCompositionMap] |
| 27 | |
| 28 | theorem pullbackCompositionMap_isPullback : |
| 29 | IsPullback (pullbackCompositionMap f g b) (pullback.fst (g ≫ f) b) (pullback.fst f b) g := by |
| 30 | refine .of_right (t := (IsPullback.of_hasPullback f b).flip) ?_ ?_ |
| 31 | · simpa [pullbackCompositionMap] using (IsPullback.of_hasPullback (g ≫ f) b).flip |
| 32 | · simp [pullbackCompositionMap] |
| 33 | |
| 34 | instance pullbackCompositionMap_isClosedImmersion [IsClosedImmersion g] : |
| 35 | IsClosedImmersion (pullbackCompositionMap f g b) := |
| 36 | MorphismProperty.of_isPullback (P := @IsClosedImmersion) |
| 37 | (pullbackCompositionMap_isPullback f g b).flip inferInstance |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.PullbackCompositionMap.Construction |