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.ExtensionOf |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ExtPushout |
| 3 | |
| 4 | /-! # Extension Map -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient maps on actual degree-one extensions and their local sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction |
| 15 | |
| 16 | universe u |
| 17 | variable {X : Scheme.{u}} {F G : Sheaf (Scheme.ProEt.topology X) Ab.{u + 1}} |
| 18 | (E : ExtensionOf.CohomologyExtension.Extension X F) (f : F ⟶ G) |
| 19 | |
| 20 | def ExtensionOf.CohomologyExtension.Extension.map : ExtensionOf.CohomologyExtension.Extension X G where |
| 21 | middle := (AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction.pushoutExtensionComplex E.complex f).X₂ |
| 22 | inclusion := (AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction.pushoutExtensionComplex E.complex f).f |
| 23 | projection := (AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction.pushoutExtensionComplex E.complex f).g |
| 24 | zero := (AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction.pushoutExtensionComplex E.complex f).zero |
| 25 | shortExact := AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction.pushoutExtensionComplex_shortExact E.shortExact f |
| 26 | |
| 27 | theorem ExtensionOf.CohomologyExtension.Extension.map_extClass : (E.map f).extClass = Sheaf.H.map f 1 E.extClass := |
| 28 | AlgebraicGeometry.FormalGeometry.Completion.ExtPushout.Construction.pushoutExtensionComplex_extClass E.shortExact f |
| 29 | |
| 30 | def ExtensionOf.CohomologyExtension.Extension.mapFiber (U : X.ProEt) (s : E.Fiber U) : (E.map f).Fiber U := |
| 31 | ⟨(pushout.inl E.inclusion f).hom.app (op U) s.val, by |
| 32 | have h := congrArg (fun k : E.middle ⟶ AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.proEtIntegerConstant X => k.hom.app (op U) s.val) |
| 33 | (pushout.inl_desc (f := E.inclusion) (g := f) E.projection 0 |
| 34 | (by rw [E.zero, comp_zero])) |
| 35 | exact h.trans s.property⟩ |
| 36 | |
| 37 | theorem ExtensionOf.CohomologyExtension.Extension.mapFiber_restrict {U V : X.ProEt} (g : V ⟶ U) (s : E.Fiber U) : |
| 38 | (E.map f).restrict g (E.mapFiber f U s) = E.mapFiber f V (E.restrict g s) := by |
| 39 | apply Subtype.ext |
| 40 | exact (NatTrans.naturality_apply (pushout.inl E.inclusion f).hom g.op s.val).symm |
| 41 | |
| 42 | theorem ExtensionOf.CohomologyExtension.Extension.mapFiber_eq_of_difference (U : X.ProEt) (s t : E.Fiber U) |
| 43 | (a : F.obj.obj (op U)) (ha : E.inclusion.hom.app (op U) a + s.val = t.val) |
| 44 | (hz : f.hom.app (op U) a = 0) : E.mapFiber f U s = E.mapFiber f U t := by |
| 45 | apply Subtype.ext |
| 46 | have h := congrArg ((pushout.inl E.inclusion f).hom.app (op U)) ha |
| 47 | have hw := congrArg (fun k : F ⟶ (E.map f).middle => k.hom.app (op U) a) |
| 48 | (pushout.condition (f := E.inclusion) (g := f)) |
| 49 | change (pushout.inl E.inclusion f).hom.app (op U) (E.inclusion.hom.app (op U) a) = |
| 50 | (E.map f).inclusion.hom.app (op U) (f.hom.app (op U) a) at hw |
| 51 | rw [map_add, hw, hz, map_zero] at h |
| 52 | erw [zero_add] at h |
| 53 | exact h |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cohomology |