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.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.PartialClass |
| 2 | |
| 3 | /-! # Scalar Partial Class -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ScalarPartialClass |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The complete supported partial-fraction class is linear in its |
| 10 | ordered top coefficient, with no choice of a functional representative. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components OAI.NumberTheory.PadicHodge.IntegralComparison.TopExteriorCoordinates |
| 17 | variable (R : Type u) [CommRing R] {c m : ℕ} |
| 18 | |
| 19 | theorem functional (φ : Module.Dual R (⋀[R]^(c+m) (KoszulPartial.Fractions.ambient R (c := c) (m := m)))) : |
| 20 | φ = φ (TopExteriorCoordinates.generator (KoszulPartial.TopResidue.basis R)) • |
| 21 | KoszulPartial.TopResidue.functional R := by |
| 22 | apply LinearMap.ext |
| 23 | intro x |
| 24 | conv_lhs => rw [← TopExteriorCoordinates.reconstruct (KoszulPartial.TopResidue.basis R) x] |
| 25 | rw [map_smul] |
| 26 | change TopExteriorCoordinates.coordinate (KoszulPartial.TopResidue.basis R) x * |
| 27 | φ (TopExteriorCoordinates.generator (KoszulPartial.TopResidue.basis R)) = _ |
| 28 | exact mul_comm _ _ |
| 29 | |
| 30 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 31 | (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 32 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 33 | |
| 34 | theorem sourceClass_smul (a : R) |
| 35 | (φ : Module.Dual R (⋀[R]^(c+m) (KoszulPartial.Fractions.ambient R (c := c) (m := m)))) : |
| 36 | KoszulPartial.PartialClass.sourceClass R s t (a • φ) = |
| 37 | a • KoszulPartial.PartialClass.sourceClass R s t φ := by |
| 38 | change IntegralComparison.Module.CochainClasses.classMap _ _ _ = _ |
| 39 | have h : KoszulPartial.PartialClass.sourceCycle R s t (a • φ) = |
| 40 | a • KoszulPartial.PartialClass.sourceCycle R s t φ := by |
| 41 | apply Subtype.ext |
| 42 | rfl |
| 43 | rw [h, map_smul] |
| 44 | rfl |
| 45 | |
| 46 | theorem supportedClass_smul (a : R) |
| 47 | (φ : Module.Dual R (⋀[R]^(c+m) (KoszulPartial.Fractions.ambient R (c := c) (m := m)))) : |
| 48 | KoszulPartial.PartialClass.supportedClass R P U s t ht (a • φ) = |
| 49 | a • KoszulPartial.PartialClass.supportedClass R P U s t ht φ := by |
| 50 | rw [KoszulPartial.PartialClass.supportedClass_eq, sourceClass_smul] |
| 51 | exact ((homologyMap (KoszulPartial.Total.map R P U s t ht) (c+m)).hom.map_smul a _).trans |
| 52 | (congrArg (fun x => a • x) (KoszulPartial.PartialClass.supportedClass_eq R P U s t ht φ).symm) |
| 53 | |
| 54 | theorem supportedClass_eq |
| 55 | (φ : Module.Dual R (⋀[R]^(c+m) (KoszulPartial.Fractions.ambient R (c := c) (m := m)))) : |
| 56 | KoszulPartial.PartialClass.supportedClass R P U s t ht φ = |
| 57 | φ (TopExteriorCoordinates.generator (KoszulPartial.TopResidue.basis R)) • |
| 58 | KoszulPartial.PartialClass.supportedClass R P U s t ht |
| 59 | (KoszulPartial.TopResidue.functional R) := |
| 60 | (congrArg (KoszulPartial.PartialClass.supportedClass R P U s t ht) (functional R φ)).trans |
| 61 | (supportedClass_smul R P U s t ht _ _) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ScalarPartialClass |