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.TracePhase |
| 2 | |
| 3 | /-! # Ring Symplectic Pairing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RingSymplecticPairing.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Symplectic matrices over a commutative topological ring act by |
| 10 | continuous linear equivalences preserving the explicit alternating form. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | open _root_.Matrix |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.TracePhase.CM |
| 16 | |
| 17 | variable {I R : Type*} [Fintype I] [DecidableEq I] [CommRing R] |
| 18 | |
| 19 | theorem pairing_negJ (x y : (I ⊕ I) → R) : Finite.TracePhase.CM.pairing x y = -(Matrix.J I R).toBilin' x y := by |
| 20 | simp [Finite.TracePhase.CM.pairing, Matrix.toBilin'_apply, Matrix.J, Fintype.sum_sum_type, |
| 21 | Matrix.fromBlocks, Matrix.one_apply, Finset.sum_sub_distrib, mul_comm] |
| 22 | ring |
| 23 | |
| 24 | theorem preserves (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I R) (x y : (I ⊕ I) → R) : |
| 25 | Finite.TracePhase.CM.pairing (g.val *ᵥ x) (g.val *ᵥ y) = Finite.TracePhase.CM.pairing x y := by |
| 26 | rw [pairing_negJ, pairing_negJ] |
| 27 | have h := congrArg Matrix.toBilin' (SymplecticGroup.mem_iff'.mp g.property) |
| 28 | rw [← Matrix.toBilin'_comp] at h |
| 29 | exact congrArg Neg.neg (congrArg (fun B : LinearMap.BilinForm R ((I ⊕ I) → R) => B x y) h) |
| 30 | |
| 31 | theorem matrix_symplectic (T : Matrix (I ⊕ I) (I ⊕ I) R) |
| 32 | (hT : ∀ x y, Finite.TracePhase.CM.pairing (T *ᵥ x) (T *ᵥ y) = Finite.TracePhase.CM.pairing x y) : |
| 33 | T ∈ Matrix.symplecticGroup I R := by |
| 34 | apply SymplecticGroup.mem_iff'.mpr |
| 35 | apply Matrix.toBilin'.injective |
| 36 | rw [← Matrix.toBilin'_comp] |
| 37 | apply LinearMap.ext |
| 38 | intro x |
| 39 | apply LinearMap.ext |
| 40 | intro y |
| 41 | change (Matrix.J I R).toBilin' (T *ᵥ x) (T *ᵥ y) = (Matrix.J I R).toBilin' x y |
| 42 | have h := congrArg Neg.neg (hT x y) |
| 43 | simpa only [pairing_negJ, neg_neg] using h |
| 44 | |
| 45 | def linearEquiv (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I R) : ((I ⊕ I) → R) ≃ₗ[R] ((I ⊕ I) → R) where |
| 46 | toFun := g.val.mulVec |
| 47 | invFun := (g⁻¹).val.mulVec |
| 48 | left_inv x := by |
| 49 | rw [Matrix.mulVec_mulVec] |
| 50 | have h : (g⁻¹).val * g.val = 1 := congrArg Subtype.val (inv_mul_cancel g) |
| 51 | rw [h, Matrix.one_mulVec] |
| 52 | right_inv x := by |
| 53 | rw [Matrix.mulVec_mulVec] |
| 54 | have h : g.val * (g⁻¹).val = 1 := congrArg Subtype.val (mul_inv_cancel g) |
| 55 | rw [h, Matrix.one_mulVec] |
| 56 | map_add' := Matrix.mulVec_add g.val |
| 57 | map_smul' := Matrix.mulVec_smul g.val |
| 58 | |
| 59 | variable [TopologicalSpace R] [IsTopologicalRing R] |
| 60 | |
| 61 | def continuousLinearEquiv (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I R) : ((I ⊕ I) → R) ≃L[R] ((I ⊕ I) → R) where |
| 62 | toLinearEquiv := linearEquiv g |
| 63 | continuous_toFun := by |
| 64 | apply continuous_pi |
| 65 | intro i |
| 66 | change Continuous (fun x : (I ⊕ I) → R => ∑ j, g.val i j * x j) |
| 67 | fun_prop |
| 68 | continuous_invFun := by |
| 69 | apply continuous_pi |
| 70 | intro i |
| 71 | change Continuous (fun x : (I ⊕ I) → R => ∑ j, (g⁻¹).val i j * x j) |
| 72 | fun_prop |
| 73 | |
| 74 | def rationalContinuousLinearEquiv [Module ℚ R] (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I R) : |
| 75 | ((I ⊕ I) → R) ≃L[ℚ] ((I ⊕ I) → R) where |
| 76 | toLinearEquiv := |
| 77 | { toAddEquiv := (linearEquiv g).toAddEquiv |
| 78 | map_smul' := map_rat_smul (linearEquiv g).toAddEquiv } |
| 79 | continuous_toFun := (continuousLinearEquiv g).continuous |
| 80 | continuous_invFun := (continuousLinearEquiv g).symm.continuous |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RingSymplecticPairing.CM |