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.QuadraticLocalField |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.QuadraticNorm |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.TensorSpace |
| 4 | |
| 5 | /-! # Quadratic Field Forms -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Adelic.QuadraticFieldForms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transport the native quadratic trace forms and unitary matrices to |
| 12 | the actual nonsplit normed-field model used by UnitarySplitting. -/ |
| 13 | |
| 14 | open OAI.RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction OAI.RepresentationTheory.Theta.Adelic.QuadraticLocalField |
| 15 | |
| 16 | section Algebra |
| 17 | variable {k : Type} [Field k] [CharZero k] (d : k) (hns : ¬ IsSquare d) |
| 18 | |
| 19 | theorem model_trace (x : QuadraticLocalField.FieldModel k d hns) : |
| 20 | Algebra.trace k (QuadraticLocalField.FieldModel k d hns) x = QuadraticAlgebra.trace (QuadraticLocalField.algebraEquiv k d hns x) := by |
| 21 | have h := Weil.UnitarySplitting.QuadraticNorm.Construction.quadratic_trace_formula (QuadraticLocalField.model_finrank k d hns) |
| 22 | (QuadraticLocalField.conjugation k d hns) (QuadraticLocalField.conjugation_nontrivial k d hns) x |
| 23 | have he := congrArg (QuadraticLocalField.algebraEquiv k d hns) h |
| 24 | rw [AlgEquiv.commutes, map_add] at he |
| 25 | apply (algebraMap k (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)).injective |
| 26 | rw [QuadraticAlgebra.algebraMap_trace_eq_add_star] |
| 27 | exact he |
| 28 | |
| 29 | variable {I J : Type} [Fintype I] [DecidableEq I] [Fintype J] [DecidableEq J] |
| 30 | |
| 31 | def modelForm (A : Matrix I J (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)) : Matrix I J (QuadraticLocalField.FieldModel k d hns) := |
| 32 | A.map (QuadraticLocalField.algebraEquiv k d hns).symm.toRingHom |
| 33 | |
| 34 | omit [CharZero k] [Fintype I] [DecidableEq I] in |
| 35 | theorem modelForm_adjoint (A : Matrix I I (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)) : |
| 36 | Weil.UnitarySplitting.DualPair.Construction.adjointMatrix (QuadraticLocalField.conjugation k d hns) (modelForm d hns A) = |
| 37 | modelForm d hns A.conjTranspose := by |
| 38 | ext i j |
| 39 | change (QuadraticLocalField.algebraEquiv k d hns).symm |
| 40 | (star ((QuadraticLocalField.algebraEquiv k d hns) ((QuadraticLocalField.algebraEquiv k d hns).symm (A j i)))) = |
| 41 | (QuadraticLocalField.algebraEquiv k d hns).symm (star (A j i)) |
| 42 | rw [AlgEquiv.apply_symm_apply] |
| 43 | |
| 44 | def modelUnitary (A : Matrix I I (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)) : |
| 45 | Weil.AdelicSplitting.UnitaryBase.Construction.Unitary A →* Weil.UnitarySplitting.DualPair.Construction.unitaryGroup (QuadraticLocalField.conjugation k d hns) (modelForm d hns A) where |
| 46 | toFun g := ⟨Units.map (QuadraticLocalField.algebraEquiv k d hns).symm.toRingHom.mapMatrix.toMonoidHom g.val, by |
| 47 | change Weil.UnitarySplitting.DualPair.Construction.adjointMatrix (QuadraticLocalField.conjugation k d hns) (modelForm d hns g.val.val) * |
| 48 | modelForm d hns A * modelForm d hns g.val.val = modelForm d hns A |
| 49 | rw [modelForm_adjoint] |
| 50 | have h := congrArg (modelForm d hns) g.property |
| 51 | simpa only [modelForm, Matrix.map_mul] using h⟩ |
| 52 | map_one' := by apply Subtype.ext; exact map_one _ |
| 53 | map_mul' g h := by apply Subtype.ext; exact map_mul _ _ _ |
| 54 | |
| 55 | end Algebra |
| 56 | |
| 57 | variable {k : Type} [NontriviallyNormedField k] [CompleteSpace k] [IsUltrametricDist k] |
| 58 | variable (d : k) (hns : ¬ IsSquare d) {I : Type} [Fintype I] [DecidableEq I] |
| 59 | |
| 60 | theorem modelUnitary_continuous (A : Matrix I I (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d)) : |
| 61 | Continuous (modelUnitary d hns A) := by |
| 62 | apply Continuous.subtype_mk |
| 63 | apply Units.continuous_iff.mpr |
| 64 | constructor <;> apply continuous_pi <;> intro i <;> apply continuous_pi <;> intro j |
| 65 | · change Continuous (fun g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary A => (QuadraticLocalField.algebraEquiv k d hns).symm (g.val.val i j)) |
| 66 | exact (QuadraticLocalField.coefficientHomeomorph k d hns).symm.continuous.comp |
| 67 | ((continuous_apply j).comp ((continuous_apply i).comp |
| 68 | ((Units.continuous_val (M := Matrix I I (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))).comp continuous_subtype_val))) |
| 69 | · change Continuous (fun g : Weil.AdelicSplitting.UnitaryBase.Construction.Unitary A => (QuadraticLocalField.algebraEquiv k d hns).symm ((g.val⁻¹).val i j)) |
| 70 | exact (QuadraticLocalField.coefficientHomeomorph k d hns).symm.continuous.comp |
| 71 | ((continuous_apply j).comp ((continuous_apply i).comp |
| 72 | ((Units.continuous_coe_inv (M := Matrix I I (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic k d))).comp continuous_subtype_val))) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.RepresentationTheory.Theta.Adelic.QuadraticFieldForms |