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.Generic |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.TensorUnitary |
| 3 | |
| 4 | /-! # Generic Determinant Character -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.GenericDeterminantCharacter.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The determinant character correction is continuous on the generic |
| 11 | unitary domain and obeys the product-form discriminant identity. -/ |
| 12 | |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | def unitCharacterValue {E : Type} [NormedField E] (χ : Eˣ →ₜ* Circle) (x : E) : Circle := by |
| 16 | classical |
| 17 | exact if hx : x = 0 then 1 else χ (Units.mk0 x hx) |
| 18 | |
| 19 | theorem unitCharacterValue_apply {E : Type} [NormedField E] (χ : Eˣ →ₜ* Circle) (x : E) (hx : x ≠ 0) : |
| 20 | unitCharacterValue χ x = χ (Units.mk0 x hx) := by |
| 21 | simp only [unitCharacterValue, dite_eq_right hx] |
| 22 | |
| 23 | theorem unitCharacterValue_continuousOn {E : Type} [NormedField E] (χ : Eˣ →ₜ* Circle) : |
| 24 | ContinuousOn (unitCharacterValue χ) {x : E | x ≠ 0} := by |
| 25 | rw [continuousOn_iff_continuous_domRestrict] |
| 26 | change Continuous (fun x : {x : E // x ≠ 0} => unitCharacterValue χ x.val) |
| 27 | have hm : Continuous (fun x : {x : E // x ≠ 0} => Units.mk0 x.val x.property) := |
| 28 | Units.isEmbedding_val₀.continuous_iff.mpr continuous_subtype_val |
| 29 | convert χ.continuous.comp hm using 1 |
| 30 | funext x |
| 31 | exact unitCharacterValue_apply χ x.val x.property |
| 32 | |
| 33 | def genericDeterminantCharacter |
| 34 | {F E : Type} [Field F] [NormedField E] [Algebra F E] |
| 35 | {I : Type} [Fintype I] [DecidableEq I] |
| 36 | (σ : E ≃ₐ[F] E) (Q : Matrix I I E) (χ : Eˣ →ₜ* Circle) (g : DualPair.Construction.unitaryGroup σ Q) : Circle := |
| 37 | unitCharacterValue χ (TracePairing.Construction.unitaryDifferenceForm σ Q g).det |
| 38 | |
| 39 | theorem genericDeterminantCharacter_continuousOn |
| 40 | {F E : Type} [Field F] [NormedField E] [Algebra F E] |
| 41 | {I : Type} [Fintype I] [DecidableEq I] |
| 42 | (σ : E ≃ₐ[F] E) (Q : Matrix I I E) (hQ : Q.det ≠ 0) (χ : Eˣ →ₜ* Circle) : |
| 43 | ContinuousOn (genericDeterminantCharacter σ Q χ) (Generic.Construction.unitaryGenericDomain σ Q) := by |
| 44 | have hc : Continuous (fun g : DualPair.Construction.unitaryGroup σ Q => (TracePairing.Construction.unitaryDifferenceForm σ Q g).det) := by |
| 45 | unfold TracePairing.Construction.unitaryDifferenceForm |
| 46 | fun_prop |
| 47 | exact (unitCharacterValue_continuousOn χ).comp hc.continuousOn (fun g hg => by |
| 48 | change (TracePairing.Construction.unitaryDifferenceForm σ Q g).det ≠ 0 |
| 49 | rw [TensorUnitary.Construction.unitaryDifferenceForm_det] |
| 50 | exact mul_ne_zero hQ hg) |
| 51 | |
| 52 | theorem genericDeterminantCharacter_product |
| 53 | {F E : Type} [Field F] [NormedField E] [Algebra F E] |
| 54 | {I : Type} [Fintype I] [DecidableEq I] |
| 55 | (σ : E ≃ₐ[F] E) (Q : Matrix I I E) (hQ : Q.det ≠ 0) (χ : Eˣ →ₜ* Circle) |
| 56 | (g h : DualPair.Construction.unitaryGroup σ Q) (hg : g ∈ Generic.Construction.unitaryGenericDomain σ Q) |
| 57 | (hh : h ∈ Generic.Construction.unitaryGenericDomain σ Q) (hgh : g * h ∈ Generic.Construction.unitaryGenericDomain σ Q) : |
| 58 | unitCharacterValue χ (CayleyProduct.Construction.unitaryProductForm σ Q g h).det = |
| 59 | genericDeterminantCharacter σ Q χ g * genericDeterminantCharacter σ Q χ h * |
| 60 | (genericDeterminantCharacter σ Q χ (g * h))⁻¹ := by |
| 61 | have hn (a : DualPair.Construction.unitaryGroup σ Q) (ha : a ∈ Generic.Construction.unitaryGenericDomain σ Q) : |
| 62 | (TracePairing.Construction.unitaryDifferenceForm σ Q a).det ≠ 0 := by rw [TensorUnitary.Construction.unitaryDifferenceForm_det]; exact mul_ne_zero hQ ha |
| 63 | let Rg := Units.mk0 (TracePairing.Construction.unitaryDifferenceForm σ Q g).det (hn g hg) |
| 64 | let Rh := Units.mk0 (TracePairing.Construction.unitaryDifferenceForm σ Q h).det (hn h hh) |
| 65 | let Rgh := Units.mk0 (TracePairing.Construction.unitaryDifferenceForm σ Q (g * h)).det (hn (g * h) hgh) |
| 66 | let S := Units.mk0 (CayleyProduct.Construction.unitaryProductForm σ Q g h).det |
| 67 | (CayleyProduct.Construction.unitaryProductForm_nondegenerate σ Q hQ g h hg hh hgh) |
| 68 | have hS : S * Rgh = Rg * Rh := by |
| 69 | apply Units.ext |
| 70 | exact TensorUnitary.Construction.unitaryProductForm_discriminant σ Q g h hgh |
| 71 | have he : S = Rg * Rh * Rgh⁻¹ := eq_mul_inv_of_mul_eq hS |
| 72 | simp only [genericDeterminantCharacter, unitCharacterValue_apply χ _ (hn g hg), |
| 73 | unitCharacterValue_apply χ _ (hn h hh), unitCharacterValue_apply χ _ (hn (g * h) hgh), |
| 74 | unitCharacterValue_apply χ _ (CayleyProduct.Construction.unitaryProductForm_nondegenerate σ Q hQ g h hg hh hgh)] |
| 75 | change χ S = χ Rg * χ Rh * (χ Rgh)⁻¹ |
| 76 | rw [he, map_mul, map_mul, map_inv] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.RepresentationTheory.Weil.UnitarySplitting.GenericDeterminantCharacter.Construction |