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.Rational.PointResidue |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.FiberIsomorphism |
| 3 | |
| 4 | /-! # Fiber Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.FiberIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Fibers at ground-field rational points are the actual residue fibers after the canonical coefficient-field isomorphism. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | variable {K : Type u} [Field K] {S X P : Scheme.{u}} |
| 14 | (p : S ⟶ Spec (.of K)) (s : Spec (.of K) ⟶ S) (hs : s ≫ p = 𝟙 _) |
| 15 | {a : P ⟶ X} {b : P ⟶ Spec (.of K)} {f : X ⟶ S} |
| 16 | |
| 17 | def rationalFiberMap (p : S ⟶ Spec (.of K)) (s : Spec (.of K) ⟶ S) |
| 18 | (hs : s ≫ p = 𝟙 _) (f : X ⟶ S) : |
| 19 | pullback f s ⟶ f.fiber (s (IsLocalRing.closedPoint K)) := |
| 20 | pullback.map f s f (S.fromSpecResidueField (s (IsLocalRing.closedPoint K))) |
| 21 | (𝟙 X) (Spec.map (PointResidue.rationalPointResidueIso p s hs).hom) (𝟙 S) |
| 22 | (by simp) ((Category.comp_id s).trans (PointResidue.rationalPointResidueIso_factor p s hs).symm) |
| 23 | |
| 24 | theorem rationalFiberMap_isIso (f : X ⟶ S) : IsIso (rationalFiberMap p s hs f) := by |
| 25 | have : IsIso (Spec.map (PointResidue.rationalPointResidueIso p s hs).hom) := inferInstance |
| 26 | exact pullback.map_isIso f s f (S.fromSpecResidueField (s (IsLocalRing.closedPoint K))) |
| 27 | (𝟙 X) (Spec.map (PointResidue.rationalPointResidueIso p s hs).hom) (𝟙 S) |
| 28 | (by simp) ((Category.comp_id s).trans (PointResidue.rationalPointResidueIso_factor p s hs).symm) |
| 29 | |
| 30 | def rationalFiberIso (p : S ⟶ Spec (.of K)) (s : Spec (.of K) ⟶ S) |
| 31 | (hs : s ≫ p = 𝟙 _) (H : IsPullback a b f s) : |
| 32 | P ≅ f.fiber (s (IsLocalRing.closedPoint K)) := |
| 33 | H.isoPullback ≪≫ @asIso Scheme _ (pullback f s) (f.fiber (s (IsLocalRing.closedPoint K))) |
| 34 | (rationalFiberMap p s hs f) (rationalFiberMap_isIso p s hs f) |
| 35 | |
| 36 | @[reassoc] |
| 37 | theorem rationalFiberIso_fiberι (H : IsPullback a b f s) : |
| 38 | (rationalFiberIso p s hs H).hom ≫ f.fiberι (s (IsLocalRing.closedPoint K)) = a := by |
| 39 | have h : rationalFiberMap p s hs f ≫ f.fiberι (s (IsLocalRing.closedPoint K)) = |
| 40 | pullback.fst f s := (pullback.lift_fst _ _ _).trans (Category.comp_id _) |
| 41 | change (H.isoPullback.hom ≫ rationalFiberMap p s hs f) ≫ f.fiberι _ = a |
| 42 | exact (Category.assoc _ _ _).trans |
| 43 | ((congrArg (fun t => H.isoPullback.hom ≫ t) h).trans H.isoPullback_hom_fst) |
| 44 | |
| 45 | @[reassoc] |
| 46 | theorem rationalFiberIso_structure (H : IsPullback a b f s) : |
| 47 | (rationalFiberIso p s hs H).hom ≫ f.fiberToSpecResidueField (s (IsLocalRing.closedPoint K)) = |
| 48 | b ≫ Spec.map (PointResidue.rationalPointResidueIso p s hs).hom := by |
| 49 | have h : rationalFiberMap p s hs f ≫ f.fiberToSpecResidueField (s (IsLocalRing.closedPoint K)) = |
| 50 | pullback.snd f s ≫ Spec.map (PointResidue.rationalPointResidueIso p s hs).hom := pullback.lift_snd _ _ _ |
| 51 | change (H.isoPullback.hom ≫ rationalFiberMap p s hs f) ≫ f.fiberToSpecResidueField _ = _ |
| 52 | exact (Category.assoc _ _ _).trans ((congrArg (fun t => H.isoPullback.hom ≫ t) h).trans |
| 53 | ((Category.assoc _ _ _).symm.trans |
| 54 | (congrArg (fun t => t ≫ Spec.map (PointResidue.rationalPointResidueIso p s hs).hom) H.isoPullback_hom_snd))) |
| 55 | |
| 56 | def rationalFiberBundleIso (H : IsPullback a b f s) (L : Line.Bundles.LineBundle X) : |
| 57 | ((L.pullback (f.fiberι (s (IsLocalRing.closedPoint K)))).pullback |
| 58 | (rationalFiberIso p s hs H).hom).sheaf ≅ (L.pullback a).sheaf := |
| 59 | (Scheme.Modules.pullbackComp (rationalFiberIso p s hs H).hom |
| 60 | (f.fiberι (s (IsLocalRing.closedPoint K)))).app L.sheaf ≪≫ |
| 61 | (Scheme.Modules.pullbackCongr (rationalFiberIso_fiberι p s hs H)).app L.sheaf |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.FiberIsomorphism |