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.FirstThree.Quotient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExtendShort |
| 3 | import Mathlib.Algebra.Homology.DerivedCategory.ShortExact |
| 4 | |
| 5 | /-! # One Equivalence -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.OneEquivalence.FirstThreeComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Retaining the first three terms preserves the actual degree-one derived sections. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Pretriangulated |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasDerivedCategory.{w} C] |
| 18 | (K : CochainComplex C ℕ) (A : C) |
| 19 | |
| 20 | theorem hone_bijective : |
| 21 | Function.Bijective |
| 22 | (fun x : (DerivedCategory.singleFunctor C 0).obj A ⟶ |
| 23 | (DerivedCategory.Q.obj (K.extend ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧ => |
| 24 | x ≫ (DerivedCategory.Q.map |
| 25 | (HomologicalComplex.extendMap (ThreeComplex.FirstThreeComplex.projection K) ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧') := by |
| 26 | let S := (Quotient.FirstThreeComplex.quotientSequence K).map (ComplexShape.embeddingUpNat.extendFunctor C) |
| 27 | have hS : S.ShortExact := ExtendShort.ExtendShortExact.shortExact _ _ (Quotient.FirstThreeComplex.quotient_shortExact K) |
| 28 | let T := (shiftFunctor (Triangle (DerivedCategory C)) (1 : ℤ)).obj |
| 29 | (DerivedCategory.triangleOfSES hS) |
| 30 | have hT : T ∈ distTriang (DerivedCategory C) := |
| 31 | Triangle.shift_distinguished _ (DerivedCategory.triangleOfSES_distinguished hS) 1 |
| 32 | let L : CochainComplex C ℤ := |
| 33 | (AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.brutal K 3).extend ComplexShape.embeddingUpNat |
| 34 | let : L.IsStrictlyGE 3 := TruncationBoundsGE.TruncationBounds.extended_isStrictlyGE K 3 |
| 35 | let : (DerivedCategory.Q.obj L).IsGE 3 := inferInstance |
| 36 | let : ((DerivedCategory.Q.obj L)⟦(1 : ℤ)⟧).IsGE 2 := |
| 37 | DerivedCategory.TStructure.t.isGE_shift _ 3 1 2 (by omega) |
| 38 | let : DerivedCategory.TStructure.t.IsGE T.obj₁ 2 := by |
| 39 | change ((DerivedCategory.Q.obj L)⟦(1 : ℤ)⟧).IsGE 2 |
| 40 | infer_instance |
| 41 | let : DerivedCategory.TStructure.t.IsGE (T.obj₁⟦(1 : ℤ)⟧) 1 := |
| 42 | DerivedCategory.TStructure.t.isGE_shift _ 2 1 1 (by omega) |
| 43 | constructor |
| 44 | · intro x y hxy |
| 45 | dsimp only at hxy |
| 46 | have hz : (x - y) ≫ T.mor₂ = 0 := by |
| 47 | change (x - y) ≫ ((1 : ℤ).negOnePow • (DerivedCategory.Q.map |
| 48 | (HomologicalComplex.extendMap (ThreeComplex.FirstThreeComplex.projection K) ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧') = 0 |
| 49 | rw [Int.negOnePow_one, Units.neg_smul, one_smul] |
| 50 | rw [Preadditive.comp_neg, Preadditive.sub_comp, hxy, sub_self, neg_zero] |
| 51 | obtain ⟨z, hz⟩ := T.coyoneda_exact₂ hT (x - y) hz |
| 52 | have hzero : z = 0 := DerivedCategory.TStructure.t.zero z 0 2 (by omega) |
| 53 | apply sub_eq_zero.mp |
| 54 | rw [hz, hzero, zero_comp] |
| 55 | rfl |
| 56 | · intro y |
| 57 | have hy : y ≫ T.mor₃ = 0 := DerivedCategory.TStructure.t.zero _ 0 1 (by omega) |
| 58 | obtain ⟨x, hx⟩ := T.coyoneda_exact₃ hT y hy |
| 59 | let x' : (DerivedCategory.singleFunctor C 0).obj A ⟶ |
| 60 | (DerivedCategory.Q.obj (K.extend ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧ := x |
| 61 | refine ⟨-x', ?_⟩ |
| 62 | change y = x' ≫ ((1 : ℤ).negOnePow • (DerivedCategory.Q.map |
| 63 | (HomologicalComplex.extendMap (ThreeComplex.FirstThreeComplex.projection K) ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧') at hx |
| 64 | rw [Int.negOnePow_one, Units.neg_smul, one_smul] at hx |
| 65 | rw [Preadditive.comp_neg] at hx |
| 66 | dsimp only |
| 67 | rw [Preadditive.neg_comp] |
| 68 | exact hx.symm |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FirstThree.OneEquivalence.FirstThreeComplex |