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.HodgeConjecture.CMExtraction.RestrictedAwaySame |
| 2 | |
| 3 | /-! # Restricted Insert -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedInsert.Approximation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Insert the identity at the omitted place. This continuous section of |
| 12 | the actual restricted product leaves every away coordinate unchanged. -/ |
| 13 | |
| 14 | open scoped Classical RestrictedProduct |
| 15 | open Filter |
| 16 | |
| 17 | theorem cofinite_away_lift {I : Type*} (v : I) {p : I → Prop} |
| 18 | (hv : p v) (h : ∀ᶠ w : {w : I // w ≠ v} in cofinite, p w.val) : |
| 19 | ∀ᶠ w : I in cofinite, p w := by |
| 20 | rw [eventually_cofinite] at h ⊢ |
| 21 | refine (h.image Subtype.val).subset ?_ |
| 22 | intro w hw |
| 23 | have hwv : w ≠ v := fun he => hw (he.symm ▸ hv) |
| 24 | exact ⟨⟨w, hwv⟩, hw, rfl⟩ |
| 25 | |
| 26 | variable {I : Type*} {G : I → Type*} [∀ i, Group (G i)] |
| 27 | (K : ∀ i, Subgroup (G i)) (v : I) |
| 28 | |
| 29 | def insertIdentityFunction (g : ∀ w : {w : I // w ≠ v}, G w.val) (w : I) : G w := |
| 30 | if hw : w = v then 1 else g ⟨w, hw⟩ |
| 31 | |
| 32 | def restrictedInsertPlace : RestrictedAwaySame.Approximation.RestrictedAway K v →* RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K where |
| 33 | toFun g := ⟨insertIdentityFunction v g, by |
| 34 | apply cofinite_away_lift v (by simp [insertIdentityFunction]) |
| 35 | filter_upwards [g.property] with w hw |
| 36 | change g w ∈ K w.val at hw |
| 37 | change (if he : w.val = v then 1 else g ⟨w.val, he⟩) ∈ K w.val |
| 38 | rw [dite_eq_right w.property] |
| 39 | exact hw⟩ |
| 40 | map_one' := by |
| 41 | apply RestrictedProduct.ext |
| 42 | intro w |
| 43 | change insertIdentityFunction v (1 : RestrictedAwaySame.Approximation.RestrictedAway K v) w = 1 |
| 44 | by_cases hw : w = v <;> simp [insertIdentityFunction, hw] |
| 45 | map_mul' g h := by |
| 46 | apply RestrictedProduct.ext |
| 47 | intro w |
| 48 | change insertIdentityFunction v (g * h) w = |
| 49 | insertIdentityFunction v g w * insertIdentityFunction v h w |
| 50 | by_cases hw : w = v <;> simp [insertIdentityFunction, hw] |
| 51 | |
| 52 | theorem restrictedInsertPlace_same (g : RestrictedAwaySame.Approximation.RestrictedAway K v) : |
| 53 | restrictedInsertPlace K v g v = 1 := by |
| 54 | change insertIdentityFunction v g v = 1 |
| 55 | simp [insertIdentityFunction] |
| 56 | |
| 57 | theorem restrictedInsertPlace_other (g : RestrictedAwaySame.Approximation.RestrictedAway K v) (w : I) (hw : w ≠ v) : |
| 58 | restrictedInsertPlace K v g w = g ⟨w, hw⟩ := by |
| 59 | change insertIdentityFunction v g w = g ⟨w, hw⟩ |
| 60 | simp only [insertIdentityFunction, dite_eq_right hw] |
| 61 | |
| 62 | theorem restrictedForgetInsert (g : RestrictedAwaySame.Approximation.RestrictedAway K v) : |
| 63 | RestrictedAwaySame.Approximation.restrictedForgetPlace K v (restrictedInsertPlace K v g) = g := by |
| 64 | apply RestrictedProduct.ext |
| 65 | intro w |
| 66 | exact restrictedInsertPlace_other K v g w.val w.property |
| 67 | |
| 68 | theorem restrictedInsertForget (g : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K) : |
| 69 | RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace K v (g v) * restrictedInsertPlace K v (RestrictedAwaySame.Approximation.restrictedForgetPlace K v g) = g := by |
| 70 | apply RestrictedProduct.ext |
| 71 | intro w |
| 72 | by_cases hw : w = v |
| 73 | · subst w |
| 74 | change RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace K v (g v) v * restrictedInsertPlace K v (RestrictedAwaySame.Approximation.restrictedForgetPlace K v g) v = g v |
| 75 | rw [RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace_same, restrictedInsertPlace_same, mul_one] |
| 76 | · change RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace K v (g v) w * restrictedInsertPlace K v (RestrictedAwaySame.Approximation.restrictedForgetPlace K v g) w = g w |
| 77 | rw [RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace_other K hw, restrictedInsertPlace_other K v _ w hw, one_mul] |
| 78 | rfl |
| 79 | |
| 80 | variable [∀ i, TopologicalSpace (G i)] |
| 81 | |
| 82 | theorem restrictedInsertPlace_continuous : Continuous (restrictedInsertPlace K v) := by |
| 83 | rw [RestrictedProduct.continuous_dom] |
| 84 | intro S hS |
| 85 | let T : Set I := {w | ∀ hw : w ≠ v, (⟨w, hw⟩ : {w : I // w ≠ v}) ∈ S} |
| 86 | have hT : cofinite ≤ principal T := by |
| 87 | rw [le_principal_iff] |
| 88 | apply cofinite_away_lift v (by simp) |
| 89 | filter_upwards [le_principal_iff.mp hS] with w hw |
| 90 | exact fun _ => hw |
| 91 | let f : RestrictedProduct (fun w : {w : I // w ≠ v} => G w.val) |
| 92 | (fun w => (K w.val : Set (G w.val))) (principal S) → |
| 93 | RestrictedProduct G (fun w => (K w : Set (G w))) (principal T) := fun g => |
| 94 | ⟨insertIdentityFunction v g, by |
| 95 | rw [eventually_principal] |
| 96 | intro w hw |
| 97 | by_cases he : w = v |
| 98 | · simp [insertIdentityFunction, he] |
| 99 | · change (if h : w = v then 1 else g ⟨w, h⟩) ∈ K w |
| 100 | rw [dite_eq_right he] |
| 101 | exact (eventually_principal.mp g.property) ⟨w, he⟩ (hw he)⟩ |
| 102 | have hf : Continuous f := by |
| 103 | apply RestrictedProduct.continuous_rng_of_principal.mpr |
| 104 | apply continuous_pi |
| 105 | intro w |
| 106 | change Continuous (fun g : RestrictedProduct (fun w : {w : I // w ≠ v} => G w.val) |
| 107 | (fun w => (K w.val : Set (G w.val))) (principal S) => insertIdentityFunction v g w) |
| 108 | by_cases hw : w = v |
| 109 | · simp only [insertIdentityFunction, dite_eq_left hw] |
| 110 | exact continuous_const |
| 111 | · simp only [insertIdentityFunction, dite_eq_right hw] |
| 112 | exact RestrictedProduct.continuous_eval (R := fun w : {w : I // w ≠ v} => G w.val) |
| 113 | (A := fun w => (K w.val : Set (G w.val))) (𝓕 := principal S) ⟨w, hw⟩ |
| 114 | exact (RestrictedProduct.continuous_inclusion hT).comp hf |
| 115 | |
| 116 | def restrictedInsertPlaceContinuous : RestrictedAwaySame.Approximation.RestrictedAway K v →ₜ* RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K := |
| 117 | ⟨restrictedInsertPlace K v, restrictedInsertPlace_continuous K v⟩ |
| 118 | |
| 119 | end |
| 120 | |
| 121 | /-! Open active subgroups compatible with a prescribed restricted-product level. -/ |
| 122 | |
| 123 | variable {I : Type*} {G : I → Type*} [∀ i, Group (G i)] [∀ i, TopologicalSpace (G i)] |
| 124 | (K : ∀ i, Subgroup (G i)) (v : I) |
| 125 | {A : Type*} [Group A] [TopologicalSpace A] |
| 126 | (L : OpenSubgroup (RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K)) (J : OpenSubgroup A) (j : A →ₜ* G v) |
| 127 | |
| 128 | def restrictedActiveLevel : OpenSubgroup A := |
| 129 | J ⊓ L.comap ((RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlaceContinuous K v).comp j).toMonoidHom |
| 130 | ((RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlaceContinuous K v).comp j).continuous |
| 131 | |
| 132 | theorem restrictedActiveLevel_le : restrictedActiveLevel K v L J j ≤ J := inf_le_left |
| 133 | |
| 134 | theorem restrictedActiveLevel_mem (g : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.RestrictedGroup K) (a : A) |
| 135 | (hj : j a = g v) (ha : a ∈ restrictedActiveLevel K v L J j) |
| 136 | (hg : restrictedInsertPlace K v (RestrictedAwaySame.Approximation.restrictedForgetPlace K v g) ∈ L) : g ∈ L := by |
| 137 | have h : RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace K v (j a) ∈ L := ha.2 |
| 138 | rw [hj] at h |
| 139 | have hm := L.mul_mem h hg |
| 140 | rwa [restrictedInsertForget] at hm |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RestrictedInsert.Approximation |