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.TotalTop |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClassNaturality |
| 3 | |
| 4 | /-! # Partial Class -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.PartialClass |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Arbitrary top dual-Koszul coefficients give the actual supported |
| 11 | partial-fraction cohomology class. No choice of a unit generator is made. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClassNaturality |
| 19 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 20 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 21 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 22 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 23 | |
| 24 | def sourceCycle (φ : Module.Dual R (⋀[R]^(c + m) (Fractions.ambient R (c := c) (m := m)))) : |
| 25 | IntegralComparison.Module.CochainClasses.cycles (Components.source R s t) (c + m) := |
| 26 | ⟨φ, by |
| 27 | apply LinearMap.ext |
| 28 | intro x |
| 29 | have hx := Exterior.PowerVanishing.eq_zero |
| 30 | (TopResidue.basis R (c := c) (m := m)) (Nat.lt_succ_self (c + m)) x |
| 31 | rw [hx, map_zero, map_zero]⟩ |
| 32 | |
| 33 | def sourceClass (φ : Module.Dual R (⋀[R]^(c + m) (Fractions.ambient R (c := c) (m := m)))) : |
| 34 | (Components.source R s t).homology (c + m) := |
| 35 | IntegralComparison.Module.CochainClasses.classMap _ _ (sourceCycle R s t φ) |
| 36 | |
| 37 | def supportedCycle (φ : Module.Dual R (⋀[R]^(c + m) (Fractions.ambient R (c := c) (m := m)))) : |
| 38 | IntegralComparison.Module.CochainClasses.cycles ((Components.target R P U s).total (.up ℕ)) (c + m) := |
| 39 | IntegralComparison.Module.CochainClassNaturality.cycleMap (Total.map R P U s t ht) _ (sourceCycle R s t φ) |
| 40 | |
| 41 | def supportedClass (φ : Module.Dual R (⋀[R]^(c + m) (Fractions.ambient R (c := c) (m := m)))) : |
| 42 | ((Components.target R P U s).total (.up ℕ)).homology (c + m) := |
| 43 | IntegralComparison.Module.CochainClasses.classMap _ _ (supportedCycle R P U s t ht φ) |
| 44 | |
| 45 | theorem supportedClass_eq (φ : Module.Dual R (⋀[R]^(c + m) (Fractions.ambient R (c := c) (m := m)))) : |
| 46 | supportedClass R P U s t ht φ = |
| 47 | homologyMap (Total.map R P U s t ht) (c + m) (sourceClass R s t φ) := |
| 48 | IntegralComparison.Module.CochainClassNaturality.naturality_apply _ _ _ |
| 49 | |
| 50 | theorem supportedCycle_val (φ : Module.Dual R (⋀[R]^(c + m) (Fractions.ambient R (c := c) (m := m)))) : |
| 51 | (supportedCycle R P U s t ht φ).val = |
| 52 | (Components.target R P U s).ιTotal (.up ℕ) c m (c + m) rfl |
| 53 | (Components.component R P U t ht (c + m) c m rfl φ) := by |
| 54 | change (Total.map R P U s t ht).f (c + m) |
| 55 | (show (Components.source R s t).X (c + m) from φ) = _ |
| 56 | exact ConcreteCategory.congr_hom (TotalTop.top_map R P U s t ht) |
| 57 | (show (Components.source R s t).X (c + m) from φ) |
| 58 | |
| 59 | theorem coefficient (φ : Module.Dual R (⋀[R]^(c + m) (Fractions.ambient R (c := c) (m := m)))) |
| 60 | (a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) m) : |
| 61 | (Components.coordinateAt R P U t ht (c + m) c m rfl a φ) |
| 62 | (TopExteriorCoordinates.generator (Pi.basisFun R (Fin c))) = |
| 63 | Fractions.reciprocal R P U t ht a * algebraMap R (P.obj (op ((AugmentedOrdered.Cech.formal U m).obj a))) |
| 64 | (φ (TopExteriorCoordinates.generator |
| 65 | (TopResidue.basis R (c := c) (m := m)))) := by |
| 66 | change Fractions.reciprocal R P U t ht a * algebraMap R _ |
| 67 | (φ (Differential.insertionAt R c m (c + m) rfl a |
| 68 | (TopExteriorCoordinates.generator (Pi.basisFun R (Fin c))))) = _ |
| 69 | have he := TopResidue.insertion_top R (c := c) a |
| 70 | change Differential.insertionAt R c m (c + m) rfl a |
| 71 | (TopExteriorCoordinates.generator (Pi.basisFun R (Fin c))) = _ at he |
| 72 | rw [he] |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.PartialClass |