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.NumberTheory.ArithmeticGroups.Lattices.Lie.AutomorphismTransversal |
| 2 | |
| 3 | /-! # Continuous Bracket Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ContinuousBracketChange.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Algebraic and continuous cochains agree in finite dimension, |
| 12 | with explicit linear equivalences preserving pointwise evaluation. -/ |
| 13 | |
| 14 | variable {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 15 | |
| 16 | def finiteBilinearEquiv : (L →ₗ[ℝ] L →ₗ[ℝ] L) ≃ₗ[ℝ] (L →L[ℝ] L →L[ℝ] L) where |
| 17 | toFun := Lie.AutomorphismTransversal.Construction.finiteContinuousBilinear |
| 18 | invFun B := (ContinuousLinearMap.coeLM ℝ).comp B.toLinearMap |
| 19 | left_inv B := by ext x y; rfl |
| 20 | right_inv B := by ext x y; rfl |
| 21 | map_add' B C := by ext x y; rfl |
| 22 | map_smul' c B := by ext x y; rfl |
| 23 | |
| 24 | theorem finiteBilinearEquiv_apply (B : L →ₗ[ℝ] L →ₗ[ℝ] L) (x y : L) : |
| 25 | finiteBilinearEquiv B x y = B x y := rfl |
| 26 | |
| 27 | theorem finiteBilinearEquiv_symm_apply (B : L →L[ℝ] L →L[ℝ] L) (x y : L) : |
| 28 | finiteBilinearEquiv.symm B x y = B x y := rfl |
| 29 | |
| 30 | def finiteTrilinearEquiv : (L →ₗ[ℝ] L →ₗ[ℝ] L →ₗ[ℝ] L) ≃ₗ[ℝ] |
| 31 | (L →L[ℝ] L →L[ℝ] L →L[ℝ] L) where |
| 32 | toFun B := (finiteBilinearEquiv.toLinearMap.comp B).toContinuousLinearMap |
| 33 | invFun B := finiteBilinearEquiv.symm.toLinearMap.comp B.toLinearMap |
| 34 | left_inv B := by ext x y z; rfl |
| 35 | right_inv B := by ext x y z; rfl |
| 36 | map_add' B C := by ext x y z; rfl |
| 37 | map_smul' c B := by ext x y z; rfl |
| 38 | |
| 39 | theorem finiteTrilinearEquiv_apply (B : L →ₗ[ℝ] L →ₗ[ℝ] L →ₗ[ℝ] L) (x y z : L) : |
| 40 | finiteTrilinearEquiv B x y z = B x y z := rfl |
| 41 | |
| 42 | theorem finiteTrilinearEquiv_symm_apply (B : L →L[ℝ] L →L[ℝ] L →L[ℝ] L) (x y z : L) : |
| 43 | finiteTrilinearEquiv.symm B x y z = B x y z := rfl |
| 44 | |
| 45 | def continuousBilinearOfFiniteDimensions |
| 46 | {E F G : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 47 | [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] |
| 48 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 49 | (B : E →ₗ[ℝ] F →ₗ[ℝ] G) : E →L[ℝ] F →L[ℝ] G := |
| 50 | ((LinearMap.toContinuousLinearMap : (F →ₗ[ℝ] G) ≃ₗ[ℝ] (F →L[ℝ] G)).toLinearMap.comp |
| 51 | B).toContinuousLinearMap |
| 52 | |
| 53 | theorem continuousBilinearOfFiniteDimensions_apply |
| 54 | {E F G : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 55 | [NormedAddCommGroup F] [NormedSpace ℝ F] [FiniteDimensional ℝ F] |
| 56 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 57 | (B : E →ₗ[ℝ] F →ₗ[ℝ] G) (x : E) (y : F) : |
| 58 | continuousBilinearOfFiniteDimensions B x y = B x y := rfl |
| 59 | |
| 60 | end |
| 61 | |
| 62 | /-! Change of basis on continuous bilinear operations preserves |
| 63 | alternation and the Jacobi identity. -/ |
| 64 | |
| 65 | variable {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] |
| 66 | |
| 67 | def continuousBracketTransform (g h : L →L[ℝ] L) (B : L →L[ℝ] L →L[ℝ] L) : |
| 68 | L →L[ℝ] L →L[ℝ] L := |
| 69 | (ContinuousLinearMap.compL ℝ L L L g).comp (((B.comp h).flip.comp h).flip) |
| 70 | |
| 71 | theorem continuousBracketTransform_apply (g h : L →L[ℝ] L) |
| 72 | (B : L →L[ℝ] L →L[ℝ] L) (x y : L) : |
| 73 | continuousBracketTransform g h B x y = g (B (h x) (h y)) := rfl |
| 74 | |
| 75 | def continuousBracketChange (e : L ≃L[ℝ] L) (B : L →L[ℝ] L →L[ℝ] L) : |
| 76 | L →L[ℝ] L →L[ℝ] L := continuousBracketTransform e e.symm B |
| 77 | |
| 78 | theorem continuousBracketChange_apply (e : L ≃L[ℝ] L) |
| 79 | (B : L →L[ℝ] L →L[ℝ] L) (x y : L) : |
| 80 | continuousBracketChange e B x y = e (B (e.symm x) (e.symm y)) := rfl |
| 81 | |
| 82 | theorem continuousBracketChange_inverse (e : L ≃L[ℝ] L) (B : L →L[ℝ] L →L[ℝ] L) : |
| 83 | continuousBracketChange e.symm (continuousBracketChange e B) = B := by |
| 84 | ext x y |
| 85 | simp only [continuousBracketChange_apply, ContinuousLinearEquiv.symm_symm, |
| 86 | ContinuousLinearEquiv.symm_apply_apply] |
| 87 | |
| 88 | def continuousBracketChangeEquiv (e : L ≃L[ℝ] L) : |
| 89 | (L →L[ℝ] L →L[ℝ] L) ≃ₗ[ℝ] (L →L[ℝ] L →L[ℝ] L) where |
| 90 | toFun := continuousBracketChange e |
| 91 | invFun := continuousBracketChange e.symm |
| 92 | left_inv := continuousBracketChange_inverse e |
| 93 | right_inv B := by simpa only [ContinuousLinearEquiv.symm_symm] using continuousBracketChange_inverse e.symm B |
| 94 | map_add' B C := by |
| 95 | ext x y |
| 96 | simp only [continuousBracketChange_apply, add_apply, map_add] |
| 97 | map_smul' c B := by |
| 98 | ext x y |
| 99 | simp only [continuousBracketChange_apply, smul_apply, map_smul, RingHom.id_apply] |
| 100 | |
| 101 | theorem continuousBracketChange_alternating (e : L ≃L[ℝ] L) |
| 102 | (B : L →L[ℝ] L →L[ℝ] L) (hB : ∀ x, B x x = 0) : |
| 103 | ∀ x, continuousBracketChange e B x x = 0 := by |
| 104 | intro x |
| 105 | rw [continuousBracketChange_apply, hB, map_zero] |
| 106 | |
| 107 | theorem continuousBracketChange_jacobi (e : L ≃L[ℝ] L) |
| 108 | (B : L →L[ℝ] L →L[ℝ] L) |
| 109 | (hB : ∀ x y z, B x (B y z) = B y (B x z) + B (B x y) z) : |
| 110 | ∀ x y z, continuousBracketChange e B x (continuousBracketChange e B y z) = |
| 111 | continuousBracketChange e B y (continuousBracketChange e B x z) + |
| 112 | continuousBracketChange e B (continuousBracketChange e B x y) z := by |
| 113 | intro x y z |
| 114 | simp only [continuousBracketChange_apply, ContinuousLinearEquiv.symm_apply_apply] |
| 115 | rw [hB, map_add] |
| 116 | |
| 117 | theorem continuousBracketChange_jacobi_iff (e : L ≃L[ℝ] L) (B : L →L[ℝ] L →L[ℝ] L) : |
| 118 | (∀ x y z, continuousBracketChange e B x (continuousBracketChange e B y z) = |
| 119 | continuousBracketChange e B y (continuousBracketChange e B x z) + |
| 120 | continuousBracketChange e B (continuousBracketChange e B x y) z) ↔ |
| 121 | ∀ x y z, B x (B y z) = B y (B x z) + B (B x y) z := by |
| 122 | refine ⟨fun h => ?_, continuousBracketChange_jacobi e B⟩ |
| 123 | have h' := continuousBracketChange_jacobi e.symm (continuousBracketChange e B) h |
| 124 | rwa [continuousBracketChange_inverse] at h' |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ContinuousBracketChange.Construction |