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.BoundedOpen.IncomingMap |
| 2 | |
| 3 | /-! # Incoming Reindex Steps -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.IncomingReindexSteps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Simultaneous transport of an actual incoming comparison along |
| 10 | equal ambient opens and a reindexed family of principal opens. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | theorem compose_three {C : Type*} [Category C] {A B D E : C} |
| 18 | {a a' : A ⟶ B} {s : B ⟶ E} {t : A ⟶ D} {b b' : D ⟶ E} |
| 19 | (ha : a = a') (hb : a' ≫ s = t ≫ b) (hc : b = b') : a ≫ s = t ≫ b' := |
| 20 | (congrArg (fun z => z ≫ s) ha).trans |
| 21 | (hb.trans (congrArg (fun z => t ≫ z) hc)) |
| 22 | |
| 23 | universe u v w |
| 24 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 25 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 26 | (V V' : Y.Opens) (hV : V = V') |
| 27 | {D : Type v} [Preorder D] {E : Type w} [Preorder E] |
| 28 | (F : D →o Y.Opens) (G : E →o Y.Opens) (r : E ⥤ D) |
| 29 | (hF : ∀ d, F d ≤ V') (hG : ∀ e, G e ≤ V) |
| 30 | (h : G = IncomingMap.reindexedOpens F r) |
| 31 | (K L : CochainComplex |
| 32 | (BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n) ℕ) |
| 33 | (b : ((Subsite.restriction (p := p) (J := J) (δ := δ) f V'.ι n).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 34 | ((Subsite.restriction (p := p) (J := J) (δ := δ) f V'.ι n).mapHomologicalComplex (.up ℕ)).obj L) |
| 35 | |
| 36 | abbrev restriction : |
| 37 | (Dᵒᵖ ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ⥤ |
| 38 | (Eᵒᵖ ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 39 | (Functor.whiskeringLeft _ _ _).obj r.op |
| 40 | |
| 41 | local notation "s" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.IncomingMap.familyIso (p := p) (J := J) (δ := δ) |
| 42 | f n G (IncomingMap.reindexedOpens F r) h |
| 43 | |
| 44 | theorem open_step : |
| 45 | IncomingMap.map f n V G hG K L |
| 46 | (IncomingMap.transport f n V K L V' hV b) = |
| 47 | IncomingMap.map f n V' G (fun d => (hG d).trans hV.le) K L b := |
| 48 | IncomingMap.open_eq f n V G hG K L V' hV |
| 49 | (fun d => (hG d).trans hV.le) b |
| 50 | |
| 51 | theorem family_step : |
| 52 | IncomingMap.map f n V' G (fun d => (hG d).trans hV.le) K L b ≫ |
| 53 | ((NatIso.mapHomologicalComplex s (.up ℕ)).app L).hom = |
| 54 | ((NatIso.mapHomologicalComplex s (.up ℕ)).app K).hom ≫ |
| 55 | IncomingMap.map f n V' |
| 56 | (IncomingMap.reindexedOpens F r) (fun d => hF (r.obj d)) K L b := |
| 57 | IncomingMap.family_eq f n V' G (fun d => (hG d).trans hV.le) |
| 58 | K L b (IncomingMap.reindexedOpens F r) h (fun d => hF (r.obj d)) |
| 59 | |
| 60 | theorem reindex_step : |
| 61 | IncomingMap.map f n V' |
| 62 | (IncomingMap.reindexedOpens F r) (fun d => hF (r.obj d)) K L b = |
| 63 | ((restriction (B := B) r).mapHomologicalComplex (.up ℕ)).map |
| 64 | (IncomingMap.map f n V' F hF K L b) := |
| 65 | IncomingMap.reindex f n V' F hF K L b r |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.IncomingReindexSteps |