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.GeometricComparison.FixedDiagramTransformation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InverseCoordinateHomology |
| 3 | |
| 4 | /-! # Fixed Diagram Inverse -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FixedDiagramInverse.FixedDiagramSectionIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Invertible local restrictions identify a section diagonal with |
| 11 | the fixed-frame section complex, naturally in both frames and diagrams. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u v w z a b |
| 19 | variable {C : Type u} [Category.{v} C] |
| 20 | {A : Type w} [Category.{z} A] [Preadditive A] |
| 21 | {B : Type a} [Category.{b} B] [Preadditive B] |
| 22 | (S : A ⥤ C ⥤ B) [S.Additive] |
| 23 | (K : CochainComplex A ℕ) (P : C ⥤ CochainComplex A ℕ) |
| 24 | (η : (Functor.const C).obj K ⟶ P) |
| 25 | |
| 26 | theorem isIso |
| 27 | (h : ∀ X, IsIso (((S ⋙ (evaluation C B).obj X).mapHomologicalComplex (.up ℕ)).map (η.app X))) : |
| 28 | IsIso (FixedDiagramTransformation.FixedDiagramSections.map S K P η) := by |
| 29 | let (X : C) : IsIso ((FixedDiagramTransformation.FixedDiagramSections.transformation S K P η).app X) := h X |
| 30 | let : IsIso (FixedDiagramTransformation.FixedDiagramSections.transformation S K P η) := NatIso.isIso_of_isIso_app _ |
| 31 | dsimp only [FixedDiagramTransformation.FixedDiagramSections.map] |
| 32 | change IsIso ((FixedDiagramTransformation.FixedDiagramSections.sourceIso S K).inv ≫ |
| 33 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (.up ℕ)).map (FixedDiagramTransformation.FixedDiagramSections.transformation S K P η)) |
| 34 | infer_instance |
| 35 | |
| 36 | variable {K P} {L : CochainComplex A ℕ} {Q : C ⥤ CochainComplex A ℕ} |
| 37 | (θ : (Functor.const C).obj L ⟶ Q) (a : K ⟶ L) (b : P ⟶ Q) |
| 38 | [IsIso (FixedDiagramTransformation.FixedDiagramSections.map S K P η)] [IsIso (FixedDiagramTransformation.FixedDiagramSections.map S L Q θ)] |
| 39 | |
| 40 | theorem inverse_naturality (h : η ≫ b = (Functor.const C).map a ≫ θ) : |
| 41 | inv (FixedDiagramTransformation.FixedDiagramSections.map S K P η) ≫ (S.mapHomologicalComplex (.up ℕ)).map a = |
| 42 | FixedDiagramTransformation.FixedDiagramSections.diagonalMap S b ≫ inv (FixedDiagramTransformation.FixedDiagramSections.map S L Q θ) := |
| 43 | (IntegralComparison.InverseCoordinateHomology.inverse |
| 44 | (asIso (FixedDiagramTransformation.FixedDiagramSections.map S K P η)) (asIso (FixedDiagramTransformation.FixedDiagramSections.map S L Q θ)) |
| 45 | ((S.mapHomologicalComplex (.up ℕ)).map a) (FixedDiagramTransformation.FixedDiagramSections.diagonalMap S b) |
| 46 | (FixedDiagramTransformation.FixedDiagramSections.naturality S η θ a b h).symm).symm |
| 47 | |
| 48 | theorem source_naturality |
| 49 | {M N : CochainComplex (C ⥤ B) ℕ} |
| 50 | (s : M ⟶ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FixedDiagramTransformation.FixedDiagramSections.target S P)) |
| 51 | (t : N ⟶ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FixedDiagramTransformation.FixedDiagramSections.target S Q)) |
| 52 | (m : M ⟶ N) (h : η ≫ b = (Functor.const C).map a ≫ θ) |
| 53 | (hs : s ≫ FixedDiagramTransformation.FixedDiagramSections.diagonalMap S b = m ≫ t) : |
| 54 | (s ≫ inv (FixedDiagramTransformation.FixedDiagramSections.map S K P η)) ≫ (S.mapHomologicalComplex (.up ℕ)).map a = |
| 55 | m ≫ (t ≫ inv (FixedDiagramTransformation.FixedDiagramSections.map S L Q θ)) := by |
| 56 | rw [Category.assoc, inverse_naturality S η θ a b h, ← Category.assoc, hs, Category.assoc] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FixedDiagramInverse.FixedDiagramSectionIso |