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.Source.ComplexPairing |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RealStructure |
| 3 | |
| 4 | /-! # Component Membership -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComponentMembership.CM.Pairing |
| 11 | |
| 12 | /-! Evaluate the actual source trace form on a single CM component. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | |
| 17 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 18 | |
| 19 | theorem conjugation_twice (τ : Gal(E/ℚ)) : ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) = τ := by |
| 20 | apply AlgEquiv.ext |
| 21 | intro x |
| 22 | exact ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_apply_apply E (τ x) |
| 23 | |
| 24 | def single (τ : Gal(E/ℚ)) (i : Fin 3) : GeometricSource.CM.Ambient E := Pi.single τ (Pi.single i 1) |
| 25 | |
| 26 | omit [NumberField E] [NumberField.IsCMField E] in |
| 27 | theorem single_ne_zero (τ : Gal(E/ℚ)) (i : Fin 3) : Pairing.single E τ i ≠ 0 := by |
| 28 | intro h |
| 29 | have hi := congrArg (fun w : GeometricSource.CM.Ambient E => w τ i) h |
| 30 | simp [Pairing.single] at hi |
| 31 | |
| 32 | theorem pairing (b δ a : E) (τ : Gal(E/ℚ)) (i : Fin 3) : |
| 33 | ComplexPairing.CM.ambientForm E b δ a (Pairing.single E τ i) |
| 34 | (RealStructure.CM.conjugate E (Pairing.single E τ i)) = |
| 35 | (((τ (δ * a) : E) : ℂ) * (if i = 2 then ((τ b : E) : ℂ) else 1)) := by |
| 36 | rw [ComplexPairing.CM.ambientForm_apply, Finset.sum_eq_single τ] |
| 37 | · rw [Finset.sum_eq_single i] |
| 38 | · simp [Pairing.single, RealStructure.CM.conjugate, conjugation_twice] |
| 39 | · intro j _ hji |
| 40 | simp [Pairing.single, hji] |
| 41 | · simp |
| 42 | · intro σ _ hστ |
| 43 | simp [Pairing.single, hστ] |
| 44 | · simp |
| 45 | |
| 46 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComponentMembership.CM.Pairing |
| 47 | |
| 48 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComponentMembership.CM |
| 49 | |
| 50 | /-! Explicit nonzero vectors in each selected source CM component. -/ |
| 51 | |
| 52 | open scoped Classical |
| 53 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 54 | |
| 55 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComponentMembership.CM.Pairing |
| 56 | |
| 57 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 58 | (places : GeometricSource.CM.Places E) |
| 59 | |
| 60 | def component (p : Fin places.count × Bool) : Gal(E/ℚ) := |
| 61 | if p.2 then ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative p.1 else places.representative p.1 |
| 62 | |
| 63 | theorem component_injective : Function.Injective (component E places) := places.complete.1 |
| 64 | |
| 65 | theorem single_other (i j : Fin places.count) (hji : j ≠ i) (a b : Bool) (k : Fin 3) : |
| 66 | Pairing.single E (component E places (i, a)) k (component E places (j, b)) = 0 := by |
| 67 | apply Pi.single_eq_of_ne |
| 68 | intro h |
| 69 | exact hji (congrArg Prod.fst (component_injective E places h)) |
| 70 | |
| 71 | theorem single_opposite (i : Fin places.count) (a : Bool) (k : Fin 3) : |
| 72 | Pairing.single E (component E places (i, a)) k (component E places (i, !a)) = 0 := by |
| 73 | apply Pi.single_eq_of_ne |
| 74 | intro h |
| 75 | have he := congrArg Prod.snd (component_injective E places h) |
| 76 | cases a <;> simp at he |
| 77 | |
| 78 | variable (B : GeometricSource.CM.BallDatum E) (d : Gal(E/ℚ) → Bool) |
| 79 | |
| 80 | theorem compact_mem (i : Fin places.count) (hi : i ≠ places.distinguished) (z : GeometricSource.CM.BallChart) : |
| 81 | GeometricSource.CM.prescribed E B places d z |
| 82 | (Pairing.single E (component E places (i, d (places.representative i))) 0) := by |
| 83 | intro j |
| 84 | by_cases hji : j = i |
| 85 | · subst j |
| 86 | rw [ite_eq_right hi] |
| 87 | cases hd : d (places.representative i) |
| 88 | · rw [ite_eq_right (by decide)] |
| 89 | exact single_opposite E places i false 0 |
| 90 | · rw [ite_eq_left rfl] |
| 91 | exact single_opposite E places i true 0 |
| 92 | · have h0 := single_other E places i j hji (d (places.representative i)) false 0 |
| 93 | have h1 := single_other E places i j hji (d (places.representative i)) true 0 |
| 94 | change Pairing.single E (component E places (i, d (places.representative i))) 0 |
| 95 | (places.representative j) = 0 at h0 |
| 96 | change Pairing.single E (component E places (i, d (places.representative i))) 0 |
| 97 | (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative j) = 0 at h1 |
| 98 | by_cases hj : j = places.distinguished |
| 99 | · rw [ite_eq_left hj, h0, h1] |
| 100 | exact ⟨Submodule.zero_mem _, by simp [GeometricSource.CM.localPairing]⟩ |
| 101 | · rw [ite_eq_right hj] |
| 102 | split_ifs <;> assumption |
| 103 | |
| 104 | theorem distinguished_mem : GeometricSource.CM.prescribed E B places d 0 |
| 105 | (Pairing.single E (component E places (places.distinguished, false)) 2) := by |
| 106 | intro j |
| 107 | by_cases hj : j = places.distinguished |
| 108 | · subst j |
| 109 | rw [ite_eq_left rfl] |
| 110 | have h1 := single_opposite E places places.distinguished false 2 |
| 111 | change Pairing.single E (component E places (places.distinguished, false)) 2 |
| 112 | (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative places.distinguished) = 0 at h1 |
| 113 | rw [h1] |
| 114 | constructor |
| 115 | · simp only [Pairing.single, component, Bool.false_eq_true, ite_false, Pi.single_eq_same] |
| 116 | have hv : (Pi.single 2 (1 : ℂ) : GeometricSource.CM.Vec ℂ) = GeometricSource.CM.BallDatum.lineVector (0 : GeometricSource.CM.BallChart) := by |
| 117 | ext k |
| 118 | fin_cases k <;> simp [GeometricSource.CM.BallDatum.lineVector] |
| 119 | rw [hv] |
| 120 | exact Submodule.mem_span_singleton_self _ |
| 121 | · simp [GeometricSource.CM.localPairing] |
| 122 | · have h0 := single_other E places places.distinguished j hj false false 2 |
| 123 | have h1 := single_other E places places.distinguished j hj false true 2 |
| 124 | change Pairing.single E (component E places (places.distinguished, false)) 2 |
| 125 | (places.representative j) = 0 at h0 |
| 126 | change Pairing.single E (component E places (places.distinguished, false)) 2 |
| 127 | (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative j) = 0 at h1 |
| 128 | rw [ite_eq_right hj] |
| 129 | split_ifs <;> assumption |
| 130 | |
| 131 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComponentMembership.CM |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI |