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.WedgeAlgebra |
| 2 | import OAI.AlgebraicTopology.Kunneth.RestrictedFormPullback |
| 3 | |
| 4 | /-! # Restricted Wedge -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.Kunneth.RestrictedWedge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The genuine exterior product on restrictions of smooth forms. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open Set |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | namespace Constructions |
| 18 | |
| 19 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] {p q : ℕ} |
| 20 | |
| 21 | local instance restrictedWedgeFormsAddGroup (n : ℕ) : AddCommGroup (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 22 | local instance restrictedWedgeFormsModule (n : ℕ) : Module ℂ (Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 23 | |
| 24 | theorem normedWedge_vanishing_left {S : Set E} (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) |
| 25 | (ha : a ∈ RestrictedForms.Constructions.formsVanishingOn S p) : WedgeAlgebra.Constructions.normedWedge a b ∈ RestrictedForms.Constructions.formsVanishingOn S (p + q) := by |
| 26 | intro x hx |
| 27 | rw [WedgeAlgebra.Constructions.normedWedge_apply, ha x hx, WedgeAlgebra.Constructions.covectorWedge_zero_left] |
| 28 | |
| 29 | theorem normedWedge_vanishing_right {S : Set E} (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) |
| 30 | (hb : b ∈ RestrictedForms.Constructions.formsVanishingOn S q) : WedgeAlgebra.Constructions.normedWedge a b ∈ RestrictedForms.Constructions.formsVanishingOn S (p + q) := by |
| 31 | intro x hx |
| 32 | rw [WedgeAlgebra.Constructions.normedWedge_apply, hb x hx, WedgeAlgebra.Constructions.covectorWedge_zero_right] |
| 33 | |
| 34 | def restrictedWedgeRight (S : Set E) (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) : |
| 35 | RestrictedForms.Constructions.RestrictedForm S q →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm S (p + q) := |
| 36 | (RestrictedForms.Constructions.formsVanishingOn S q).liftQ |
| 37 | ((RestrictedForms.Constructions.restrictForm S (p + q)).comp (WedgeAlgebra.Constructions.normedWedgeLM (E := E) p q a)) |
| 38 | (fun b hb => (Submodule.Quotient.mk_eq_zero (RestrictedForms.Constructions.formsVanishingOn S (p + q))).mpr |
| 39 | (normedWedge_vanishing_right a b hb)) |
| 40 | |
| 41 | @[simp] theorem restrictedWedgeRight_restrict (S : Set E) (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) |
| 42 | (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) : |
| 43 | restrictedWedgeRight S a (RestrictedForms.Constructions.restrictForm S q b) = RestrictedForms.Constructions.restrictForm S (p + q) (WedgeAlgebra.Constructions.normedWedge a b) := rfl |
| 44 | |
| 45 | def restrictedWedgeOnSmooth (S : Set E) (p q : ℕ) : |
| 46 | Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm S q →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm S (p + q) where |
| 47 | toFun := restrictedWedgeRight S |
| 48 | map_add' a a' := by |
| 49 | apply LinearMap.ext |
| 50 | intro b |
| 51 | obtain ⟨b, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S q).mkQ_surjective b |
| 52 | change RestrictedForms.Constructions.restrictForm S (p + q) (WedgeAlgebra.Constructions.normedWedgeLM (E := E) p q (a + a') b) = |
| 53 | RestrictedForms.Constructions.restrictForm S (p + q) (WedgeAlgebra.Constructions.normedWedgeLM (E := E) p q a b) + |
| 54 | RestrictedForms.Constructions.restrictForm S (p + q) (WedgeAlgebra.Constructions.normedWedgeLM (E := E) p q a' b) |
| 55 | rw [map_add] |
| 56 | exact (RestrictedForms.Constructions.restrictForm S (p + q)).map_add _ _ |
| 57 | map_smul' c a := by |
| 58 | apply LinearMap.ext |
| 59 | intro b |
| 60 | obtain ⟨b, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S q).mkQ_surjective b |
| 61 | change RestrictedForms.Constructions.restrictForm S (p + q) (WedgeAlgebra.Constructions.normedWedgeLM (E := E) p q (c • a) b) = |
| 62 | c • RestrictedForms.Constructions.restrictForm S (p + q) (WedgeAlgebra.Constructions.normedWedgeLM (E := E) p q a b) |
| 63 | rw [map_smul] |
| 64 | exact (RestrictedForms.Constructions.restrictForm S (p + q)).map_smul c _ |
| 65 | |
| 66 | def restrictedWedge (S : Set E) (p q : ℕ) : |
| 67 | RestrictedForms.Constructions.RestrictedForm S p →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm S q →ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm S (p + q) := |
| 68 | (RestrictedForms.Constructions.formsVanishingOn S p).liftQ (restrictedWedgeOnSmooth S p q) (by |
| 69 | intro a ha |
| 70 | apply LinearMap.ext |
| 71 | intro b |
| 72 | obtain ⟨b, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S q).mkQ_surjective b |
| 73 | change RestrictedForms.Constructions.restrictForm S (p + q) (WedgeAlgebra.Constructions.normedWedge a b) = 0 |
| 74 | exact (Submodule.Quotient.mk_eq_zero (RestrictedForms.Constructions.formsVanishingOn S (p + q))).mpr |
| 75 | (normedWedge_vanishing_left a b ha)) |
| 76 | |
| 77 | @[simp] theorem restrictedWedge_restrict (S : Set E) (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E p) (b : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E q) : |
| 78 | restrictedWedge S p q (RestrictedForms.Constructions.restrictForm S p a) (RestrictedForms.Constructions.restrictForm S q b) = |
| 79 | RestrictedForms.Constructions.restrictForm S (p + q) (WedgeAlgebra.Constructions.normedWedge a b) := rfl |
| 80 | |
| 81 | def restrictedFormDegreeCast (S : Set E) {n m : ℕ} (h : n = m) : |
| 82 | RestrictedForms.Constructions.RestrictedForm S n ≃ₗ[ℂ] RestrictedForms.Constructions.RestrictedForm S m := h ▸ LinearEquiv.refl ℂ (RestrictedForms.Constructions.RestrictedForm S n) |
| 83 | |
| 84 | @[simp] theorem restrictedFormDegreeCast_restrict (S : Set E) {n m : ℕ} (h : n = m) |
| 85 | (a : Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) : |
| 86 | restrictedFormDegreeCast S h (RestrictedForms.Constructions.restrictForm S n a) = |
| 87 | RestrictedForms.Constructions.restrictForm S m (WedgeAlgebra.Constructions.normedFormDegreeCast h a) := by |
| 88 | subst m |
| 89 | rfl |
| 90 | |
| 91 | /-- The product rule holds when the right factor is closed only on the restricted set. -/ |
| 92 | theorem restrictedWedge_d_of_right_closed {S : Set E} (hS : UniqueDiffOn ℝ S) |
| 93 | (a : RestrictedForms.Constructions.RestrictedForm S p) (b : RestrictedForms.Constructions.RestrictedForm S q) (hb : RestrictedForms.Constructions.restrictedFormD hS q b = 0) : |
| 94 | RestrictedForms.Constructions.restrictedFormD hS (p + q) (restrictedWedge S p q a b) = |
| 95 | restrictedFormDegreeCast S (by omega) |
| 96 | (restrictedWedge S (p + 1) q (RestrictedForms.Constructions.restrictedFormD hS p a) b) := by |
| 97 | obtain ⟨a, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S p).mkQ_surjective a |
| 98 | obtain ⟨b, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S q).mkQ_surjective b |
| 99 | change RestrictedForms.Constructions.restrictForm S (q + 1) (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d b) = 0 at hb |
| 100 | have hb' : ∀ x ∈ S, Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d b x = 0 := |
| 101 | (Submodule.Quotient.mk_eq_zero (RestrictedForms.Constructions.formsVanishingOn S (q + 1))).mp hb |
| 102 | change RestrictedForms.Constructions.restrictForm S (p + q + 1) (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d (WedgeAlgebra.Constructions.normedWedge a b)) = |
| 103 | restrictedFormDegreeCast S (by omega) |
| 104 | (RestrictedForms.Constructions.restrictForm S (p + 1 + q) (WedgeAlgebra.Constructions.normedWedge (Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d a) b)) |
| 105 | rw [restrictedFormDegreeCast_restrict, RestrictedForms.Constructions.restrictForm_eq_iff] |
| 106 | intro x hx |
| 107 | exact WedgeAlgebra.Constructions.normedWedge_d_of_right_closed a b (hb' x hx) |
| 108 | |
| 109 | end Constructions |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicTopology.Kunneth.RestrictedWedge |