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.BoundedFrame.LocalReindex |
| 2 | |
| 3 | /-! # Local PD Square -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalPDSquare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The local PD comparison square assembled before specializing |
| 10 | its frame families and coefficient complexes to a smooth model. -/ |
| 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 theorem compose {C : Type*} [Category C] {K A F F' A' K' Q : C} |
| 18 | (a : K ⟶ A) (l : A ⟶ F) (b : F ⟶ F') (e : F' ⟶ Q) |
| 19 | (q : A ⟶ A') (t : A' ⟶ F') (k : K ⟶ K') (a' : K' ⟶ A') (l' : A' ⟶ Q) |
| 20 | (h₁ : l ≫ b = q ≫ t) (h₂ : t ≫ e = l') (h₃ : a ≫ q = k ≫ a') : |
| 21 | (a ≫ l) ≫ (b ≫ e) = k ≫ (a' ≫ l') := by |
| 22 | calc |
| 23 | (a ≫ l) ≫ (b ≫ e) = (a ≫ (l ≫ b)) ≫ e := by simp only [Category.assoc] |
| 24 | _ = (a ≫ (q ≫ t)) ≫ e := by rw [h₁] |
| 25 | _ = (a ≫ q) ≫ (t ≫ e) := by simp only [Category.assoc] |
| 26 | _ = (k ≫ a') ≫ l' := by rw [h₂, h₃] |
| 27 | _ = k ≫ (a' ≫ l') := Category.assoc _ _ _ |
| 28 | |
| 29 | universe u v w v' w' |
| 30 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 31 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) [IsSeparated f] (n : ℕ) |
| 32 | {C : Type v} [Category.{w} C] {D : Type v'} [Category.{w'} D] |
| 33 | (r : D ⥤ C) (O₁ : D ⥤ Y.Opensᵒᵖ) (O₂ : C ⥤ Y.Opensᵒᵖ) |
| 34 | (G₁ : D ⥤ (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 35 | (G₂ : C ⥤ (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 36 | (F₁ F₂ : (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 37 | (ρ₁ : (Functor.const D).obj F₁ ⟶ G₁) (ρ₂ : (Functor.const C).obj F₂ ⟶ G₂) |
| 38 | [IsIso (LocalMap.restriction f n O₁ G₁ F₁ ρ₁)] |
| 39 | [IsIso (LocalMap.restriction f n O₂ G₂ F₂ ρ₂)] |
| 40 | (eG : G₁ ≅ r ⋙ G₂) (eF : F₁ ≅ F₂) |
| 41 | (hρ : ∀ d, ρ₁.app d ≫ eG.hom.app d = eF.hom ≫ ρ₂.app (r.obj d)) |
| 42 | (hO : O₁ = r ⋙ O₂) |
| 43 | |
| 44 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor (p := p) (J := J) (δ := δ) f n |
| 45 | local notation "ρ'" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SectionReindex.cone f n r G₂ F₂ ρ₂ |
| 46 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalReindexSteps.restriction (B := B) r |
| 47 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 48 | |
| 49 | variable (K : CochainComplex (D ⥤ ModuleCat.{u+2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 50 | (K' : CochainComplex (C ⥤ ModuleCat.{u+2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 51 | (a : K ⟶ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FamilySections.Family.source f n G₁)) |
| 52 | (a' : K' ⟶ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FamilySections.Family.source f n G₂)) |
| 53 | (k : K ⟶ ((LocalReindexSteps.restriction (B := B) r).mapHomologicalComplex (.up ℕ)).obj K') |
| 54 | (ha : a ≫ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) |
| 55 | (Functor.whiskerRight eG.hom (GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source f n)) = |
| 56 | k ≫ ((LocalReindexSteps.restriction (B := B) r).mapHomologicalComplex (.up ℕ)).map a') |
| 57 | |
| 58 | abbrev comparison := by |
| 59 | let : IsIso (LocalMap.restriction f n O₁ (r ⋙ G₂) F₂ ρ') := |
| 60 | FamilyIsoSections.Family.fixed_isIso f n O₁ eG eF ρ₁ ρ' hρ |
| 61 | exact compose a |
| 62 | (LocalMap.map f n O₁ G₁ F₁ ρ₁) |
| 63 | (((FamilySections.Family.sections f n O₁).mapHomologicalComplex (.up ℕ)).map ((Q).map eF.hom)) |
| 64 | ((NatIso.mapHomologicalComplex |
| 65 | (LocalMap.sectionsIso f n O₁ (r ⋙ O₂) hO) (.up ℕ)).app ((Q).obj F₂)).hom |
| 66 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (Functor.whiskerRight eG.hom (GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source f n))) |
| 67 | (LocalMap.map f n O₁ (r ⋙ G₂) F₂ ρ') k |
| 68 | (((H).mapHomologicalComplex (.up ℕ)).map a') |
| 69 | (((H).mapHomologicalComplex (.up ℕ)).map (LocalMap.map f n O₂ G₂ F₂ ρ₂)) |
| 70 | (FamilyIsoSections.Family.naturality f n O₁ eG eF ρ₁ ρ' hρ) |
| 71 | (LocalReindex.coordinates f n r O₂ G₂ F₂ ρ₂ O₁ hO) |
| 72 | ha |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalPDSquare |