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.IntegralComparison.Incoming.Subsite |
| 2 | import Mathlib.CategoryTheory.Sites.Over |
| 3 | |
| 4 | /-! # Subsite Slices -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SubsiteSlices |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: slices of an incoming-closed full subsite are the original slices |
| 12 | |
| 13 | Every object over a subsite object already satisfies its defining |
| 14 | property. The native slice inclusion is therefore an equivalence, and |
| 15 | the native restricted slice topology agrees with the original one. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {C : Type u} [Category.{v} C] (P : ObjectProperty C) |
| 23 | (hP : ∀ {X Y : C}, (X ⟶ Y) → P Y → P X) (U : P.FullSubcategory) |
| 24 | |
| 25 | def liftObject (V : Over U.obj) : Over U := |
| 26 | Over.mk (ObjectProperty.homMk (X := ⟨V.left, hP V.hom U.property⟩) (Y := U) V.hom) |
| 27 | |
| 28 | theorem post_liftObject (V : Over U.obj) : (Over.post P.ι).obj (liftObject P hP U V) = V := by |
| 29 | cases V |
| 30 | rfl |
| 31 | |
| 32 | include hP in |
| 33 | theorem post_isEquivalence : (Over.post (X := U) P.ι).IsEquivalence := by |
| 34 | let : (Over.post (X := U) P.ι).EssSurj := |
| 35 | ⟨fun V => ⟨liftObject P hP U V, ⟨eqToIso (post_liftObject P hP U V)⟩⟩⟩ |
| 36 | exact {} |
| 37 | |
| 38 | def equivalence : Over U ≌ Over U.obj := by |
| 39 | have := post_isEquivalence P hP U |
| 40 | exact (Over.post (X := U) P.ι).asEquivalence |
| 41 | |
| 42 | variable (J : GrothendieckTopology C) |
| 43 | |
| 44 | include hP in |
| 45 | theorem post_isDenseSubsite : (Over.post (X := U) P.ι).IsDenseSubsite |
| 46 | ((P.ι.restrictedTopology J).over U) (J.over U.obj) := by |
| 47 | have := Subsite.continuous P hP J |
| 48 | have := Subsite.cocontinuous P hP J |
| 49 | have := post_isEquivalence P hP U |
| 50 | let F := Over.post (X := U) P.ι |
| 51 | have hcover : CoverPreserving ((P.ι.restrictedTopology J).over U) (J.over U.obj) F := |
| 52 | (CoverPreserving.of_isContinuous P.ι (P.ι.restrictedTopology J) J).overPost U |
| 53 | have : F.IsContinuous ((P.ι.restrictedTopology J).over U) (J.over U.obj) := |
| 54 | Functor.isContinuous_of_coverPreserving (compatiblePreservingOfFlat _ F) hcover |
| 55 | have : F.IsCocontinuous ((P.ι.restrictedTopology J).over U) (J.over U.obj) := by |
| 56 | constructor |
| 57 | intro V S hS |
| 58 | rw [GrothendieckTopology.mem_over_iff] at hS ⊢ |
| 59 | rw [Sieve.overEquiv_functorPullback_post] |
| 60 | exact P.ι.cover_lift (P.ι.restrictedTopology J) J hS |
| 61 | refine { functorPushforward_mem_iff := ?_ } |
| 62 | intro V S |
| 63 | constructor |
| 64 | · intro hS |
| 65 | have h := F.cover_lift ((P.ι.restrictedTopology J).over U) (J.over U.obj) hS |
| 66 | change (S.functorPushforward F).functorPullback F ∈ ((P.ι.restrictedTopology J).over U) V at h |
| 67 | simpa only [Sieve.functorPullback_functorPushforward_eq] using h |
| 68 | · exact hcover.cover_preserve |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SubsiteSlices |