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.First.TwoQuotient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExtendShort |
| 3 | import Mathlib.Algebra.Homology.DerivedCategory.ShortExact |
| 4 | |
| 5 | /-! # Two One Injection -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.First.TwoOneInjection.FirstTwoComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native projection retaining degrees zero and one is injective on 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_injective : |
| 21 | Function.Injective |
| 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 (TwoComplex.FirstTwoComplex.projection K) ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧') := by |
| 26 | let S := (TwoQuotient.FirstTwoComplex.quotientSequence K).map (ComplexShape.embeddingUpNat.extendFunctor C) |
| 27 | have hS : S.ShortExact := ExtendShort.ExtendShortExact.shortExact _ _ (TwoQuotient.FirstTwoComplex.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 2).extend ComplexShape.embeddingUpNat |
| 34 | let : L.IsStrictlyGE 2 := TruncationBoundsGE.TruncationBounds.extended_isStrictlyGE K 2 |
| 35 | let : (DerivedCategory.Q.obj L).IsGE 2 := inferInstance |
| 36 | let : ((DerivedCategory.Q.obj L)⟦(1 : ℤ)⟧).IsGE 1 := |
| 37 | DerivedCategory.TStructure.t.isGE_shift _ 2 1 1 (by omega) |
| 38 | let : DerivedCategory.TStructure.t.IsGE T.obj₁ 1 := by |
| 39 | change ((DerivedCategory.Q.obj L)⟦(1 : ℤ)⟧).IsGE 1 |
| 40 | infer_instance |
| 41 | intro x y hxy |
| 42 | dsimp only at hxy |
| 43 | have hz : (x - y) ≫ T.mor₂ = 0 := by |
| 44 | change (x - y) ≫ ((1 : ℤ).negOnePow • (DerivedCategory.Q.map |
| 45 | (HomologicalComplex.extendMap (TwoComplex.FirstTwoComplex.projection K) ComplexShape.embeddingUpNat))⟦(1 : ℤ)⟧') = 0 |
| 46 | rw [Int.negOnePow_one, Units.neg_smul, one_smul] |
| 47 | rw [Preadditive.comp_neg, Preadditive.sub_comp, hxy, sub_self, neg_zero] |
| 48 | obtain ⟨z, hz⟩ := T.coyoneda_exact₂ hT (x - y) hz |
| 49 | have hzero : z = 0 := DerivedCategory.TStructure.t.zero z 0 1 (by omega) |
| 50 | apply sub_eq_zero.mp |
| 51 | rw [hz, hzero, zero_comp] |
| 52 | rfl |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.GeometricComparison.First.TwoOneInjection.FirstTwoComplex |