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.SmoothFiber |
| 2 | |
| 3 | /-! # Fiber Open Source -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FiberOpenSource |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smooth fibers remain smooth after restriction to an open subscheme of the source. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem smooth_fiber_precomp_open |
| 16 | {X Y S : Scheme.{u}} (f : X ⟶ S) (j : Y ⟶ X) [IsOpenImmersion j] |
| 17 | (s : S) [Smooth (f.fiberToSpecResidueField s)] : Smooth ((j ≫ f).fiberToSpecResidueField s) := by |
| 18 | have : Smooth (pullback.snd f (S.fromSpecResidueField s)) := |
| 19 | inferInstanceAs (Smooth (f.fiberToSpecResidueField s)) |
| 20 | have hj : Smooth j := SmoothOfRelativeDimension.smooth 0 j |
| 21 | have : Smooth (pullback.snd j (pullback.fst f (S.fromSpecResidueField s))) := |
| 22 | MorphismProperty.of_isPullback (P := @Smooth) |
| 23 | (IsPullback.of_hasPullback j (pullback.fst f (S.fromSpecResidueField s))) hj |
| 24 | have : Smooth (pullbackRightPullbackFstIso f (S.fromSpecResidueField s) j).inv := inferInstance |
| 25 | have : Smooth (pullback.snd j (pullback.fst f (S.fromSpecResidueField s)) ≫ |
| 26 | pullback.snd f (S.fromSpecResidueField s)) := AlgebraicGeometry.smooth_comp _ _ |
| 27 | have hh : Smooth ((pullbackRightPullbackFstIso f (S.fromSpecResidueField s) j).inv ≫ |
| 28 | pullback.snd j (pullback.fst f (S.fromSpecResidueField s)) ≫ |
| 29 | pullback.snd f (S.fromSpecResidueField s)) := AlgebraicGeometry.smooth_comp _ _ |
| 30 | exact (congrArg Smooth (pullbackRightPullbackFstIso_inv_snd_snd f (S.fromSpecResidueField s) j)).mp hh |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FiberOpenSource |