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.Theta.Adelic.QuadraticFieldForms |
| 2 | import OAI.RepresentationTheory.Theta.Adelic.QuadraticLocalCharacter |
| 3 | import OAI.RepresentationTheory.Weil.UnitarySplitting.HermitianGaussianDiscriminant |
| 4 | import OAI.RepresentationTheory.Weil.UnitarySplitting.TensorUnitary |
| 5 | |
| 6 | /-! # Intrinsic Diagonal Character -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Adelic.IntrinsicDiagonalCharacter.Intrinsic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Evaluate the norm character of diagonal multiplicities by the actual |
| 13 | native scalar determinant; the change-of-basis norm factor is eliminated. -/ |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.QuadraticLocalField OAI.RepresentationTheory.Theta.Adelic.QuadraticFieldForms OAI.RepresentationTheory.Theta.Adelic.QuadraticLocalCharacter |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.QuadraticNormCharacter OAI.RepresentationTheory.Theta.Adelic.QuadraticNormSquareQuotient |
| 17 | |
| 18 | variable {k : Type} [NontriviallyNormedField k] [CompleteSpace k] [LocallyCompactSpace k] |
| 19 | variable [IsUltrametricDist k] [CharZero k] |
| 20 | variable (d : k) (hd : d ≠ 0) (hns : ¬ IsSquare d) (hnd : ¬ DiscreteTopology k) {r : ℕ} |
| 21 | |
| 22 | include hd hnd in |
| 23 | theorem diagonal_character |
| 24 | (A : (Matrix (Fin r) (Fin r) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))ˣ) (b : kˣ) |
| 25 | (hb : QuadraticNormSquareQuotient.scalarUnits d b = Matrix.GeneralLinearGroup.det A) |
| 26 | (u : (Matrix (Fin r) (Fin r) (QuadraticLocalField.FieldModel k d hns))ˣ) (a : Fin r → kˣ) |
| 27 | (hdiag : Weil.UnitarySplitting.DualPair.Construction.adjointMatrix (QuadraticLocalField.conjugation k d hns) u.val * QuadraticFieldForms.modelForm d hns A.val * u.val = Weil.UnitarySplitting.TensorUnitary.Construction.multiplicityForm a) : |
| 28 | QuadraticNormCharacter.normSign d (∏ i, a i) = QuadraticNormCharacter.normSign d b := by |
| 29 | have hbase : algebraMap k (QuadraticLocalField.FieldModel k d hns) b.val = (QuadraticFieldForms.modelForm d hns A.val).det := by |
| 30 | apply (QuadraticLocalField.algebraEquiv k d hns).injective |
| 31 | rw [AlgEquiv.commutes] |
| 32 | change algebraMap k (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d) b.val = |
| 33 | (QuadraticLocalField.algebraEquiv k d hns) (((QuadraticLocalField.algebraEquiv k d hns).symm.toRingHom.mapMatrix A.val).det) |
| 34 | rw [← RingHom.map_det] |
| 35 | change algebraMap k (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d) b.val = (QuadraticLocalField.algebraEquiv k d hns) ((QuadraticLocalField.algebraEquiv k d hns).symm A.val.det) |
| 36 | rw [AlgEquiv.apply_symm_apply] |
| 37 | exact congrArg Units.val hb |
| 38 | exact Weil.UnitarySplitting.HermitianGaussianDiscriminant.Construction.hermitianDiagonal_discriminant_character (QuadraticLocalField.model_finrank k d hns) (QuadraticLocalField.conjugation k d hns) |
| 39 | (QuadraticLocalField.conjugation_nontrivial k d hns) (QuadraticNormCharacter.nonarchimedeanNormCharacter d hd hnd) |
| 40 | (QuadraticLocalCharacter.model_quadratic_character d hd hns hnd) (QuadraticFieldForms.modelForm d hns A.val) u a b hbase hdiag |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.RepresentationTheory.Theta.Adelic.IntrinsicDiagonalCharacter.Intrinsic |