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.OneFormWedgeEvaluation |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Mul |
| 3 | |
| 4 | /-! # Scalar One Form Derivative -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ScalarOneFormDerivative |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual exterior derivative of a scalar multiple of a one-form in coordinates. -/ |
| 11 | |
| 12 | open _root_.ContinuousAlternatingMap |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | |
| 20 | theorem extDeriv_one_apply (a : E → E [⋀^Fin 1]→L[ℝ] ℂ) (x : E) (v : Fin 2 → E) : |
| 21 | extDeriv a x v = (fderiv ℝ a x (v 0)) (fun _ => v 1) - |
| 22 | (fderiv ℝ a x (v 1)) (fun _ => v 0) := by |
| 23 | have h0 : Fin.tail v = (fun _ : Fin 1 => v 1) := by funext i; fin_cases i; rfl |
| 24 | have h1 : Fin.removeNth (1 : Fin 2) v = (fun _ : Fin 1 => v 0) := by funext i; fin_cases i; rfl |
| 25 | simp [extDeriv, alternatizeUncurryFin_apply, Fin.sum_univ_two, h0, h1, sub_eq_add_neg] |
| 26 | |
| 27 | theorem extDeriv_scalar_one (f : E → ℂ) (a : E → E [⋀^Fin 1]→L[ℝ] ℂ) (x : E) |
| 28 | (hf : DifferentiableAt ℝ f x) (ha : DifferentiableAt ℝ a x) : |
| 29 | extDeriv (fun y => f y • a y) x = |
| 30 | AlgebraicTopology.Kunneth.CovectorWedge.Constructions.covectorWedge (ofSubsingleton ℝ E ℂ (0 : Fin 1) (fderiv ℝ f x)) (a x) + f x • extDeriv a x := by |
| 31 | ext v |
| 32 | rw [extDeriv_one_apply, ContinuousAlternatingMap.add_apply, OneFormWedgeEvaluation.covectorWedge_one_one_apply, |
| 33 | ContinuousAlternatingMap.smul_apply, extDeriv_one_apply] |
| 34 | have hd := (hf.hasFDerivAt.smul ha.hasFDerivAt).fderiv |
| 35 | change fderiv ℝ (fun y => f y • a y) x = _ at hd |
| 36 | rw [hd] |
| 37 | simp only [_root_.add_apply, _root_.smul_apply, ContinuousLinearMap.smulRight_apply, |
| 38 | ContinuousAlternatingMap.add_apply, ContinuousAlternatingMap.smul_apply, smul_eq_mul] |
| 39 | change (f x * fderiv ℝ a x (v 0) (fun _ => v 1) + (fderiv ℝ f x (v 0)) * a x (fun _ => v 1)) - |
| 40 | (f x * fderiv ℝ a x (v 1) (fun _ => v 0) + (fderiv ℝ f x (v 1)) * a x (fun _ => v 0)) = |
| 41 | (fderiv ℝ f x (v 0)) * a x (fun _ => v 1) - (fderiv ℝ f x (v 1)) * a x (fun _ => v 0) + |
| 42 | f x * (fderiv ℝ a x (v 0) (fun _ => v 1) - fderiv ℝ a x (v 1) (fun _ => v 0)) |
| 43 | ring |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ScalarOneFormDerivative |