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.EtaleDetection |
| 2 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 3 | |
| 4 | /-! # Unramified Group Exponent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.UnramifiedGroupExponent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A quasi-compact unramified group whose field-valued points have |
| 11 | finite order is annihilated by one positive integer. Open torsion loci |
| 12 | and a finite subcover retain the full scheme structure. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj BigOperators |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem quasiCompact_unramifiedGroup_exists_exponent |
| 20 | {S : Scheme.{u}} (G : Over S) [GrpObj G] [CompactSpace G.left] |
| 21 | [FormallyUnramified G.hom] [LocallyOfFiniteType G.hom] |
| 22 | (hfield : ∀ (k : Type u) [Field k] [IsAlgClosed k] (s : Spec (.of k) ⟶ S) |
| 23 | (a : Over.mk s ⟶ G), ∃ n : ℕ, 0 < n ∧ a ^ n = 1) : |
| 24 | ∃ n : ℕ, 0 < n ∧ (𝟙 G : G ⟶ G) ^ n = 1 := by |
| 25 | classical |
| 26 | have hi (n : ℕ) : IsOpenImmersion (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n).left := |
| 27 | AbelianScheme.IsogenyQuotient.EtaleDetection.Construction.equalizer_openImmersion ((𝟙 G : G ⟶ G) ^ n) (1 : G ⟶ G) |
| 28 | let U (n : {n : ℕ // 0 < n}) : Set G.left := Set.range (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n.val).left |
| 29 | have hU (n : {n : ℕ // 0 < n}) : IsOpen (U n) := by |
| 30 | let := hi n.val |
| 31 | exact (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n.val).left.isOpenEmbedding.isOpen_range |
| 32 | have hcover : (Set.univ : Set G.left) ⊆ ⋃ n, U n := by |
| 33 | intro x _ |
| 34 | let k := G.left.residueField x |
| 35 | let b := Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k))) |
| 36 | let s := (b ≫ G.left.fromSpecResidueField x) ≫ G.hom |
| 37 | let a : Over.mk s ⟶ G := Over.homMk (b ≫ G.left.fromSpecResidueField x) rfl |
| 38 | obtain ⟨n, hn, ha⟩ := hfield (AlgebraicClosure k) s a |
| 39 | refine Set.mem_iUnion.mpr ⟨⟨n, hn⟩, ?_⟩ |
| 40 | let x₀ : Spec (.of (AlgebraicClosure k)) := default |
| 41 | refine ⟨(AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n a ha).left x₀, ?_⟩ |
| 42 | change ((AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift n a ha).left ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n).left) x₀ = x |
| 43 | rw [← Over.comp_left, AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι] |
| 44 | exact G.left.fromSpecResidueField_apply x (b x₀) |
| 45 | obtain ⟨t, ht⟩ := isCompact_univ.elim_finite_subcover U hU hcover |
| 46 | let N : ℕ := ∏ n ∈ t, n.val |
| 47 | have hN : 0 < N := Finset.prod_pos (fun n _ => n.property) |
| 48 | have hsurj : Surjective (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G N).left := by |
| 49 | constructor |
| 50 | intro x |
| 51 | obtain ⟨n, hn, hx⟩ := Set.mem_iUnion₂.mp (ht (Set.mem_univ x)) |
| 52 | obtain ⟨y, hy⟩ := hx |
| 53 | have hdvd : n.val ∣ N := Finset.dvd_prod_of_mem (fun n => n.val) hn |
| 54 | have hd : (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n.val) ^ n.val = 1 := |
| 55 | (AbelianScheme.TorsionQuotient.SubgroupFunctor.factors_through_torsion_iff n.val (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n.val)).mp |
| 56 | ⟨𝟙 _, Category.id_comp _⟩ |
| 57 | have he : (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n.val) ^ N = 1 := by |
| 58 | obtain ⟨m, hm⟩ := hdvd |
| 59 | rw [hm, pow_mul, hd, one_pow] |
| 60 | refine ⟨(AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift N (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n.val) he).left y, ?_⟩ |
| 61 | change ((AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift N (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G n.val) he).left ≫ |
| 62 | (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G N).left) y = x |
| 63 | rw [← Over.comp_left, AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι] |
| 64 | exact hy |
| 65 | let : IsIso (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G N).left := |
| 66 | (isIso_iff_isOpenImmersion_and_surjective _).mpr ⟨hi N, hsurj⟩ |
| 67 | refine ⟨N, hN, ?_⟩ |
| 68 | apply Over.OverMorphism.ext |
| 69 | apply (cancel_epi (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι G N).left).mp |
| 70 | exact congrArg (fun a : AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme G N ⟶ G => a.left) |
| 71 | (equalizer.condition ((𝟙 G : G ⟶ G) ^ N) (1 : G ⟶ G)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Uniform.UnramifiedGroupExponent |