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.RepresentationTheory.Theta.Kernel.IntrinsicSecondProjection |
| 2 | import OAI.RepresentationTheory.Theta.OneFormsIntrinsicLattice |
| 3 | |
| 4 | /-! # Intrinsic Frame Entries -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicFrameEntries.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar entry formulas avoid changing the dependent arithmetic index |
| 11 | types while simplifying Hodge-frame and slot identities. -/ |
| 12 | |
| 13 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DeterminantCoordinates |
| 16 | |
| 17 | def frameCoefficient (M : Matrix (Fin 3) (Fin 3) ℂ) (z : Adelic.BallNatural.Ball) |
| 18 | (distinguished : Prop) [Decidable distinguished] (positive : Bool) (i j : Fin 3) : ℂ := |
| 19 | let p : Fin 3 → ℂ := fun k => |
| 20 | if distinguished then Adelic.DeterminantCoordinates.lineVector z.val k * (Pi.single j (1 : ℂ) : Fin 3 → ℂ) 0 |
| 21 | else if positive then (Pi.single j (1 : ℂ) : Fin 3 → ℂ) k else 0 |
| 22 | let q : Fin 3 → ℂ := fun k => |
| 23 | if distinguished then Adelic.DeterminantCoordinates.annihilatorVector z.val 0 k * (Pi.single j (1 : ℂ) : Fin 3 → ℂ) 1 + |
| 24 | Adelic.DeterminantCoordinates.annihilatorVector z.val 1 k * (Pi.single j (1 : ℂ) : Fin 3 → ℂ) 2 |
| 25 | else if positive then 0 else (Pi.single j (1 : ℂ) : Fin 3 → ℂ) k |
| 26 | if distinguished then |
| 27 | if i = 0 then ∑ k, M 2 k * p k |
| 28 | else if i = 1 then ∑ k, M⁻¹ k 0 * q k |
| 29 | else ∑ k, M⁻¹ k 1 * q k |
| 30 | else if positive then ∑ k, M i k * p k |
| 31 | else ∑ k, M⁻¹ k i * q k |
| 32 | |
| 33 | variable {F : Type} [Field F] [NumberField F] {d : F} {m : ℕ} |
| 34 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 35 | variable {K : (Matrix (Fin m) (Fin m) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 36 | |
| 37 | theorem frameMatrix_entry (A : Adelic.BallGeometryData.BallArithmeticData F d m H K) |
| 38 | (g : Adelic.RationalSU.ArchimedeanSU F H) (z : Adelic.BallNatural.Ball) (v w : Fin A.places) (i j : Fin 3) (r s : Fin m) : |
| 39 | Adelic.BallGeometryData.frameMatrix A g z (v,i,r) (w,j,s) = |
| 40 | if v = w ∧ r = s then |
| 41 | frameCoefficient (Adelic.BallGeometryData.standardMatrix A g v) z (v = A.distinguished) (A.positive v r) i j |
| 42 | else 0 := by |
| 43 | by_cases hv : v = w <;> by_cases hr : r = s |
| 44 | · subst w |
| 45 | subst s |
| 46 | simp [Adelic.BallGeometryData.frameMatrix, Adelic.BallGeometryData.geometricCoordinates, Adelic.BallGeometryData.geometricAction, Adelic.BallGeometryData.geometricFrame, |
| 47 | frameCoefficient, Pi.single_apply, Prod.mk.injEq] |
| 48 | · simp [Adelic.BallGeometryData.frameMatrix, Adelic.BallGeometryData.geometricCoordinates, Adelic.BallGeometryData.geometricAction, Adelic.BallGeometryData.geometricFrame, |
| 49 | Pi.single_apply, Prod.mk.injEq, hr] |
| 50 | · simp [Adelic.BallGeometryData.frameMatrix, Adelic.BallGeometryData.geometricCoordinates, Adelic.BallGeometryData.geometricAction, Adelic.BallGeometryData.geometricFrame, |
| 51 | Prod.mk.injEq, hv] |
| 52 | · simp [Adelic.BallGeometryData.frameMatrix, Adelic.BallGeometryData.geometricCoordinates, Adelic.BallGeometryData.geometricAction, Adelic.BallGeometryData.geometricFrame, |
| 53 | Prod.mk.injEq, hv] |
| 54 | |
| 55 | theorem second_slot_apply |
| 56 | {K₂ : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 57 | (A₂ : Adelic.BallGeometryData.BallArithmeticData F d 2 H K₂) (r : Fin 2) (u : Fin 2 → ℂ) (q : Adelic.BallGeometryData.FrameIndex A₂) : |
| 58 | IntrinsicSecondProjection.Intrinsic.slotEmbedding (A := A₂) r u q = |
| 59 | u 0 * (if q = (A₂.distinguished, 1, r) then 1 else 0) + |
| 60 | u 1 * (if q = (A₂.distinguished, 2, r) then 1 else 0) := by |
| 61 | simp [IntrinsicSecondProjection.Intrinsic.slotEmbedding, IntrinsicSecondProjection.Intrinsic.slot, Pi.single_apply] |
| 62 | |
| 63 | theorem first_slot_apply |
| 64 | {K₁ : (Matrix (Fin 1) (Fin 1) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 65 | (A₁ : Adelic.BallGeometryData.BallArithmeticData F d 1 H K₁) (u : Fin 2 → ℂ) (q : Adelic.BallGeometryData.FrameIndex A₁) : |
| 66 | OneFormsIntrinsicLattice.IntrinsicProjection.slotEmbedding (A := A₁) u q = |
| 67 | u 0 * (if q = (A₁.distinguished, 1, 0) then 1 else 0) + |
| 68 | u 1 * (if q = (A₁.distinguished, 2, 0) then 1 else 0) := by |
| 69 | simp [OneFormsIntrinsicLattice.IntrinsicProjection.slotEmbedding, OneFormsIntrinsicLattice.IntrinsicProjection.slot, Pi.single_apply] |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicFrameEntries.Intrinsic |