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.HeckeCycles.GeometricSource |
| 2 | |
| 3 | /-! # Representatives -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.Representatives.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The source's ordered places give the actual Galois representative |
| 10 | set and its erased-product formula for RadialDilation. -/ |
| 11 | |
| 12 | open scoped Classical BigOperators |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 14 | |
| 15 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 16 | (places : GeometricSource.CM.Places E) |
| 17 | |
| 18 | theorem injective : Function.Injective places.representative := by |
| 19 | intro i j h |
| 20 | exact congrArg Prod.fst (places.complete.1 (a₁ := (i, false)) (a₂ := (j, false)) h) |
| 21 | |
| 22 | theorem opposite_ne (i j : Fin places.count) : |
| 23 | ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative i ≠ places.representative j := by |
| 24 | intro h |
| 25 | have h := congrArg Prod.snd (places.complete.1 (a₁ := (i, true)) (a₂ := (j, false)) h) |
| 26 | exact Bool.noConfusion h |
| 27 | |
| 28 | def representatives : Finset (Gal(E/ℚ)) := Finset.univ.image places.representative |
| 29 | |
| 30 | theorem mem_iff (τ : Gal(E/ℚ)) : τ ∈ representatives E places ↔ ∃ i, places.representative i = τ := by |
| 31 | simp only [representatives, Finset.mem_image, Finset.mem_univ, true_and] |
| 32 | |
| 33 | theorem active : (1 : Gal(E/ℚ)) ∈ representatives E places := |
| 34 | (mem_iff E places 1).mpr ⟨places.distinguished, places.identity⟩ |
| 35 | |
| 36 | theorem paired (τ : Gal(E/ℚ)) : |
| 37 | τ ∈ representatives E places ↔ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ ∉ representatives E places := by |
| 38 | constructor |
| 39 | · intro ht hc |
| 40 | obtain ⟨i, rfl⟩ := (mem_iff E places τ).mp ht |
| 41 | obtain ⟨j, hj⟩ := (mem_iff E places _).mp hc |
| 42 | exact opposite_ne E places i j hj.symm |
| 43 | · intro hc |
| 44 | obtain ⟨⟨i, b⟩, hi⟩ := places.complete.2 τ |
| 45 | cases b |
| 46 | · exact (mem_iff E places τ).mpr ⟨i, hi⟩ |
| 47 | · exfalso |
| 48 | apply hc |
| 49 | apply (mem_iff E places _).mpr |
| 50 | refine ⟨i, ?_⟩ |
| 51 | change ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative i = τ at hi |
| 52 | rw [← hi] |
| 53 | apply AlgEquiv.ext |
| 54 | intro x |
| 55 | exact (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_apply_apply E (places.representative i x)).symm |
| 56 | |
| 57 | theorem erase_image : (Finset.univ.erase places.distinguished).image places.representative = |
| 58 | (representatives E places).erase 1 := by |
| 59 | rw [Finset.image_erase (injective E places), places.identity] |
| 60 | rfl |
| 61 | |
| 62 | theorem product_erase {A : Type*} [CommMonoid A] (f : Gal(E/ℚ) → A) : |
| 63 | (∏ i ∈ Finset.univ.erase places.distinguished, f (places.representative i)) = |
| 64 | ∏ τ ∈ (representatives E places).erase 1, f τ := by |
| 65 | rw [← erase_image] |
| 66 | exact (Finset.prod_image (fun _ _ _ _ h => injective E places h)).symm |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.Representatives.CM |