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.AlgebraicTopology.Kunneth.WedgeLeibniz |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.ExteriorDerivative |
| 3 | |
| 4 | /-! # Wedge Algebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Kunneth.WedgeAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Complex bilinearity and the smooth-form version of the exterior product. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | namespace Constructions |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] {p q : ℕ} |
| 17 | |
| 18 | theorem covectorWedge_add_left (a a' : E [⋀^Fin p]→L[ℝ] ℂ) |
| 19 | (b : E [⋀^Fin q]→L[ℝ] ℂ) : |
| 20 | CovectorWedge.Constructions.covectorWedge (a + a') b = CovectorWedge.Constructions.covectorWedge a b + CovectorWedge.Constructions.covectorWedge a' b := by |
| 21 | simp only [CovectorWedge.Constructions.covectorWedge, CovectorWedge.Constructions.covectorProduct_add_left, map_add, smul_add] |
| 22 | |
| 23 | theorem covectorWedge_add_right (a : E [⋀^Fin p]→L[ℝ] ℂ) |
| 24 | (b b' : E [⋀^Fin q]→L[ℝ] ℂ) : |
| 25 | CovectorWedge.Constructions.covectorWedge a (b + b') = CovectorWedge.Constructions.covectorWedge a b + CovectorWedge.Constructions.covectorWedge a b' := by |
| 26 | simp only [CovectorWedge.Constructions.covectorWedge, CovectorWedge.Constructions.covectorProduct_add_right, map_add, smul_add] |
| 27 | |
| 28 | theorem covectorWedge_smul_left (c : ℂ) (a : E [⋀^Fin p]→L[ℝ] ℂ) |
| 29 | (b : E [⋀^Fin q]→L[ℝ] ℂ) : |
| 30 | CovectorWedge.Constructions.covectorWedge (c • a) b = c • CovectorWedge.Constructions.covectorWedge a b := by |
| 31 | ext v |
| 32 | rw [FinAlternatingProduct.Constructions.covectorWedge_eq_alternatingSum, ContinuousAlternatingMap.smul_apply, |
| 33 | FinAlternatingProduct.Constructions.covectorWedge_eq_alternatingSum] |
| 34 | have he : FinAlternatingProduct.Constructions.finBlockProduct (c • a) b = fun w => c * FinAlternatingProduct.Constructions.finBlockProduct a b w := by |
| 35 | funext w |
| 36 | simp only [FinAlternatingProduct.Constructions.finBlockProduct, ContinuousAlternatingMap.smul_apply, smul_eq_mul, mul_assoc] |
| 37 | rw [he, WedgeAlternating.Constructions.alternatingSum_smul, smul_eq_mul, mul_smul_comm] |
| 38 | |
| 39 | theorem covectorWedge_smul_right (c : ℂ) (a : E [⋀^Fin p]→L[ℝ] ℂ) |
| 40 | (b : E [⋀^Fin q]→L[ℝ] ℂ) : |
| 41 | CovectorWedge.Constructions.covectorWedge a (c • b) = c • CovectorWedge.Constructions.covectorWedge a b := by |
| 42 | ext v |
| 43 | rw [FinAlternatingProduct.Constructions.covectorWedge_eq_alternatingSum, ContinuousAlternatingMap.smul_apply, |
| 44 | FinAlternatingProduct.Constructions.covectorWedge_eq_alternatingSum] |
| 45 | have he : FinAlternatingProduct.Constructions.finBlockProduct a (c • b) = fun w => c * FinAlternatingProduct.Constructions.finBlockProduct a b w := by |
| 46 | funext w |
| 47 | simp only [FinAlternatingProduct.Constructions.finBlockProduct, ContinuousAlternatingMap.smul_apply, smul_eq_mul, mul_left_comm] |
| 48 | rw [he, WedgeAlternating.Constructions.alternatingSum_smul, smul_eq_mul, mul_smul_comm] |
| 49 | |
| 50 | @[simp] theorem covectorWedge_zero_left (b : E [⋀^Fin q]→L[ℝ] ℂ) : |
| 51 | CovectorWedge.Constructions.covectorWedge (0 : E [⋀^Fin p]→L[ℝ] ℂ) b = 0 := by |
| 52 | have h := covectorWedge_smul_left (0 : ℂ) (0 : E [⋀^Fin p]→L[ℝ] ℂ) b |
| 53 | have h₁ : (0 : ℂ) • (0 : E [⋀^Fin p]→L[ℝ] ℂ) = 0 := by |
| 54 | ext v |
| 55 | exact zero_mul (0 : ℂ) |
| 56 | have h₂ : (0 : ℂ) • CovectorWedge.Constructions.covectorWedge (0 : E [⋀^Fin p]→L[ℝ] ℂ) b = 0 := by |
| 57 | ext v |
| 58 | exact zero_mul _ |
| 59 | rw [h₁, h₂] at h |
| 60 | exact h |
| 61 | |
| 62 | @[simp] theorem covectorWedge_zero_right (a : E [⋀^Fin p]→L[ℝ] ℂ) : |
| 63 | CovectorWedge.Constructions.covectorWedge a (0 : E [⋀^Fin q]→L[ℝ] ℂ) = 0 := by |
| 64 | have h := covectorWedge_smul_right (0 : ℂ) a (0 : E [⋀^Fin q]→L[ℝ] ℂ) |
| 65 | have h₁ : (0 : ℂ) • (0 : E [⋀^Fin q]→L[ℝ] ℂ) = 0 := by |
| 66 | ext v |
| 67 | exact zero_mul (0 : ℂ) |
| 68 | have h₂ : (0 : ℂ) • CovectorWedge.Constructions.covectorWedge a (0 : E [⋀^Fin q]→L[ℝ] ℂ) = 0 := by |
| 69 | ext v |
| 70 | exact zero_mul _ |
| 71 | rw [h₁, h₂] at h |
| 72 | exact h |
| 73 | |
| 74 | local instance wedgeFormsAddGroup (n : ℕ) : AddCommGroup (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 75 | local instance wedgeFormsModule (n : ℕ) : Module ℂ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 76 | |
| 77 | def normedWedge (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E (p + q) := |
| 78 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.ofSmooth (fun x => CovectorWedge.Constructions.covectorWedge (a x) (b x)) |
| 79 | (CovectorWedge.Constructions.contDiff_covectorWedge a.smooth b.smooth) |
| 80 | |
| 81 | @[simp] theorem normedWedge_apply (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) (x : E) : |
| 82 | normedWedge a b x = CovectorWedge.Constructions.covectorWedge (a x) (b x) := rfl |
| 83 | |
| 84 | def normedWedgeLM (p q : ℕ) : |
| 85 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p →ₗ[ℂ] Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q →ₗ[ℂ] Analysis.DifferentialForms.Manifold.Basic.SmoothForm E (p + q) := |
| 86 | LinearMap.mk₂ ℂ normedWedge |
| 87 | (fun a a' b => by apply Analysis.DifferentialForms.Manifold.Basic.SmoothForm.ext; intro x; exact covectorWedge_add_left (a x) (a' x) (b x)) |
| 88 | (fun c a b => by apply Analysis.DifferentialForms.Manifold.Basic.SmoothForm.ext; intro x; exact covectorWedge_smul_left c (a x) (b x)) |
| 89 | (fun a b b' => by apply Analysis.DifferentialForms.Manifold.Basic.SmoothForm.ext; intro x; exact covectorWedge_add_right (a x) (b x) (b' x)) |
| 90 | (fun c a b => by apply Analysis.DifferentialForms.Manifold.Basic.SmoothForm.ext; intro x; exact covectorWedge_smul_right c (a x) (b x)) |
| 91 | |
| 92 | @[simp] theorem normedWedgeLM_apply (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) : |
| 93 | normedWedgeLM (E := E) p q a b = normedWedge a b := rfl |
| 94 | |
| 95 | @[simp] theorem normedWedge_zero_left (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) : |
| 96 | normedWedge (0 : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) b = 0 := by |
| 97 | change normedWedgeLM (E := E) p q 0 b = 0 |
| 98 | rw [map_zero] |
| 99 | rfl |
| 100 | |
| 101 | @[simp] theorem normedWedge_zero_right (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) : |
| 102 | normedWedge a (0 : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) = 0 := (normedWedgeLM p q a).map_zero |
| 103 | |
| 104 | def normedFormDegreeCast {n m : ℕ} (h : n = m) : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n ≃ₗ[ℂ] Analysis.DifferentialForms.Manifold.Basic.SmoothForm E m := |
| 105 | h ▸ LinearEquiv.refl ℂ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) |
| 106 | |
| 107 | @[simp] theorem normedFormDegreeCast_apply {n m : ℕ} (h : n = m) (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) (x : E) : |
| 108 | normedFormDegreeCast h a x = CovectorWedge.Constructions.covectorDegreeCast h (a x) := by |
| 109 | subst m |
| 110 | rfl |
| 111 | |
| 112 | theorem normedWedge_d_of_right_closed (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) |
| 113 | {x : E} (hb : Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d b x = 0) : |
| 114 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (normedWedge a b) x = |
| 115 | normedFormDegreeCast (by omega) (normedWedge (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d a) b) x := by |
| 116 | rw [normedFormDegreeCast_apply, normedWedge_apply] |
| 117 | exact WedgeLeibniz.Constructions.extDeriv_covectorWedge_of_right_closed a b x |
| 118 | (a.smooth.contDiffAt.of_le (by simp)) (b.smooth.contDiffAt.of_le (by simp)) hb |
| 119 | |
| 120 | end Constructions |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicTopology.Kunneth.WedgeAlgebra |