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.RepresentationTheory.Weil.UnitarySplitting.TensorUnitary |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianDiscriminant |
| 3 | |
| 4 | /-! # Form Scaling -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.FormScaling.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar changes of a unitary form and diagonalization of a |
| 11 | skew-Hermitian form by a fixed antifixed scalar. -/ |
| 12 | |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | variable {F E : Type} [Field F] [Field E] [Algebra F E] |
| 16 | variable {I : Type} [Fintype I] [DecidableEq I] |
| 17 | variable (σ : E ≃ₐ[F] E) (Q : Matrix I I E) |
| 18 | |
| 19 | def unitaryScaleForm (z : E) : DualPair.Construction.unitaryGroup σ Q →* DualPair.Construction.unitaryGroup σ (z • Q) where |
| 20 | toFun g := ⟨g.val, by |
| 21 | change DualPair.Construction.adjointMatrix σ (g.val : Matrix I I E) * (z • Q) * (g.val : Matrix I I E) = z • Q |
| 22 | rw [mul_smul_comm, smul_mul_assoc, g.property]⟩ |
| 23 | map_one' := rfl |
| 24 | map_mul' _ _ := rfl |
| 25 | |
| 26 | theorem unitaryScaleForm_matrix (z : E) (g : DualPair.Construction.unitaryGroup σ Q) : |
| 27 | ((unitaryScaleForm σ Q z g).val : Matrix I I E) = (g.val : Matrix I I E) := rfl |
| 28 | |
| 29 | theorem unitaryScaleForm_generic (z : E) (g : DualPair.Construction.unitaryGroup σ Q) : |
| 30 | unitaryScaleForm σ Q z g ∈ Generic.Construction.unitaryGenericDomain σ (z • Q) ↔ g ∈ Generic.Construction.unitaryGenericDomain σ Q := Iff.rfl |
| 31 | |
| 32 | theorem unitaryScaleForm_surjective (z : E) (hz : z ≠ 0) : |
| 33 | Function.Surjective (unitaryScaleForm σ Q z) := by |
| 34 | intro g |
| 35 | have hg : DualPair.Construction.adjointMatrix σ (g.val : Matrix I I E) * Q * (g.val : Matrix I I E) = Q := by |
| 36 | apply (smul_right_injective (Matrix I I E) hz) |
| 37 | have hh := g.property |
| 38 | change DualPair.Construction.adjointMatrix σ (g.val : Matrix I I E) * (z • Q) * (g.val : Matrix I I E) = z • Q at hh |
| 39 | rwa [mul_smul_comm, smul_mul_assoc] at hh |
| 40 | exact ⟨⟨g.val, hg⟩, rfl⟩ |
| 41 | |
| 42 | omit Q [Fintype I] [DecidableEq I] in |
| 43 | theorem antifixed_hermitian_scale (z : E) (hz : σ z = -z) |
| 44 | (A : Matrix I I E) (hA : DualPair.Construction.adjointMatrix σ A = A) : |
| 45 | DualPair.Construction.adjointMatrix σ (z • A) = -(z • A) := by |
| 46 | rw [Generic.Construction.adjointMatrix_smul, hz, hA, neg_smul] |
| 47 | |
| 48 | omit Q [Fintype I] [DecidableEq I] in |
| 49 | theorem antifixed_skew_scale (z : E) (hz : σ z = -z) |
| 50 | (A : Matrix I I E) (hA : DualPair.Construction.adjointMatrix σ A = -A) : |
| 51 | DualPair.Construction.adjointMatrix σ (z⁻¹ • A) = z⁻¹ • A := by |
| 52 | rw [Generic.Construction.adjointMatrix_smul, map_inv₀, hz, inv_neg, hA, neg_smul, smul_neg, neg_neg] |
| 53 | |
| 54 | theorem hermitian_diagonal_units [FiniteDimensional F E] [CharZero F] |
| 55 | (hQuadratic : Module.finrank F E = 2) (hne : ∃ z : E, σ z ≠ z) |
| 56 | {n : ℕ} (A : Matrix (Fin n) (Fin n) E) (hA : DualPair.Construction.adjointMatrix σ A = A) (hdet : A.det ≠ 0) : |
| 57 | ∃ u : (Matrix (Fin n) (Fin n) E)ˣ, ∃ a : Fin n → Fˣ, |
| 58 | DualPair.Construction.adjointMatrix σ (u : Matrix (Fin n) (Fin n) E) * A * (u : Matrix (Fin n) (Fin n) E) = TensorUnitary.Construction.multiplicityForm a := by |
| 59 | obtain ⟨u, a, ha, hdiag⟩ := HermitianGaussianDiscriminant.Construction.hermitian_matrix_diagonal σ hQuadratic hne A hA hdet |
| 60 | exact ⟨u, fun i => Units.mk0 (a i) (ha i), hdiag⟩ |
| 61 | |
| 62 | theorem skewHermitian_diagonal_units [FiniteDimensional F E] [CharZero F] |
| 63 | (hQuadratic : Module.finrank F E = 2) (hne : ∃ z : E, σ z ≠ z) |
| 64 | {n : ℕ} (A : Matrix (Fin n) (Fin n) E) (hA : DualPair.Construction.adjointMatrix σ A = -A) (hdet : A.det ≠ 0) |
| 65 | (z : E) (hz0 : z ≠ 0) (hz : σ z = -z) : |
| 66 | ∃ u : (Matrix (Fin n) (Fin n) E)ˣ, ∃ a : Fin n → Fˣ, |
| 67 | DualPair.Construction.adjointMatrix σ (u : Matrix (Fin n) (Fin n) E) * A * (u : Matrix (Fin n) (Fin n) E) = z • TensorUnitary.Construction.multiplicityForm a := by |
| 68 | have hscaled : (z⁻¹ • A).det ≠ 0 := by |
| 69 | rw [Matrix.det_smul] |
| 70 | exact mul_ne_zero (pow_ne_zero _ (inv_ne_zero hz0)) hdet |
| 71 | obtain ⟨u, a, hdiag⟩ := hermitian_diagonal_units σ hQuadratic hne (z⁻¹ • A) |
| 72 | (antifixed_skew_scale σ z hz A hA) hscaled |
| 73 | have hh := congrArg (fun M : Matrix (Fin n) (Fin n) E => z • M) hdiag |
| 74 | rw [mul_smul_comm, smul_mul_assoc, smul_smul, mul_inv_cancel₀ hz0, one_smul] at hh |
| 75 | exact ⟨u, a, hh⟩ |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.RepresentationTheory.Weil.UnitarySplitting.FormScaling.Construction |