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.Finite.MomentumEquiv |
| 2 | |
| 3 | /-! # Trace Phase -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TracePhase.CM |
| 10 | |
| 11 | /-! Actual continuous phase coordinates in the oscillator's prescribed |
| 12 | momentum/position order, with the exact traced alternating pairing. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.AdelicTestCoordinates.CM |
| 17 | |
| 18 | def sumCoordinates (R S I : Type*) [Semiring R] [AddCommMonoid S] [Module R S] |
| 19 | [TopologicalSpace S] : ((I ⊕ I) → S) ≃L[R] ((I → S) × (I → S)) where |
| 20 | toLinearEquiv := LinearEquiv.sumArrowLequivProdArrow I I R S |
| 21 | continuous_toFun := by |
| 22 | change Continuous (fun f : (I ⊕ I) → S => (fun i => f (Sum.inl i), fun i => f (Sum.inr i))) |
| 23 | exact (continuous_pi fun i => continuous_apply (Sum.inl i : I ⊕ I)).prodMk |
| 24 | (continuous_pi fun i => continuous_apply (Sum.inr i : I ⊕ I)) |
| 25 | continuous_invFun := by |
| 26 | change Continuous (fun p : (I → S) × (I → S) => Sum.elim p.1 p.2) |
| 27 | apply continuous_pi |
| 28 | intro i |
| 29 | cases i with |
| 30 | | inl i => exact (continuous_apply i).comp continuous_fst |
| 31 | | inr i => exact (continuous_apply i).comp continuous_snd |
| 32 | |
| 33 | def pairing {I R : Type*} [Fintype I] [CommRing R] (x y : (I ⊕ I) → R) : R := |
| 34 | ∑ i, (x (.inl i) * y (.inr i) - y (.inl i) * x (.inr i)) |
| 35 | |
| 36 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 37 | |
| 38 | def coordinates : ((Fin N ⊕ Fin N) → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) ≃L[ℚ] |
| 39 | ((AdelicTestCoordinates.CM.Index F N ⊕ AdelicTestCoordinates.CM.Index F N) → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) := |
| 40 | (sumCoordinates ℚ (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (Fin N)).trans |
| 41 | ((ContinuousLinearEquiv.prodComm ℚ _ _).trans |
| 42 | ((MomentumEquiv.CM.phase F N).trans (sumCoordinates ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (AdelicTestCoordinates.CM.Index F N)).symm)) |
| 43 | |
| 44 | theorem coordinates_left (x : (Fin N ⊕ Fin N) → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (i : AdelicTestCoordinates.CM.Index F N) : |
| 45 | coordinates F N x (.inl i) = TracePairing.CM.momentum F N (fun j => x (.inr j)) i := |
| 46 | congrFun (MomentumEquiv.CM.equivalence_apply F N (fun j => x (.inr j))) i |
| 47 | |
| 48 | theorem coordinates_right (x : (Fin N ⊕ Fin N) → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (i : AdelicTestCoordinates.CM.Index F N) : |
| 49 | coordinates F N x (.inr i) = TracePairing.CM.position F N (fun j => x (.inl j)) i := rfl |
| 50 | |
| 51 | theorem coordinates_pairing (x y : (Fin N ⊕ Fin N) → RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) : |
| 52 | pairing (coordinates F N x) (coordinates F N y) = -AdelicTrace.CM.trace F (pairing x y) := by |
| 53 | simp only [pairing, coordinates_left, coordinates_right, Finset.sum_sub_distrib] |
| 54 | have hx : (∑ i, TracePairing.CM.momentum F N (fun j => x (.inr j)) i * |
| 55 | TracePairing.CM.position F N (fun j => y (.inl j)) i) = |
| 56 | AdelicTrace.CM.trace F (∑ j, y (.inl j) * x (.inr j)) := by |
| 57 | rw [show (∑ i, TracePairing.CM.momentum F N (fun j => x (.inr j)) i * |
| 58 | TracePairing.CM.position F N (fun j => y (.inl j)) i) = |
| 59 | ∑ i, TracePairing.CM.position F N (fun j => y (.inl j)) i * |
| 60 | TracePairing.CM.momentum F N (fun j => x (.inr j)) i from |
| 61 | Finset.sum_congr rfl (fun _ _ => mul_comm _ _)] |
| 62 | exact TracePairing.CM.pairing F N _ _ |
| 63 | have hy : (∑ i, TracePairing.CM.momentum F N (fun j => y (.inr j)) i * |
| 64 | TracePairing.CM.position F N (fun j => x (.inl j)) i) = |
| 65 | AdelicTrace.CM.trace F (∑ j, x (.inl j) * y (.inr j)) := by |
| 66 | rw [show (∑ i, TracePairing.CM.momentum F N (fun j => y (.inr j)) i * |
| 67 | TracePairing.CM.position F N (fun j => x (.inl j)) i) = |
| 68 | ∑ i, TracePairing.CM.position F N (fun j => x (.inl j)) i * |
| 69 | TracePairing.CM.momentum F N (fun j => y (.inr j)) i from |
| 70 | Finset.sum_congr rfl (fun _ _ => mul_comm _ _)] |
| 71 | exact TracePairing.CM.pairing F N _ _ |
| 72 | rw [hx, hy, map_sub] |
| 73 | ring |
| 74 | |
| 75 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TracePhase.CM |
| 76 | |
| 77 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TracePhase.CM.Rational |
| 78 | |
| 79 | /-! The finite trace coordinates agree exactly with the rational |
| 80 | trace-dual momentum and integral-basis position coordinates. -/ |
| 81 | |
| 82 | open scoped Classical _root_.NumberField |
| 83 | |
| 84 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.AdelicTestCoordinates.CM |
| 85 | |
| 86 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 87 | |
| 88 | def rational (x : (Fin N ⊕ Fin N) → F) : (AdelicTestCoordinates.CM.Index F N ⊕ AdelicTestCoordinates.CM.Index F N) → ℚ := |
| 89 | Sum.elim (TracePhaseCoordinates.CM.momentum F N (fun i => x (.inr i))) |
| 90 | (CMExtraction.IntegralAdelicCoordinates.TestTransport.integralPositionCoordinates F (Fin N) (fun i => x (.inl i))) |
| 91 | |
| 92 | theorem coordinates_rational (x : (Fin N ⊕ Fin N) → F) : |
| 93 | coordinates F N (fun i => algebraMap F (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.FiniteAdeles F) (x i)) = |
| 94 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal (rational F N x) := by |
| 95 | funext i |
| 96 | cases i with |
| 97 | | inl i => |
| 98 | rw [coordinates_left] |
| 99 | exact congrFun (TracePairing.CM.momentum_rational F N (fun j => x (.inr j))) i |
| 100 | | inr i => |
| 101 | rw [coordinates_right] |
| 102 | exact congrFun (TracePairing.CM.position_rational F N (fun j => x (.inl j))) i |
| 103 | |
| 104 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TracePhase.CM.Rational |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI |