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.FormalGeometry.Completion.SliceRepresentativeMaps |
| 2 | |
| 3 | /-! # Slice Section Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.SliceSectionMaps.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: maps to local representatives determined by actual sections |
| 11 | |
| 12 | The inverse representing bijections give maps for any section, and those |
| 13 | maps commute with restriction and the canonical transition morphisms. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory Limits Opposite |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u v w |
| 22 | |
| 23 | variable {C : Type u} [Category.{v} C] (F : Cᵒᵖ ⥤ Type w) |
| 24 | {U V : C} {T : Over U} {S : Over V} |
| 25 | (rT : ((Over.forget U).op ⋙ F).RepresentableBy T) |
| 26 | |
| 27 | /-- The actual morphism represented by a section on an object of the slice. -/ |
| 28 | def sliceSectionMap (A : Over U) (s : F.obj (op A.left)) : A.left ⟶ T.left := |
| 29 | ((rT.homEquiv (X := A)).symm s).left |
| 30 | |
| 31 | theorem sliceSectionMap_over (A : Over U) (s : F.obj (op A.left)) : |
| 32 | sliceSectionMap F rT A s ≫ T.hom = A.hom := Over.w _ |
| 33 | |
| 34 | theorem sliceSectionMap_section (A : Over U) (s : F.obj (op A.left)) : |
| 35 | F.map (sliceSectionMap F rT A s).op (SliceRepresentativeMaps.Construction.sliceUniversalSection F rT) = s := by |
| 36 | change ((Over.forget U).op ⋙ F).map ((rT.homEquiv (X := A)).symm s).op (rT.homEquiv (𝟙 T)) = _ |
| 37 | rw [← rT.homEquiv_eq, rT.homEquiv.apply_symm_apply] |
| 38 | |
| 39 | theorem sliceSectionMap_naturality {A B : Over U} (g : A ⟶ B) (s : F.obj (op B.left)) : |
| 40 | g.left ≫ sliceSectionMap F rT B s = sliceSectionMap F rT A (F.map g.left.op s) := by |
| 41 | exact congrArg (fun k => k.left) (rT.comp_homEquiv_symm s g) |
| 42 | |
| 43 | /-- Changing the base of a slice commutes with the canonical transition map. -/ |
| 44 | theorem sliceSectionMap_transition |
| 45 | (rS : ((Over.forget V).op ⋙ F).RepresentableBy S) |
| 46 | (h : U ⟶ V) (A : Over U) (s : F.obj (op A.left)) : |
| 47 | sliceSectionMap F rT A s ≫ SliceRepresentativeMaps.Construction.sliceRepresentativeMap F rT rS h = |
| 48 | sliceSectionMap F rS ((Over.map h).obj A) s := by |
| 49 | apply SliceRepresentativeMaps.Construction.sliceRepresentative_hom_ext F rS |
| 50 | · rw [Category.assoc, SliceRepresentativeMaps.Construction.sliceRepresentativeMap_over, ← Category.assoc, |
| 51 | sliceSectionMap_over, sliceSectionMap_over] |
| 52 | rfl |
| 53 | · rw [op_comp, CategoryTheory.Functor.map_comp] |
| 54 | change F.map (sliceSectionMap F rT A s).op |
| 55 | (F.map (SliceRepresentativeMaps.Construction.sliceRepresentativeMap F rT rS h).op (SliceRepresentativeMaps.Construction.sliceUniversalSection F rS)) = _ |
| 56 | rw [SliceRepresentativeMaps.Construction.sliceRepresentativeMap_section, sliceSectionMap_section] |
| 57 | exact (sliceSectionMap_section F rS ((Over.map h).obj A) s).symm |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.SliceSectionMaps.Construction |