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.HodgeConjecture.HeckeCycles.Source.ComplexAction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.FrameBilinearExt |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RingSymplecticPairing |
| 4 | |
| 5 | /-! # Complex Pairing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexPairing.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Extend the source's specified rational symplectic identity to its |
| 12 | actual complex CM components. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM.Symplectic |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 19 | |
| 20 | def coordinate (τ : Gal(E/ℚ)) (i : Fin 3) : GeometricSource.CM.Ambient E →ₗ[ℂ] ℂ := |
| 21 | (LinearMap.proj i : GeometricSource.CM.Vec ℂ →ₗ[ℂ] ℂ).comp (LinearMap.proj τ : GeometricSource.CM.Ambient E →ₗ[ℂ] GeometricSource.CM.Vec ℂ) |
| 22 | |
| 23 | def ambientForm (b δ a : E) : LinearMap.BilinForm ℂ (GeometricSource.CM.Ambient E) := |
| 24 | ∑ τ : Gal(E/ℚ), ∑ i : Fin 3, |
| 25 | (((τ (δ * a) : E) : ℂ) * (if i = 2 then ((τ b : E) : ℂ) else 1)) • |
| 26 | (LinearMap.mul ℂ ℂ).compl₁₂ (coordinate E τ i) (coordinate E (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) i) |
| 27 | |
| 28 | theorem ambientForm_apply (b δ a : E) (x y : GeometricSource.CM.Ambient E) : |
| 29 | ambientForm E b δ a x y = ∑ τ : Gal(E/ℚ), ∑ i : Fin 3, |
| 30 | (((τ (δ * a) : E) : ℂ) * (if i = 2 then ((τ b : E) : ℂ) else 1)) * |
| 31 | (x τ i * y (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) i) := by |
| 32 | simp only [ambientForm, LinearMap.sum_apply, LinearMap.smul_apply, smul_eq_mul, |
| 33 | LinearMap.compl₁₂_apply, coordinate, LinearMap.comp_apply, LinearMap.proj_apply, |
| 34 | LinearMap.mul_apply'] |
| 35 | |
| 36 | variable [IsGalois ℚ E] |
| 37 | |
| 38 | omit [NumberField.IsCMField E] in |
| 39 | theorem trace_sum (z : E) : (Algebra.trace ℚ E z : ℂ) = ∑ τ : Gal(E/ℚ), ((τ z : E) : ℂ) := by |
| 40 | have h := congrArg (fun z : E => (z : ℂ)) (trace_eq_sum_automorphisms (K := ℚ) z) |
| 41 | simpa using h |
| 42 | |
| 43 | theorem ambient_rational (b δ a : E) (x y : GeometricSource.CM.Vec E) : |
| 44 | ambientForm E b δ a (GeometricSource.CM.embeddingCoordinates E x) (GeometricSource.CM.embeddingCoordinates E y) = |
| 45 | (Algebra.trace ℚ E (δ * a * GeometricSource.CM.hermitian E b x y) : ℂ) := by |
| 46 | rw [ambientForm_apply, trace_sum] |
| 47 | apply Finset.sum_congr rfl |
| 48 | intro τ _ |
| 49 | have hc (z : E) : τ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E z) = (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) z := |
| 50 | congrArg (fun σ : Gal(E/ℚ) => σ z) (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_commute E τ).eq.symm |
| 51 | simp only [GeometricSource.CM.hermitian, map_mul, map_sum, apply_ite τ, map_one, hc, |
| 52 | IntermediateField.coe_mul, IntermediateField.coe_sum, GeometricSource.CM.embeddingCoordinates, |
| 53 | Finset.mul_sum] |
| 54 | apply Finset.sum_congr rfl |
| 55 | intro i _ |
| 56 | split_ifs |
| 57 | · ring |
| 58 | · simp only [IntermediateField.coe_one] |
| 59 | ring |
| 60 | |
| 61 | variable {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (C : GeometricSource.CM.SymplecticCoordinates E B places) |
| 62 | |
| 63 | def frameForm : LinearMap.BilinForm ℂ (GeometricSource.CM.Ambient E) := |
| 64 | (-(Matrix.J (GeometricSource.CM.Positions E places) ℂ).toBilin').compl₁₂ |
| 65 | (ComplexAction.CM.complexFrame E C).toLinearMap (ComplexAction.CM.complexFrame E C).toLinearMap |
| 66 | |
| 67 | omit [IsGalois ℚ E] in |
| 68 | theorem frameForm_apply (x y : GeometricSource.CM.Ambient E) : |
| 69 | frameForm E C x y = |
| 70 | Finite.TracePhase.CM.pairing (ComplexAction.CM.complexFrame E C x) (ComplexAction.CM.complexFrame E C y) := |
| 71 | (RingSymplecticPairing.CM.pairing_negJ _ _).symm |
| 72 | |
| 73 | omit [IsGalois ℚ E] in |
| 74 | theorem frame_rational (x y : GeometricSource.CM.Vec E) : |
| 75 | frameForm E C (GeometricSource.CM.embeddingCoordinates E x) (GeometricSource.CM.embeddingCoordinates E y) = |
| 76 | (Algebra.trace ℚ E (C.delta * C.a * GeometricSource.CM.hermitian E B.b x y) : ℂ) := by |
| 77 | rw [frameForm_apply, ComplexAction.CM.complexFrame_rational, ComplexAction.CM.complexFrame_rational] |
| 78 | have h := congrArg (fun t : ℚ => (t : ℂ)) (ComplexAction.CM.Symplectic.frame_pairing E C x y) |
| 79 | simpa only [Finite.TracePhase.CM.pairing, ComplexAction.CM.Symplectic.pairing, Rat.cast_sum, Rat.cast_sub, Rat.cast_mul, |
| 80 | mul_comm] using h |
| 81 | |
| 82 | theorem form_equality : frameForm E C = ambientForm E B.b C.delta C.a := by |
| 83 | apply Rational.FrameBilinearExt.CM.ext (ComplexAction.CM.Symplectic.frame E C) (ComplexAction.CM.complexFrame E C) |
| 84 | (GeometricSource.CM.embeddingCoordinates E) (ComplexAction.CM.complexFrame_rational E C) |
| 85 | intro x y |
| 86 | exact (frame_rational E C x y).trans (ambient_rational E B.b C.delta C.a x y).symm |
| 87 | |
| 88 | theorem pairing (x y : GeometricSource.CM.Ambient E) : |
| 89 | Finite.TracePhase.CM.pairing (ComplexAction.CM.complexFrame E C x) (ComplexAction.CM.complexFrame E C y) = |
| 90 | ∑ τ : Gal(E/ℚ), ∑ i : Fin 3, |
| 91 | (((τ (C.delta * C.a) : E) : ℂ) * (if i = 2 then ((τ B.b : E) : ℂ) else 1)) * |
| 92 | (x τ i * y (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) i) := by |
| 93 | rw [← frameForm_apply, form_equality, ambientForm_apply] |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexPairing.CM |