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.AugmentedCech.FromIncomingSquare |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.IncomingReindex |
| 3 | |
| 4 | /-! # Augmented Incoming -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.AugmentedIncoming.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Assemble the original incoming section-family square before |
| 11 | substituting smooth models or their coefficient complexes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u v w |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 21 | (V V' : Y.Opens) (hV : V = V') |
| 22 | {D : Type v} [Preorder D] {E : Type w} [Preorder E] [HasFiniteProducts E] |
| 23 | [HasProducts.{w} (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B)))] |
| 24 | (F : D →o Y.Opens) (G : E →o Y.Opens) (r : E ⥤ D) |
| 25 | (hF : ∀ d, F d ≤ V') (hG : ∀ e, G e ≤ V) |
| 26 | (h : G = BoundedOpen.IncomingMap.reindexedOpens F r) |
| 27 | (K L : CochainComplex |
| 28 | (BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n) ℕ) |
| 29 | (b : ((BoundedOpen.Subsite.restriction (p := p) (J := J) (δ := δ) f V'.ι n).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 30 | ((BoundedOpen.Subsite.restriction (p := p) (J := J) (δ := δ) f V'.ι n).mapHomologicalComplex (.up ℕ)).obj L) |
| 31 | |
| 32 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.IncomingReindexSteps.restriction (B := B) r |
| 33 | local notation "S₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite.globalSections (p := p) (J := J) (δ := δ) f n G |
| 34 | local notation "S₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionSubsite.globalSections (p := p) (J := J) (δ := δ) f n F |
| 35 | local notation "s" => NatIso.mapHomologicalComplex |
| 36 | (BoundedOpen.IncomingMap.familyIso (p := p) (J := J) (δ := δ) |
| 37 | f n G (BoundedOpen.IncomingMap.reindexedOpens F r) h) (ComplexShape.up ℕ) |
| 38 | |
| 39 | private def targetIso : ((S₁).mapHomologicalComplex (.up ℕ)).obj L ≅ |
| 40 | ((H).mapHomologicalComplex (.up ℕ)).obj (((S₂).mapHomologicalComplex (.up ℕ)).obj L) := |
| 41 | ((s).app L) |
| 42 | |
| 43 | private def sourceMap : ((S₁).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 44 | ((H).mapHomologicalComplex (.up ℕ)).obj (((S₂).mapHomologicalComplex (.up ℕ)).obj K) := |
| 45 | ((s).app K).hom |
| 46 | |
| 47 | private def leftMap : ((S₁).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 48 | ((H).mapHomologicalComplex (.up ℕ)).obj (((S₂).mapHomologicalComplex (.up ℕ)).obj L) := |
| 49 | BoundedOpen.IncomingMap.map f n V G hG K L |
| 50 | (BoundedOpen.IncomingMap.transport f n V K L V' hV b) ≫ ((s).app L).hom |
| 51 | |
| 52 | private def rightMap : ((S₁).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 53 | ((H).mapHomologicalComplex (.up ℕ)).obj (((S₂).mapHomologicalComplex (.up ℕ)).obj L) := |
| 54 | ((s).app K).hom ≫ ((H).mapHomologicalComplex (.up ℕ)).map |
| 55 | (BoundedOpen.IncomingMap.map f n V' F hF K L b) |
| 56 | |
| 57 | omit [HasFiniteProducts E] |
| 58 | [HasProducts.{w} (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B)))] in |
| 59 | private theorem incomingComponent (q : ℕ) (d : Eᵒᵖ) : |
| 60 | ((leftMap f n V V' hV F G r hG h K L b).f q).app d = |
| 61 | ((rightMap f n V' F G r hF h K L b).f q).app d := by |
| 62 | subst V' |
| 63 | subst G |
| 64 | change ((BoundedOpen.IncomingMap.map f n V |
| 65 | (BoundedOpen.IncomingMap.reindexedOpens F r) hG K L b).f q).app d ≫ 𝟙 _ = |
| 66 | 𝟙 _ ≫ ((BoundedOpen.IncomingMap.map f n V F hF K L b).f q).app (r.op.obj d) |
| 67 | rw [Category.comp_id, Category.id_comp] |
| 68 | exact BoundedOpen.IncomingMap.reindex_component f n V F hF K L b r q d |
| 69 | |
| 70 | omit [HasFiniteProducts E] |
| 71 | [HasProducts.{w} (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B)))] in |
| 72 | private theorem incomingDegree (q : ℕ) : |
| 73 | (leftMap f n V V' hV F G r hG h K L b).f q = |
| 74 | (rightMap f n V' F G r hF h K L b).f q := by |
| 75 | apply NatTrans.ext |
| 76 | funext d |
| 77 | exact incomingComponent f n V V' hV F G r hF hG h K L b q d |
| 78 | |
| 79 | private abbrev incomingSquare := |
| 80 | HomologicalComplex.hom_ext |
| 81 | (leftMap f n V V' hV F G r hG h K L b) |
| 82 | (rightMap f n V' F G r hF h K L b) |
| 83 | (incomingDegree f n V V' hV F G r hF hG h K L b) |
| 84 | |
| 85 | private abbrev preparedComparison := AugmentedCech.FromIncomingSquare.comparison |
| 86 | (B := ((S₁).mapHomologicalComplex (.up ℕ)).obj K) |
| 87 | (I := ((S₁).mapHomologicalComplex (.up ℕ)).obj L) |
| 88 | (B' := ((S₂).mapHomologicalComplex (.up ℕ)).obj K) |
| 89 | (I' := ((S₂).mapHomologicalComplex (.up ℕ)).obj L) |
| 90 | ((H).mapHomologicalComplex (.up ℕ)) (targetIso f n F G r h L) |
| 91 | (BoundedOpen.IncomingMap.map f n V G hG K L |
| 92 | (BoundedOpen.IncomingMap.transport f n V K L V' hV b)) |
| 93 | (BoundedOpen.IncomingMap.map f n V' F hF K L b) |
| 94 | (sourceMap f n F G r h K) |
| 95 | |
| 96 | abbrev comparison := preparedComparison f n V V' hV F G r hF hG h K L b |
| 97 | (incomingSquare f n V V' hV F G r hF hG h K L b) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.AugmentedIncoming.Comparison |