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.AbelianScheme.TorsionQuotient.PointedTangentAt |
| 2 | |
| 3 | /-! # Tangent Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.TangentBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Relative infinitesimal points of arbitrary schemes, their |
| 12 | actual point classification, and the linear map of every commutative square. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace RelativeTangent |
| 19 | |
| 20 | variable {C : CommRingCat.{0}} [IsLocalRing C] (J : Ideal C) (hJ : J ^ 2 = ⊥) |
| 21 | {X Y : Scheme.{0}} (p : Y ⟶ X) (g : Spec C ⟶ Y) |
| 22 | |
| 23 | abbrev Space := AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.relativeModule J hJ (Scheme.stalkClosedPointTo g) p |
| 24 | |
| 25 | def point (v : Space J hJ p g) : Spec C ⟶ Y := AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.point J hJ g v.val |
| 26 | |
| 27 | theorem point_zero : point J hJ p g 0 = g := AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.point_zero J hJ g |
| 28 | |
| 29 | theorem point_injective : Function.Injective (point J hJ p g) := by |
| 30 | intro v w h |
| 31 | exact Subtype.ext (AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.point_injective J hJ g h) |
| 32 | |
| 33 | theorem point_over (v : Space J hJ p g) : point J hJ p g v ≫ p = g ≫ p := by |
| 34 | have h := AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.toPoint_over J hJ (Scheme.stalkClosedPointTo g) p v |
| 35 | exact h.trans (congrArg (fun q => q ≫ p) (Scheme.Spec_stalkClosedPointTo_fromSpecStalk g)) |
| 36 | |
| 37 | theorem mem_iff (v : AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.Space J hJ g) : |
| 38 | v ∈ AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.relativeModule J hJ (Scheme.stalkClosedPointTo g) p ↔ |
| 39 | AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.point J hJ g v ≫ p = g ≫ p := by |
| 40 | constructor |
| 41 | · intro h |
| 42 | exact point_over J hJ p g ⟨v, h⟩ |
| 43 | · intro h |
| 44 | let e := Scheme.stalkClosedPointTo g |
| 45 | let : IsLocalHom (p.stalkMap _ ≫ e).hom := |
| 46 | inferInstanceAs (IsLocalHom (e.hom.comp (p.stalkMap _).hom)) |
| 47 | apply AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.toPoint_injective J hJ (p.stalkMap _ ≫ e) |
| 48 | rw [AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.toPoint_map, AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.toPoint_zero, AbelianScheme.TorsionQuotient.LocalLifts.LocalSchemeLifts.ofGerm_comp] |
| 49 | exact h.trans (congrArg (fun q => q ≫ p) (Scheme.Spec_stalkClosedPointTo_fromSpecStalk g)).symm |
| 50 | |
| 51 | theorem point_reduction (v : Space J hJ p g) : |
| 52 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ point J hJ p g v = |
| 53 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ g := |
| 54 | AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.point_reduction J hJ g v.val |
| 55 | |
| 56 | theorem exists_point (f : Spec C ⟶ Y) |
| 57 | (hr : Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ f = |
| 58 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ g) |
| 59 | (hf : f ≫ p = g ≫ p) : ∃ v : Space J hJ p g, point J hJ p g v = f := by |
| 60 | obtain ⟨v, hv⟩ := AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.exists_point J hJ g f hr |
| 61 | have hmem := (mem_iff J hJ p g v).mpr ((congrArg (fun q => q ≫ p) hv).trans hf) |
| 62 | exact ⟨⟨v, hmem⟩, hv⟩ |
| 63 | |
| 64 | variable {X' Y' : Scheme.{0}} (p' : Y' ⟶ X') (g' : Spec C ⟶ Y') |
| 65 | (f : Y ⟶ Y') (a : X ⟶ X') (hf : f ≫ p' = p ≫ a) (hg : g ≫ f = g') |
| 66 | |
| 67 | def pointedMap : Under.mk g ⟶ Under.mk g' := Under.homMk f hg |
| 68 | |
| 69 | def map : Space J hJ p g →ₗ[C] Space J hJ p' g' where |
| 70 | toFun v := ⟨AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.map J hJ (pointedMap g g' f hg) v.val, by |
| 71 | apply (mem_iff J hJ p' g' _).mpr |
| 72 | refine (congrArg (fun q => q ≫ p') |
| 73 | (AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.point_map J hJ (pointedMap g g' f hg) v.val)).trans ?_ |
| 74 | change (point J hJ p g v ≫ f) ≫ p' = g' ≫ p' |
| 75 | rw [Category.assoc, hf, ← Category.assoc, point_over, |
| 76 | Category.assoc, ← hf, ← Category.assoc, hg]⟩ |
| 77 | map_add' v w := Subtype.ext ((AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.map J hJ (pointedMap g g' f hg)).map_add v.val w.val) |
| 78 | map_smul' c v := Subtype.ext ((AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.map J hJ (pointedMap g g' f hg)).map_smul c v.val) |
| 79 | |
| 80 | theorem point_map (v : Space J hJ p g) : |
| 81 | point J hJ p' g' (RelativeTangent.map J hJ p g p' g' f a hf hg v) = point J hJ p g v ≫ f := |
| 82 | AbelianScheme.TorsionQuotient.PointedTangentAt.PointedTangent.point_map J hJ (pointedMap g g' f hg) v.val |
| 83 | |
| 84 | end RelativeTangent |
| 85 | |
| 86 | end |
| 87 | |
| 88 | /-! The actual linear map on relative infinitesimal points of a |
| 89 | cartesian scheme square is bijective, for every local square-zero test ring. -/ |
| 90 | |
| 91 | set_option backward.isDefEq.respectTransparency false |
| 92 | set_option backward.isDefEq.respectTransparency.types false |
| 93 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 94 | |
| 95 | namespace RelativeTangent |
| 96 | |
| 97 | theorem map_bijective_of_isPullback |
| 98 | {C : CommRingCat.{0}} [IsLocalRing C] (J : Ideal C) (hJ : J ^ 2 = ⊥) |
| 99 | {X Y X' Y' : Scheme.{0}} (p : Y ⟶ X) (g : Spec C ⟶ Y) |
| 100 | (p' : Y' ⟶ X') (g' : Spec C ⟶ Y') (f : Y ⟶ Y') (a : X ⟶ X') |
| 101 | (hP : IsPullback f p p' a) (hg : g ≫ f = g') : |
| 102 | Function.Bijective (RelativeTangent.map J hJ p g p' g' f a hP.w hg) := by |
| 103 | constructor |
| 104 | · intro v w h |
| 105 | apply point_injective J hJ p g |
| 106 | apply hP.hom_ext |
| 107 | · exact (point_map J hJ p g p' g' f a hP.w hg v).symm.trans |
| 108 | ((congrArg (point J hJ p' g') h).trans (point_map J hJ p g p' g' f a hP.w hg w)) |
| 109 | · exact (point_over J hJ p g v).trans (point_over J hJ p g w).symm |
| 110 | · intro w |
| 111 | have hw : point J hJ p' g' w ≫ p' = (g ≫ p) ≫ a := by |
| 112 | rw [point_over, ← hg, Category.assoc, hP.w, ← Category.assoc] |
| 113 | obtain ⟨l, hlf, hlp⟩ := hP.exists_lift (point J hJ p' g' w) (g ≫ p) hw |
| 114 | have hr : Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ l = |
| 115 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ g := by |
| 116 | apply hP.hom_ext |
| 117 | · rw [Category.assoc, hlf, Category.assoc, hg] |
| 118 | exact point_reduction J hJ p' g' w |
| 119 | · rw [Category.assoc, hlp, Category.assoc] |
| 120 | obtain ⟨v, hv⟩ := exists_point J hJ p g l hr hlp |
| 121 | refine ⟨v, ?_⟩ |
| 122 | apply point_injective J hJ p' g' |
| 123 | exact (point_map J hJ p g p' g' f a hP.w hg v).trans |
| 124 | ((congrArg (fun q => q ≫ f) hv).trans hlf) |
| 125 | |
| 126 | end RelativeTangent |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.TangentBaseChange |