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.TruncatedFunctorIso |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.OneTransport |
| 3 | |
| 4 | /-! # Complex Map -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ComplexMap.HodgeComplexMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Functoriality of the original Hodge truncation and its preservation of low-degree derived equivalences. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits ZeroObject |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 19 | {K L : CochainComplex C ℕ} |
| 20 | |
| 21 | def map (f : K ⟶ L) (r : ℤ) : AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K r ⟶ AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal L r := |
| 22 | TruncatedFunctorIso.TruncatedPullback.map (𝟭 C) f r |
| 23 | |
| 24 | theorem inclusion (f : K ⟶ L) (r : ℤ) : |
| 25 | map f r ≫ AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion L r = |
| 26 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.inclusion K r ≫ f := |
| 27 | TruncatedFunctorIso.TruncatedPullback.inclusion_square (𝟭 C) f r |
| 28 | |
| 29 | theorem component_isIso (f : K ⟶ L) (r : ℤ) (n : ℕ) [IsIso (f.f n)] : IsIso ((map f r).f n) := by |
| 30 | by_cases h : r ≤ (n : ℤ) |
| 31 | · let e : AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term K r n ≅ AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term L r n := |
| 32 | eqToIso (show AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term K r n = K.X n from ite_eq_left h) ≪≫ asIso (f.f n) ≪≫ |
| 33 | eqToIso (show L.X n = AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term L r n from (ite_eq_left h).symm) |
| 34 | change IsIso (TruncatedFunctorIso.TruncatedPullback.component (𝟭 C) f r n) |
| 35 | dsimp only [TruncatedFunctorIso.TruncatedPullback.component] |
| 36 | rw [dite_eq_left h] |
| 37 | exact e.isIso_hom |
| 38 | · have hK : IsZero (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term K r n) := by |
| 39 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term, ite_eq_right h] |
| 40 | exact isZero_zero C |
| 41 | have hL : IsZero (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term L r n) := by |
| 42 | rw [AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.term, ite_eq_right h] |
| 43 | exact isZero_zero C |
| 44 | exact hK.isIso hL _ |
| 45 | |
| 46 | variable [HasDerivedCategory.{w} C] |
| 47 | |
| 48 | theorem hone_bijective (A : C) (f : K ⟶ L) |
| 49 | (h : ∀ n : ℕ, n ≤ 2 → IsIso (f.f n)) (r : ℤ) : |
| 50 | Function.Bijective (FirstThree.OneTransport.FirstThreeHOneTransport.map A (map f r)) := by |
| 51 | apply FirstThree.OneTransport.FirstThreeHOneTransport.bijective |
| 52 | intro n hn |
| 53 | let : IsIso (f.f n) := h n hn |
| 54 | exact component_isIso f r n |
| 55 | |
| 56 | theorem projection_hone_bijective (A : C) (K : CochainComplex C ℕ) (r : ℤ) : |
| 57 | Function.Bijective (FirstThree.OneTransport.FirstThreeHOneTransport.map A (map (FirstThree.ThreeComplex.FirstThreeComplex.projection K) r)) := by |
| 58 | apply hone_bijective |
| 59 | intro n hn |
| 60 | rcases n with _ | (_ | (_ | n)) |
| 61 | · exact inferInstanceAs (IsIso (𝟙 (K.X 0))) |
| 62 | · exact inferInstanceAs (IsIso (𝟙 (K.X 1))) |
| 63 | · exact inferInstanceAs (IsIso (𝟙 (K.X 2))) |
| 64 | · omega |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ComplexMap.HodgeComplexMap |