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.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 3 | |
| 4 | /-! # Dolbeault Function Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.DolbeaultFunctionKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual antiholomorphic derivative vanishes exactly for a complex differentiable function. -/ |
| 11 | |
| 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 F : Type*) |
| 17 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 18 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 19 | |
| 20 | def complexLinearDerivativePart (D : E →L[ℝ] F) : E →L[ℂ] F where |
| 21 | toFun := OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM E F D |
| 22 | map_add' x y := map_add _ x y |
| 23 | map_smul' c x := OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM_apply_smul E F D c x |
| 24 | cont := (OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM E F D).continuous |
| 25 | |
| 26 | theorem complexAntilinearPart_restrictScalars (D : E →L[ℂ] F) : |
| 27 | OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E F (D.restrictScalars ℝ) = 0 := by |
| 28 | ext x |
| 29 | change (1 / 2 : ℂ) • (D x + Complex.I • D (Complex.I • x)) = 0 |
| 30 | rw [map_smul, smul_smul, Complex.I_mul_I, neg_one_smul, add_neg_cancel, smul_zero] |
| 31 | |
| 32 | theorem complexAntilinearPart_eq_zero_iff (D : E →L[ℝ] F) : |
| 33 | OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E F D = 0 ↔ ∃ L : E →L[ℂ] F, L.restrictScalars ℝ = D := by |
| 34 | constructor |
| 35 | · intro h |
| 36 | refine ⟨complexLinearDerivativePart E F D, ?_⟩ |
| 37 | have he := OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexDerivativeParts_add E F D |
| 38 | rw [h, add_zero] at he |
| 39 | exact he |
| 40 | · rintro ⟨L, rfl⟩ |
| 41 | exact complexAntilinearPart_restrictScalars E F L |
| 42 | |
| 43 | variable {E F} {f : E → F} {x : E} |
| 44 | |
| 45 | theorem differentiableAt_complex_iff_antilinear_zero (hf : DifferentiableAt ℝ f x) : |
| 46 | DifferentiableAt ℂ f x ↔ OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexAntilinearPartCLM E F (fderiv ℝ f x) = 0 := by |
| 47 | rw [differentiableAt_iff_restrictScalars ℝ hf, complexAntilinearPart_eq_zero_iff] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.DivisorClass.Chern.DolbeaultFunctionKernel |