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.DivisorClass.Chern.Line.TensorMetricTest |
| 2 | |
| 3 | /-! # Squared Real Cutoff -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.SquaredRealCutoff |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact smoothness, support and derivative formulas for the square of a real chart cutoff. -/ |
| 10 | |
| 11 | open scoped ContDiff |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | |
| 18 | def squaredRealCutoff (η : E → ℝ) (x : E) : ℂ := (η x : ℂ) ^ 2 |
| 19 | |
| 20 | theorem squaredRealCutoff_smooth (η : E → ℝ) (hη : ContDiff ℝ ∞ η) : |
| 21 | ContDiff ℝ ∞ (squaredRealCutoff η) := (Complex.ofRealCLM.contDiff.comp hη).pow 2 |
| 22 | |
| 23 | omit [NormedSpace ℝ E] in |
| 24 | theorem squaredRealCutoff_tsupport (η : E → ℝ) : tsupport (squaredRealCutoff η) ⊆ tsupport η := by |
| 25 | apply closure_mono |
| 26 | intro x hx |
| 27 | contrapose! hx |
| 28 | simp only [Function.mem_support, not_not] at hx ⊢ |
| 29 | simp only [squaredRealCutoff, hx, Complex.ofReal_zero, zero_pow (by decide : 2 ≠ 0)] |
| 30 | |
| 31 | omit [NormedSpace ℝ E] in |
| 32 | theorem squaredRealCutoff_hasCompactSupport (η : E → ℝ) (hη : HasCompactSupport η) : |
| 33 | HasCompactSupport (squaredRealCutoff η) := |
| 34 | hη.isCompact.of_isClosed_subset (isClosed_tsupport _) (squaredRealCutoff_tsupport η) |
| 35 | |
| 36 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 37 | theorem squaredRealCutoff_re (η : E → ℝ) (x : E) : (squaredRealCutoff η x).re = η x ^ 2 := by |
| 38 | simp only [squaredRealCutoff, ← Complex.ofReal_pow, Complex.ofReal_re] |
| 39 | |
| 40 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 41 | theorem squaredRealCutoff_im (η : E → ℝ) (x : E) : (squaredRealCutoff η x).im = 0 := by |
| 42 | simp only [squaredRealCutoff, ← Complex.ofReal_pow, Complex.ofReal_im] |
| 43 | |
| 44 | theorem squaredRealCutoff_fderiv (η : E → ℝ) {x : E} (hη : DifferentiableAt ℝ η x) (v : E) : |
| 45 | fderiv ℝ (squaredRealCutoff η) x v = 2 * (η x : ℂ) * (fderiv ℝ η x v : ℂ) := by |
| 46 | have hd := Complex.ofRealCLM.hasFDerivAt.comp x hη.hasFDerivAt |
| 47 | have hv := congrArg (fun T : E →L[ℝ] ℂ => T v) (hd.mul hd).fderiv |
| 48 | change fderiv ℝ (fun y => (η y : ℂ) * (η y : ℂ)) x v = _ at hv |
| 49 | simp only [_root_.add_apply, _root_.smul_apply, ContinuousLinearMap.comp_apply, |
| 50 | Function.comp_apply, Complex.ofRealCLM_apply, smul_eq_mul] at hv |
| 51 | have heq : squaredRealCutoff η = (fun y => (η y : ℂ) * (η y : ℂ)) := funext (fun y => pow_two _) |
| 52 | rw [heq, hv] |
| 53 | ring |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.DivisorClass.Chern.SquaredRealCutoff |