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.AbelianModuli.HilbertConstruction.Smooth.FiberOpenSource |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FiberCartesianComparison |
| 3 | |
| 4 | /-! # Fiber Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FiberRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A smooth fiber remains smooth on simultaneous open restrictions of source and target. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem smooth_fiber_resLE |
| 17 | {X S : Scheme.{u}} (f : X ⟶ S) (U : S.Opens) (V : X.Opens) (e : V ≤ f ⁻¹ᵁ U) |
| 18 | (x : V.toScheme) [Smooth (f.fiberToSpecResidueField (f (V.ι x)))] : |
| 19 | Smooth ((f.resLE U V e).fiberToSpecResidueField ((f.resLE U V e) x)) := by |
| 20 | let g := V.ι ≫ f |
| 21 | let p := f.resLE U V e |
| 22 | have hp : p ≫ U.ι = g := Scheme.Hom.resLE_comp_ι f e |
| 23 | have h : IsPullback (𝟙 V.toScheme) p g U.ι := |
| 24 | IsPullback.of_horiz_isIso_mono ⟨(Category.id_comp g).trans hp.symm⟩ |
| 25 | have : Smooth (f.fiberToSpecResidueField (g x)) := |
| 26 | inferInstanceAs (Smooth (f.fiberToSpecResidueField (f (V.ι x)))) |
| 27 | have hg : Smooth (g.fiberToSpecResidueField (g x)) := FiberOpenSource.smooth_fiber_precomp_open f V.ι (g x) |
| 28 | have he : U.ι (p x) = g x := congrArg (fun k : V.toScheme ⟶ S => k x) hp |
| 29 | apply (FiberCartesianComparison.smooth_fiber_iff_of_isPullback _ p g U.ι h (p x)).mpr |
| 30 | rw [he] |
| 31 | exact hg |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.FiberRestriction |