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.AlgebraicTopology.Kunneth.ProductModelsAs |
| 2 | |
| 3 | /-! # Models -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Singular.Models |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # ChernClass: natural chain homotopies from genuine singular-simplex models |
| 11 | |
| 12 | The singular-chain functor is free on each actual standard simplex. |
| 13 | Contractibility of these models gives uniqueness up to natural chain |
| 14 | homotopy for endomorphisms agreeing on vertices. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicTopology |
| 18 | open scoped Simplicial |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable (k : Type) [Field k] |
| 24 | |
| 25 | def chainsAsNaturalComplex (F : TopCat.{0} ⥤ ChainComplex (ModuleCat.{0} k) ℕ) : |
| 26 | ChainComplex (TopCat.{0} ⥤ ModuleCat.{0} k) ℕ where |
| 27 | X n := F ⋙ HomologicalComplex.eval _ _ n |
| 28 | d i j := { app X := (F.obj X).d i j |
| 29 | naturality _ _ f := (F.map f).comm i j } |
| 30 | shape i j hij := by |
| 31 | apply NatTrans.ext |
| 32 | funext X |
| 33 | exact (F.obj X).shape i j hij |
| 34 | d_comp_d' i j l _ _ := by |
| 35 | apply NatTrans.ext |
| 36 | funext X |
| 37 | exact (F.obj X).d_comp_d i j l |
| 38 | |
| 39 | abbrev singularNaturalChains := chainsAsNaturalComplex k (AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.scalarChains k) |
| 40 | |
| 41 | def singularModelFreeIso (n : ℕ) (X : TopCat.{0}) : |
| 42 | (AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.FreeModel (k := k) (SimplexCategory.toTop.obj ⦋n⦌)).obj X ≅ |
| 43 | ((AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.scalarChains k).obj X).X n where |
| 44 | hom := Sigma.desc (fun f : SimplexCategory.toTop.obj ⦋n⦌ ⟶ X => |
| 45 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of k k) (ULift.up f)) |
| 46 | inv := Sigma.desc (fun s : (TopCat.toSSet.obj X) _⦋n⦌ => |
| 47 | Sigma.ι (fun _ : SimplexCategory.toTop.obj ⦋n⦌ ⟶ X => ModuleCat.of k k) s.down) |
| 48 | hom_inv_id := by |
| 49 | apply Sigma.hom_ext |
| 50 | intro f |
| 51 | simp only [Sigma.ι_comp_desc_assoc, SSet.ιChainComplex, Sigma.ι_comp_desc] |
| 52 | exact (Category.comp_id _).symm |
| 53 | inv_hom_id := by |
| 54 | apply SSet.chainComplex_hom_ext |
| 55 | intro s |
| 56 | simp only [SSet.ιChainComplex, Sigma.ι_comp_desc_assoc, Sigma.ι_comp_desc] |
| 57 | exact (Category.comp_id _).symm |
| 58 | |
| 59 | def singularModelFreeNatIso (n : ℕ) : |
| 60 | AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.FreeModel (k := k) (SimplexCategory.toTop.obj ⦋n⦌) ≅ |
| 61 | (singularNaturalChains k).X n := |
| 62 | NatIso.ofComponents (singularModelFreeIso k n) (by |
| 63 | intro X Y f |
| 64 | apply Sigma.hom_ext |
| 65 | intro s |
| 66 | dsimp only [AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.FreeModel, evaluationLeftAdjoint, singularModelFreeIso] |
| 67 | erw [Sigma.ι_comp_desc_assoc, Sigma.ι_comp_desc, Sigma.ι_comp_desc_assoc] |
| 68 | change (TopCat.toSSet.obj Y).ιChainComplex (R := ModuleCat.of k k) (ULift.up (s ≫ f)) = |
| 69 | (TopCat.toSSet.obj X).ιChainComplex (R := ModuleCat.of k k) (ULift.up s) ≫ |
| 70 | (SSet.chainComplexMap (TopCat.toSSet.map f) (ModuleCat.of k k)).f n |
| 71 | erw [SSet.ι_chainComplexMap_f] |
| 72 | rfl) |
| 73 | |
| 74 | def singularModels (n : ℕ) : AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.Presentation ((singularNaturalChains k).X n) := |
| 75 | AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.Presentation.ofSingle (SimplexCategory.toTop.obj ⦋n⦌) |
| 76 | (singularModelFreeNatIso k n) |
| 77 | |
| 78 | theorem singularModel_positive_exact (m n : ℕ) : |
| 79 | (((singularNaturalChains k).sc' (n + 2) (n + 1) n).map |
| 80 | ((evaluation TopCat.{0} (ModuleCat.{0} k)).obj |
| 81 | (SimplexCategory.toTop.obj ⦋m⦌))).Exact := by |
| 82 | let X := SimplexCategory.toTop.{0}.obj ⦋m⦌ |
| 83 | let : ContractibleSpace X := CycleClass.Geometric.SimplexFillings.Cycles.toTopSimplex_contractible m |
| 84 | let C := (AlgebraicTopology.Kunneth.ProductModelsAs.Construction.ProductModels.scalarChains k).obj X |
| 85 | let : Subsingleton (C.homology (n + 1)) := ModuleCat.subsingleton_of_isZero |
| 86 | (CycleClass.Geometric.ContractibleModel.Cycles.isZero_singularHomology_of_contractible (ModuleCat.of k k) X |
| 87 | (n + 1) (Nat.succ_ne_zero n)) |
| 88 | apply (ShortComplex.moduleCat_exact_iff _).mpr |
| 89 | change ∀ c : C.X (n + 1), (C.d (n + 1) n) c = 0 → |
| 90 | ∃ b : C.X (n + 2), (C.d (n + 2) (n + 1)) b = c |
| 91 | intro c hc |
| 92 | exact (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_eq_zero_iff_exists C (n + 1) |
| 93 | ⟨c, (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.mem_chainCycles_iff_succ C n c).mpr hc⟩).mp (Subsingleton.elim _ _) |
| 94 | |
| 95 | def singularNaturalHomotopy (f g : singularNaturalChains k ⟶ singularNaturalChains k) |
| 96 | (h0 : f.f 0 = g.f 0) : Homotopy f g := |
| 97 | AlgebraicTopology.Kunneth.AcyclicModelsF.Construction.AcyclicModels.homotopy (singularNaturalChains k) (singularNaturalChains k) |
| 98 | (singularModels k) (fun n _ q => singularModel_positive_exact k n q) f g h0 |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Singular.Models |