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.Koszul.CoefficientEvaluationHomotopy |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation |
| 3 | |
| 4 | /-! # Coefficient Point Fraction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.CoefficientPointFraction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluating an actual quotient-module point class on a coefficient |
| 11 | vector gives exactly its point value times the canonical supported |
| 12 | fraction. The resolution maps are genuine canonical augmentation lifts. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 19 | variable (R : Type u) [CommRing R] {c m : ℕ} (s : Fin c → R) (t : Fin m → R) |
| 20 | (hs : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) |
| 21 | (hst : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn (Fin.append s t))) |
| 22 | (M : Type u) [AddCommGroup M] [Module R M] [Module (R ⧸ KoszulPartial.Resolution.normalIdeal R s) M] |
| 23 | [IsScalarTower R (R ⧸ KoszulPartial.Resolution.normalIdeal R s) M] |
| 24 | (PM : ProjectiveResolution (ModuleCat.of R M)) |
| 25 | (ε : M →ₗ[R] (R ⧸ KoszulPartial.Resolution.pointIdeal R s t)) (v : M) |
| 26 | |
| 27 | def coefficient : ModuleCat.of R M ⟶ ModuleCat.of R (R ⧸ KoszulPartial.Resolution.pointIdeal R s t) := |
| 28 | ModuleCat.ofHom ε |
| 29 | |
| 30 | def vector : ModuleCat.of R (R ⧸ KoszulPartial.Resolution.normalIdeal R s) ⟶ ModuleCat.of R M := |
| 31 | IntegralComparison.Quotient.CoefficientEvaluation.point R (R ⧸ KoszulPartial.Resolution.normalIdeal R s) M v |
| 32 | |
| 33 | theorem weight (r : R) (hr : ε v = Ideal.Quotient.mk (KoszulPartial.Resolution.pointIdeal R s t) r) : |
| 34 | vector R s M v ≫ coefficient R s t M ε = r • KoszulPartial.Resolution.quotient R s t := by |
| 35 | apply ModuleCat.hom_ext |
| 36 | apply LinearMap.ext |
| 37 | intro q |
| 38 | obtain ⟨x, rfl⟩ := Ideal.Quotient.mk_surjective q |
| 39 | change ε ((algebraMap R (R ⧸ KoszulPartial.Resolution.normalIdeal R s) x) • v) = _ |
| 40 | rw [IsScalarTower.algebraMap_smul, ε.map_smul, hr] |
| 41 | change (Ideal.Quotient.mk (KoszulPartial.Resolution.pointIdeal R s t) x) * (Ideal.Quotient.mk (KoszulPartial.Resolution.pointIdeal R s t) r) = |
| 42 | (Ideal.Quotient.mk (KoszulPartial.Resolution.pointIdeal R s t) r) * (Ideal.Quotient.mk (KoszulPartial.Resolution.pointIdeal R s t) x) |
| 43 | exact mul_comm _ _ |
| 44 | |
| 45 | def pointLift := ProjectiveResolution.lift (coefficient R s t M ε) PM (KoszulPartial.Resolution.pointResolution R s t hst) |
| 46 | def vectorLift := ProjectiveResolution.lift (vector R s M v) (KoszulPartial.Resolution.normalResolution R s hs) PM |
| 47 | |
| 48 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 49 | (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 50 | (U : ULift.{u} (Fin m) → C) |
| 51 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 52 | |
| 53 | abbrev pointMap := CoefficientEvaluationHomotopy.pointMap R P s t hst |
| 54 | (ModuleCat.of R M) PM (pointLift R s t hst M PM ε) |
| 55 | abbrev evaluation := CoefficientEvaluationHomotopy.evaluation R P s hs |
| 56 | (ModuleCat.of R M) PM (vectorLift R s hs M PM v) |
| 57 | |
| 58 | abbrev homotopy (r : R) (hr : ε v = Ideal.Quotient.mk (KoszulPartial.Resolution.pointIdeal R s t) r) := |
| 59 | CoefficientEvaluationHomotopy.homotopy R P s t hs hst (ModuleCat.of R M) PM |
| 60 | (coefficient R s t M ε) (vector R s M v) |
| 61 | (pointLift R s t hst M PM ε) (vectorLift R s hs M PM v) |
| 62 | (ProjectiveResolution.lift_commutes (coefficient R s t M ε) PM (KoszulPartial.Resolution.pointResolution R s t hst)) |
| 63 | (ProjectiveResolution.lift_commutes (vector R s M v) (KoszulPartial.Resolution.normalResolution R s hs) PM) |
| 64 | r (weight R s t M ε v r hr) |
| 65 | |
| 66 | abbrev class_eq (r : R) (hr : ε v = Ideal.Quotient.mk (KoszulPartial.Resolution.pointIdeal R s t) r) |
| 67 | (φ : Module.Dual R (⋀[R]^(c+m) (KoszulPartial.Fractions.ambient R (c := c) (m := m)))) := |
| 68 | SupportedCoefficientEvaluation.class_eq R P U s t ht |
| 69 | (pointMap R s t hst M PM ε P) (evaluation R s hs M PM v P) |
| 70 | r (homotopy R s t hs hst M PM ε v P r hr) φ |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.CoefficientPointFraction |