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.Comparison.Betti.Algebraic.Forms |
| 2 | |
| 3 | /-! # One Form Realization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.OneFormRealization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Universal realization of the constructed degree-one algebraic forms by |
| 10 | a derivation, with the degree-zero differential compatibility proved. -/ |
| 11 | |
| 12 | universe u v |
| 13 | |
| 14 | variable {A : Type u} [CommRing A] [Algebra ℂ A] |
| 15 | {M : Type v} [AddCommGroup M] [Module A M] [Module ℂ M] |
| 16 | [IsScalarTower ℂ A M] [SMulCommClass A ℂ M] |
| 17 | (D : Derivation ℂ A M) |
| 18 | |
| 19 | def rawOneFormRealization : Algebraic.Forms.RawForm A 1 →ₗ[ℂ] M := |
| 20 | Finsupp.linearCombination ℂ (fun a : Fin 2 → A => a 0 • D (a 1)) |
| 21 | |
| 22 | omit [IsScalarTower ℂ A M] [SMulCommClass A ℂ M] in |
| 23 | @[simp] |
| 24 | theorem rawOneFormRealization_symbol (a : Fin 2 → A) : |
| 25 | rawOneFormRealization D (Algebraic.Forms.symbol A a) = a 0 • D (a 1) := by |
| 26 | simp [rawOneFormRealization, Algebraic.Forms.symbol] |
| 27 | |
| 28 | omit [IsScalarTower ℂ A M] [SMulCommClass A ℂ M] in |
| 29 | theorem rawOneFormRealization_d0 (r : Algebraic.Forms.RawForm A 0) : |
| 30 | rawOneFormRealization D (Algebraic.Forms.rawDifferential A 0 r) = D (Algebraic.Forms.rawZeroEvaluation A r) := by |
| 31 | induction r using Finsupp.induction_linear with |
| 32 | | zero => simp |
| 33 | | add r s ihr ihs => simp only [map_add, ihr, ihs] |
| 34 | | single a c => |
| 35 | simp [rawOneFormRealization, Algebraic.Forms.rawDifferential, Algebraic.Forms.rawZeroEvaluation] |
| 36 | |
| 37 | theorem oneFormRelation_realization_zero {r : Algebraic.Forms.RawForm A 1} (hr : Algebraic.Forms.FormRelation A 1 r) : |
| 38 | rawOneFormRealization D r = 0 := by |
| 39 | cases hr with |
| 40 | | add n a i x y => |
| 41 | fin_cases i <;> |
| 42 | simp [map_sub, rawOneFormRealization_symbol, map_add, add_smul, smul_add] |
| 43 | | smul n a i c x => |
| 44 | fin_cases i |
| 45 | · simp [map_sub, rawOneFormRealization_symbol, map_smul, smul_assoc] |
| 46 | · simp [map_sub, rawOneFormRealization_symbol, map_smul, smul_comm (a 0) c] |
| 47 | | leibniz n a i x y => |
| 48 | have hi : i = 0 := Fin.eq_zero i |
| 49 | simp [hi, map_sub, rawOneFormRealization_symbol, D.leibniz, smul_add, mul_smul] |
| 50 | | constant n a i c => |
| 51 | have hi : i = 0 := Fin.eq_zero i |
| 52 | simp [hi, rawOneFormRealization_symbol, D.map_algebraMap] |
| 53 | | alternating n a i j hij ha => |
| 54 | exact False.elim (hij ((Fin.eq_zero i).trans (Fin.eq_zero j).symm)) |
| 55 | | differential hr => |
| 56 | rw [rawOneFormRealization_d0, Algebraic.Forms.zeroRelation_evaluates_zero A hr, map_zero] |
| 57 | |
| 58 | /-- The map a db ↦ a • D b, descended through every defining relation. -/ |
| 59 | def oneFormRealization : Algebraic.Forms.Form A 1 →ₗ[ℂ] M := |
| 60 | (Algebraic.Forms.relations A 1).liftQ (rawOneFormRealization D) |
| 61 | (Submodule.span_le.mpr (fun _ hr => oneFormRelation_realization_zero D hr)) |
| 62 | |
| 63 | @[simp] |
| 64 | theorem oneFormRealization_symbol (a : Fin 2 → A) : |
| 65 | oneFormRealization D (Algebraic.Forms.formSymbol A a) = a 0 • D (a 1) := |
| 66 | rawOneFormRealization_symbol D a |
| 67 | |
| 68 | /-- Differentiating an algebraic zero-form then realizing agrees with D. -/ |
| 69 | theorem oneFormRealization_d0 (a : Algebraic.Forms.Form A 0) : |
| 70 | oneFormRealization D (Algebraic.Forms.differential A 0 a) = D (Algebraic.Forms.zeroEvaluation A a) := by |
| 71 | obtain ⟨r, rfl⟩ := (Algebraic.Forms.relations A 0).mkQ_surjective a |
| 72 | exact rawOneFormRealization_d0 D r |
| 73 | |
| 74 | theorem oneFormRealization_unique (φ : Algebraic.Forms.Form A 1 →ₗ[ℂ] M) |
| 75 | (hφ : ∀ a : Fin 2 → A, φ (Algebraic.Forms.formSymbol A a) = a 0 • D (a 1)) : |
| 76 | φ = oneFormRealization D := by |
| 77 | apply LinearMap.ext |
| 78 | intro x |
| 79 | obtain ⟨r, rfl⟩ := (Algebraic.Forms.relations A 1).mkQ_surjective x |
| 80 | induction r using Finsupp.induction_linear with |
| 81 | | zero => simp |
| 82 | | add r s ihr ihs => simp only [map_add, ihr, ihs] |
| 83 | | single a c => |
| 84 | have hc : Finsupp.single a c = c • Algebraic.Forms.symbol A a := by simp [Algebraic.Forms.symbol] |
| 85 | rw [hc] |
| 86 | simp only [map_smul] |
| 87 | exact congrArg (c • ·) ((hφ a).trans (oneFormRealization_symbol D a).symm) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Comparison.Betti.OneFormRealization |