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 Local Classification -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AtlasLocalClassification.RepresentationAtlas |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Once a global universal value restricts to the local universal values, |
| 10 | its classifier is bijective on every test contained in a base chart. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _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 | instance chartOver_mono (i : I) : Mono (RepresentationAtlasIs.RepresentationAtlas.chartOver D i) := |
| 18 | (Over.forget S).mono_of_mono_map (show Mono (RepresentationAtlasIs.RepresentationAtlas.chartOver D i).left from inferInstanceAs (Mono (RepresentationAtlasIs.RepresentationAtlas.chart D i))) |
| 19 | |
| 20 | def factorToChart (i : I) {T : Over S} (hT : ∀ t : T.left, T.hom t ∈ U i) |
| 21 | (f : T ⟶ RepresentationAtlasIs.RepresentationAtlas.over D) : T ⟶ (D i).space := by |
| 22 | have hr : Set.range f.left ⊆ Set.range (RepresentationAtlasIs.RepresentationAtlas.chart D i) := by |
| 23 | rintro _ ⟨t, rfl⟩ |
| 24 | apply (Set.ext_iff.mp (RepresentationAtlasIs.RepresentationAtlas.chart_range D i) (f.left t)).mpr |
| 25 | change RepresentationAtlasIs.RepresentationAtlas.structureMap D (f.left t) ∈ U i |
| 26 | have ht : RepresentationAtlasIs.RepresentationAtlas.structureMap D (f.left t) = T.hom t := congrArg (fun q : T.left ⟶ S => q t) f.w |
| 27 | exact ht ▸ hT t |
| 28 | let q := IsOpenImmersion.lift (RepresentationAtlasIs.RepresentationAtlas.chart D i) f.left hr |
| 29 | have hq : q ≫ RepresentationAtlasIs.RepresentationAtlas.chart D i = f.left := IsOpenImmersion.lift_fac (RepresentationAtlasIs.RepresentationAtlas.chart D i) f.left hr |
| 30 | refine Over.homMk q ?_ |
| 31 | exact (congrArg (fun h => q ≫ h) (RepresentationAtlasIs.RepresentationAtlas.chart_structureMap D i).symm).trans |
| 32 | ((Category.assoc q (RepresentationAtlasIs.RepresentationAtlas.chart D i) (RepresentationAtlasIs.RepresentationAtlas.structureMap D)).symm.trans |
| 33 | ((congrArg (fun h => h ≫ RepresentationAtlasIs.RepresentationAtlas.structureMap D) hq).trans f.w)) |
| 34 | |
| 35 | theorem factorToChart_chart (i : I) {T : Over S} (hT : ∀ t : T.left, T.hom t ∈ U i) |
| 36 | (f : T ⟶ RepresentationAtlasIs.RepresentationAtlas.over D) : factorToChart D i hT f ≫ RepresentationAtlasIs.RepresentationAtlas.chartOver D i = f := by |
| 37 | apply Over.OverMorphism.ext |
| 38 | exact IsOpenImmersion.lift_fac (RepresentationAtlasIs.RepresentationAtlas.chart D i) f.left _ |
| 39 | |
| 40 | def chartHomEquiv (i : I) (T : Over S) (hT : ∀ t : T.left, T.hom t ∈ U i) : |
| 41 | (T ⟶ RepresentationAtlasIs.RepresentationAtlas.over D) ≃ (T ⟶ (D i).space) where |
| 42 | toFun := factorToChart D i hT |
| 43 | invFun f := f ≫ RepresentationAtlasIs.RepresentationAtlas.chartOver D i |
| 44 | left_inv := factorToChart_chart D i hT |
| 45 | right_inv f := (cancel_mono (RepresentationAtlasIs.RepresentationAtlas.chartOver D i)).mp (factorToChart_chart D i hT (f ≫ RepresentationAtlasIs.RepresentationAtlas.chartOver D i)) |
| 46 | |
| 47 | theorem classifies_on_base_open (u : F.obj (op (RepresentationAtlasIs.RepresentationAtlas.over D))) (i : I) |
| 48 | (hu : F.map (RepresentationAtlasIs.RepresentationAtlas.chartOver D i).op u = (D i).sectionValue) |
| 49 | (T : Over S) (hT : ∀ t : T.left, T.hom t ∈ U i) : |
| 50 | Function.Bijective (fun f : T ⟶ RepresentationAtlasIs.RepresentationAtlas.over D => F.map f.op u) := by |
| 51 | have hb := ((D i).classifies T hT).comp (chartHomEquiv D i T hT).bijective |
| 52 | convert hb using 1 |
| 53 | funext f |
| 54 | change F.map f.op u = F.map (factorToChart D i hT f).op (D i).sectionValue |
| 55 | rw [← hu, ← F.map_comp_apply] |
| 56 | exact congrArg (fun q : T ⟶ RepresentationAtlasIs.RepresentationAtlas.over D => F.map q.op u) (factorToChart_chart D i hT f).symm |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AtlasLocalClassification.RepresentationAtlas |