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.Hecke |
| 2 | import Mathlib.GroupTheory.Coset.Basic |
| 3 | |
| 4 | /-! # Cosets -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Product.Cosets.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Raw double-coset support respects products. A commutative multiplier |
| 12 | factor contributes exactly one coset; it is not replicated per block. |
| 13 | -/ |
| 14 | |
| 15 | section Pi |
| 16 | |
| 17 | variable {I : Type*} {G : I → Type*} [∀ i, Group (G i)] (U : ∀ i, Subgroup (G i)) |
| 18 | |
| 19 | def piCosetMap : ((∀ i, G i) ⧸ Subgroup.pi Set.univ U) → ∀ i, G i ⧸ U i := |
| 20 | Quotient.lift (fun g i => QuotientGroup.mk (g i)) (by |
| 21 | intro g k h |
| 22 | funext i |
| 23 | apply Quotient.sound |
| 24 | apply QuotientGroup.leftRel_apply.mpr |
| 25 | exact ((Subgroup.mem_pi Set.univ).mp (QuotientGroup.leftRel_apply.mp h)) i (Set.mem_univ i)) |
| 26 | |
| 27 | theorem piCosetMap_bijective : Function.Bijective (piCosetMap U) := by |
| 28 | constructor |
| 29 | · intro x y |
| 30 | induction x using Quotient.inductionOn with |
| 31 | | h g => |
| 32 | induction y using Quotient.inductionOn with |
| 33 | | h k => |
| 34 | intro he |
| 35 | apply Quotient.sound |
| 36 | apply QuotientGroup.leftRel_apply.mpr |
| 37 | apply (Subgroup.mem_pi Set.univ).mpr |
| 38 | intro i _ |
| 39 | exact QuotientGroup.leftRel_apply.mp (Quotient.exact (congrFun he i)) |
| 40 | · intro x |
| 41 | have hx (i : I) : ∃ g : G i, QuotientGroup.mk g = x i := Quotient.exists_rep (x i) |
| 42 | choose g hg using hx |
| 43 | exact ⟨QuotientGroup.mk g, funext hg⟩ |
| 44 | |
| 45 | def piCosetEquiv : ((∀ i, G i) ⧸ Subgroup.pi Set.univ U) ≃ ∀ i, G i ⧸ U i := |
| 46 | Equiv.ofBijective (piCosetMap U) (piCosetMap_bijective U) |
| 47 | |
| 48 | theorem pi_raw_support_iff (g : ∀ i, G i) (x : (∀ i, G i) ⧸ Subgroup.pi Set.univ U) : |
| 49 | x ∈ Hecke.Construction.rawRightCosetSupport (Subgroup.pi Set.univ U) g ↔ |
| 50 | ∀ i, piCosetEquiv U x i ∈ Hecke.Construction.rawRightCosetSupport (U i) (g i) := by |
| 51 | induction x using Quotient.inductionOn with |
| 52 | | h x => |
| 53 | change QuotientGroup.mk x ∈ Hecke.Construction.rawRightCosetSupport _ g ↔ |
| 54 | ∀ i, QuotientGroup.mk (x i) ∈ Hecke.Construction.rawRightCosetSupport (U i) (g i) |
| 55 | simp_rw [Hecke.Construction.rawRightCosetSupport_mk_iff] |
| 56 | constructor |
| 57 | · rintro ⟨k, l, rfl⟩ i |
| 58 | exact ⟨⟨k.val i, ((Subgroup.mem_pi Set.univ).mp k.property) i (Set.mem_univ i)⟩, |
| 59 | ⟨l.val i, ((Subgroup.mem_pi Set.univ).mp l.property) i (Set.mem_univ i)⟩, rfl⟩ |
| 60 | · intro hx |
| 61 | choose k l hkl using hx |
| 62 | exact ⟨⟨fun i => (k i).val, (Subgroup.mem_pi Set.univ).mpr (fun i _ => (k i).property)⟩, |
| 63 | ⟨fun i => (l i).val, (Subgroup.mem_pi Set.univ).mpr (fun i _ => (l i).property)⟩, funext hkl⟩ |
| 64 | |
| 65 | def piRawSupportEquiv (g : ∀ i, G i) : |
| 66 | Hecke.Construction.rawRightCosetSupport (Subgroup.pi Set.univ U) g ≃ |
| 67 | ∀ i, Hecke.Construction.rawRightCosetSupport (U i) (g i) := |
| 68 | ((piCosetEquiv U).subtypeEquiv (pi_raw_support_iff U g)).trans Equiv.subtypePiEquivPi |
| 69 | |
| 70 | end Pi |
| 71 | |
| 72 | section Prod |
| 73 | |
| 74 | variable {G H : Type*} [Group G] [Group H] (U : Subgroup G) (V : Subgroup H) |
| 75 | |
| 76 | theorem prod_raw_support_iff (g : G) (h : H) (x : (G × H) ⧸ U.prod V) : |
| 77 | x ∈ Hecke.Construction.rawRightCosetSupport (U.prod V) (g, h) ↔ |
| 78 | (QuotientGroup.prodEquiv U V x).1 ∈ Hecke.Construction.rawRightCosetSupport U g ∧ |
| 79 | (QuotientGroup.prodEquiv U V x).2 ∈ Hecke.Construction.rawRightCosetSupport V h := by |
| 80 | induction x using Quotient.inductionOn with |
| 81 | | h x => |
| 82 | change QuotientGroup.mk x ∈ Hecke.Construction.rawRightCosetSupport _ (g, h) ↔ |
| 83 | QuotientGroup.mk x.1 ∈ Hecke.Construction.rawRightCosetSupport U g ∧ |
| 84 | QuotientGroup.mk x.2 ∈ Hecke.Construction.rawRightCosetSupport V h |
| 85 | rw [Hecke.Construction.rawRightCosetSupport_mk_iff, Hecke.Construction.rawRightCosetSupport_mk_iff, Hecke.Construction.rawRightCosetSupport_mk_iff] |
| 86 | constructor |
| 87 | · rintro ⟨k, l, rfl⟩ |
| 88 | exact ⟨⟨⟨k.val.1, k.property.1⟩, ⟨l.val.1, l.property.1⟩, rfl⟩, |
| 89 | ⟨⟨k.val.2, k.property.2⟩, ⟨l.val.2, l.property.2⟩, rfl⟩⟩ |
| 90 | · rintro ⟨⟨k₁, l₁, h₁⟩, ⟨k₂, l₂, h₂⟩⟩ |
| 91 | exact ⟨⟨(k₁.val, k₂.val), ⟨k₁.property, k₂.property⟩⟩, |
| 92 | ⟨(l₁.val, l₂.val), ⟨l₁.property, l₂.property⟩⟩, Prod.ext h₁ h₂⟩ |
| 93 | |
| 94 | def prodRawSupportEquiv (g : G) (h : H) : |
| 95 | Hecke.Construction.rawRightCosetSupport (U.prod V) (g, h) ≃ |
| 96 | Hecke.Construction.rawRightCosetSupport U g × Hecke.Construction.rawRightCosetSupport V h := |
| 97 | ((QuotientGroup.prodEquiv U V).subtypeEquiv (prod_raw_support_iff U V g h)).trans |
| 98 | Equiv.subtypeProdEquivProd |
| 99 | |
| 100 | end Prod |
| 101 | |
| 102 | variable {G : Type*} [CommGroup G] (U : Subgroup G) (g : G) |
| 103 | |
| 104 | theorem comm_raw_support_eq (x : Hecke.Construction.rawRightCosetSupport U g) : |
| 105 | x.val = QuotientGroup.mk g⁻¹ := by |
| 106 | obtain ⟨k, hk⟩ := MulAction.mem_orbit_iff.mp x.property |
| 107 | change QuotientGroup.mk (k.val * g⁻¹) = x.val at hk |
| 108 | rw [← hk] |
| 109 | apply Quotient.sound |
| 110 | apply QuotientGroup.leftRel_apply.mpr |
| 111 | simp [mul_comm, mul_left_comm] |
| 112 | |
| 113 | instance commRawSupportUnique : Unique (Hecke.Construction.rawRightCosetSupport U g) where |
| 114 | default := ⟨QuotientGroup.mk g⁻¹, MulAction.mem_orbit_self _⟩ |
| 115 | uniq x := Subtype.ext (comm_raw_support_eq U g x) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Product.Cosets.Construction |