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.ReferenceFamily.SubgroupStability |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ProperMapImmersionLocus |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.EtaleSubgroup |
| 4 | |
| 5 | /-! # Etale Subgroup Stability -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.EtaleSubgroupStability |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite étale subgroup family has a constructed clopen stability |
| 12 | locus for an actual endomorphism of its ambient finite étale group. |
| 13 | The locus classifies stability after every scheme base change. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 20 | |
| 21 | variable {S : Scheme.{0}} {H T : Over S} [GrpObj H] |
| 22 | [IsFinite H.hom] [Etale H.hom] |
| 23 | {F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup H T} (R : F.Model) (e : H ⟶ H) |
| 24 | |
| 25 | def finiteEtaleSubgroupStabilityLocus : T.left.Opens := by |
| 26 | let : IsFinite R.toBase.left := R.finite |
| 27 | exact ProperMapImmersionLocus.properMapImmersionLocus R.toBase.left |
| 28 | (lift R.toBase (R.toGroup ≫ e)).left (AbelianScheme.TorsionQuotient.EtaleSubgroup.EtaleSubgroupModels.inclusion R).left |
| 29 | |
| 30 | theorem finiteEtaleSubgroupStabilityLocus_isClosed : |
| 31 | IsClosed (finiteEtaleSubgroupStabilityLocus R e : Set T.left) := by |
| 32 | let : IsFinite R.toBase.left := R.finite |
| 33 | let : Etale R.toBase.left := AbelianScheme.TorsionQuotient.EtaleSubgroup.EtaleSubgroupModels.etale R |
| 34 | exact ProperMapImmersionLocus.properMapImmersionLocus_isClosed R.toBase.left |
| 35 | (lift R.toBase (R.toGroup ≫ e)).left (AbelianScheme.TorsionQuotient.EtaleSubgroup.EtaleSubgroupModels.inclusion R).left |
| 36 | R.toBase.left.isOpenMap |
| 37 | |
| 38 | theorem finiteEtaleSubgroupStabilityLocus_classifies |
| 39 | {U : Over S} (f : U ⟶ T) : |
| 40 | Set.range f.left ⊆ finiteEtaleSubgroupStabilityLocus R e ↔ |
| 41 | SubgroupStability.RelativeSubgroupStable (F.baseChange f) e := by |
| 42 | let : IsFinite R.toBase.left := R.finite |
| 43 | let a : (R.baseChange f).carrier ⟶ R.carrier := pullback.fst R.toBase f |
| 44 | let b : (R.baseChange f).carrier ⟶ U := pullback.snd R.toBase f |
| 45 | let v : R.carrier ⟶ T ⊗ H := lift R.toBase (R.toGroup ≫ e) |
| 46 | have hs : IsPullback a.left b.left R.toBase.left f.left := |
| 47 | (IsPullback.of_hasPullback R.toBase f).map (Over.forget S) |
| 48 | have ht : Set.range f.left ⊆ finiteEtaleSubgroupStabilityLocus R e ↔ |
| 49 | ∀ z : (R.baseChange f).carrier.left, |
| 50 | v.left (a.left z) ∈ Set.range (AbelianScheme.TorsionQuotient.EtaleSubgroup.EtaleSubgroupModels.inclusion R).left := |
| 51 | ProperMapImmersionLocus.schemeFiberwiseOpenLocus_baseChange R.toBase.left |
| 52 | (v.left ⁻¹ᵁ ⟨Set.range (AbelianScheme.TorsionQuotient.EtaleSubgroup.EtaleSubgroupModels.inclusion R).left, |
| 53 | (AbelianScheme.TorsionQuotient.EtaleSubgroup.EtaleSubgroupModels.inclusion R).left.isOpenMap.isOpen_range⟩) |
| 54 | a.left b.left f.left hs |
| 55 | refine ht.trans ?_ |
| 56 | rw [SubgroupStability.relativeSubgroupStable_iff_model (R.baseChange f) e] |
| 57 | change (∀ z : (R.baseChange f).carrier.left, |
| 58 | v.left (a.left z) ∈ Set.range (AbelianScheme.TorsionQuotient.EtaleSubgroup.EtaleSubgroupModels.inclusion R).left) ↔ |
| 59 | (a ≫ R.toGroup) ≫ e ∈ F.points (R.baseChange f).carrier (b ≫ f) |
| 60 | rw [AbelianScheme.TorsionQuotient.EtaleSubgroup.EtaleSubgroupModels.membership_iff_range R (b ≫ f) ((a ≫ R.toGroup) ≫ e)] |
| 61 | have hp : lift (b ≫ f) ((a ≫ R.toGroup) ≫ e) = a ≫ v := by |
| 62 | calc |
| 63 | lift (b ≫ f) ((a ≫ R.toGroup) ≫ e) = |
| 64 | lift (a ≫ R.toBase) (a ≫ (R.toGroup ≫ e)) := by |
| 65 | rw [show a ≫ R.toBase = b ≫ f from pullback.condition, Category.assoc] |
| 66 | _ = a ≫ v := (comp_lift a R.toBase (R.toGroup ≫ e)).symm |
| 67 | rw [hp] |
| 68 | constructor |
| 69 | · intro h y hy |
| 70 | obtain ⟨z, rfl⟩ := hy |
| 71 | exact h z |
| 72 | · intro h z |
| 73 | exact h ⟨z, rfl⟩ |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.EtaleSubgroupStability |