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.AbelianModuli.ReferenceFamily.Dual.PresentedAlgebra |
| 2 | |
| 3 | /-! # Point Derivations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PointDerivations |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The intrinsic complex vector space of derivations at an actual |
| 10 | algebra point is canonically its dual-number fiber. -/ |
| 11 | |
| 12 | variable {S : Type*} [CommRing S] [Algebra ℂ S] |
| 13 | |
| 14 | def pointDerivations (x : S →ₐ[ℂ] ℂ) : Submodule ℂ (S →ₗ[ℂ] ℂ) where |
| 15 | carrier D := D 1 = 0 ∧ ∀ a b, D (a * b) = x a * D b + x b * D a |
| 16 | zero_mem' := by |
| 17 | refine ⟨rfl, ?_⟩ |
| 18 | intro a b |
| 19 | change (0 : ℂ) = x a * 0 + x b * 0 |
| 20 | ring |
| 21 | add_mem' := by |
| 22 | intro D E hD hE |
| 23 | constructor |
| 24 | · change D 1 + E 1 = 0 |
| 25 | rw [hD.1, hE.1, add_zero] |
| 26 | · intro a b |
| 27 | change D (a * b) + E (a * b) = x a * (D b + E b) + x b * (D a + E a) |
| 28 | rw [hD.2, hE.2] |
| 29 | ring |
| 30 | smul_mem' := by |
| 31 | intro c D hD |
| 32 | constructor |
| 33 | · change c • D 1 = 0 |
| 34 | rw [hD.1, smul_zero] |
| 35 | · intro a b |
| 36 | change c * D (a * b) = x a * (c * D b) + x b * (c * D a) |
| 37 | rw [hD.2] |
| 38 | ring |
| 39 | |
| 40 | def derivationOfDualPoint (x : S →ₐ[ℂ] ℂ) (f : Dual.PresentedAlgebra.DualAlgebraPoints x) : pointDerivations x := by |
| 41 | refine ⟨(TrivSqZeroExt.sndHom ℂ ℂ).comp f.val.toLinearMap, ?_, ?_⟩ |
| 42 | · change (f.val 1).snd = 0 |
| 43 | rw [map_one] |
| 44 | rfl |
| 45 | · intro a b |
| 46 | change (f.val (a * b)).snd = x a * (f.val b).snd + x b * (f.val a).snd |
| 47 | rw [map_mul, DualNumber.snd_mul] |
| 48 | have ha : (f.val a).fst = x a := DFunLike.congr_fun f.property a |
| 49 | have hb : (f.val b).fst = x b := DFunLike.congr_fun f.property b |
| 50 | rw [ha, hb] |
| 51 | ring |
| 52 | |
| 53 | def dualPointOfDerivation (x : S →ₐ[ℂ] ℂ) (D : pointDerivations x) : Dual.PresentedAlgebra.DualAlgebraPoints x := by |
| 54 | let f : S →ₐ[ℂ] DualNumber ℂ := { |
| 55 | toFun := fun a => ⟨x a, D.val a⟩ |
| 56 | map_one' := TrivSqZeroExt.ext x.map_one D.property.1 |
| 57 | map_mul' := fun a b => TrivSqZeroExt.ext (x.map_mul a b) (by |
| 58 | change D.val (a * b) = x a * D.val b + D.val a * x b |
| 59 | rw [D.property.2] |
| 60 | ring) |
| 61 | map_zero' := TrivSqZeroExt.ext x.map_zero D.val.map_zero |
| 62 | map_add' := fun a b => TrivSqZeroExt.ext (x.map_add a b) (D.val.map_add a b) |
| 63 | commutes' := fun c => TrivSqZeroExt.ext (x.commutes c) (by |
| 64 | change D.val (algebraMap ℂ S c) = 0 |
| 65 | rw [Algebra.algebraMap_eq_smul_one, D.val.map_smul, D.property.1, smul_zero]) } |
| 66 | exact ⟨f, AlgHom.ext (fun _ => rfl)⟩ |
| 67 | |
| 68 | def dualPointDerivationsEquiv (x : S →ₐ[ℂ] ℂ) : Dual.PresentedAlgebra.DualAlgebraPoints x ≃ pointDerivations x where |
| 69 | toFun := derivationOfDualPoint x |
| 70 | invFun := dualPointOfDerivation x |
| 71 | left_inv f := by |
| 72 | apply Subtype.ext |
| 73 | apply AlgHom.ext |
| 74 | intro a |
| 75 | exact TrivSqZeroExt.ext (DFunLike.congr_fun f.property a).symm rfl |
| 76 | right_inv D := by |
| 77 | apply Subtype.ext |
| 78 | apply LinearMap.ext |
| 79 | intro a |
| 80 | rfl |
| 81 | |
| 82 | theorem dualPointDerivationsEquiv_apply (x : S →ₐ[ℂ] ℂ) (f : Dual.PresentedAlgebra.DualAlgebraPoints x) (a : S) : |
| 83 | (dualPointDerivationsEquiv x f).val a = (f.val a).snd := rfl |
| 84 | |
| 85 | def pointDerivationsCongr {x y : S →ₐ[ℂ] ℂ} (h : x = y) : pointDerivations x ≃ₗ[ℂ] pointDerivations y := |
| 86 | LinearEquiv.ofEq _ _ (congrArg pointDerivations h) |
| 87 | |
| 88 | theorem pointDerivationsCongr_apply {x y : S →ₐ[ℂ] ℂ} (h : x = y) |
| 89 | (D : pointDerivations x) (a : S) : (pointDerivationsCongr h D).val a = D.val a := by |
| 90 | cases h |
| 91 | rfl |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PointDerivations |