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.AbelianModuli.ReferenceFamily.TraceReconstructionEq |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.CM.TraceForm |
| 3 | |
| 4 | /-! # Reconstruction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Reconstruction.TraceReconstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The trace coefficients of an alternating rational form satisfying |
| 11 | the CM adjoint equation reconstruct an actual Hermitian form. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.ComplexMultiplication.CM.TraceForm |
| 14 | |
| 15 | variable {E V : Type*} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 16 | [AddCommGroup V] [Module ℚ V] [Module E V] [IsScalarTower ℚ E V] |
| 17 | |
| 18 | def RosatiBalanced (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) : Prop := |
| 19 | ∀ (a : E) (x y : V), ψ (a • x) y = ψ x (ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a • y) |
| 20 | |
| 21 | omit [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] [Module E V] [IsScalarTower ℚ E V] in |
| 22 | theorem skew_of_alternating (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (hψ : ∀ x, ψ x x = 0) (x y : V) : |
| 23 | ψ y x = -ψ x y := by |
| 24 | have h := hψ (x + y) |
| 25 | simp only [map_add, LinearMap.add_apply, hψ] at h |
| 26 | linarith |
| 27 | |
| 28 | theorem coefficient_smul_right (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (hψ : RosatiBalanced (E := E) ψ) |
| 29 | (a : E) (x y : V) : TraceReconstructionEq.TraceReconstruction.coefficient ψ x (a • y) = ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a * TraceReconstructionEq.TraceReconstruction.coefficient ψ x y := by |
| 30 | apply TraceReconstructionEq.TraceReconstruction.coefficient_eq_of_trace |
| 31 | intro b |
| 32 | calc |
| 33 | Algebra.trace ℚ E ((ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a * TraceReconstructionEq.TraceReconstruction.coefficient ψ x y) * b) = |
| 34 | Algebra.trace ℚ E (TraceReconstructionEq.TraceReconstruction.coefficient ψ x y * (ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a * b)) := |
| 35 | congrArg (Algebra.trace ℚ E) (by ring) |
| 36 | _ = ψ ((ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a * b) • x) y := TraceReconstructionEq.TraceReconstruction.coefficient_spec ψ x y _ |
| 37 | _ = ψ (b • x) (a • y) := by |
| 38 | rw [mul_smul, hψ, ComplexMultiplication.CM.TraceForm.cmFieldConjugation_involutive] |
| 39 | |
| 40 | theorem coefficient_conjugate (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) |
| 41 | (hψ : RosatiBalanced (E := E) ψ) (hAlt : ∀ x, ψ x x = 0) (x y : V) : |
| 42 | TraceReconstructionEq.TraceReconstruction.coefficient (E := E) ψ y x = -ComplexMultiplication.CM.TraceForm.cmFieldConjugation E (TraceReconstructionEq.TraceReconstruction.coefficient ψ x y) := by |
| 43 | apply TraceReconstructionEq.TraceReconstruction.coefficient_eq_of_trace |
| 44 | intro a |
| 45 | calc |
| 46 | Algebra.trace ℚ E ((-ComplexMultiplication.CM.TraceForm.cmFieldConjugation E (TraceReconstructionEq.TraceReconstruction.coefficient ψ x y)) * a) = |
| 47 | -Algebra.trace ℚ E (ComplexMultiplication.CM.TraceForm.cmFieldConjugation E (TraceReconstructionEq.TraceReconstruction.coefficient ψ x y * ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a)) := by |
| 48 | rw [map_mul (ComplexMultiplication.CM.TraceForm.cmFieldConjugation E), ComplexMultiplication.CM.TraceForm.cmFieldConjugation_involutive, neg_mul, map_neg] |
| 49 | _ = -Algebra.trace ℚ E (TraceReconstructionEq.TraceReconstruction.coefficient ψ x y * ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a) := |
| 50 | congrArg (fun q : ℚ => -q) (Algebra.trace_eq_of_algEquiv (ComplexMultiplication.CM.TraceForm.cmFieldConjugation E) _) |
| 51 | _ = -ψ (ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a • x) y := |
| 52 | congrArg (fun q : ℚ => -q) (TraceReconstructionEq.TraceReconstruction.coefficient_spec ψ x y _) |
| 53 | _ = -ψ x (a • y) := by rw [hψ, ComplexMultiplication.CM.TraceForm.cmFieldConjugation_involutive] |
| 54 | _ = ψ (a • y) x := (skew_of_alternating ψ hAlt x (a • y)).symm |
| 55 | |
| 56 | def hermitianCoefficient (ξ : E) (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (x y : V) : E := |
| 57 | ξ⁻¹ * TraceReconstructionEq.TraceReconstruction.coefficient ψ x y |
| 58 | |
| 59 | omit [NumberField.IsCMField E] in |
| 60 | theorem hermitianCoefficient_add_left (ξ : E) (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (x z y : V) : |
| 61 | hermitianCoefficient ξ ψ (x + z) y = |
| 62 | hermitianCoefficient ξ ψ x y + hermitianCoefficient ξ ψ z y := by |
| 63 | simp only [hermitianCoefficient, TraceReconstructionEq.TraceReconstruction.coefficient_add_left, mul_add] |
| 64 | |
| 65 | omit [NumberField.IsCMField E] in |
| 66 | theorem hermitianCoefficient_add_right (ξ : E) (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (x y z : V) : |
| 67 | hermitianCoefficient ξ ψ x (y + z) = |
| 68 | hermitianCoefficient ξ ψ x y + hermitianCoefficient ξ ψ x z := by |
| 69 | simp only [hermitianCoefficient, TraceReconstructionEq.TraceReconstruction.coefficient_add_right, mul_add] |
| 70 | |
| 71 | omit [NumberField.IsCMField E] in |
| 72 | theorem hermitianCoefficient_trace (ξ : E) (hξ : ξ ≠ 0) |
| 73 | (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (x y : V) : |
| 74 | Algebra.trace ℚ E (ξ * hermitianCoefficient ξ ψ x y) = ψ x y := by |
| 75 | rw [hermitianCoefficient, ← mul_assoc, mul_inv_cancel₀ hξ, one_mul] |
| 76 | exact TraceReconstructionEq.TraceReconstruction.coefficient_trace ψ x y |
| 77 | |
| 78 | theorem hermitianCoefficient_symmetry (ξ : E) (hξ : ComplexMultiplication.CM.TraceForm.cmFieldConjugation E ξ = -ξ) |
| 79 | (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (hψ : RosatiBalanced (E := E) ψ) |
| 80 | (hAlt : ∀ x, ψ x x = 0) (x y : V) : |
| 81 | ComplexMultiplication.CM.TraceForm.cmFieldConjugation E (hermitianCoefficient ξ ψ x y) = hermitianCoefficient ξ ψ y x := by |
| 82 | rw [hermitianCoefficient, hermitianCoefficient, map_mul (ComplexMultiplication.CM.TraceForm.cmFieldConjugation E), |
| 83 | map_inv₀, hξ, inv_neg, coefficient_conjugate ψ hψ hAlt x y] |
| 84 | ring |
| 85 | |
| 86 | omit [NumberField.IsCMField E] in |
| 87 | theorem hermitianCoefficient_smul_left (ξ : E) (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (a : E) (x y : V) : |
| 88 | hermitianCoefficient ξ ψ (a • x) y = a * hermitianCoefficient ξ ψ x y := by |
| 89 | rw [hermitianCoefficient, hermitianCoefficient, TraceReconstructionEq.TraceReconstruction.coefficient_smul_left] |
| 90 | ring |
| 91 | |
| 92 | theorem hermitianCoefficient_smul_right (ξ : E) (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) |
| 93 | (hψ : RosatiBalanced (E := E) ψ) (a : E) (x y : V) : |
| 94 | hermitianCoefficient ξ ψ x (a • y) = ComplexMultiplication.CM.TraceForm.cmFieldConjugation E a * hermitianCoefficient ξ ψ x y := by |
| 95 | rw [hermitianCoefficient, hermitianCoefficient, coefficient_smul_right ψ hψ] |
| 96 | ring |
| 97 | |
| 98 | omit [NumberField.IsCMField E] in |
| 99 | theorem hermitianCoefficient_nondegenerate (ξ : E) (hξ : ξ ≠ 0) |
| 100 | (ψ : V →ₗ[ℚ] V →ₗ[ℚ] ℚ) (hψ : ∀ x, (∀ y, ψ x y = 0) → x = 0) |
| 101 | (x : V) (hx : ∀ y, hermitianCoefficient ξ ψ x y = 0) : x = 0 := by |
| 102 | apply hψ x |
| 103 | intro y |
| 104 | exact (hermitianCoefficient_trace ξ hξ ψ x y).symm.trans |
| 105 | ((congrArg (fun a => Algebra.trace ℚ E (ξ * a)) (hx y)).trans (by rw [mul_zero, map_zero])) |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Hermitian.Reconstruction.TraceReconstruction |