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.ConnectiveDerivedEquiv |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SingleMap |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf |
| 4 | |
| 5 | /-! # Connective Section Cycle -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ConnectiveSectionCycle.ConnectiveSectionKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Degree-zero derived global sections of a connective complex are the actual kernel on global sections. No higher-cohomology vanishing is assumed. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Opposite |
| 14 | |
| 15 | variable (R : Type) [CommRing R] (X : TopCat.{0}) |
| 16 | |
| 17 | local notation "V" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.Sheaves R X |
| 18 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantSheaf.ConstantSheafSections.coefficient R X |
| 19 | |
| 20 | local instance : HasDerivedCategory.{1} V := HasDerivedCategory.standard _ |
| 21 | |
| 22 | def sectionKernel (K : CochainComplex V ℤ) : |
| 23 | Submodule R ((K.X 0).obj.obj (op ⊤)) := ((K.d 0 1).hom.app (op ⊤)).hom.ker |
| 24 | |
| 25 | def cycleEquiv (K : CochainComplex V ℤ) : |
| 26 | SingleMap.SingleMapCycles.cycles R A K 0 ≃ₗ[R] sectionKernel R X K where |
| 27 | toFun f := ⟨ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 0) f.val, by |
| 28 | have h := ConstantSheaf.ConstantSheafSections.naturality R X f.val (K.d 0 1) |
| 29 | change (K.d 0 1).hom.app (op ⊤) (ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 0) f.val) = 0 |
| 30 | rw [← h] |
| 31 | have hf : f.val ≫ K.d 0 1 = 0 := f.property |
| 32 | rw [hf, map_zero]⟩ |
| 33 | invFun s := ⟨(ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 0)).symm s.val, by |
| 34 | change (ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 0)).symm s.val ≫ K.d 0 1 = 0 |
| 35 | apply (ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 1)).injective |
| 36 | rw [ConstantSheaf.ConstantSheafSections.naturality, LinearEquiv.apply_symm_apply, map_zero] |
| 37 | exact s.property⟩ |
| 38 | left_inv f := Subtype.ext ((ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 0)).symm_apply_apply f.val) |
| 39 | right_inv s := Subtype.ext ((ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 0)).apply_symm_apply s.val) |
| 40 | map_add' f g := Subtype.ext ((ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 0)).map_add f.val g.val) |
| 41 | map_smul' r f := Subtype.ext ((ConstantSheaf.ConstantSheafSections.linearEquiv R X (K.X 0)).map_smul r f.val) |
| 42 | |
| 43 | def equiv (K : CochainComplex V ℤ) [K.IsStrictlyGE 0] : |
| 44 | ((DerivedCategory.singleFunctor V 0).obj A ⟶ DerivedCategory.Q.obj K) ≃ₗ[R] |
| 45 | sectionKernel R X K := |
| 46 | (ConnectiveDerivedEquiv.ConnectiveDerivedEquivalence.equiv R (X := (CochainComplex.singleFunctor V 0).obj A) |
| 47 | (Y := K) 0).symm.trans ((SingleMap.SingleMapCycles.equiv R A K 0).trans (cycleEquiv R X K)) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ConnectiveSectionCycle.ConnectiveSectionKernel |