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.ReferenceFamily.RepresentationAtlasIs |
| 2 | |
| 3 | /-! # Atlas Cover Values -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AtlasCoverValues.RepresentationAtlas |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Local universal values viewed over the actual open cover of the |
| 10 | glued scheme, with agreement after all compatible test maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | variable {S : Scheme.{0}} {F : (Over S)ᵒᵖ ⥤ Type} {I : Type} {U : I → S.Opens} |
| 15 | (D : ∀ i, Open.Representations.OpenRepresentation F (U i)) |
| 16 | |
| 17 | def chartTest (i : I) : Over (RepresentationAtlasIs.RepresentationAtlas.scheme D) := Over.mk (RepresentationAtlasIs.RepresentationAtlas.chart D i) |
| 18 | |
| 19 | def chartComparison (i : I) : (Over.map (RepresentationAtlasIs.RepresentationAtlas.structureMap D)).obj (chartTest D i) ≅ (D i).space := |
| 20 | Over.isoMk (Iso.refl (D i).space.left) (by |
| 21 | change 𝟙 _ ≫ (D i).space.hom = RepresentationAtlasIs.RepresentationAtlas.chart D i ≫ RepresentationAtlasIs.RepresentationAtlas.structureMap D |
| 22 | rw [Category.id_comp, RepresentationAtlasIs.RepresentationAtlas.chart_structureMap]) |
| 23 | |
| 24 | def chartValue (i : I) : F.obj (op ((Over.map (RepresentationAtlasIs.RepresentationAtlas.structureMap D)).obj (chartTest D i))) := |
| 25 | F.map (chartComparison D i).hom.op (D i).sectionValue |
| 26 | |
| 27 | theorem chartValues_match (i j : I) (T : Over (RepresentationAtlasIs.RepresentationAtlas.scheme D)) |
| 28 | (f : T ⟶ chartTest D i) (g : T ⟶ chartTest D j) : |
| 29 | F.map ((Over.map (RepresentationAtlasIs.RepresentationAtlas.structureMap D)).map f).op (chartValue D i) = |
| 30 | F.map ((Over.map (RepresentationAtlasIs.RepresentationAtlas.structureMap D)).map g).op (chartValue D j) := by |
| 31 | let f' := (Over.map (RepresentationAtlasIs.RepresentationAtlas.structureMap D)).map f ≫ (chartComparison D i).hom |
| 32 | let g' := (Over.map (RepresentationAtlasIs.RepresentationAtlas.structureMap D)).map g ≫ (chartComparison D j).hom |
| 33 | have h : f' ≫ RepresentationAtlasIs.RepresentationAtlas.chartOver D i = g' ≫ RepresentationAtlasIs.RepresentationAtlas.chartOver D j := by |
| 34 | apply Over.OverMorphism.ext |
| 35 | change (f.left ≫ 𝟙 _) ≫ RepresentationAtlasIs.RepresentationAtlas.chart D i = (g.left ≫ 𝟙 _) ≫ RepresentationAtlasIs.RepresentationAtlas.chart D j |
| 36 | simp only [Category.comp_id] |
| 37 | exact f.w.trans g.w.symm |
| 38 | have hv := RepresentationAtlasIs.RepresentationAtlas.localValues_match D i j f' g' h |
| 39 | simpa only [f', g', chartValue, op_comp, F.map_comp, types_comp_apply] using hv |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AtlasCoverValues.RepresentationAtlas |