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.Cohomology.ExtensionCompactCover |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ProEtaleIs |
| 3 | |
| 4 | /-! # Epi Compact -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.EpiCompact.EpiCompactLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Local lifts of a morphism from the integer constant sheaf on a single affine cover. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | variable {X : Scheme.{u}} [CompactSpace X] |
| 16 | {F G : Sheaf (Scheme.ProEt.topology X) Ab.{u + 1}} |
| 17 | |
| 18 | theorem exists_lift (f : F ⟶ G) [Epi f] (a : AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X ⟶ G) : |
| 19 | ∃ (U : X.ProEt) (g : U ⟶ ⊤_ X.ProEt), IsAffine U.left ∧ Surjective g.left ∧ |
| 20 | ∃ s : F.obj.obj (op U), |
| 21 | f.hom.app (op U) s = a.hom.app (op U) (AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.App.Construction.proEtIntegerLocalGenerator X U) := by |
| 22 | let S := ShortComplex.mk (kernel.ι f) f (kernel.condition f) |
| 23 | have hS : S.ShortExact := ShortComplex.ShortExact.mk' |
| 24 | (ShortComplex.exact_of_f_is_kernel _ (kernelIsKernel f)) |
| 25 | (inferInstanceAs (Mono (kernel.ι f))) inferInstance |
| 26 | let T := AlgebraicGeometry.FormalGeometry.Completion.ExtExtensions.Construction.pullbackExtensionComplex S a |
| 27 | let E : Cohomology.ExtensionOf.CohomologyExtension.Extension X (kernel f) := |
| 28 | ⟨T.X₂, T.f, T.g, T.zero, AlgebraicGeometry.FormalGeometry.Completion.ExtExtensions.Construction.pullbackExtensionComplex_shortExact hS a⟩ |
| 29 | obtain ⟨U, g, hU, hg, ⟨s⟩⟩ := E.exists_compact_cover_lift (⊤_ X.ProEt) |
| 30 | refine ⟨U, g, hU, hg, (pullback.fst f a).hom.app (op U) s.val, ?_⟩ |
| 31 | have h := congrArg (fun k : pullback f a ⟶ G => k.hom.app (op U) s.val) |
| 32 | (pullback.condition (f := f) (g := a)) |
| 33 | change f.hom.app (op U) ((pullback.fst f a).hom.app (op U) s.val) = |
| 34 | a.hom.app (op U) (E.projection.hom.app (op U) s.val) at h |
| 35 | rw [s.property] at h |
| 36 | exact h |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.GeometricComparison.EpiCompact.EpiCompactLift |