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 | /-! # Generic Character Correction -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.GenericCharacterCorrection.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Extending a multiplicative formula from a subset meeting every finite |
| 12 | family of right translates. This isolates the passage from generic unitary |
| 13 | matrices to all matrices without assuming a splitting homomorphism. -/ |
| 14 | |
| 15 | section Algebra |
| 16 | |
| 17 | variable {G M : Type} [Group G] [Group M] |
| 18 | variable (D : Set G) (f : G → M) |
| 19 | variable (hD : ∀ s : Finset G, ∃ t : G, ∀ g ∈ s, g * t ∈ D) |
| 20 | variable (hm : ∀ a ∈ D, ∀ b ∈ D, a * b ∈ D → f (a * b) = f a * f b) |
| 21 | |
| 22 | include hD in |
| 23 | theorem generic_denominator (g : G) : ∃ t, t ∈ D ∧ g * t ∈ D := by |
| 24 | classical |
| 25 | obtain ⟨t, ht⟩ := hD {1, g} |
| 26 | exact ⟨t, by simpa using ht 1 (by simp), ht g (by simp)⟩ |
| 27 | |
| 28 | include hm in |
| 29 | theorem generic_fraction_change (g t u : G) |
| 30 | (ht : t ∈ D) (hgt : g * t ∈ D) (hu : u ∈ D) (hgu : g * u ∈ D) |
| 31 | (htu : t⁻¹ * u ∈ D) : f (g * t) * (f t)⁻¹ = f (g * u) * (f u)⁻¹ := by |
| 32 | have h1 : f (g * u) = f (g * t) * f (t⁻¹ * u) := by |
| 33 | simpa only [mul_assoc, mul_inv_cancel_left] using |
| 34 | hm (g * t) hgt (t⁻¹ * u) htu (by simpa only [mul_assoc, mul_inv_cancel_left] using hgu) |
| 35 | have h2 : f u = f t * f (t⁻¹ * u) := by |
| 36 | simpa only [mul_inv_cancel_left] using |
| 37 | hm t ht (t⁻¹ * u) htu (by simpa only [mul_inv_cancel_left] using hu) |
| 38 | rw [h1, h2] |
| 39 | group |
| 40 | |
| 41 | include hD hm in |
| 42 | theorem generic_fraction_independent (g t u : G) |
| 43 | (ht : t ∈ D) (hgt : g * t ∈ D) (hu : u ∈ D) (hgu : g * u ∈ D) : |
| 44 | f (g * t) * (f t)⁻¹ = f (g * u) * (f u)⁻¹ := by |
| 45 | classical |
| 46 | obtain ⟨v, hv⟩ := hD {1, g, t⁻¹, u⁻¹} |
| 47 | have hvD : v ∈ D := by simpa using hv 1 (by simp) |
| 48 | have hgv : g * v ∈ D := hv g (by simp) |
| 49 | exact (generic_fraction_change D f hm g t v ht hgt hvD hgv (hv t⁻¹ (by simp))).trans |
| 50 | (generic_fraction_change D f hm g u v hu hgu hvD hgv (hv u⁻¹ (by simp))).symm |
| 51 | |
| 52 | def genericExtension (g : G) : M := |
| 53 | let t := (generic_denominator D hD g).choose |
| 54 | f (g * t) * (f t)⁻¹ |
| 55 | |
| 56 | include hm in |
| 57 | theorem genericExtension_apply (g t : G) (ht : t ∈ D) (hgt : g * t ∈ D) : |
| 58 | genericExtension D f hD g = f (g * t) * (f t)⁻¹ := by |
| 59 | exact generic_fraction_independent D f hD hm g _ t |
| 60 | (generic_denominator D hD g).choose_spec.1 |
| 61 | (generic_denominator D hD g).choose_spec.2 ht hgt |
| 62 | |
| 63 | include hm in |
| 64 | theorem genericExtension_eq (g : G) (hg : g ∈ D) : genericExtension D f hD g = f g := by |
| 65 | obtain ⟨t, ht, hgt⟩ := generic_denominator D hD g |
| 66 | rw [genericExtension_apply D f hD hm g t ht hgt, hm g hg t ht hgt, mul_inv_cancel_right] |
| 67 | |
| 68 | def genericExtensionHom : G →* M where |
| 69 | toFun := genericExtension D f hD |
| 70 | map_one' := by |
| 71 | obtain ⟨t, ht, h1t⟩ := generic_denominator D hD 1 |
| 72 | rw [genericExtension_apply D f hD hm 1 t ht h1t, one_mul, mul_inv_cancel] |
| 73 | map_mul' g h := by |
| 74 | classical |
| 75 | obtain ⟨t, ht⟩ := hD {1, h, g * h} |
| 76 | have htD : t ∈ D := by simpa using ht 1 (by simp) |
| 77 | have hht : h * t ∈ D := ht h (by simp) |
| 78 | have hght : (g * h) * t ∈ D := ht (g * h) (by simp) |
| 79 | rw [genericExtension_apply D f hD hm (g * h) t htD hght, |
| 80 | genericExtension_apply D f hD hm h t htD hht, |
| 81 | genericExtension_apply D f hD hm g (h * t) hht (by rwa [← mul_assoc])] |
| 82 | group |
| 83 | |
| 84 | theorem genericExtensionHom_projection {N : Type} [Group N] |
| 85 | (p : M →* N) (a : G →* N) (hp : ∀ g ∈ D, p (f g) = a g) (g : G) : |
| 86 | p (genericExtensionHom D f hD hm g) = a g := by |
| 87 | obtain ⟨t, ht, hgt⟩ := generic_denominator D hD g |
| 88 | change p (genericExtension D f hD g) = a g |
| 89 | rw [genericExtension_apply D f hD hm g t ht hgt, |
| 90 | map_mul, map_inv, hp (g * t) hgt, hp t ht, map_mul, mul_inv_cancel_right] |
| 91 | |
| 92 | end Algebra |
| 93 | |
| 94 | variable {G M : Type} [Group G] [Group M] [TopologicalSpace G] [TopologicalSpace M] |
| 95 | variable [IsTopologicalGroup G] [IsTopologicalGroup M] |
| 96 | |
| 97 | theorem genericExtension_continuous |
| 98 | (D : Set G) (f : G → M) |
| 99 | (hD : ∀ s : Finset G, ∃ t : G, ∀ g ∈ s, g * t ∈ D) |
| 100 | (hm : ∀ a ∈ D, ∀ b ∈ D, a * b ∈ D → f (a * b) = f a * f b) |
| 101 | (hopen : IsOpen D) (hc : ContinuousOn f D) : Continuous (genericExtension D f hD) := by |
| 102 | rw [continuous_iff_continuousAt] |
| 103 | intro g |
| 104 | obtain ⟨t, ht, hgt⟩ := generic_denominator D hD g |
| 105 | have hmul : ContinuousAt (fun x : G => x * t) g := continuousAt_id.mul continuousAt_const |
| 106 | have hfun : ContinuousAt (fun x : G => f (x * t) * (f t)⁻¹) g := |
| 107 | ((hc.continuousAt (hopen.mem_nhds hgt)).comp (f := fun x : G => x * t) hmul).mul continuousAt_const |
| 108 | apply hfun.congr_of_eventuallyEq |
| 109 | filter_upwards [hmul.preimage_mem_nhds (hopen.mem_nhds hgt)] with x hx |
| 110 | exact genericExtension_apply D f hD hm x t ht hx |
| 111 | |
| 112 | def genericExtensionContinuousHom |
| 113 | (D : Set G) (f : G → M) |
| 114 | (hD : ∀ s : Finset G, ∃ t : G, ∀ g ∈ s, g * t ∈ D) |
| 115 | (hm : ∀ a ∈ D, ∀ b ∈ D, a * b ∈ D → f (a * b) = f a * f b) |
| 116 | (hopen : IsOpen D) (hc : ContinuousOn f D) : G →ₜ* M := |
| 117 | ⟨genericExtensionHom D f hD hm, genericExtension_continuous D f hD hm hopen hc⟩ |
| 118 | |
| 119 | end |
| 120 | |
| 121 | /-! A determinant-character coboundary removes the Gaussian phase from |
| 122 | the multiplication law on a generic domain. -/ |
| 123 | |
| 124 | variable {G Z A : Type} [Group G] [CommGroup Z] [Group A] |
| 125 | |
| 126 | def characterCorrectedLift (ι : Z →* A) (ℓ : Z) (κ : G → Z) (a : G → A) (g : G) : A := |
| 127 | ι ((ℓ * κ g)⁻¹) * a g |
| 128 | |
| 129 | theorem characterCorrectedLift_mul |
| 130 | (ι : Z →* A) (hcentral : ∀ z : Z, ∀ x : A, Commute (ι z) x) |
| 131 | (ℓ : Z) (κ : G → Z) (a : G → A) (g h : G) |
| 132 | (hmul : a g * a h = ι (ℓ * κ g * κ h * (κ (g * h))⁻¹) * a (g * h)) : |
| 133 | characterCorrectedLift ι ℓ κ a g * characterCorrectedLift ι ℓ κ a h = |
| 134 | characterCorrectedLift ι ℓ κ a (g * h) := by |
| 135 | unfold characterCorrectedLift |
| 136 | calc |
| 137 | _ = (ι ((ℓ * κ g)⁻¹) * ι ((ℓ * κ h)⁻¹)) * (a g * a h) := by |
| 138 | exact (hcentral ((ℓ * κ h)⁻¹) (a g)).symm.mul_mul_mul_comm _ _ |
| 139 | _ = ι (((ℓ * κ g)⁻¹ * (ℓ * κ h)⁻¹) * |
| 140 | (ℓ * κ g * κ h * (κ (g * h))⁻¹)) * a (g * h) := by |
| 141 | rw [hmul, ← map_mul, ← mul_assoc, ← map_mul] |
| 142 | _ = _ := by |
| 143 | congr 2 |
| 144 | calc |
| 145 | _ = (ℓ⁻¹ * ℓ) * ((κ g)⁻¹ * κ g) * ((κ h)⁻¹ * κ h) * |
| 146 | ((κ (g * h))⁻¹ * ℓ⁻¹) := by simp only [mul_inv_rev]; ac_rfl |
| 147 | _ = _ := by simp only [inv_mul_cancel, one_mul, mul_inv_rev] |
| 148 | |
| 149 | omit [Group G] in |
| 150 | theorem characterCorrectedLift_projects |
| 151 | {P : Type} [Group P] (ι : Z →* A) (π : A →* P) (hscalar : ∀ z, π (ι z) = 1) |
| 152 | (ℓ : Z) (κ : G → Z) (a : G → A) (p : G → P) (ha : ∀ g, π (a g) = p g) (g : G) : |
| 153 | π (characterCorrectedLift ι ℓ κ a g) = p g := by |
| 154 | rw [characterCorrectedLift, map_mul, hscalar, one_mul, ha] |
| 155 | |
| 156 | omit [Group G] in |
| 157 | theorem characterCorrectedLift_continuousOn |
| 158 | [TopologicalSpace G] [TopologicalSpace Z] [IsTopologicalGroup Z] |
| 159 | [TopologicalSpace A] [ContinuousMul A] |
| 160 | (ι : Z →* A) (hι : Continuous ι) (ℓ : Z) (κ : G → Z) (a : G → A) |
| 161 | (D : Set G) (hκ : ContinuousOn κ D) (ha : ContinuousOn a D) : |
| 162 | ContinuousOn (characterCorrectedLift ι ℓ κ a) D := |
| 163 | (hι.comp_continuousOn (continuousOn_const.mul hκ).inv).mul ha |
| 164 | |
| 165 | end |
| 166 | |
| 167 | end OAI.RepresentationTheory.Weil.UnitarySplitting.GenericCharacterCorrection.Construction |