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.KoszulPoint.ScalarCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.BasisCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.SupportedCoefficientEvaluation |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechHomotopyEquivalence |
| 5 | |
| 6 | /-! # Refined Coefficient Fraction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedCoefficientFraction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual right/inverse-left common refinement preserves the |
| 13 | weighted fraction formula for arbitrary coefficient resolutions. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechHomotopyEquivalence |
| 21 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 22 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 23 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 24 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 25 | {L K F T : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ} |
| 26 | (eP : HomotopyEquiv L (KoszulPartial.Components.coefficient R P (Fin.append s t))) |
| 27 | (eN : HomotopyEquiv K T) (eF : HomotopyEquiv F T) (r : L ⟶ K) |
| 28 | (δ : KoszulPartial.Components.coefficient R P (Fin.append s t) ⟶ T) (ev : T ⟶ KoszulPartial.Components.coefficient R P s) |
| 29 | (hr : Homotopy (r ≫ eN.hom) (eP.hom ≫ δ)) |
| 30 | (w : R) (he : Homotopy (δ ≫ ev) (w • DuplicateFraction.normalMap R s t P)) |
| 31 | |
| 32 | def coefficientMap := eP.inv ≫ (r ≫ eN.hom) |
| 33 | |
| 34 | def coefficientHomotopy : Homotopy (coefficientMap R P s t eP eN r ≫ ev) |
| 35 | (w • DuplicateFraction.normalMap R s t P) := by |
| 36 | have hδ : Homotopy (coefficientMap R P s t eP eN r) δ := |
| 37 | (hr.compLeft eP.inv).trans |
| 38 | ((Homotopy.ofEq (Category.assoc _ _ _).symm).trans (eP.homotopyInvHomId.compRightId δ)) |
| 39 | exact (hδ.compRight ev).trans he |
| 40 | |
| 41 | def refinedMap (q : ℕ) := (Supported.CechHomotopyEquivalence.functor U q).map r ≫ (Supported.CechHomotopyEquivalence.refinementIso U eF eN q).inv |
| 42 | |
| 43 | def evaluatedMap (q : ℕ) := refinedMap R U eN eF r q ≫ (Supported.CechHomotopyEquivalence.iso U eF q).hom ≫ (Supported.CechHomotopyEquivalence.functor U q).map ev |
| 44 | |
| 45 | theorem evaluatedMap_coordinates (q : ℕ) : |
| 46 | (Supported.CechHomotopyEquivalence.iso U eP q).inv ≫ evaluatedMap R P U s eN eF r ev q = |
| 47 | (Supported.CechHomotopyEquivalence.functor U q).map (coefficientMap R P s t eP eN r ≫ ev) := by |
| 48 | dsimp only [evaluatedMap, refinedMap] |
| 49 | simp only [Category.assoc] |
| 50 | rw [Supported.CechHomotopyEquivalence.refinementIso_inv_coordinates_assoc] |
| 51 | change (Supported.CechHomotopyEquivalence.functor U q).map eP.inv ≫ (Supported.CechHomotopyEquivalence.functor U q).map r ≫ |
| 52 | (Supported.CechHomotopyEquivalence.functor U q).map eN.hom ≫ (Supported.CechHomotopyEquivalence.functor U q).map ev = _ |
| 53 | simp only [coefficientMap, Functor.map_comp, Category.assoc] |
| 54 | |
| 55 | theorem supported_factorization (q : ℕ) : |
| 56 | homologyMap (SupportedCoefficientEvaluation.supported R P U s t ht |
| 57 | (coefficientMap R P s t eP eN r) ev) q = |
| 58 | homologyMap (DualComplexHomology.map R (DuplicateFraction.pointIso R s t).hom) q ≫ |
| 59 | homologyMap (KoszulPoint.SupportedTransfer.lift R P U s t ht eP) q ≫ |
| 60 | evaluatedMap R P U s eN eF r ev q := by |
| 61 | dsimp only [SupportedCoefficientEvaluation.supported, |
| 62 | KoszulPoint.SupportedTransfer.lift, KoszulPoint.SupportedLift.map] |
| 63 | simp only [homologyMap_comp, Category.assoc] |
| 64 | change _ = _ ≫ _ ≫ ((Supported.CechHomotopyEquivalence.iso U eP q).inv ≫ evaluatedMap R P U s eN eF r ev q) |
| 65 | rw [evaluatedMap_coordinates, Functor.map_comp] |
| 66 | rfl |
| 67 | |
| 68 | include hr he in |
| 69 | theorem fraction_of_lift |
| 70 | (ψ : Module.Dual R (⋀[R]^(c+m) (Fin (c+m) → R))) |
| 71 | (y : (Supported.CechHomotopyEquivalence.functor U (c+m)).obj L) |
| 72 | (hy : homologyMap (KoszulPoint.SupportedTransfer.lift R P U s t ht eP) (c+m) |
| 73 | (TopHomologyCokernel.cycleClass |
| 74 | (OrientedTopCohomology.dualComplex R (Fin.append s t)) (c+m) |
| 75 | (OrientedTopCohomology.outgoing_isZero R (Fin.append s t)) ψ) = y) : |
| 76 | evaluatedMap R P U s eN eF r ev (c+m) y = |
| 77 | w • KoszulPartial.PartialClass.supportedClass R P U s t ht |
| 78 | (KoszulPoint.BasisCoordinates.functional R s t ψ) := by |
| 79 | have h := SupportedCoefficientEvaluation.class_eq R P U s t ht |
| 80 | (coefficientMap R P s t eP eN r) ev w |
| 81 | (coefficientHomotopy R P s t eP eN r δ ev hr w he) |
| 82 | (KoszulPoint.BasisCoordinates.functional R s t ψ) |
| 83 | have hm := ConcreteCategory.congr_hom (supported_factorization R P U s t ht eP eN eF r ev (c+m)) |
| 84 | (KoszulPartial.PartialClass.sourceClass R s t (KoszulPoint.BasisCoordinates.functional R s t ψ)) |
| 85 | change _ = evaluatedMap R P U s eN eF r ev (c+m) |
| 86 | (homologyMap (KoszulPoint.SupportedTransfer.lift R P U s t ht eP) (c+m) |
| 87 | (homologyMap (DualComplexHomology.map R |
| 88 | (DuplicateFraction.pointIso R s t).hom) (c+m) _)) at hm |
| 89 | rw [KoszulPoint.BasisCoordinates.class_coordinates, hy] at hm |
| 90 | exact hm.symm.trans h |
| 91 | |
| 92 | variable (k : Type u) [CommRing k] [Algebra k R] |
| 93 | (hP : Function.Bijective (algebraMap R (P.obj (op (⊤_ C))))) |
| 94 | (d : ℕ) (hL : ∀ q, q ≠ d → L.ExactAt q) |
| 95 | (hzero : ∀ p q, 0 < q → ∀ a : AugmentedOrdered.Cech.Index (ULift.{u} (Fin m)) q, |
| 96 | IsZero ((((single (Cᵒᵖ ⥤ ModuleCat R) (.up ℕ) d).obj (L.homology d)).X p).obj |
| 97 | (op ((AugmentedOrdered.Cech.formal U q).obj a)))) |
| 98 | (e₀ : (R ⧸ OrientedTopCohomology.ideal R (Fin.append s t)) ≃ₐ[k] k) |
| 99 | |
| 100 | abbrev fraction (y : (Supported.CechHomotopyEquivalence.functor U (c+m)).obj L) := |
| 101 | fraction_of_lift R P U s t ht eP eN eF r δ ev hr w he |
| 102 | (KoszulPoint.ScalarCoordinates.representative k R P hP U s t eP d hL hzero e₀ y) y |
| 103 | (KoszulPoint.ScalarCoordinates.lift_representative k R P hP U s t ht eP d hL hzero e₀ y) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.RefinedCoefficientFraction |