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.Quotients.FiniteDescent.ProperAffine |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.Separated |
| 5 | |
| 6 | /-! # Relative Affine -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelativeAffine.Construction.RelativeAffineRigidity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Affine-target rigidity for proper smooth morphisms with connected geometric fibers and a section. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X S Y : Scheme.{u}} (f : X ⟶ S) [IsProper f] [Smooth f] |
| 19 | variable [GeometricallyConnected f] (e : S ⟶ X) (he : e ≫ f = 𝟙 S) |
| 20 | variable [IsAffine Y] (h : X ⟶ Y) |
| 21 | |
| 22 | include he |
| 23 | |
| 24 | theorem residuePoint_eq (x : X) : |
| 25 | X.fromSpecResidueField x ≫ h = X.fromSpecResidueField x ≫ f ≫ e ≫ h := by |
| 26 | let a := X.fromSpecResidueField x |
| 27 | let k := a ≫ f |
| 28 | let P := pullback f k |
| 29 | let π : P ⟶ Spec (X.residueField x) := pullback.snd f k |
| 30 | have hπs : Smooth π := inferInstanceAs (Smooth (pullback.snd f k)) |
| 31 | have hπp : IsProper π := inferInstanceAs (IsProper (pullback.snd f k)) |
| 32 | have : GeometricallyConnected π := inferInstanceAs (GeometricallyConnected (pullback.snd f k)) |
| 33 | have : IsReduced P := @SchemeSmooth.Construction.SchemeSmoothReduced.reduced_of_smooth_field |
| 34 | (X.residueField x) inferInstance P π hπs |
| 35 | have : ConnectedSpace P := GeometricallyConnected.connectedSpace_of_subsingleton π |
| 36 | let a' : Spec (X.residueField x) ⟶ P := pullback.lift a (𝟙 _) (by simp [k]) |
| 37 | let e' : Spec (X.residueField x) ⟶ P := |
| 38 | pullback.lift (k ≫ e) (𝟙 _) (by simp [Category.assoc, he]) |
| 39 | have ha' : a' ≫ π = 𝟙 _ := pullback.lift_snd _ _ _ |
| 40 | have he' : e' ≫ π = 𝟙 _ := pullback.lift_snd _ _ _ |
| 41 | have : IsProper (Over.mk π).hom := hπp |
| 42 | have : ConnectedSpace (Over.mk π).left := inferInstanceAs (ConnectedSpace P) |
| 43 | have : IsReduced (Over.mk π).left := inferInstanceAs (IsReduced P) |
| 44 | have H := ProperAffine.Construction.ProperAffineRigidity.points_eq (K := X.residueField x) |
| 45 | (Over.mk π) (pullback.fst f k ≫ h) a' e' ha' he' |
| 46 | have h₁ : a' ≫ pullback.fst f k = a := pullback.lift_fst _ _ _ |
| 47 | have h₂ : e' ≫ pullback.fst f k = k ≫ e := pullback.lift_fst _ _ _ |
| 48 | rw [← Category.assoc, ← Category.assoc, h₁, h₂, Category.assoc] at H |
| 49 | exact H |
| 50 | |
| 51 | theorem factor [IsReduced X] : h = f ≫ e ≫ h := by |
| 52 | apply ext_of_fromSpecResidueField_eq h (f ≫ e ≫ h) (terminal.from Y) |
| 53 | Set.univ dense_univ |
| 54 | · intro x _ |
| 55 | exact residuePoint_eq f e he h x |
| 56 | · exact terminal.hom_ext _ _ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelativeAffine.Construction.RelativeAffineRigidity |