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.NumberTheory.ArithmeticGroups.Lattices.SimultaneousOrthonormalEigenbasis |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.OrthogonalBracketAlgebra |
| 3 | |
| 4 | /-! # Commuting Symmetric Weights -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.CommutingSymmetricWeights.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Simultaneous eigenvalues of a commuting symmetric operator |
| 11 | subspace are linear functionals on that subspace. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem exists_commuting_symmetric_weights |
| 16 | {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 17 | (a : Submodule ℝ (L →L[ℝ] L)) |
| 18 | (ha : ∀ A ∈ a, A.toLinearMap.IsSymmetric) |
| 19 | (hc : ∀ A ∈ a, ∀ C ∈ a, Commute A C) : |
| 20 | ∃ (b : OrthonormalBasis (Fin (Module.finrank ℝ L)) ℝ L) |
| 21 | (w : Fin (Module.finrank ℝ L) → Module.Dual ℝ a), |
| 22 | ∀ i (A : a), A.val (b i) = w i A • b i := by |
| 23 | let T : a → L →ₗ[ℝ] L := fun A => A.val.toLinearMap |
| 24 | have hT (A : a) : (T A).IsSymmetric := ha A.val A.property |
| 25 | have hcomm : Pairwise (fun A C => Commute (T A) (T C)) := fun A C _ => |
| 26 | congrArg ContinuousLinearMap.toLinearMap (hc A.val A.property C.val C.property).eq |
| 27 | obtain ⟨b, v, hv⟩ := SimultaneousOrthonormalEigenbasis.Construction.exists_simultaneous_orthonormal_eigenbasis T hT hcomm |
| 28 | let w : Fin (Module.finrank ℝ L) → Module.Dual ℝ a := fun i => |
| 29 | (b.toBasis.coord i).comp ((ContinuousLinearMap.apply ℝ L (b i)).toLinearMap.comp a.subtype) |
| 30 | refine ⟨b, w, fun i A => ?_⟩ |
| 31 | have hw : w i A = v i A := by |
| 32 | change b.toBasis.repr (A.val (b i)) i = v i A |
| 33 | rw [show A.val (b i) = v i A • b i from hv i A] |
| 34 | simp only [map_smul, Finsupp.smul_apply] |
| 35 | have hi : b.toBasis.repr (b i) i = 1 := |
| 36 | (b.toBasis.repr_self_apply i i).trans (ite_eq_left rfl) |
| 37 | rw [hi, smul_eq_mul, mul_one] |
| 38 | rw [hw] |
| 39 | exact hv i A |
| 40 | |
| 41 | theorem orthonormal_eigen_coordinate |
| 42 | {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [Fintype ι] |
| 43 | (b : OrthonormalBasis ι ℝ L) (A : L →L[ℝ] L) (hA : A.toLinearMap.IsSymmetric) |
| 44 | (w : ι → ℝ) (heig : ∀ i, A (b i) = w i • b i) (x : L) (i : ι) : |
| 45 | b.repr (A x) i = w i * b.repr x i := by |
| 46 | rw [b.repr_apply_apply, b.repr_apply_apply] |
| 47 | calc |
| 48 | inner ℝ (b i) (A x) = inner ℝ (A (b i)) x := (hA (b i) x).symm |
| 49 | _ = w i * inner ℝ (b i) x := by rw [heig, real_inner_smul_left] |
| 50 | |
| 51 | theorem bracket_structure_coefficient_weight |
| 52 | {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] [Fintype ι] |
| 53 | (B : L →L[ℝ] L →L[ℝ] L) (a : Submodule ℝ (L →L[ℝ] L)) |
| 54 | (ha : a ≤ RegularSymmetricDerivation.Construction.symmetricDerivationSubmodule B) (b : OrthonormalBasis ι ℝ L) |
| 55 | (w : ι → Module.Dual ℝ a) (heig : ∀ i (A : a), A.val (b i) = w i A • b i) |
| 56 | (i j r : ι) (hc : b.repr (B (b i) (b j)) r ≠ 0) : w r = w i + w j := by |
| 57 | ext A |
| 58 | have hA := ha A.property |
| 59 | have hd := (OrthogonalBracketAlgebra.Construction.continuousBilinearDerivationDefect_eq_zero_iff B A.val).mp hA.2 (b i) (b j) |
| 60 | have he := congrArg (fun x => b.repr x r) hd |
| 61 | rw [orthonormal_eigen_coordinate b A.val hA.1 (fun s => w s A) (fun s => heig s A), |
| 62 | heig, heig] at he |
| 63 | simp only [map_add, map_smul, smul_apply, PiLp.add_apply, |
| 64 | PiLp.smul_apply, smul_eq_mul] at he |
| 65 | change w r A = w i A + w j A |
| 66 | apply mul_right_cancel₀ hc |
| 67 | rw [add_mul] |
| 68 | exact he |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.ArithmeticGroups.Lattices.CommutingSymmetricWeights.Construction |