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 Mathlib |
| 2 | |
| 3 | /-! # Irreducible Group -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.IrreducibleGroup.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Irreducible components in groups with separately continuous multiplication. -/ |
| 10 | |
| 11 | open scoped Classical Pointwise |
| 12 | open Set _root_.Topology _root_.TopologicalSpace |
| 13 | |
| 14 | theorem irreducible_mul_of_separate_continuity |
| 15 | {H : Type*} [Group H] [TopologicalSpace H] [SeparatelyContinuousMul H] |
| 16 | {A B : Set H} (hA : IsIrreducible A) (hB : IsIrreducible B) : |
| 17 | IsIrreducible (A * B) := by |
| 18 | refine ⟨hA.nonempty.mul hB.nonempty, ?_⟩ |
| 19 | intro U V hU hV hAU hBV |
| 20 | obtain ⟨y, hy, hyU⟩ := hAU |
| 21 | obtain ⟨a, ha, b, hb, rfl⟩ := mem_mul.mp hy |
| 22 | obtain ⟨z, hz, hzV⟩ := hBV |
| 23 | obtain ⟨c, hc, d, hd, rfl⟩ := mem_mul.mp hz |
| 24 | obtain ⟨t, ht, hat, hct⟩ := hB.2 ((a * ·) ⁻¹' U) ((c * ·) ⁻¹' V) |
| 25 | (hU.preimage (continuous_const_mul a)) (hV.preimage (continuous_const_mul c)) |
| 26 | ⟨b, hb, hyU⟩ ⟨d, hd, hzV⟩ |
| 27 | obtain ⟨s, hs, hstU, hstV⟩ := hA.2 ((· * t) ⁻¹' U) ((· * t) ⁻¹' V) |
| 28 | (hU.preimage (continuous_mul_const t)) (hV.preimage (continuous_mul_const t)) |
| 29 | ⟨a, ha, hat⟩ ⟨c, hc, hct⟩ |
| 30 | exact ⟨s * t, mul_mem_mul hs ht, hstU, hstV⟩ |
| 31 | |
| 32 | theorem irreducible_subset_identityComponent |
| 33 | {H : Type*} [Group H] [TopologicalSpace H] [SeparatelyContinuousMul H] |
| 34 | {A : Set H} (hA : IsIrreducible A) (hA1 : 1 ∈ A) : |
| 35 | A ⊆ irreducibleComponent (1 : H) := by |
| 36 | let C := irreducibleComponent (1 : H) |
| 37 | have hC : IsIrreducible C := isIrreducible_irreducibleComponent |
| 38 | have hprod : C * A ⊆ C := |
| 39 | (irreducibleComponent_mem_irreducibleComponents (1 : H)).2 |
| 40 | (irreducible_mul_of_separate_continuity hC hA) |
| 41 | (fun c hc => ⟨c, hc, 1, hA1, mul_one c⟩) |
| 42 | intro a ha |
| 43 | exact hprod ⟨1, mem_irreducibleComponent, a, ha, one_mul a⟩ |
| 44 | |
| 45 | def irreducibleIdentitySubgroup (H : Type*) [Group H] [TopologicalSpace H] |
| 46 | [SeparatelyContinuousMul H] [ContinuousInv H] : Subgroup H where |
| 47 | carrier := irreducibleComponent (1 : H) |
| 48 | one_mem' := mem_irreducibleComponent |
| 49 | mul_mem' ha hb := irreducible_subset_identityComponent |
| 50 | (irreducible_mul_of_separate_continuity |
| 51 | isIrreducible_irreducibleComponent isIrreducible_irreducibleComponent) |
| 52 | ⟨1, mem_irreducibleComponent, 1, mem_irreducibleComponent, one_mul 1⟩ (mul_mem_mul ha hb) |
| 53 | inv_mem' hx := irreducible_subset_identityComponent |
| 54 | (isIrreducible_irreducibleComponent.image Inv.inv continuous_inv.continuousOn) |
| 55 | ⟨1, mem_irreducibleComponent, inv_one⟩ ⟨_, hx, rfl⟩ |
| 56 | |
| 57 | theorem irreducible_meeting_identityComponent_subset |
| 58 | {H : Type*} [Group H] [TopologicalSpace H] |
| 59 | [SeparatelyContinuousMul H] [ContinuousInv H] |
| 60 | {A : Set H} (hA : IsIrreducible A) |
| 61 | (hAC : (A ∩ irreducibleComponent (1 : H)).Nonempty) : |
| 62 | A ⊆ irreducibleComponent (1 : H) := by |
| 63 | obtain ⟨x, hxA, hxC⟩ := hAC |
| 64 | have htranslate : (x⁻¹ * ·) '' A ⊆ irreducibleComponent (1 : H) := |
| 65 | irreducible_subset_identityComponent |
| 66 | (hA.image _ (continuous_const_mul x⁻¹).continuousOn) |
| 67 | ⟨x, hxA, inv_mul_cancel x⟩ |
| 68 | intro a ha |
| 69 | have hxa := htranslate ⟨a, ha, rfl⟩ |
| 70 | have hc : x * (x⁻¹ * a) ∈ irreducibleComponent (1 : H) := |
| 71 | (irreducibleIdentitySubgroup H).mul_mem hxC hxa |
| 72 | simpa only [mul_inv_cancel_left] using hc |
| 73 | |
| 74 | theorem irreducible_identityComponent_open |
| 75 | {H : Type*} [Group H] [TopologicalSpace H] |
| 76 | [SeparatelyContinuousMul H] [ContinuousInv H] [NoetherianSpace H] : |
| 77 | IsOpen (irreducibleComponent (1 : H)) := by |
| 78 | let C := irreducibleComponent (1 : H) |
| 79 | let S := irreducibleComponents H \ {C} |
| 80 | have hS : S.Finite := NoetherianSpace.finite_irreducibleComponents.sdiff |
| 81 | have hcomp : Cᶜ = ⋃ A ∈ S, A := by |
| 82 | ext x |
| 83 | constructor |
| 84 | · intro hx |
| 85 | refine mem_iUnion.mpr ⟨irreducibleComponent x, mem_iUnion.mpr ⟨?_, mem_irreducibleComponent⟩⟩ |
| 86 | refine ⟨irreducibleComponent_mem_irreducibleComponents x, ?_⟩ |
| 87 | intro he |
| 88 | exact hx ((mem_singleton_iff.mp he) ▸ mem_irreducibleComponent) |
| 89 | · intro hx |
| 90 | obtain ⟨A, hA⟩ := mem_iUnion.mp hx |
| 91 | obtain ⟨hAS, hxA⟩ := mem_iUnion.mp hA |
| 92 | intro hxC |
| 93 | have hAC : A ⊆ C := irreducible_meeting_identityComponent_subset hAS.1.1 ⟨x, hxA, hxC⟩ |
| 94 | have hCA : C ⊆ A := hAS.1.2 isIrreducible_irreducibleComponent hAC |
| 95 | exact hAS.2 (mem_singleton_iff.mpr (Subset.antisymm hAC hCA)) |
| 96 | apply isClosed_compl_iff.mp |
| 97 | rw [hcomp] |
| 98 | exact hS.isClosed_biUnion fun A hA => isClosed_of_mem_irreducibleComponents A hA.1 |
| 99 | |
| 100 | theorem irreducible_of_connected_noetherian_group |
| 101 | (H : Type*) [Group H] [TopologicalSpace H] |
| 102 | [SeparatelyContinuousMul H] [ContinuousInv H] [NoetherianSpace H] [ConnectedSpace H] : |
| 103 | IrreducibleSpace H := by |
| 104 | have hclopen : IsClopen (irreducibleComponent (1 : H)) := |
| 105 | ⟨isClosed_irreducibleComponent, irreducible_identityComponent_open⟩ |
| 106 | have heq := hclopen.eq_univ ⟨1, mem_irreducibleComponent⟩ |
| 107 | apply (irreducibleSpace_def H).mpr |
| 108 | change IsIrreducible (Set.univ : Set H) |
| 109 | rw [← heq] |
| 110 | exact isIrreducible_irreducibleComponent |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.NumberTheory.ArithmeticGroups.Lattices.IrreducibleGroup.Construction |