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.FamilyIsoSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SectionReindex |
| 3 | |
| 4 | /-! # Local Map -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual local bounded-frame comparison, including canonical |
| 11 | transport when two descriptions give the same family of geometric opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 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 : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) [IsSeparated f] (n : ℕ) |
| 21 | {C : Type v} [Category.{w} C] (O : C ⥤ Y.Opensᵒᵖ) |
| 22 | (G : C ⥤ (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 23 | (F : (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 24 | (ρ : (Functor.const C).obj F ⟶ G) |
| 25 | |
| 26 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor (p := p) (J := J) (δ := δ) f n |
| 27 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.sections f n O |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.diagram f n G |
| 29 | local notation "K" => Functor.obj Q F |
| 30 | local notation "η" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family.cone f n F ρ |
| 31 | |
| 32 | abbrev restriction := GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map S K P η |
| 33 | |
| 34 | def map [IsIso (restriction f n O G F ρ)] := |
| 35 | GeometricComparison.FixedFrameDiagonalNaturality.FixedFrameSectionNaturality.diagonal S (FamilySections.Family.source f n G) P |
| 36 | (FamilySections.Family.openTransformation f n O G) ≫ |
| 37 | inv (restriction f n O G F ρ) |
| 38 | |
| 39 | variable (O' : C ⥤ Y.Opensᵒᵖ) (h : O = O') |
| 40 | |
| 41 | def sectionsIso : FamilySections.Family.sections (p := p) (J := J) (δ := δ) f n O ≅ |
| 42 | FamilySections.Family.sections (p := p) (J := J) (δ := δ) f n O' := |
| 43 | eqToIso (congrArg (FamilySections.Family.sections (p := p) (J := J) (δ := δ) f n) h) |
| 44 | |
| 45 | include h in |
| 46 | theorem restriction_isIso [IsIso (restriction f n O G F ρ)] : |
| 47 | IsIso (restriction f n O' G F ρ) := by |
| 48 | subst O' |
| 49 | infer_instance |
| 50 | |
| 51 | theorem map_opens [IsIso (restriction f n O G F ρ)] [IsIso (restriction f n O' G F ρ)] : |
| 52 | map f n O G F ρ ≫ ((NatIso.mapHomologicalComplex (sectionsIso f n O O' h) (.up ℕ)).app K).hom = |
| 53 | map f n O' G F ρ := by |
| 54 | subst O' |
| 55 | change map f n O G F ρ ≫ 𝟙 _ = map f n O G F ρ |
| 56 | exact Category.comp_id _ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalMap |