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.Adelic.DataTheta |
| 2 | import OAI.RepresentationTheory.Theta.Kernel.IntrinsicExterior |
| 3 | |
| 4 | /-! # Intrinsic Second Projection -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondProjection.Intrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal order-two, twice alternating projection in the two |
| 11 | distinguished annihilator directions and the two multiplicity directions. -/ |
| 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.FiniteSchwartz OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta.Descent OAI.RepresentationTheory.Theta.Kernel.IntrinsicExterior.Intrinsic |
| 17 | |
| 18 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 19 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 20 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 21 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} |
| 22 | |
| 23 | def slot (i r : Fin 2) : Adelic.BallGeometryData.FrameIndex A := (A.distinguished, i.succ, r) |
| 24 | |
| 25 | def slotEmbedding (r : Fin 2) : IntrinsicExterior.Intrinsic.Tangent →L[ℂ] (Adelic.BallGeometryData.FrameIndex A → ℂ) := |
| 26 | (ContinuousLinearMap.proj 0).smulRight (Pi.single (slot (A := A) 0 r) 1) + |
| 27 | (ContinuousLinearMap.proj 1).smulRight (Pi.single (slot (A := A) 1 r) 1) |
| 28 | |
| 29 | def tensorEvaluation (u v : Adelic.BallGeometryData.FrameIndex A → ℂ) : Adelic.DataTheta.TaylorTensor (A := A) 2 →L[ℂ] ℂ where |
| 30 | toFun T := T ![u, v] |
| 31 | map_add' _ _ := rfl |
| 32 | map_smul' _ _ := rfl |
| 33 | cont := by fun_prop |
| 34 | |
| 35 | def secondCoefficient : Adelic.DataTheta.TaylorTensor (A := A) 2 →L[ℂ] ℂ := |
| 36 | tensorEvaluation (slotEmbedding 0 ![1, 0]) (slotEmbedding 1 ![0, 1]) - |
| 37 | tensorEvaluation (slotEmbedding 0 ![0, 1]) (slotEmbedding 1 ![1, 0]) - |
| 38 | tensorEvaluation (slotEmbedding 1 ![1, 0]) (slotEmbedding 0 ![0, 1]) + |
| 39 | tensorEvaluation (slotEmbedding 1 ![0, 1]) (slotEmbedding 0 ![1, 0]) |
| 40 | |
| 41 | def secondProjection : Adelic.DataTheta.TaylorTensor (A := A) 2 →L[ℂ] IntrinsicExterior.Intrinsic.TopCovector := |
| 42 | secondCoefficient.smulRight IntrinsicExterior.Intrinsic.area |
| 43 | |
| 44 | def tensorBilinear (T : Adelic.DataTheta.TaylorTensor (A := A) 2) : |
| 45 | (Adelic.BallGeometryData.FrameIndex A → ℂ) →L[ℂ] (Adelic.BallGeometryData.FrameIndex A → ℂ) →L[ℂ] ℂ := |
| 46 | (continuousMultilinearCurryFin1 ℂ (Adelic.BallGeometryData.FrameIndex A → ℂ) ℂ).toContinuousLinearEquiv.toContinuousLinearMap.comp T.curryLeft |
| 47 | |
| 48 | theorem tensorBilinear_apply (T : Adelic.DataTheta.TaylorTensor (A := A) 2) (u v : Adelic.BallGeometryData.FrameIndex A → ℂ) : |
| 49 | tensorBilinear T u v = T ![u, v] := by |
| 50 | change T (Fin.cons u (Fin.snoc 0 v)) = _ |
| 51 | congr 1 |
| 52 | ext i |
| 53 | fin_cases i <;> rfl |
| 54 | |
| 55 | theorem tensor_coordinates (T : Adelic.DataTheta.TaylorTensor (A := A) 2) (r s : Fin 2) (u v : IntrinsicExterior.Intrinsic.Tangent) : |
| 56 | T ![slotEmbedding r u, slotEmbedding s v] = |
| 57 | u 0 * v 0 * T ![slotEmbedding r ![1, 0], slotEmbedding s ![1, 0]] + |
| 58 | u 0 * v 1 * T ![slotEmbedding r ![1, 0], slotEmbedding s ![0, 1]] + |
| 59 | u 1 * v 0 * T ![slotEmbedding r ![0, 1], slotEmbedding s ![1, 0]] + |
| 60 | u 1 * v 1 * T ![slotEmbedding r ![0, 1], slotEmbedding s ![0, 1]] := by |
| 61 | have he (t : Fin 2) (w : IntrinsicExterior.Intrinsic.Tangent) : slotEmbedding (A := A) t w = |
| 62 | w 0 • slotEmbedding t ![1, 0] + w 1 • slotEmbedding t ![0, 1] := by |
| 63 | simp [slotEmbedding] |
| 64 | simp only [← tensorBilinear_apply, he r u, he s v, map_add, map_smul, |
| 65 | _root_.add_apply, _root_.smul_apply, smul_eq_mul] |
| 66 | ring |
| 67 | |
| 68 | /-- Both antisymmetrizations are present. The source is the factorial-normalized |
| 69 | Taylor coefficient, so this four-term formula needs no further division. -/ |
| 70 | theorem secondProjection_apply (T : Adelic.DataTheta.TaylorTensor (A := A) 2) (u v : IntrinsicExterior.Intrinsic.Tangent) : |
| 71 | secondProjection T ![u, v] = |
| 72 | T ![slotEmbedding 0 u, slotEmbedding 1 v] - |
| 73 | T ![slotEmbedding 0 v, slotEmbedding 1 u] - |
| 74 | T ![slotEmbedding 1 u, slotEmbedding 0 v] + |
| 75 | T ![slotEmbedding 1 v, slotEmbedding 0 u] := by |
| 76 | change (T ![slotEmbedding 0 ![1, 0], slotEmbedding 1 ![0, 1]] - |
| 77 | T ![slotEmbedding 0 ![0, 1], slotEmbedding 1 ![1, 0]] - |
| 78 | T ![slotEmbedding 1 ![1, 0], slotEmbedding 0 ![0, 1]] + |
| 79 | T ![slotEmbedding 1 ![0, 1], slotEmbedding 0 ![1, 0]]) * IntrinsicExterior.Intrinsic.area ![u, v] = _ |
| 80 | rw [IntrinsicExterior.Intrinsic.area_apply] |
| 81 | rw [tensor_coordinates T 0 1 u v, tensor_coordinates T 0 1 v u, |
| 82 | tensor_coordinates T 1 0 u v, tensor_coordinates T 1 0 v u] |
| 83 | ring |
| 84 | |
| 85 | def thetaTopForm (B : Adelic.DataTheta.ComparisonData F H K A) (f : Adelic.FiniteSchwartz.finiteSchwartz F (3 * 2)) |
| 86 | (z : Adelic.BallNatural.Ball) : IntrinsicExterior.Intrinsic.TopCovector := secondProjection (Adelic.DataTheta.geometricTensor B f 2 z) |
| 87 | |
| 88 | theorem thetaTopForm_smooth (B : Adelic.DataTheta.ComparisonData F H K A) |
| 89 | (hTheta : Adelic.DataTheta.Descent.ThetaConstruction B) (f : Adelic.FiniteSchwartz.finiteSchwartz F (3 * 2)) : |
| 90 | Adelic.BallGeometryData.BallSmooth (thetaTopForm B f) := by |
| 91 | have h := hTheta.2.2.2.2.2 f 2 |
| 92 | unfold Adelic.BallGeometryData.BallSmooth at h ⊢ |
| 93 | have hc := (secondProjection (A := A)).restrictScalars ℝ |>.contDiff.comp_contDiffOn h |
| 94 | apply hc.congr |
| 95 | intro z hz |
| 96 | simp [thetaTopForm, hz] |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicSecondProjection.Intrinsic |