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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AcyclicResolutionCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ResolutionCycleMaps |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SpecifiedCyclesNaturality |
| 4 | |
| 5 | /-! # Sections Homology Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionsHomologyNaturality.IntrinsicCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Naturality of the description of positive section homology as a cycle cokernel. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | universe u |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {X : TopCat.{u}} |
| 18 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} X) ℕ} |
| 19 | |
| 20 | def sheafTopSectionsMap (ψ : K ⟶ L) : AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsComplex K ⟶ AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsComplex L := |
| 21 | ((AcyclicResolutionCohomology.IntrinsicCech.sheafTopEvaluation X).mapHomologicalComplex (.up ℕ)).map ψ |
| 22 | |
| 23 | def sectionsCycleCokernelMap (ψ : K ⟶ L) (n : ℕ) : |
| 24 | cokernel ((AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).toCycles.hom.app (op ⊤)) ⟶ |
| 25 | cokernel ((AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex L n).toCycles.hom.app (op ⊤)) := |
| 26 | cokernel.map _ _ ((ψ.f n).hom.app (op ⊤)) |
| 27 | ((ShortComplex.cyclesMap (ResolutionCycleMaps.IntrinsicCech.resolutionDifferentialShortComplexMap ψ n)).hom.app (op ⊤)) |
| 28 | (congrArg (fun k => k.hom.app (op ⊤)) |
| 29 | (ShortComplex.toCycles_naturality (ResolutionCycleMaps.IntrinsicCech.resolutionDifferentialShortComplexMap ψ n))) |
| 30 | |
| 31 | private theorem sectionHomologyIsoSc_naturality |
| 32 | {C D : CochainComplex AddCommGrpCat.{u} ℕ} (f : C ⟶ D) (n : ℕ) : |
| 33 | HomologicalComplex.homologyMap f (n + 1) ≫ |
| 34 | (D.homologyIsoSc' n (n + 1) (n + 2) (by simp) (by simp)).hom = |
| 35 | (C.homologyIsoSc' n (n + 1) (n + 2) (by simp) (by simp)).hom ≫ |
| 36 | ShortComplex.homologyMap |
| 37 | ((HomologicalComplex.shortComplexFunctor' AddCommGrpCat.{u} (.up ℕ) |
| 38 | n (n + 1) (n + 2)).map f) := by |
| 39 | exact (Functor.isoWhiskerRight |
| 40 | (HomologicalComplex.natIsoSc' AddCommGrpCat.{u} (.up ℕ) |
| 41 | n (n + 1) (n + 2) (by simp) (by simp)) |
| 42 | (ShortComplex.homologyFunctor AddCommGrpCat.{u})).hom.naturality f |
| 43 | |
| 44 | theorem sheafTopSectionsHomologyCokernelIso_naturality (ψ : K ⟶ L) (n : ℕ) : |
| 45 | HomologicalComplex.homologyMap (sheafTopSectionsMap ψ) (n + 1) ≫ |
| 46 | (AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsHomologyCokernelIso L n).hom = |
| 47 | (AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsHomologyCokernelIso K n).hom ≫ sectionsCycleCokernelMap ψ n := by |
| 48 | let S := AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n |
| 49 | let T := AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex L n |
| 50 | let E := AcyclicResolutionCohomology.IntrinsicCech.sheafTopEvaluation X |
| 51 | let φ := ResolutionCycleMaps.IntrinsicCech.resolutionDifferentialShortComplexMap ψ n |
| 52 | have wi : E.map S.iCycles ≫ (S.map E).g = 0 := by |
| 53 | erw [← E.map_comp, S.iCycles_g, E.map_zero] |
| 54 | have wj : E.map T.iCycles ≫ (T.map E).g = 0 := by |
| 55 | erw [← E.map_comp, T.iCycles_g, E.map_zero] |
| 56 | have hi : IsLimit (KernelFork.ofι (E.map S.iCycles) wi) := |
| 57 | KernelFork.mapIsLimit _ S.cyclesIsKernel E |
| 58 | have hj : IsLimit (KernelFork.ofι (E.map T.iCycles) wj) := |
| 59 | KernelFork.mapIsLimit _ T.cyclesIsKernel E |
| 60 | have ha : E.map S.toCycles ≫ E.map S.iCycles = (S.map E).f := by |
| 61 | rw [← E.map_comp, S.toCycles_i] |
| 62 | rfl |
| 63 | have hb : E.map T.toCycles ≫ E.map T.iCycles = (T.map E).f := by |
| 64 | rw [← E.map_comp, T.toCycles_i] |
| 65 | rfl |
| 66 | have hz : E.map (ShortComplex.cyclesMap φ) ≫ E.map T.iCycles = |
| 67 | E.map S.iCycles ≫ (E.mapShortComplex.map φ).τ₂ := by |
| 68 | change E.map (ShortComplex.cyclesMap φ) ≫ E.map T.iCycles = |
| 69 | E.map S.iCycles ≫ E.map φ.τ₂ |
| 70 | rw [← E.map_comp, ← E.map_comp, ShortComplex.cyclesMap_i] |
| 71 | have hab : E.map S.toCycles ≫ E.map (ShortComplex.cyclesMap φ) = |
| 72 | (E.mapShortComplex.map φ).τ₁ ≫ E.map T.toCycles := by |
| 73 | change E.map S.toCycles ≫ E.map (ShortComplex.cyclesMap φ) = |
| 74 | E.map φ.τ₁ ≫ E.map T.toCycles |
| 75 | rw [← E.map_comp, ← E.map_comp, ShortComplex.toCycles_naturality] |
| 76 | have hc := SpecifiedCyclesNaturality.homologySpecifiedCyclesIso_naturality (E.mapShortComplex.map φ) |
| 77 | (E.map S.iCycles) wi hi (E.map S.toCycles) ha |
| 78 | (E.map T.iCycles) wj hj (E.map T.toCycles) hb |
| 79 | (E.map (ShortComplex.cyclesMap φ)) hz hab |
| 80 | simp only [AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsHomologyCokernelIso, Iso.trans_hom] |
| 81 | rw [← Category.assoc, sectionHomologyIsoSc_naturality, Category.assoc] |
| 82 | convert congrArg (fun k => |
| 83 | ((AcyclicResolutionCohomology.IntrinsicCech.sheafTopSectionsComplex K).homologyIsoSc' n (n + 1) (n + 2) |
| 84 | (by simp) (by simp)).hom ≫ k) hc using 1 <;> simp only [Category.assoc] <;> congr 2 <;> first | rfl | (congr 2; first | rfl | exact Subsingleton.elim _ _) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SectionsHomologyNaturality.IntrinsicCech |