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.PELModuli.IntegralModel.FieldPointOpenLift |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.GeometricLocus |
| 3 | import Mathlib.Topology.LocalAtTarget |
| 4 | |
| 5 | /-! # Local Locus Point Criterion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.LocalLocusPointCriterion.ReducedLocusGluing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Constructed local reduced classifiers determine a single underlying |
| 14 | subset. Field-valued tests detect this subset before any global scheme |
| 15 | or global representability property is chosen. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | variable {S : Scheme.{0}} (F : Subfunctor (yoneda.obj S)) |
| 20 | {I : Type} (U : I → S.Opens) (hU : IsOpenCover U) |
| 21 | (Z : I → Scheme.{0}) (j : ∀ i, Z i ⟶ (U i).toScheme) |
| 22 | (hclass : ∀ (i : I) (T : Scheme.{0}) [IsReduced T] (x : T ⟶ (U i).toScheme), |
| 23 | x ≫ (U i).ι ∈ F.obj (.op T) ↔ Set.range x ⊆ Set.range (j i)) |
| 24 | |
| 25 | def locusSet : Set S := ⋃ i, Set.range (j i ≫ (U i).ι) |
| 26 | |
| 27 | include hU hclass in |
| 28 | theorem field_mem_iff_locusSet {k : Type} [Field k] (q : Spec (.of k) ⟶ S) : |
| 29 | q ∈ F.obj (.op (Spec (.of k))) ↔ q (IsLocalRing.closedPoint k) ∈ locusSet U Z j := by |
| 30 | constructor |
| 31 | · intro hq |
| 32 | obtain ⟨i, hi⟩ := hU.exists_mem (q (IsLocalRing.closedPoint k)) |
| 33 | obtain ⟨v, hv⟩ := FieldPointOpenLift.exists_field_point_open_lift (U i) q hi |
| 34 | have hvF : v ≫ (U i).ι ∈ F.obj (.op (Spec (.of k))) := hv.symm ▸ hq |
| 35 | obtain ⟨z, hz⟩ := (hclass i _ v).mp hvF ⟨IsLocalRing.closedPoint k, rfl⟩ |
| 36 | refine Set.mem_iUnion.mpr ⟨i, z, ?_⟩ |
| 37 | exact (congrArg (U i).ι hz).trans (congrArg (fun f => f (IsLocalRing.closedPoint k)) hv) |
| 38 | · intro hq |
| 39 | obtain ⟨i, z, hz⟩ := Set.mem_iUnion.mp hq |
| 40 | have hi : q (IsLocalRing.closedPoint k) ∈ U i := by |
| 41 | exact hz ▸ ((j i) z).property |
| 42 | obtain ⟨v, hv⟩ := FieldPointOpenLift.exists_field_point_open_lift (U i) q hi |
| 43 | have hvRange : Set.range v ⊆ Set.range (j i) := by |
| 44 | rintro _ ⟨x, rfl⟩ |
| 45 | refine ⟨z, ?_⟩ |
| 46 | apply (U i).ι.isOpenEmbedding.injective |
| 47 | exact hz.trans ((congrArg (fun f => f (IsLocalRing.closedPoint k)) hv).symm.trans |
| 48 | (congrArg (fun y => (U i).ι (v y)) (Subsingleton.elim _ _))) |
| 49 | exact hv ▸ (hclass i _ v).mpr hvRange |
| 50 | |
| 51 | end |
| 52 | |
| 53 | /-! The images of the constructed local classifiers agree on overlaps. |
| 54 | Their union is locally closed, and geometric detection determines its |
| 55 | classification property on every reduced test scheme. -/ |
| 56 | |
| 57 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 58 | |
| 59 | variable {S : Scheme.{0}} (F : Subfunctor (yoneda.obj S)) |
| 60 | {I : Type} (U : I → S.Opens) (hU : IsOpenCover U) |
| 61 | (Z : I → Scheme.{0}) (j : ∀ i, Z i ⟶ (U i).toScheme) |
| 62 | (hclass : ∀ (i : I) (T : Scheme.{0}) [IsReduced T] (x : T ⟶ (U i).toScheme), |
| 63 | x ≫ (U i).ι ∈ F.obj (.op T) ↔ Set.range x ⊆ Set.range (j i)) |
| 64 | |
| 65 | include hU hclass in |
| 66 | theorem locusSet_preimage (i : I) : |
| 67 | (U i).ι ⁻¹' locusSet U Z j = Set.range (j i) := by |
| 68 | ext x |
| 69 | constructor |
| 70 | · intro hx |
| 71 | let k := AlgebraicClosure ((U i).toScheme.residueField x) |
| 72 | let q : Spec (.of k) ⟶ (U i).toScheme := |
| 73 | Spec.map (CommRingCat.ofHom (algebraMap ((U i).toScheme.residueField x) k)) ≫ |
| 74 | (U i).toScheme.fromSpecResidueField x |
| 75 | have hq : q (IsLocalRing.closedPoint k) = x := |
| 76 | (U i).toScheme.fromSpecResidueField_apply x _ |
| 77 | have hm : q ≫ (U i).ι ∈ F.obj (.op (Spec (.of k))) := |
| 78 | (field_mem_iff_locusSet F U hU Z j hclass (q ≫ (U i).ι)).mpr |
| 79 | (by change (U i).ι (q (IsLocalRing.closedPoint k)) ∈ _; exact hq.symm ▸ hx) |
| 80 | exact (hclass i _ q).mp hm ⟨IsLocalRing.closedPoint k, hq⟩ |
| 81 | · rintro ⟨z, rfl⟩ |
| 82 | exact Set.mem_iUnion.mpr ⟨i, z, rfl⟩ |
| 83 | |
| 84 | include hU hclass in |
| 85 | theorem locusSet_locallyClosed (hj : ∀ i, IsImmersion (j i)) : |
| 86 | IsLocallyClosed (locusSet U Z j) := by |
| 87 | apply hU.isLocallyClosed_iff_coe_preimage.mpr |
| 88 | intro i |
| 89 | change IsLocallyClosed ((U i).ι ⁻¹' locusSet U Z j) |
| 90 | rw [locusSet_preimage F U hU Z j hclass i] |
| 91 | let := hj i |
| 92 | exact IsImmersion.isLocallyClosed_range (f := j i) |
| 93 | |
| 94 | include hU hclass in |
| 95 | theorem mem_iff_range_locusSet |
| 96 | (hgeo : ∀ (T : Scheme.{0}) [IsReduced T] (x : T ⟶ S), |
| 97 | (∀ (k : Type) [Field k] [IsAlgClosed k] (p : Spec (.of k) ⟶ T), |
| 98 | p ≫ x ∈ F.obj (.op (Spec (.of k)))) → x ∈ F.obj (.op T)) |
| 99 | (T : Scheme.{0}) [IsReduced T] (x : T ⟶ S) : |
| 100 | x ∈ F.obj (.op T) ↔ Set.range x ⊆ locusSet U Z j := by |
| 101 | constructor |
| 102 | · intro hx y hy |
| 103 | obtain ⟨t, rfl⟩ := hy |
| 104 | let k := AlgebraicClosure (T.residueField t) |
| 105 | let p : Spec (.of k) ⟶ T := |
| 106 | Spec.map (CommRingCat.ofHom (algebraMap (T.residueField t) k)) ≫ T.fromSpecResidueField t |
| 107 | have hp : p (IsLocalRing.closedPoint k) = t := T.fromSpecResidueField_apply t _ |
| 108 | have hm : p ≫ x ∈ F.obj (.op (Spec (.of k))) := F.map p.op hx |
| 109 | have hr := (field_mem_iff_locusSet F U hU Z j hclass (p ≫ x)).mp hm |
| 110 | change x (p (IsLocalRing.closedPoint k)) ∈ locusSet U Z j at hr |
| 111 | exact hp ▸ hr |
| 112 | · intro hx |
| 113 | apply hgeo T x |
| 114 | intro k hk ha p |
| 115 | apply (field_mem_iff_locusSet F U hU Z j hclass (p ≫ x)).mpr |
| 116 | exact hx ⟨p (IsLocalRing.closedPoint k), rfl⟩ |
| 117 | |
| 118 | end |
| 119 | |
| 120 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.LocalLocusPointCriterion.ReducedLocusGluing |