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.AlgebraicGeometry.Crystalline.Cohomology.DerivedVanishing |
| 2 | |
| 3 | /-! # Empty Frame -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.EmptyFrame.CrystallineEmptyFrame |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # A coordinate-free frame and the native structure sheaf |
| 11 | |
| 12 | For an empty coordinate type the coefficient inclusion is an isomorphism: |
| 13 | the already constructed successive projection for the empty list is the |
| 14 | identity. Degree-zero tensor forms identify with frame functions. After |
| 15 | the prescribed coefficient lift and sheafification this identifies the |
| 16 | actual degree-zero frame term with the original native structure sheaf. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] (k B σ : Type u) [Field k] [CharP k p] |
| 25 | [CommRing B] [Algebra k B] (a : σ → B) [Fintype σ] |
| 26 | |
| 27 | local notation "W" => WittVector p k |
| 28 | local notation "X" => OAI.AlgebraicGeometry.Crystalline.Cohomology.AffineFrameCover.CrystallineAffineFrameCover.affineScheme k B |
| 29 | local notation "C" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X |
| 30 | |
| 31 | def termZeroIso : (CrystallineFrame.Resolution.CrystallineFrameResolution.complex p k B σ a).X 0 ≅ |
| 32 | CrystallineFrame.Operators.CrystallineFrameOperators.functions p k B σ a := |
| 33 | NatIso.ofComponents |
| 34 | (fun Q => (TensorDegree.TensorDegreeZero.equiv W σ |
| 35 | ((CrystallineFrame.Operators.CrystallineFrameOperators.functions p k B σ a).obj Q)).toModuleIso) |
| 36 | (by |
| 37 | intro Q P f |
| 38 | apply ModuleCat.hom_ext |
| 39 | apply TensorProduct.ext |
| 40 | apply LinearMap.ext |
| 41 | intro m |
| 42 | apply LinearMap.ext |
| 43 | intro ω |
| 44 | change TensorDegree.TensorDegreeZero.equiv W σ ((CrystallineFrame.Operators.CrystallineFrameOperators.functions p k B σ a).obj P) |
| 45 | (((CrystallineFrame.Operators.CrystallineFrameOperators.functions p k B σ a).map f).hom m ⊗ₜ[W] ω) = |
| 46 | ((CrystallineFrame.Operators.CrystallineFrameOperators.functions p k B σ a).map f).hom |
| 47 | (TensorDegree.TensorDegreeZero.equiv W σ ((CrystallineFrame.Operators.CrystallineFrameOperators.functions p k B σ a).obj Q) (m ⊗ₜ[W] ω)) |
| 48 | exact (((CrystallineFrame.Operators.CrystallineFrameOperators.functions p k B σ a).map f).hom.map_smul |
| 49 | (exteriorPower.zeroEquiv W (σ →₀ W) ω) m).symm) |
| 50 | |
| 51 | variable [IsEmpty σ] |
| 52 | |
| 53 | omit [Fintype σ] in |
| 54 | theorem coefficient_isIso (Q : Site.Object p k (AffineFrameCover.CrystallineAffineFrameCover.affineScheme k B)) : |
| 55 | IsIso ((CrystallineFrame.Operators.CrystallineFrameOperators.coefficients p k B σ a).app (op Q)) := by |
| 56 | refine ⟨⟨ModuleCat.ofHom (CrystallineFrame.Operators.CrystallineFrameOperators.retraction p k B σ a (op Q)), ?_, ?_⟩⟩ |
| 57 | · apply ModuleCat.hom_ext |
| 58 | exact CrystallineFrame.Resolution.CrystallineFrameResolution.coefficient_split p k B σ a (op Q) |
| 59 | · apply ModuleCat.hom_ext |
| 60 | exact (CrystallineFrame.Resolution.CrystallineFrameResolution.finalProjection p k B σ a (op Q) [] |
| 61 | (fun i => isEmptyElim i)).symm |
| 62 | |
| 63 | def functionsIso : Site.functions p k X ≅ CrystallineFrame.Operators.CrystallineFrameOperators.functions p k B σ a := by |
| 64 | have : ∀ Q, IsIso ((CrystallineFrame.Operators.CrystallineFrameOperators.coefficients p k B σ a).app Q) := |
| 65 | fun Q => coefficient_isIso p k B σ a Q.unop |
| 66 | have : IsIso (CrystallineFrame.Operators.CrystallineFrameOperators.coefficients p k B σ a) := NatIso.isIso_of_isIso_app _ |
| 67 | exact asIso (CrystallineFrame.Operators.CrystallineFrameOperators.coefficients p k B σ a) |
| 68 | |
| 69 | def sheafZeroIso : (CrystallineFrame.SheafResolution.CrystallineFrameSheafResolution.complex p k B σ a).X 0 ≅ |
| 70 | Site.structureSheaf p k X := |
| 71 | (PolynomialSheafResolution.CrystallinePolynomialSheafResolution.toSheaf p k X).mapIso |
| 72 | (termZeroIso p k B σ a ≪≫ (functionsIso p k B σ a).symm) ≪≫ |
| 73 | PolynomialSheafResolution.CrystallinePolynomialSheafResolution.coefficientIso p k X |
| 74 | |
| 75 | omit [Fintype σ] [IsEmpty σ] in |
| 76 | theorem structure_acyclic : CrystallineCech.CechAcyclic.CrystallineCechAcyclic.Acyclic p k X (Site.structureSheaf p k X) := by |
| 77 | let emptyCoordinates : PEmpty.{u + 1} → B := PEmpty.elim |
| 78 | exact CrystallineCech.CechAcyclic.CrystallineCechAcyclic.of_iso p k X |
| 79 | (CrystallineCech.CechAcyclic.CrystallineCechAcyclic.frame p k B PEmpty.{u + 1} emptyCoordinates 0) |
| 80 | (sheafZeroIso p k B PEmpty.{u + 1} emptyCoordinates) |
| 81 | |
| 82 | omit [Fintype σ] [IsEmpty σ] in |
| 83 | theorem structure_derived_isZero |
| 84 | (Q : Site.Object p k (AffineFrameCover.CrystallineAffineFrameCover.affineScheme k B)) |
| 85 | (n : ℕ) (hn : n ≠ 0) : |
| 86 | IsZero (DerivedEvaluation.CrystallineDerivedEvaluation.cohomology p k X (Site.structureSheaf p k X) Q n) := |
| 87 | DerivedVanishing.CrystallineDerivedVanishing.isZero p k X _ (structure_acyclic p k B) Q n hn |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.EmptyFrame.CrystallineEmptyFrame |