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.PrincipalSource.OpenTopClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.OrdinaryFractionScalar |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.TopClassCoefficients |
| 4 | |
| 5 | /-! # Section Fraction Restriction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionFractionRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting the original fractional section on the ambient principal |
| 12 | diagram gives the literal fractional section on the source diagram. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.HomologicalComplex |
| 14 | open scoped BigOperators |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.SymbolCoordinates |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | |
| 20 | section Units |
| 21 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) |
| 22 | {m : ℕ} (t : Fin m → Γ(X,U)) |
| 23 | |
| 24 | def unit (j : Fin m) : Γ(X,SectionPresheaf.openSubset U (PrincipalResidue.SymbolCoordinates.top U t))ˣ := |
| 25 | Cech.DenominatorUnits.coordinateUnit (PrincipalPoint.Fraction.family U t) |
| 26 | (KoszulPartial.Fractions.rings Γ(X,U) (SectionPresheaf.rings U hU)) Γ(X,U) |
| 27 | (KoszulPartial.Fractions.scalars Γ(X,U) (SectionPresheaf.rings U hU)) |
| 28 | (fun i => t i.down) (PrincipalPoint.Fraction.units U hU t) |
| 29 | (AugmentedOrdered.CechCoordinates.topIndex m (by simp)) j |
| 30 | |
| 31 | theorem unit_val (j : Fin m) : (unit U hU t j : Γ(X,SectionPresheaf.openSubset U (PrincipalResidue.SymbolCoordinates.top U t))) = |
| 32 | X.presheaf.map (SectionPresheaf.inclusion U (PrincipalResidue.SymbolCoordinates.top U t)).op (t j) := by |
| 33 | rw [unit, Cech.DenominatorUnits.coordinateUnit_val] |
| 34 | change algebraMap Γ(X,U) Γ(X,SectionPresheaf.openSubset U (PrincipalResidue.SymbolCoordinates.top U t)) |
| 35 | (t ((AugmentedOrdered.CechCoordinates.topIndex (ι := ULift.{u} (Fin m)) m (by simp)).val j).down) = _ |
| 36 | rw [congrFun (Koszul.CechTopResidue.tuple_down (AugmentedOrdered.CechCoordinates.topIndex (ι := ULift.{u} (Fin m)) m (by simp))) j] |
| 37 | rfl |
| 38 | |
| 39 | theorem reciprocal_eq : OrdinaryFraction.Ordinary.reciprocal U hU t = |
| 40 | (↑((∏ j, unit U hU t j)⁻¹) : Γ(X,SectionPresheaf.openSubset U (PrincipalResidue.SymbolCoordinates.top U t))) := rfl |
| 41 | end Units |
| 42 | |
| 43 | variable {Y Z : Scheme.{u}} (π : Y ⟶ Z) |
| 44 | (U : Z.Opens) (hU : IsAffineOpen U) |
| 45 | (V : Y.Opens) (hV : IsAffineOpen V) (hVU : V ≤ π ⁻¹ᵁ U) |
| 46 | (N : Y.Modules) (ω : Γ(N,π ⁻¹ᵁ U)) {m : ℕ} (t : Fin m → Γ(Z,U)) |
| 47 | |
| 48 | abbrev localSection := N.presheaf.map (homOfLE hVU).op ω |
| 49 | |
| 50 | theorem coefficient (a : Γ(Z,U)) : |
| 51 | PrincipalResidue.ResidueRestriction.coefficientMap π U V hV hVU t |
| 52 | (PrincipalResidue.SymbolCoordinates.coefficient U hU t Γ(Z,U) a) = |
| 53 | OrdinaryFraction.Ordinary.reciprocal V hV |
| 54 | (PrincipalResidue.ResidueRestriction.parameters π U V hVU t) * |
| 55 | algebraMap Γ(Y,V) |
| 56 | Γ(Y,SectionPresheaf.openSubset V (PrincipalResidue.SymbolCoordinates.top V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t))) |
| 57 | (π.appLE U V hVU a) := by |
| 58 | have h := PrincipalResidue.ResidueRestriction.coefficient π U hU V hV hVU t Γ(Z,U) |
| 59 | (unit V hV (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) |
| 60 | (unit_val V hV (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) a |
| 61 | rw [← reciprocal_eq] at h |
| 62 | exact h.trans (mul_comm _ _) |
| 63 | |
| 64 | def targetCoefficient (a : Γ(Z,U)) : |
| 65 | Γ(N,SectionPresheaf.openSubset V (PrincipalResidue.SymbolCoordinates.top V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t))) := |
| 66 | (OrdinaryFraction.Ordinary.multiplication V hV N (localSection π U V hVU N ω)).app |
| 67 | (op (PrincipalResidue.SymbolCoordinates.top V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t))) |
| 68 | (OrdinaryFraction.Ordinary.reciprocal V hV |
| 69 | (PrincipalResidue.ResidueRestriction.parameters π U V hVU t) * |
| 70 | algebraMap Γ(Y,V) |
| 71 | Γ(Y,SectionPresheaf.openSubset V (PrincipalResidue.SymbolCoordinates.top V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t))) |
| 72 | (π.appLE U V hVU a)) |
| 73 | |
| 74 | theorem symbol (a : Γ(Z,U)) : |
| 75 | PrincipalSource.OpenTopClass.restriction π U V hV hVU N t |
| 76 | (PrincipalResidue.SymbolCoordinates.symbolValue π U hU t Γ(Z,U) N ω a) = |
| 77 | targetCoefficient π U V hV hVU N ω t a := by |
| 78 | change N.presheaf.map (homOfLE (PrincipalResidue.ResidueRestriction.topBelow π U V hV hVU t)).op |
| 79 | (π.app (SectionPresheaf.openSubset U (PrincipalResidue.SymbolCoordinates.top U t)) |
| 80 | (PrincipalResidue.SymbolCoordinates.coefficient U hU t Γ(Z,U) a) • |
| 81 | N.presheaf.map (PushforwardSection.sourceInclusion π U (PrincipalResidue.SymbolCoordinates.top U t)).op ω) = _ |
| 82 | rw [N.map_smul] |
| 83 | change PrincipalResidue.ResidueRestriction.coefficientMap π U V hV hVU t |
| 84 | (PrincipalResidue.SymbolCoordinates.coefficient U hU t Γ(Z,U) a) • |
| 85 | N.presheaf.map (homOfLE (PrincipalResidue.ResidueRestriction.topBelow π U V hV hVU t)).op |
| 86 | (N.presheaf.map (PushforwardSection.sourceInclusion π U (PrincipalResidue.SymbolCoordinates.top U t)).op ω) = _ |
| 87 | rw [coefficient] |
| 88 | let b : Γ(Y,SectionPresheaf.openSubset V (PrincipalResidue.SymbolCoordinates.top V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t))) := |
| 89 | OrdinaryFraction.Ordinary.reciprocal V hV |
| 90 | (PrincipalResidue.ResidueRestriction.parameters π U V hVU t) * |
| 91 | algebraMap Γ(Y,V) _ (π.appLE U V hVU a) |
| 92 | change b • N.presheaf.map |
| 93 | (homOfLE (PrincipalResidue.ResidueRestriction.topBelow π U V hV hVU t)).op |
| 94 | (N.presheaf.map (PushforwardSection.sourceInclusion π U (PrincipalResidue.SymbolCoordinates.top U t)).op ω) = |
| 95 | b • N.presheaf.map (SectionPresheaf.inclusion V |
| 96 | (PrincipalResidue.SymbolCoordinates.top V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t))).op |
| 97 | (N.presheaf.map (homOfLE hVU).op ω) |
| 98 | congr 1 |
| 99 | rw [← ConcreteCategory.comp_apply, ← N.presheaf.map_comp, |
| 100 | ← ConcreteCategory.comp_apply, ← N.presheaf.map_comp] |
| 101 | rfl |
| 102 | |
| 103 | def targetIso := AugmentedCech.TopClassCoefficients.homologyIso |
| 104 | (PrincipalPoint.Fraction.family V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) |
| 105 | (AdditiveSections.forgetScalars V) (SectionPresheaf.modules V hV N) m |
| 106 | |
| 107 | theorem class_coordinate (a : Γ(Z,U)) : |
| 108 | (targetIso π U V hV hVU N t).hom |
| 109 | (OrdinaryFraction.Ordinary.value V hV N (localSection π U V hVU N ω) |
| 110 | (PrincipalResidue.ResidueRestriction.parameters π U V hVU t) (π.appLE U V hVU a)) = |
| 111 | AugmentedCech.TopClassMap.map |
| 112 | (PrincipalPoint.Fraction.family V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) |
| 113 | (PrincipalSource.OpenTopClass.target V hV N) m (by simp) |
| 114 | (targetCoefficient π U V hV hVU N ω t a) := by |
| 115 | have h := ConcreteCategory.congr_hom |
| 116 | (AugmentedCech.TopClassCoefficients.comparison |
| 117 | (PrincipalPoint.Fraction.family V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) |
| 118 | (AdditiveSections.forgetScalars V) (SectionPresheaf.modules V hV N) m (by simp)) |
| 119 | (targetCoefficient π U V hV hVU N ω t a) |
| 120 | change (targetIso π U V hV hVU N t).hom |
| 121 | (AugmentedCech.TopClassMap.map |
| 122 | (PrincipalPoint.Fraction.family V (PrincipalResidue.ResidueRestriction.parameters π U V hVU t)) |
| 123 | (SectionPresheaf.modules V hV N) m (by simp) (targetCoefficient π U V hV hVU N ω t a)) = _ at h |
| 124 | rw [AugmentedCech.TopClassMap.module_apply] at h |
| 125 | exact h |
| 126 | |
| 127 | theorem comparison (a : Γ(Z,U)) : |
| 128 | homologyMap (PrincipalSource.OpenTopClass.complexMap π U hU V hV hVU N t) m |
| 129 | (AugmentedCech.TopClassMap.map (PrincipalPoint.Fraction.family U t) |
| 130 | (PrincipalSource.OpenTopClass.source π U hU N) m (by simp) |
| 131 | (PrincipalResidue.SymbolCoordinates.symbolValue π U hU t Γ(Z,U) N ω a)) = |
| 132 | (targetIso π U V hV hVU N t).hom |
| 133 | (OrdinaryFraction.Ordinary.value V hV N (localSection π U V hVU N ω) |
| 134 | (PrincipalResidue.ResidueRestriction.parameters π U V hVU t) (π.appLE U V hVU a)) := by |
| 135 | rw [PrincipalSource.OpenTopClass.apply, symbol] |
| 136 | exact (class_coordinate π U V hV hVU N ω t a).symm |
| 137 | |
| 138 | theorem weighted {k : Type u} [CommRing k] (η : Γ(Y,V) →+* k) |
| 139 | (hk : Koszul.OrientedTopCohomology.ideal Γ(Y,V) |
| 140 | (PrincipalResidue.ResidueRestriction.parameters π U V hVU t) = RingHom.ker η) |
| 141 | (z : Γ(Y,V)) (hz : η z = 1) (ω₀ : Γ(N,V)) |
| 142 | (hω : localSection π U V hVU N ω = z • ω₀) (a : Γ(Z,U)) : |
| 143 | homologyMap (PrincipalSource.OpenTopClass.complexMap π U hU V hV hVU N t) m |
| 144 | (AugmentedCech.TopClassMap.map (PrincipalPoint.Fraction.family U t) |
| 145 | (PrincipalSource.OpenTopClass.source π U hU N) m (by simp) |
| 146 | (PrincipalResidue.SymbolCoordinates.symbolValue π U hU t Γ(Z,U) N ω a)) = |
| 147 | (targetIso π U V hV hVU N t).hom |
| 148 | (OrdinaryFraction.Ordinary.value V hV N ω₀ |
| 149 | (PrincipalResidue.ResidueRestriction.parameters π U V hVU t) (π.appLE U V hVU a)) := by |
| 150 | rw [comparison, hω, OrdinaryFractionScalar.Ordinary.section_weighted_of_kernel V hV N ω₀ |
| 151 | (PrincipalResidue.ResidueRestriction.parameters π U V hVU t) η hk z hz] |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionFractionRestriction |