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.PELModuli.IntegralModel.Reduced.RepresentationAtlas |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.OverOpenCoverGluing |
| 3 | |
| 4 | /-! # Atlas Global Classification -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.AtlasGlobalClassification |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Global classification on reduced tests follows from local chart |
| 11 | classification and separation of the actual functor on the source cover. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | namespace ReducedRepresentationAtlas |
| 18 | variable {S : Scheme.{0}} {F : (Over S)ᵒᵖ ⥤ Type} {I : Type} {U : I → S.Opens} |
| 19 | (D : ∀ i, OpenRepresentations.ReducedOpenRepresentation F (U i)) |
| 20 | |
| 21 | theorem classifies_of_source_cover (u : F.obj (op (RepresentationAtlas.ReducedRepresentationAtlas.over D))) |
| 22 | (hu : ∀ i, F.map (RepresentationAtlas.ReducedRepresentationAtlas.chartOver D i).op u = (D i).sectionValue) |
| 23 | (T : Over S) [IsReduced T.left] (C : T.left.OpenCover) (c : C.I₀ → I) |
| 24 | (hc : ∀ i, ∀ x : (C.X i), (OverOpenCoverGluing.OverOpenCover.obj T C i).hom x ∈ U (c i)) |
| 25 | (hsep : Function.Injective (fun v : F.obj (op T) => |
| 26 | fun i => F.map (OverOpenCoverGluing.OverOpenCover.inclusion T C i).op v)) : |
| 27 | Function.Bijective (fun f : T ⟶ RepresentationAtlas.ReducedRepresentationAtlas.over D => F.map f.op u) := by |
| 28 | have hloc (i) := RepresentationAtlas.ReducedRepresentationAtlas.classifies_on_base_open D u (c i) (hu (c i)) (OverOpenCoverGluing.OverOpenCover.obj T C i) (hc i) |
| 29 | apply (Function.bijective_iff_existsUnique _).mpr |
| 30 | intro v |
| 31 | choose f hf using fun i => (hloc i).surjective (F.map (OverOpenCoverGluing.OverOpenCover.inclusion T C i).op v) |
| 32 | have hm (i j) : OverOpenCoverGluing.OverOpenCover.overlapLeft T C i j ≫ f i = |
| 33 | OverOpenCoverGluing.OverOpenCover.overlapRight T C i j ≫ f j := by |
| 34 | have hT : ∀ x : (OverOpenCoverGluing.OverOpenCover.overlap T C i j).left, |
| 35 | (OverOpenCoverGluing.OverOpenCover.overlap T C i j).hom x ∈ U (c i) := fun x => by |
| 36 | have h := hc i ((OverOpenCoverGluing.OverOpenCover.overlapLeft T C i j).left x) |
| 37 | exact (congrArg (fun q : (OverOpenCoverGluing.OverOpenCover.overlap T C i j).left ⟶ S => q x) |
| 38 | (OverOpenCoverGluing.OverOpenCover.overlapLeft T C i j).w) ▸ h |
| 39 | apply (RepresentationAtlas.ReducedRepresentationAtlas.classifies_on_base_open D u (c i) (hu (c i)) (OverOpenCoverGluing.OverOpenCover.overlap T C i j) hT).injective |
| 40 | simp only [op_comp, F.map_comp, types_comp_apply, hf] |
| 41 | simpa only [op_comp, F.map_comp, types_comp_apply] using |
| 42 | congrArg (fun q : OverOpenCoverGluing.OverOpenCover.overlap T C i j ⟶ T => F.map q.op v) |
| 43 | (OverOpenCoverGluing.OverOpenCover.overlap_condition T C i j) |
| 44 | obtain ⟨q, hq, _⟩ := OverOpenCoverGluing.OverOpenCover.existsUnique_glued_morphism T C f hm |
| 45 | have hv : F.map q.op u = v := by |
| 46 | apply hsep |
| 47 | funext i |
| 48 | change F.map (OverOpenCoverGluing.OverOpenCover.inclusion T C i).op (F.map q.op u) = _ |
| 49 | rw [← F.map_comp_apply] |
| 50 | change F.map (OverOpenCoverGluing.OverOpenCover.inclusion T C i ≫ q).op u = _ |
| 51 | rw [hq i] |
| 52 | exact hf i |
| 53 | refine ⟨q, hv, fun r hr => ?_⟩ |
| 54 | apply OverOpenCoverGluing.OverOpenCover.hom_ext T C |
| 55 | intro i |
| 56 | apply (hloc i).injective |
| 57 | simp only [op_comp, F.map_comp, types_comp_apply, hr, hv] |
| 58 | |
| 59 | end ReducedRepresentationAtlas |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduced.AtlasGlobalClassification |