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.AbelianModuli.HilbertConstruction.CharacterOrthogonality |
| 2 | |
| 3 | /-! # Character Weighted Operators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CharacterWeightedOperators |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Weighted finite averages in an arbitrary coefficient algebra transform according to their chosen character. This applies in particular to endomorphism algebras. -/ |
| 10 | universe u v w |
| 11 | variable (K : Type u) [Field K] (G : Type v) [Group G] [Fintype G] |
| 12 | (B : Type w) [Ring B] [Algebra K B] |
| 13 | |
| 14 | def characterWeightedOperator (ρ : G →* B) (χ : G →* Kˣ) : B := |
| 15 | ∑ a : G, (χ a : K)⁻¹ • ρ a |
| 16 | |
| 17 | def characterAverageOperator (ρ : G →* B) (χ : G →* Kˣ) : B := |
| 18 | (Fintype.card G : K)⁻¹ • characterWeightedOperator K G B ρ χ |
| 19 | |
| 20 | theorem characterWeightedOperator_left (ρ : G →* B) (χ : G →* Kˣ) (a : G) : |
| 21 | ρ a * characterWeightedOperator K G B ρ χ = (χ a : K) • characterWeightedOperator K G B ρ χ := by |
| 22 | calc |
| 23 | ρ a * characterWeightedOperator K G B ρ χ = |
| 24 | ∑ b : G, (χ b : K)⁻¹ • ρ (a * b) := by |
| 25 | rw [characterWeightedOperator, Finset.mul_sum] |
| 26 | apply Finset.sum_congr rfl |
| 27 | intro b _ |
| 28 | exact (mul_smul_comm _ _ _).trans (congrArg (fun z : B => (χ b : K)⁻¹ • z) (ρ.map_mul a b).symm) |
| 29 | _ = ∑ b : G, (χ a : K) • ((χ (a * b) : K)⁻¹ • ρ (a * b)) := by |
| 30 | apply Finset.sum_congr rfl |
| 31 | intro b _ |
| 32 | rw [smul_smul] |
| 33 | have h : (χ b : K)⁻¹ = (χ a : K) * (χ (a * b) : K)⁻¹ := by |
| 34 | simp [mul_comm] |
| 35 | exact congrArg (fun z : K => z • ρ (a * b)) h |
| 36 | _ = ∑ b : G, (χ a : K) • ((χ b : K)⁻¹ • ρ b) := |
| 37 | Fintype.sum_equiv (Equiv.mulLeft a) _ _ (fun _ => rfl) |
| 38 | _ = (χ a : K) • characterWeightedOperator K G B ρ χ := Finset.smul_sum.symm |
| 39 | |
| 40 | theorem characterAverageOperator_left (ρ : G →* B) (χ : G →* Kˣ) (a : G) : |
| 41 | ρ a * characterAverageOperator K G B ρ χ = (χ a : K) • characterAverageOperator K G B ρ χ := by |
| 42 | rw [characterAverageOperator, mul_smul_comm, characterWeightedOperator_left, smul_comm] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CharacterWeightedOperators |