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.Open.Representations |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 3 | |
| 4 | /-! # Representation Lifts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual factorization into overlap opens and the diagonal overlap. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | variable {S : Scheme.{0}} {F : (Over S)ᵒᵖ ⥤ Type} {U V : S.Opens} |
| 15 | (D : Representations.OpenRepresentation F U) (E : Representations.OpenRepresentation F V) |
| 16 | |
| 17 | def Representations.OpenRepresentation.overlapLift {T : Over S} (f : T ⟶ D.space) (h : ∀ t : T.left, T.hom t ∈ V) : |
| 18 | T ⟶ D.overlap E := by |
| 19 | have hr : Set.range f.left ⊆ Set.range (D.space.hom ⁻¹ᵁ V).ι := by |
| 20 | rw [Scheme.Opens.range_ι] |
| 21 | rintro _ ⟨t, rfl⟩ |
| 22 | change D.space.hom (f.left t) ∈ V |
| 23 | have ht : D.space.hom (f.left t) = T.hom t := |
| 24 | congrArg (fun q : T.left ⟶ S => q t) f.w |
| 25 | exact ht ▸ h t |
| 26 | let b := IsOpenImmersion.lift (D.space.hom ⁻¹ᵁ V).ι f.left hr |
| 27 | have hb : b ≫ (D.space.hom ⁻¹ᵁ V).ι = f.left := IsOpenImmersion.lift_fac _ _ _ |
| 28 | refine Over.homMk b ?_ |
| 29 | change b ≫ ((D.space.hom ⁻¹ᵁ V).ι ≫ D.space.hom) = _ |
| 30 | rw [← Category.assoc, hb] |
| 31 | exact f.w |
| 32 | |
| 33 | @[reassoc] |
| 34 | theorem Representations.OpenRepresentation.overlapLift_inclusion {T : Over S} (f : T ⟶ D.space) |
| 35 | (h : ∀ t : T.left, T.hom t ∈ V) : D.overlapLift E f h ≫ D.inclusion E = f := by |
| 36 | apply Over.OverMorphism.ext |
| 37 | exact IsOpenImmersion.lift_fac (D.space.hom ⁻¹ᵁ V).ι f.left _ |
| 38 | |
| 39 | instance Representations.OpenRepresentation.inclusion_self_isIso : IsIso (D.inclusion D) := by |
| 40 | let f := D.overlapLift D (𝟙 D.space) D.mapsTo |
| 41 | have hf : f ≫ D.inclusion D = 𝟙 D.space := D.overlapLift_inclusion D _ _ |
| 42 | exact ⟨⟨f, by apply (cancel_mono (D.inclusion D)).mp; simp [hf], hf⟩⟩ |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Open |