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 Mathlib.Analysis.Calculus.DifferentialForm.Basic |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 3 | import Mathlib.Analysis.Calculus.ContDiff.Operations |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | |
| 6 | /-! # Form Restrict Scalars -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.FormRestrictScalars |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # Exterior differentiation and restriction from complex to real scalars |
| 13 | |
| 14 | The actual exterior derivatives use the same alternating-sum normalization. |
| 15 | For a complex-differentiable covector field, its real exterior derivative is |
| 16 | the scalar restriction of its complex exterior derivative. |
| 17 | -/ |
| 18 | |
| 19 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 20 | [IsScalarTower ℝ ℂ E] {p : ℕ} {x : E} |
| 21 | |
| 22 | /-- Scalar restriction retains the complete exterior derivative, without a factor. -/ |
| 23 | theorem extDeriv_restrictScalars |
| 24 | (ω : E → E [⋀^Fin p]→L[ℂ] ℂ) (h : DifferentiableAt ℂ ω x) : |
| 25 | extDeriv (fun y => (ω y).restrictScalars ℝ) x = |
| 26 | (extDeriv ω x).restrictScalars ℝ := by |
| 27 | let R : (E [⋀^Fin p]→L[ℂ] ℂ) →L[ℝ] (E [⋀^Fin p]→L[ℝ] ℂ) := |
| 28 | (ContinuousAlternatingMap.restrictScalarsLI ℝ).toContinuousLinearMap |
| 29 | have hr : DifferentiableAt ℝ (fun y => (ω y).restrictScalars ℝ) x := |
| 30 | R.differentiableAt.comp x (h.restrictScalars ℝ) |
| 31 | apply ContinuousAlternatingMap.ext |
| 32 | intro v |
| 33 | change extDeriv (fun y => (ω y).restrictScalars ℝ) x v = extDeriv ω x v |
| 34 | rw [extDeriv_apply hr, extDeriv_apply h] |
| 35 | apply Finset.sum_congr rfl |
| 36 | intro i _ |
| 37 | congr 1 |
| 38 | have hi := h.continuousAlternatingMap_apply_const (i.removeNth v) |
| 39 | exact congrArg (fun g => g (v i)) (hi.fderiv_restrictScalars ℝ) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.ComplexMultiplication.FormRestrictScalars |