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.IsogenyQuotient.SubgroupLocus |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Unit |
| 3 | |
| 4 | /-! # Subgroup Representable -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupRepresentable.Construction |
| 7 | |
| 8 | /-! |
| 9 | The chosen-block subgroup functor is finite etale representable, conditional |
| 10 | on TorsionQuotient for the actual ambient subgroup functor. The projector condition is |
| 11 | constructed as a clopen locus and its Yoneda representation is proved. |
| 12 | `RepresentableBy` avoids an artificial universe restriction on the functor |
| 13 | of subgroups over all test schemes; it is the usual natural representation. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {S : Scheme.{u}} {A : Over S} [GrpObj A] [IsCommMonObj A] |
| 21 | |
| 22 | /-- The parameter open, regarded as a scheme over the original base. -/ |
| 23 | def openParameter (P : Over S) (U : P.left.Opens) : Over S := |
| 24 | Over.mk (U.ι ≫ P.hom) |
| 25 | |
| 26 | def openParameterι (P : Over S) (U : P.left.Opens) : openParameter P U ⟶ P := |
| 27 | Over.homMk U.ι rfl |
| 28 | |
| 29 | /-- Yoneda identifies any family with the pullback of the universal subgroup. -/ |
| 30 | theorem represented_subgroup_is_baseChange |
| 31 | (n : ℕ) (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 32 | {P T : Over S} |
| 33 | (e : (TorsionQuotient.SubgroupFunctor.subgroupChoiceFunctor A n M).RepresentableBy P) (b : T ⟶ P) : |
| 34 | e.homEquiv b = (e.homEquiv (𝟙 P)).baseChange b := by |
| 35 | exact e.homEquiv_eq b |
| 36 | |
| 37 | /-- The open support locus represents exactly the supported subgroup functor. -/ |
| 38 | noncomputable def supportedSubgroups_representableBy_open |
| 39 | (n : ℕ) (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 40 | (projectorLift : A ⟶ A) |
| 41 | {P : Over S} |
| 42 | (e : (TorsionQuotient.SubgroupFunctor.subgroupChoiceFunctor A n M).RepresentableBy P) |
| 43 | (U : P.left.Opens) |
| 44 | (hU : ∀ (T : Over S) (b : T ⟶ P), |
| 45 | (∀ t : T.left, b.left t ∈ U) ↔ |
| 46 | SubgroupFunctor.Construction.SupportedOn ((e.homEquiv (𝟙 P)).subgroup.baseChange b) projectorLift) : |
| 47 | (SubgroupFunctor.Construction.supportedSubgroupFunctor A n M projectorLift).RepresentableBy (openParameter P U) := by |
| 48 | let C := openParameter P U |
| 49 | let j : C ⟶ P := openParameterι P U |
| 50 | have hj : Mono j := by |
| 51 | have : Mono j.left := inferInstanceAs (Mono U.ι) |
| 52 | exact Over.mono_of_mono_left j |
| 53 | let toSupported {T : Over S} (x : T ⟶ C) : SubgroupFunctor.Construction.SupportedChoice A n M projectorLift T := |
| 54 | ⟨e.homEquiv (x ≫ j), by |
| 55 | rw [represented_subgroup_is_baseChange] |
| 56 | apply (hU T (x ≫ j)).mp |
| 57 | intro t |
| 58 | exact (x.left t).property⟩ |
| 59 | have hinj (T : Over S) : Function.Injective (@toSupported T) := by |
| 60 | intro x y hxy |
| 61 | apply (cancel_mono j).mp |
| 62 | apply e.homEquiv.injective |
| 63 | exact congrArg Subtype.val hxy |
| 64 | have hsurj (T : Over S) : Function.Surjective (@toSupported T) := by |
| 65 | intro F |
| 66 | let b := e.homEquiv.symm F.val |
| 67 | have hb : e.homEquiv b = F.val := e.homEquiv.apply_symm_apply F.val |
| 68 | have hsupport : SubgroupFunctor.Construction.SupportedOn ((e.homEquiv (𝟙 P)).subgroup.baseChange b) projectorLift := by |
| 69 | have he := represented_subgroup_is_baseChange n M e b |
| 70 | rw [hb] at he |
| 71 | have heS : F.val.subgroup = (e.homEquiv (𝟙 P)).subgroup.baseChange b := |
| 72 | congrArg (fun x : TorsionQuotient.SubgroupFunctor.SubgroupChoice A n M T => x.subgroup) he |
| 73 | exact heS ▸ F.property |
| 74 | have hrange : Set.range b.left ⊆ Set.range U.ι := by |
| 75 | rw [Scheme.Opens.range_ι, Set.range_subset_iff] |
| 76 | exact (hU T b).mpr hsupport |
| 77 | let l := IsOpenImmersion.lift U.ι b.left hrange |
| 78 | have hl : l ≫ U.ι = b.left := IsOpenImmersion.lift_fac _ _ hrange |
| 79 | have hlbase : l ≫ C.hom = T.hom := by |
| 80 | change l ≫ (U.ι ≫ P.hom) = T.hom |
| 81 | rw [← Category.assoc, hl, b.w] |
| 82 | let x : T ⟶ C := Over.homMk l hlbase |
| 83 | have hx : x ≫ j = b := Over.OverMorphism.ext hl |
| 84 | refine ⟨x, ?_⟩ |
| 85 | apply Subtype.ext |
| 86 | change e.homEquiv (x ≫ j) = F.val |
| 87 | rw [hx, hb] |
| 88 | refine { |
| 89 | homEquiv := fun {T} => Equiv.ofBijective (@toSupported T) ⟨hinj T, hsurj T⟩ |
| 90 | homEquiv_comp := ?_ |
| 91 | } |
| 92 | intro X X' f g |
| 93 | apply Subtype.ext |
| 94 | change e.homEquiv ((f ≫ g) ≫ j) = |
| 95 | (e.homEquiv (g ≫ j)).baseChange f |
| 96 | rw [Category.assoc] |
| 97 | exact e.homEquiv_comp f (g ≫ j) |
| 98 | |
| 99 | /-- TorsionQuotient implies finite etale representability for subgroups on each chosen |
| 100 | block, with the given elementary module type. No extra representability |
| 101 | or identification hypothesis is supplied for the block functor. -/ |
| 102 | theorem finite_etale_supported_subgroups_of_TorsionQuotient |
| 103 | (n : ℕ) (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 104 | (projectorLift : A ⟶ A) [IsMonHom projectorLift] |
| 105 | (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ |
| 106 | Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ |
| 107 | ∃ P : Over S, |
| 108 | IsFinite P.hom ∧ Etale P.hom ∧ |
| 109 | Nonempty (uliftYoneda.{u + 1}.obj P ≅ TorsionQuotient.SubgroupFunctor.subgroupChoiceFunctor A n M)) : |
| 110 | ∃ C : Over S, |
| 111 | IsFinite C.hom ∧ Etale C.hom ∧ |
| 112 | Nonempty ((SubgroupFunctor.Construction.supportedSubgroupFunctor A n M projectorLift).RepresentableBy C) := by |
| 113 | classical |
| 114 | obtain ⟨htorsionfinite, htorsionetale, P, hfinite, hetale, ⟨eIso⟩⟩ := h_TorsionQuotient |
| 115 | let e := (Functor.RepresentableBy.equivUliftYonedaIso |
| 116 | (TorsionQuotient.SubgroupFunctor.subgroupChoiceFunctor A n M) P).symm eIso |
| 117 | let F := e.homEquiv (𝟙 P) |
| 118 | obtain ⟨R⟩ := F.geometric |
| 119 | obtain ⟨U, hUfinite, hUetale, hU⟩ := SubgroupLocus.Construction.finite_etale_block_support_locus n M F R |
| 120 | projectorLift ⟨htorsionfinite, htorsionetale⟩ |
| 121 | have : IsFinite U.ι := hUfinite |
| 122 | have : Etale U.ι := hUetale |
| 123 | have : IsFinite P.hom := hfinite |
| 124 | have : Etale P.hom := hetale |
| 125 | refine ⟨openParameter P U, ?_, ?_, ?_⟩ |
| 126 | · change IsFinite (U.ι ≫ P.hom) |
| 127 | infer_instance |
| 128 | · change Etale (U.ι ≫ P.hom) |
| 129 | infer_instance |
| 130 | · exact ⟨supportedSubgroups_representableBy_open n M projectorLift e U hU⟩ |
| 131 | |
| 132 | /-- The characteristic-zero version used for the universal family in IsogenyQuotient. |
| 133 | Its TorsionQuotient hypothesis is the complete repaired prerequisite proposition. -/ |
| 134 | theorem characteristic_zero_block_subgroups |
| 135 | {K : Type u} [Field K] [CharZero K] |
| 136 | (s : S ⟶ Spec (CommRingCat.of K)) |
| 137 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 138 | (n : ℕ) (hn : 0 < n) |
| 139 | (M : Type u) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 140 | (projectorLift : A ⟶ A) [IsMonHom projectorLift] |
| 141 | (h_TorsionQuotient : Unit.Construction.TorsionQuotientInput.{u}) : |
| 142 | ∃ C : Over S, |
| 143 | IsFinite C.hom ∧ Etale C.hom ∧ |
| 144 | Nonempty (uliftYoneda.{u + 1}.obj C ≅ SubgroupFunctor.Construction.supportedSubgroupFunctor A n M projectorLift) := by |
| 145 | obtain ⟨C, hfinite, hetale, ⟨e⟩⟩ := finite_etale_supported_subgroups_of_TorsionQuotient |
| 146 | n M projectorLift |
| 147 | (h_TorsionQuotient A n hn (Unit.Construction.positive_integer_unit_on_characteristic_zero_base s n hn) M) |
| 148 | exact ⟨C, hfinite, hetale, |
| 149 | ⟨Functor.RepresentableBy.equivUliftYonedaIso |
| 150 | (SubgroupFunctor.Construction.supportedSubgroupFunctor A n M projectorLift) C e⟩⟩ |
| 151 | |
| 152 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupRepresentable.Construction |