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.AlgebraicGeometry.ComplexMultiplication.CM.ImaginaryElement |
| 2 | import Mathlib.LinearAlgebra.BilinearForm.Hom |
| 3 | import Mathlib.LinearAlgebra.BilinearForm.TensorProduct |
| 4 | import Mathlib.RingTheory.Trace.Basic |
| 5 | |
| 6 | /-! # Trace Form -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # The rational trace pairing for a CM type |
| 14 | |
| 15 | For a totally imaginary element `ξ`, the pairing is |
| 16 | `(x,y) ↦ Tr(ξ · c(x) · y)`. It is alternating, and is nondegenerate |
| 17 | whenever `ξ` is nonzero. The scalar extension is computed in the actual |
| 18 | embedding coordinates, preparing its Hodge positivity calculation. |
| 19 | -/ |
| 20 | |
| 21 | open scoped TensorProduct Classical |
| 22 | |
| 23 | variable (E : Type*) [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 24 | |
| 25 | /-- Intrinsic CM conjugation as a rational algebra automorphism. -/ |
| 26 | def TraceForm.cmFieldConjugation : E ≃ₐ[ℚ] E := |
| 27 | (NumberField.IsCMField.complexConj E).restrictScalars ℚ |
| 28 | |
| 29 | @[simp] |
| 30 | theorem TraceForm.cmFieldConjugation_involutive (x : E) : TraceForm.cmFieldConjugation E (TraceForm.cmFieldConjugation E x) = x := |
| 31 | NumberField.IsCMField.complexConj_apply_apply E x |
| 32 | |
| 33 | theorem TraceForm.cmFieldConjugation_embedding (σ : E →ₐ[ℚ] ℂ) (x : E) : |
| 34 | σ (TraceForm.cmFieldConjugation E x) = star (σ x) := |
| 35 | NumberField.IsCMField.complexEmbedding_complexConj E σ.toRingHom x |
| 36 | |
| 37 | /-- The rational trace pairing, with conjugation in its first slot. -/ |
| 38 | def TraceForm.cmTracePairing (ξ : E) : LinearMap.BilinForm ℚ E := |
| 39 | (Algebra.traceForm ℚ E).compl₁₂ (ξ • (TraceForm.cmFieldConjugation E).toLinearMap) LinearMap.id |
| 40 | |
| 41 | @[simp] |
| 42 | theorem TraceForm.cmTracePairing_apply (ξ x y : E) : |
| 43 | TraceForm.cmTracePairing E ξ x y = Algebra.trace ℚ E (ξ * TraceForm.cmFieldConjugation E x * y) := rfl |
| 44 | |
| 45 | /-- A totally imaginary coefficient makes the trace pairing skew-symmetric. -/ |
| 46 | theorem TraceForm.cmTracePairing_skew (ξ : E) (hξ : TraceForm.cmFieldConjugation E ξ = -ξ) (x y : E) : |
| 47 | TraceForm.cmTracePairing E ξ x y = -TraceForm.cmTracePairing E ξ y x := by |
| 48 | calc |
| 49 | TraceForm.cmTracePairing E ξ x y = |
| 50 | Algebra.trace ℚ E (TraceForm.cmFieldConjugation E (ξ * TraceForm.cmFieldConjugation E x * y)) := |
| 51 | (Algebra.trace_eq_of_algEquiv (TraceForm.cmFieldConjugation E) _).symm |
| 52 | _ = Algebra.trace ℚ E (-(ξ * TraceForm.cmFieldConjugation E y * x)) := by |
| 53 | congr 1 |
| 54 | rw [map_mul, map_mul, hξ, TraceForm.cmFieldConjugation_involutive] |
| 55 | ring |
| 56 | _ = -TraceForm.cmTracePairing E ξ y x := map_neg _ _ |
| 57 | |
| 58 | theorem TraceForm.cmTracePairing_isAlt (ξ : E) (hξ : TraceForm.cmFieldConjugation E ξ = -ξ) : |
| 59 | (TraceForm.cmTracePairing E ξ).IsAlt := by |
| 60 | intro x |
| 61 | have hs := TraceForm.cmTracePairing_skew E ξ hξ x x |
| 62 | linarith |
| 63 | |
| 64 | /-- Nondegeneracy follows from the separable field trace and the invertibility of `ξ`. -/ |
| 65 | theorem TraceForm.cmTracePairing_nondegenerate (ξ : E) (hξ : ξ ≠ 0) : |
| 66 | (TraceForm.cmTracePairing E ξ).Nondegenerate := by |
| 67 | constructor |
| 68 | · intro x hx |
| 69 | have hz : ξ * TraceForm.cmFieldConjugation E x = 0 := |
| 70 | (traceForm_nondegenerate ℚ E).1 _ hx |
| 71 | have hc := (mul_eq_zero.mp hz).resolve_left hξ |
| 72 | apply (TraceForm.cmFieldConjugation E).injective |
| 73 | simpa only [map_zero] using hc |
| 74 | · intro y hy |
| 75 | apply (traceForm_nondegenerate ℚ E).2 y |
| 76 | intro z |
| 77 | change Algebra.trace ℚ E (z * y) = 0 |
| 78 | have hz := hy (TraceForm.cmFieldConjugation E (ξ⁻¹ * z)) |
| 79 | simpa only [TraceForm.cmTracePairing_apply, TraceForm.cmFieldConjugation_involutive, ← mul_assoc, |
| 80 | mul_inv_cancel₀ hξ, one_mul] using hz |
| 81 | |
| 82 | /-- The actual complex base change of the rational pairing, expressed in embedding coordinates. -/ |
| 83 | theorem TraceForm.cmTracePairing_complex (ξ : E) (u v : WeightOne.CM.Complexification E) : |
| 84 | (TraceForm.cmTracePairing E ξ).baseChange ℂ u v = |
| 85 | ∑ σ : E →ₐ[ℚ] ℂ, σ ξ * EmbeddingDecomposition.CM.fieldComplexificationEquiv E u (EmbeddingHodgeType.CM.conjugateEmbedding σ) * |
| 86 | EmbeddingDecomposition.CM.fieldComplexificationEquiv E v σ := by |
| 87 | induction u using TensorProduct.inductionOn with |
| 88 | | add u w hu hw => |
| 89 | simp only [map_add, LinearMap.add_apply, Pi.add_apply, hu, hw, mul_add, add_mul, |
| 90 | Finset.sum_add_distrib] |
| 91 | | tmul a x => |
| 92 | induction v using TensorProduct.inductionOn with |
| 93 | | add v w hv hw => |
| 94 | simp only [map_add, Pi.add_apply, hv, hw, mul_add, Finset.sum_add_distrib] |
| 95 | | tmul b y => |
| 96 | rw [LinearMap.BilinForm.baseChange_tmul, TraceForm.cmTracePairing_apply] |
| 97 | change algebraMap ℚ ℂ (Algebra.trace ℚ E (ξ * TraceForm.cmFieldConjugation E x * y)) * (a * b) = _ |
| 98 | rw [trace_eq_sum_embeddings ℂ] |
| 99 | simp only [map_mul, TraceForm.cmFieldConjugation_embedding, EmbeddingDecomposition.CM.fieldComplexificationEquiv_tmul, |
| 100 | EmbeddingHodgeType.CM.conjugateEmbedding_apply] |
| 101 | rw [Finset.sum_mul] |
| 102 | apply Finset.sum_congr rfl |
| 103 | intro σ _ |
| 104 | ring |
| 105 | |
| 106 | variable {E} (ε : TypeHodgeStructure.CMEmbeddingType E) |
| 107 | |
| 108 | /-- The rational pairing associated to the imaginary element constructed by weak approximation. -/ |
| 109 | def TypeHodgeStructure.CMEmbeddingType.tracePairing : LinearMap.BilinForm ℚ E := TraceForm.cmTracePairing E ε.imaginaryElement |
| 110 | |
| 111 | theorem TypeHodgeStructure.CMEmbeddingType.tracePairing_isAlt : ε.tracePairing.IsAlt := |
| 112 | TraceForm.cmTracePairing_isAlt E ε.imaginaryElement ε.imaginaryElement_conjugate |
| 113 | |
| 114 | theorem TypeHodgeStructure.CMEmbeddingType.tracePairing_nondegenerate : ε.tracePairing.Nondegenerate := |
| 115 | TraceForm.cmTracePairing_nondegenerate E ε.imaginaryElement ε.imaginaryElement_ne_zero |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.ComplexMultiplication.CM |