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.RestrictedForms |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.DegreeZero |
| 3 | import Mathlib.Analysis.Calculus.MeanValue |
| 4 | |
| 5 | /-! # Restricted Forms Zero -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.Kunneth.RestrictedFormsZero |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The degree-zero kernel of restricted forms on a convex set is constant. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open Set |
| 16 | |
| 17 | namespace Constructions |
| 18 | |
| 19 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | |
| 21 | local instance restrictedZeroFormsAddGroup (n : ℕ) : AddCommGroup (OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 22 | local instance restrictedZeroFormsModule (n : ℕ) : Module ℂ (OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm E n) := inferInstance |
| 23 | |
| 24 | def constantZeroForm (c : ℂ) : OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm E 0 := (OAI.Analysis.DifferentialForms.Manifold.Functions.SmoothFunction.const c).toZeroForm |
| 25 | |
| 26 | @[simp] theorem constantZeroForm_apply (c : ℂ) (x : E) (v : Fin 0 → E) : |
| 27 | constantZeroForm c x v = c := rfl |
| 28 | |
| 29 | theorem zeroForm_constant_on_convex {S : Set E} (hS : UniqueDiffOn ℝ S) |
| 30 | (hconvex : Convex ℝ S) (a : OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm E 0) |
| 31 | (ha : ∀ x ∈ S, OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d a x = 0) {x y : E} (hx : x ∈ S) (hy : y ∈ S) : |
| 32 | a x = a y := by |
| 33 | have hdf (z : E) (hz : z ∈ S) : fderiv ℝ (a.toSmoothFunction : E → ℂ) z = 0 := by |
| 34 | apply ContinuousLinearMap.ext |
| 35 | intro u |
| 36 | calc |
| 37 | fderiv ℝ (a.toSmoothFunction : E → ℂ) z u = |
| 38 | OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d a.toSmoothFunction.toZeroForm z (fun _ => u) := |
| 39 | (OAI.Analysis.DifferentialForms.Manifold.Functions.SmoothFunction.d_toZeroForm_apply a.toSmoothFunction z (fun _ => u)).symm |
| 40 | _ = 0 := by rw [a.toZeroForm_toSmoothFunction, ha z hz]; rfl |
| 41 | have he : a.toSmoothFunction x = a.toSmoothFunction y := |
| 42 | hconvex.is_const_of_fderivWithin_eq_zero |
| 43 | (a.toSmoothFunction.smooth.differentiable (by simp)).differentiableOn |
| 44 | (fun z hz => (fderivWithin_eq_fderiv (hS z hz) |
| 45 | (a.toSmoothFunction.smooth.differentiable (by simp) z)).trans (hdf z hz)) hx hy |
| 46 | ext v |
| 47 | have hv : v = (0 : Fin 0 → E) := Subsingleton.elim _ _ |
| 48 | rw [hv] |
| 49 | exact he |
| 50 | |
| 51 | theorem restrictedFormD_zero_constant {S : Set E} (hS : UniqueDiffOn ℝ S) |
| 52 | (hconvex : Convex ℝ S) {x : E} (hx : x ∈ S) (a : RestrictedForms.Constructions.RestrictedForm S 0) |
| 53 | (ha : RestrictedForms.Constructions.restrictedFormD hS 0 a = 0) : |
| 54 | ∃ c : ℂ, a = RestrictedForms.Constructions.restrictForm S 0 (constantZeroForm c) := by |
| 55 | obtain ⟨a, rfl⟩ := (RestrictedForms.Constructions.formsVanishingOn S 0).mkQ_surjective a |
| 56 | change RestrictedForms.Constructions.restrictForm S 1 (OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d a) = 0 at ha |
| 57 | have ha' : ∀ y ∈ S, OAI.Analysis.DifferentialForms.Manifold.Basic.SmoothForm.d a y = 0 := |
| 58 | (Submodule.Quotient.mk_eq_zero (RestrictedForms.Constructions.formsVanishingOn S 1)).mp ha |
| 59 | refine ⟨a x 0, (RestrictedForms.Constructions.restrictForm_eq_iff S 0 a (constantZeroForm (a x 0))).mpr ?_⟩ |
| 60 | intro y hy |
| 61 | rw [zeroForm_constant_on_convex hS hconvex a ha' hy hx] |
| 62 | ext v |
| 63 | have hv : v = (0 : Fin 0 → E) := Subsingleton.elim _ _ |
| 64 | rw [hv] |
| 65 | rfl |
| 66 | |
| 67 | end Constructions |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicTopology.Kunneth.RestrictedFormsZero |