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.HodgeFiltrationD |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.TStructure |
| 3 | |
| 4 | /-! # Truncation Bounds GE -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.TruncationBoundsGE.TruncationBounds |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native degree truncation is exhaustive and vanishes below its cutoff. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration |
| 15 | |
| 16 | theorem rightComp_surjective {D : Type*} [Category* D] {X Y Z : D} |
| 17 | (g : Y ⟶ Z) [IsIso g] : Function.Surjective (fun f : X ⟶ Y => f ≫ g) := by |
| 18 | intro f |
| 19 | refine ⟨f ≫ inv g, ?_⟩ |
| 20 | change (f ≫ inv g) ≫ g = f |
| 21 | rw [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 22 | |
| 23 | variable {C : Type*} [Category* C] [Abelian C] |
| 24 | (K : CochainComplex C ℕ) |
| 25 | |
| 26 | theorem isIso_inclusion_of_nonpositive (r : ℤ) (hr : r ≤ 0) : |
| 27 | IsIso (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K r) := by |
| 28 | have : ∀ n, IsIso ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K r).f n) := by |
| 29 | intro n |
| 30 | change IsIso (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm K r n) |
| 31 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusionTerm, dite_eq_left (show r ≤ (n : ℤ) by omega)] |
| 32 | infer_instance |
| 33 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 34 | |
| 35 | theorem extended_isStrictlyGE (r : ℤ) : |
| 36 | CochainComplex.IsStrictlyGE |
| 37 | ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r).extend ComplexShape.embeddingUpNat) r := by |
| 38 | rw [CochainComplex.isStrictlyGE_iff] |
| 39 | intro i hi |
| 40 | by_cases h0 : 0 ≤ i |
| 41 | · obtain ⟨n, rfl⟩ := Int.eq_ofNat_of_zero_le h0 |
| 42 | have hz : IsZero ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r).X n) := by |
| 43 | change IsZero (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term K r n) |
| 44 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term, ite_eq_right (show ¬ r ≤ (n : ℤ) by omega)] |
| 45 | exact isZero_zero C |
| 46 | exact hz.of_iso ((AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r).extendXIso ComplexShape.embeddingUpNat rfl) |
| 47 | · exact (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r).isZero_extend_X ComplexShape.embeddingUpNat i (by |
| 48 | intro n |
| 49 | change (n : ℤ) ≠ i |
| 50 | omega) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.GeometricComparison.TruncationBoundsGE.TruncationBounds |