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.IncomingReindexSteps |
| 2 | |
| 3 | /-! # Incoming Reindex -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.IncomingReindex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compose the checked changes of ambient open, family, and index |
| 10 | for the actual incoming comparison. -/ |
| 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 | private structure ComparisonData (C : Type*) [Category C] where |
| 18 | A : C |
| 19 | B : C |
| 20 | D : C |
| 21 | E : C |
| 22 | a : A ⟶ B |
| 23 | a' : A ⟶ B |
| 24 | s : B ⟶ E |
| 25 | t : A ⟶ D |
| 26 | b : D ⟶ E |
| 27 | b' : D ⟶ E |
| 28 | ha : a = a' |
| 29 | hb : a' ≫ s = t ≫ b |
| 30 | hc : b = b' |
| 31 | |
| 32 | private theorem ComparisonData.comparison {C : Type*} [Category C] (d : ComparisonData C) : |
| 33 | d.a ≫ d.s = d.t ≫ d.b' := IncomingReindexSteps.compose_three d.ha d.hb d.hc |
| 34 | |
| 35 | universe u v w |
| 36 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 37 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 38 | (V V' : Y.Opens) (hV : V = V') |
| 39 | {D : Type v} [Preorder D] {E : Type w} [Preorder E] |
| 40 | (F : D →o Y.Opens) (G : E →o Y.Opens) (r : E ⥤ D) |
| 41 | (hF : ∀ d, F d ≤ V') (hG : ∀ e, G e ≤ V) |
| 42 | (h : G = IncomingMap.reindexedOpens F r) |
| 43 | (K L : CochainComplex |
| 44 | (BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n) ℕ) |
| 45 | (b : ((Subsite.restriction (p := p) (J := J) (δ := δ) f V'.ι n).mapHomologicalComplex (.up ℕ)).obj K ⟶ |
| 46 | ((Subsite.restriction (p := p) (J := J) (δ := δ) f V'.ι n).mapHomologicalComplex (.up ℕ)).obj L) |
| 47 | |
| 48 | local notation "s" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.IncomingMap.familyIso (p := p) (J := J) (δ := δ) |
| 49 | f n G (IncomingMap.reindexedOpens F r) h |
| 50 | |
| 51 | private def steps := |
| 52 | ComparisonData.mk |
| 53 | (C := CochainComplex (Eᵒᵖ ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 54 | _ _ _ _ _ _ _ _ _ _ |
| 55 | (IncomingReindexSteps.open_step f n V V' hV G hG K L b) |
| 56 | (IncomingReindexSteps.family_step f n V V' hV F G r hF hG h K L b) |
| 57 | (IncomingReindexSteps.reindex_step f n V' F r hF K L b) |
| 58 | |
| 59 | abbrev comparison := |
| 60 | (ComparisonData.comparison (steps f n V V' hV F G r hF hG h K L b)) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.IncomingReindex |