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.ArithmeticGeometry.Models.SpreadingOut.GeometricFieldComponents |
| 2 | |
| 3 | /-! # Geometric Descent -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricDescent.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Descent of geometric properties detected by surjective morphisms. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem geometrically_of_surjective_baseChange |
| 16 | (P : ObjectProperty Scheme.{u}) [P.IsClosedUnderIsomorphisms] |
| 17 | (hP : ∀ {A B : Scheme.{u}} (a : A ⟶ B), Surjective a → P A → P B) |
| 18 | {X Y Y' : Scheme.{u}} (f : X ⟶ Y) (g : Y' ⟶ Y) [Surjective g] |
| 19 | (hf : geometrically P (pullback.snd f g)) : geometrically P f := by |
| 20 | classical |
| 21 | refine geometrically_iff_of_isClosedUnderIsomorphisms.mpr fun K _ y ↦ ?_ |
| 22 | let W : Scheme.{u} := pullback g y |
| 23 | have : Surjective (pullback.snd g y) := inferInstance |
| 24 | obtain ⟨w, -⟩ := (pullback.snd g y).surjective (Classical.choice inferInstance) |
| 25 | let T := W.residueField w |
| 26 | let a : Spec T ⟶ Y' := W.fromSpecResidueField w ≫ pullback.fst g y |
| 27 | let b : Spec T ⟶ Spec (.of K) := W.fromSpecResidueField w ≫ pullback.snd g y |
| 28 | have hab : a ≫ g = b ≫ y := by simp [a, b, pullback.condition] |
| 29 | let Z : Scheme.{u} := pullback (pullback.snd f y) b |
| 30 | let p : Z ⟶ pullback f g := pullback.lift |
| 31 | (pullback.fst _ b ≫ pullback.fst f y) (pullback.snd _ b ≫ a) (by |
| 32 | rw [Category.assoc, pullback.condition, ← Category.assoc, pullback.condition, |
| 33 | Category.assoc, ← hab] |
| 34 | exact (Category.assoc _ _ _).symm) |
| 35 | have houter : IsPullback (p ≫ pullback.fst f g) (pullback.snd _ b) f (a ≫ g) := by |
| 36 | simpa only [p, pullback.lift_fst, hab] using |
| 37 | (IsPullback.of_hasPullback (pullback.snd f y) b).paste_horiz |
| 38 | (IsPullback.of_hasPullback f y) |
| 39 | have hp : IsPullback p (pullback.snd _ b) (pullback.snd f g) a := |
| 40 | IsPullback.of_right houter (by simp only [p, pullback.lift_snd]) (IsPullback.of_hasPullback f g) |
| 41 | have hZ : P Z := hf a p (pullback.snd _ b) hp |
| 42 | exact hP (pullback.fst (pullback.snd f y) b) inferInstance hZ |
| 43 | |
| 44 | theorem geometricallyConnected_of_surjective_baseChange |
| 45 | {X Y Y' : Scheme.{u}} (f : X ⟶ Y) (g : Y' ⟶ Y) [Surjective g] |
| 46 | [GeometricallyConnected (pullback.snd f g)] : GeometricallyConnected f := by |
| 47 | refine ⟨geometrically_of_surjective_baseChange (ConnectedSpace ·) ?_ f g |
| 48 | GeometricallyConnected.geometrically_connectedSpace⟩ |
| 49 | intro A B a ha hA |
| 50 | have : Surjective a := ha |
| 51 | have : ConnectedSpace A := hA |
| 52 | exact a.surjective.connectedSpace a.continuous |
| 53 | |
| 54 | theorem geometricallyIrreducible_of_surjective_baseChange |
| 55 | {X Y Y' : Scheme.{u}} (f : X ⟶ Y) (g : Y' ⟶ Y) [Surjective g] |
| 56 | [GeometricallyIrreducible (pullback.snd f g)] : GeometricallyIrreducible f := by |
| 57 | refine ⟨geometrically_of_surjective_baseChange (IrreducibleSpace ·) ?_ f g |
| 58 | GeometricallyIrreducible.geometrically_irreducibleSpace⟩ |
| 59 | intro A B a ha hA |
| 60 | have : Surjective a := ha |
| 61 | have : IrreducibleSpace A := hA |
| 62 | exact GeometricFieldComponents.Construction.irreducibleSpace_of_dominant a |
| 63 | |
| 64 | theorem geometricallyConnected_of_surjective_cartesian |
| 65 | {W X Y Z : Scheme.{u}} {p : W ⟶ X} {q : W ⟶ Y} {f : X ⟶ Z} {g : Y ⟶ Z} |
| 66 | (h : IsPullback p q f g) [Surjective g] [GeometricallyConnected q] : |
| 67 | GeometricallyConnected f := by |
| 68 | have : GeometricallyConnected (pullback.snd f g) := by |
| 69 | refine ⟨fun L _ y A p' q' hp ↦ ?_⟩ |
| 70 | have hp' : IsPullback (p' ≫ h.isoPullback.inv) q' q y := by |
| 71 | apply hp.of_iso (Iso.refl _) h.isoPullback.symm (Iso.refl _) (Iso.refl _) |
| 72 | · simp |
| 73 | · simp |
| 74 | · simpa only [Iso.symm_hom, Iso.refl_hom, Category.comp_id] using |
| 75 | h.isoPullback_inv_snd.symm |
| 76 | · simp |
| 77 | exact GeometricallyConnected.geometrically_connectedSpace y _ _ hp' |
| 78 | exact geometricallyConnected_of_surjective_baseChange f g |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricDescent.Construction |