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.PrincipalResidue.SymbolCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalSource.OpenReindex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexTop |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.ReciprocalTransport |
| 5 | |
| 6 | /-! # Residue Restriction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.ResidueRestriction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Restriction of the original scalar fraction to the genuine source |
| 13 | principal diagram. The coefficient map is the actual scheme appLE, |
| 14 | and the denominator is transported through the canonical top product. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | open scoped BigOperators |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | universe u |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SectionPresheaf OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.SymbolCoordinates |
| 22 | variable {X Y : Scheme.{u}} (π : X ⟶ Y) |
| 23 | (U : Y.Opens) (hU : IsAffineOpen U) |
| 24 | (V : X.Opens) (hV : IsAffineOpen V) (hVU : V ≤ π ⁻¹ᵁ U) |
| 25 | {m : ℕ} (t : Fin m → Γ(Y,U)) |
| 26 | |
| 27 | def parameters : Fin m → Γ(X,V) := fun j => π.appLE U V hVU (t j) |
| 28 | |
| 29 | def topIso : |
| 30 | (PrincipalSource.OpenReindex.reindex π U V hVU).obj (SymbolCoordinates.top U t) ≅ |
| 31 | SymbolCoordinates.top V (parameters π U V hVU t) := |
| 32 | AugmentedOrdered.CechReindexTop.objectIso |
| 33 | (PrincipalSource.OpenReindex.reindex π U V hVU) |
| 34 | (PrincipalPoint.Fraction.family U t) m (by simp) |
| 35 | |
| 36 | include hV in |
| 37 | theorem topOpen_eq : |
| 38 | Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t)) = |
| 39 | V ⊓ π ⁻¹ᵁ (Principal.SectionPresheaf.openSubset U (SymbolCoordinates.top U t)) := by |
| 40 | have e := (Principal.AdditiveSections.opens V hV).mapIso (topIso π U V hVU t) |
| 41 | have he : Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t)) = |
| 42 | Principal.SectionPresheaf.openSubset V ((PrincipalSource.OpenReindex.reindex π U V hVU).obj (SymbolCoordinates.top U t)) := |
| 43 | le_antisymm (leOfHom e.inv) (leOfHom e.hom) |
| 44 | exact he.trans (PrincipalSource.OpenReindex.open_eq π U V hV hVU (SymbolCoordinates.top U t)) |
| 45 | |
| 46 | include hV in |
| 47 | theorem topBelow : |
| 48 | Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t)) ≤ π ⁻¹ᵁ (Principal.SectionPresheaf.openSubset U (SymbolCoordinates.top U t)) := by |
| 49 | rw [topOpen_eq π U V hV hVU t] |
| 50 | exact inf_le_right |
| 51 | |
| 52 | def coefficientMap : Γ(Y,Principal.SectionPresheaf.openSubset U (SymbolCoordinates.top U t)) →+* |
| 53 | Γ(X,Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t))) := |
| 54 | (π.appLE (Principal.SectionPresheaf.openSubset U (SymbolCoordinates.top U t)) (Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t))) |
| 55 | (topBelow π U V hV hVU t)).hom |
| 56 | |
| 57 | theorem map_restriction (b : Γ(Y,U)) : |
| 58 | coefficientMap π U V hV hVU t |
| 59 | (algebraMap Γ(Y,U) Γ(Y,Principal.SectionPresheaf.openSubset U (SymbolCoordinates.top U t)) b) = |
| 60 | X.presheaf.map (Principal.SectionPresheaf.inclusion V (SymbolCoordinates.top V (parameters π U V hVU t))).op |
| 61 | (π.appLE U V hVU b) := by |
| 62 | have hleft := ConcreteCategory.congr_hom |
| 63 | (π.map_appLE (topBelow π U V hV hVU t) (Principal.SectionPresheaf.inclusion U (SymbolCoordinates.top U t)).op) b |
| 64 | have hright := ConcreteCategory.congr_hom |
| 65 | (π.appLE_map hVU (Principal.SectionPresheaf.inclusion V (SymbolCoordinates.top V (parameters π U V hVU t))).op) b |
| 66 | exact hleft.trans hright.symm |
| 67 | |
| 68 | variable (k : Type u) [CommRing k] [Algebra k Γ(Y,U)] |
| 69 | (units : Fin m → Γ(X,Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t)))ˣ) |
| 70 | (hunits : ∀ j, (units j : Γ(X,Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t)))) = |
| 71 | X.presheaf.map (Principal.SectionPresheaf.inclusion V (SymbolCoordinates.top V (parameters π U V hVU t))).op |
| 72 | (parameters π U V hVU t j)) |
| 73 | |
| 74 | include hunits in |
| 75 | theorem coefficient (a : k) : |
| 76 | coefficientMap π U V hV hVU t (SymbolCoordinates.coefficient U hU t k a) = |
| 77 | X.presheaf.map (Principal.SectionPresheaf.inclusion V (SymbolCoordinates.top V (parameters π U V hVU t))).op |
| 78 | (π.appLE U V hVU (algebraMap k Γ(Y,U) a)) * (↑((∏ j, units j)⁻¹) : |
| 79 | Γ(X,Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t)))) := by |
| 80 | have hunit (j : Fin m) : coefficientMap π U V hV hVU t |
| 81 | (algebraMap Γ(Y,U) Γ(Y,Principal.SectionPresheaf.openSubset U (SymbolCoordinates.top U t)) (t j)) = (units j : _) := |
| 82 | (map_restriction π U V hV hVU t (t j)).trans (hunits j).symm |
| 83 | have hr := KoszulPartial.ReciprocalTransport.top_reciprocal_map |
| 84 | Γ(Y,U) (Principal.SectionPresheaf.rings U hU) (PrincipalPoint.Fraction.family U t) t |
| 85 | (PrincipalPoint.Fraction.units U hU t) (by simp) |
| 86 | (coefficientMap π U V hV hVU t) units hunit |
| 87 | change coefficientMap π U V hV hVU t (_ * _) = _ |
| 88 | rw [map_mul] |
| 89 | exact (congrArg₂ (fun (x y : Γ(X,Principal.SectionPresheaf.openSubset V (SymbolCoordinates.top V (parameters π U V hVU t)))) => x*y) |
| 90 | hr (map_restriction π U V hV hVU t (algebraMap k Γ(Y,U) a))).trans (mul_comm _ _) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalResidue.ResidueRestriction |