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.IntrinsicPadic.CommonHomologyMaps |
| 2 | |
| 3 | /-! # Reference Homology Isomorphisms -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReferenceHomologyIsomorphisms.IntrinsicPadicGeometricReferenceHomologyIsomorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Cohomology maps with the original typed complexes fixed before |
| 10 | composing the native refinement square. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | variable (p : ℕ) [Fact p.Prime] |
| 14 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 15 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 16 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 17 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 18 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 19 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 20 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 21 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 22 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 23 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 24 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 25 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 26 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 27 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 28 | |
| 29 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 30 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 31 | |
| 32 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasLimitsOfSize.{0, 0, 2, 1} |
| 33 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasColimitsOfSize.{2, 1, 0, 0} R |
| 34 | |
| 35 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 36 | theorem source : IsIso (CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.source_original p f₁ n I₁) := by |
| 37 | let : QuasiIso (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceOriginalEdge p f₁ n I₁) := |
| 38 | TypedReferenceGlobalEdge.IntrinsicPadicTypedReferenceGlobalEdge.quasiIso p X₁ Y₁ f₁ n I₁ |
| 39 | exact inferInstanceAs (IsIso (HomologicalComplex.homologyMap |
| 40 | (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.sourceOriginalEdge p f₁ n I₁) 1)) |
| 41 | |
| 42 | omit [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] in |
| 43 | theorem target : IsIso (CommonHomologyMaps.IntrinsicPadicGeometricConeHomologyMaps.target_original p f₂ n I₂) := by |
| 44 | let : QuasiIso (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetOriginalEdge p f₂ n I₂) := |
| 45 | TypedReferenceGlobalEdge.IntrinsicPadicTypedReferenceGlobalEdge.quasiIso p X₂ Y₂ f₂ n I₂ |
| 46 | exact inferInstanceAs (IsIso (HomologicalComplex.homologyMap |
| 47 | (GeometricCone.IntrinsicPadicGeometricConeTotalMaps.targetOriginalEdge p f₂ n I₂) 1)) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReferenceHomologyIsomorphisms.IntrinsicPadicGeometricReferenceHomologyIsomorphisms |