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.ThetaCycle.Lagrangians |
| 2 | import OAI.RepresentationTheory.Hecke.RadialDilation.SymplecticBasis |
| 3 | |
| 4 | /-! # Symplectic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Symplectic.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct rational symplectic coordinates for the actual trace form and |
| 11 | identify their complex extension with HeckeCycles's Galois-indexed ambient space. -/ |
| 12 | |
| 13 | open scoped Classical TensorProduct |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 16 | open OAI.RepresentationTheory.Hecke.RadialDilation.SymplecticBasis.Realization |
| 17 | |
| 18 | variable (K : IntermediateField ℚ ℂ) |
| 19 | [NumberField K] [IsGalois ℚ K] [NumberField.IsCMField K] |
| 20 | |
| 21 | def galoisToPaired (places : HeckeCycles.GeometricSource.CM.Places K) : HeckeCycles.GeometricSource.CM.Ambient K ≃ₗ[ℂ] Lagrangians.CM.pairedAmbient K places := |
| 22 | (LinearEquiv.funCongrLeft ℂ (HeckeCycles.GeometricSource.CM.Vec ℂ) (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K).symm).trans |
| 23 | (RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedFunctionEquiv (HeckeCycles.ReferenceDatum.CM.embeddings K places) (HeckeCycles.ReferenceDatum.CM.embeddings_complete K places)) |
| 24 | |
| 25 | theorem galoisToPaired_apply (places : HeckeCycles.GeometricSource.CM.Places K) (w : HeckeCycles.GeometricSource.CM.Ambient K) |
| 26 | (i : Fin places.count) : |
| 27 | galoisToPaired K places w i = |
| 28 | (w (places.representative i), w (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K * places.representative i)) := by |
| 29 | change (w ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K).symm (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K (places.representative i))), |
| 30 | w ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K).symm (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv K (places.representative i))))) = _ |
| 31 | rw [← ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv_conjugation, Equiv.symm_apply_apply, Equiv.symm_apply_apply] |
| 32 | |
| 33 | theorem galoisToPaired_embedding (places : HeckeCycles.GeometricSource.CM.Places K) (x : HeckeCycles.GeometricSource.CM.Vec K) : |
| 34 | galoisToPaired K places (HeckeCycles.GeometricSource.CM.embeddingCoordinates K x) = |
| 35 | Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates (HeckeCycles.ReferenceDatum.CM.embeddings K places) x := by |
| 36 | funext i |
| 37 | rw [galoisToPaired_apply] |
| 38 | apply Prod.ext |
| 39 | · rfl |
| 40 | · funext j |
| 41 | exact congrArg (fun σ : K →ₐ[ℚ] ℂ => σ (x j)) |
| 42 | (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv_conjugation K (places.representative i)) |
| 43 | |
| 44 | theorem rational_coordinates_embedding (places : HeckeCycles.GeometricSource.CM.Places K) |
| 45 | (e : (HeckeCycles.GeometricSource.CM.Vec K) ≃ₗ[ℚ] (Sum (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) → ℚ)) |
| 46 | (x : HeckeCycles.GeometricSource.CM.Vec K) : |
| 47 | RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates K (HeckeCycles.ReferenceDatum.CM.embeddings K places) (HeckeCycles.ReferenceDatum.CM.embeddings_complete K places) e |
| 48 | (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates (HeckeCycles.ReferenceDatum.CM.embeddings K places) x) = |
| 49 | fun i => (e x i : ℂ) := by |
| 50 | have h := RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates_tmul K (HeckeCycles.ReferenceDatum.CM.embeddings K places) (HeckeCycles.ReferenceDatum.CM.embeddings_complete K places) e 1 x |
| 51 | rw [RepresentationTheory.Hecke.RadialDilation.Complexification.Realization.pairedComplexification_tmul K (HeckeCycles.ReferenceDatum.CM.embeddings K places) (HeckeCycles.ReferenceDatum.CM.embeddings_complete K places) 1 x, |
| 52 | one_smul, one_smul] at h |
| 53 | exact h |
| 54 | |
| 55 | theorem exists_symplectic_coordinates (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 56 | (a δ : K) (ha : a ≠ 0) (hac : ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K a = a) |
| 57 | (hδ : δ ≠ 0) (hδc : ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K δ = -δ) : |
| 58 | ∃ C : HeckeCycles.GeometricSource.CM.SymplecticCoordinates K B places, C.a = a ∧ C.delta = δ := by |
| 59 | have hb : B.b ≠ 0 := by |
| 60 | intro h |
| 61 | have hn := B.negative |
| 62 | simp only [h, IntermediateField.coe_zero, Complex.zero_re, lt_self_iff_false] at hn |
| 63 | have hdet : (Matrix.diagonal ![1, 1, B.b]).det ≠ 0 := by |
| 64 | simpa [Matrix.det_diagonal, Fin.prod_univ_succ] using hb |
| 65 | obtain ⟨e, he⟩ := RepresentationTheory.Hecke.RadialDilation.SymplecticBasis.Realization.exists_rational_symplectic_coordinates K |
| 66 | (HeckeCycles.ReferenceDatum.CM.embeddings K places) (HeckeCycles.ReferenceDatum.CM.embeddings_complete K places) δ a hδc hac (mul_ne_zero hδ ha) |
| 67 | (Matrix.diagonal ![1, 1, B.b]) (NumberTheory.ArithmeticGroups.Diagonal.CongruenceLevel.diagonal_hermitian B.b B.conjugate_b) hdet |
| 68 | let rq := e.trans (LinearEquiv.sumArrowLequivProdArrow (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℚ ℚ) |
| 69 | let cc := (galoisToPaired K places).trans |
| 70 | ((RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates K (HeckeCycles.ReferenceDatum.CM.embeddings K places) (HeckeCycles.ReferenceDatum.CM.embeddings_complete K places) e).trans |
| 71 | (LinearEquiv.sumArrowLequivProdArrow (HeckeCycles.GeometricSource.CM.Positions K places) (HeckeCycles.GeometricSource.CM.Positions K places) ℂ ℂ)) |
| 72 | have hext : ∀ x, cc (HeckeCycles.GeometricSource.CM.embeddingCoordinates K x) = |
| 73 | (fun j => ((rq x).1 j : ℂ), fun j => ((rq x).2 j : ℂ)) := by |
| 74 | intro x |
| 75 | change (LinearEquiv.sumArrowLequivProdArrow _ _ ℂ ℂ) |
| 76 | (RepresentationTheory.Hecke.RadialDilation.RationalCoordinates.Realization.rationalCoordinates K (HeckeCycles.ReferenceDatum.CM.embeddings K places) (HeckeCycles.ReferenceDatum.CM.embeddings_complete K places) e |
| 77 | (galoisToPaired K places (HeckeCycles.GeometricSource.CM.embeddingCoordinates K x))) = _ |
| 78 | rw [galoisToPaired_embedding, rational_coordinates_embedding] |
| 79 | rfl |
| 80 | have hpair : ∀ x y, Algebra.trace ℚ K (δ * a * HeckeCycles.GeometricSource.CM.hermitian K B.b x y) = |
| 81 | ∑ j, ((rq x).1 j * (rq y).2 j - (rq y).1 j * (rq x).2 j) := by |
| 82 | intro x y |
| 83 | have hp := he x y |
| 84 | rw [RepresentationTheory.Hecke.RadialDilation.SymplecticBasis.Realization.rationalTraceForm_apply, NumberTheory.ArithmeticGroups.Diagonal.CongruenceLevel.trace_matrix_diagonal] at hp |
| 85 | change Algebra.trace ℚ K (δ * a * NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian B.b x y) = _ |
| 86 | rw [← hp] |
| 87 | apply Finset.sum_congr rfl |
| 88 | intro j _ |
| 89 | change e x (Sum.inl j) * e y (Sum.inr j) - e x (Sum.inr j) * e y (Sum.inl j) = |
| 90 | e x (Sum.inl j) * e y (Sum.inr j) - e y (Sum.inl j) * e x (Sum.inr j) |
| 91 | ring |
| 92 | exact ⟨⟨a, ha, hac, δ, hδ, hδc, rq, cc, hext, hpair⟩, rfl, rfl⟩ |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.Symplectic.CM |