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.HilbertConstruction.FactoredBaseRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange |
| 3 | |
| 4 | /-! # Factored Recovery Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FactoredRecoveryNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Factoring Cartesian recovery through an intermediate base preserves every compatible morphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem factoredBaseRecovery_natural |
| 17 | {S T U : Scheme.{u}} (r : T ⟶ U) (c : U ⟶ S) |
| 18 | {A B : Over T} {X Y : Over S} (f : A ⟶ B) (g : X ⟶ Y) |
| 19 | (qA : A.left ⟶ X.left) (qB : B.left ⟶ Y.left) |
| 20 | (hA : IsPullback qA A.hom X.hom (r ≫ c)) (hB : IsPullback qB B.hom Y.hom (r ≫ c)) |
| 21 | (hw : qA ≫ g.left = f.left ≫ qB) : |
| 22 | FactoredBaseRecovery.factoredBaseRecovery qA A.hom X.hom r c hA ≫ ((Over.pullback c).map g).left = |
| 23 | f.left ≫ FactoredBaseRecovery.factoredBaseRecovery qB B.hom Y.hom r c hB := by |
| 24 | let a : A.left ⟶ pullback X.hom c := FactoredBaseRecovery.factoredBaseRecovery qA A.hom X.hom r c hA |
| 25 | let b : B.left ⟶ pullback Y.hom c := FactoredBaseRecovery.factoredBaseRecovery qB B.hom Y.hom r c hB |
| 26 | let k : pullback X.hom c ⟶ pullback Y.hom c := ((Over.pullback c).map g).left |
| 27 | let f₀ : A.left ⟶ B.left := f.left |
| 28 | let g₀ : X.left ⟶ Y.left := g.left |
| 29 | have hk₁ : k ≫ pullback.fst Y.hom c = pullback.fst X.hom c ≫ g₀ := |
| 30 | (Projective.PresentationBaseChange.overPullback_map_isPullback g c).w.symm |
| 31 | have hk₂ : k ≫ pullback.snd Y.hom c = pullback.snd X.hom c := ((Over.pullback c).map g).w |
| 32 | have ha₁ : a ≫ pullback.fst X.hom c = qA := FactoredBaseRecovery.factoredBaseRecovery_fst qA A.hom X.hom r c hA |
| 33 | have hb₁ : b ≫ pullback.fst Y.hom c = qB := FactoredBaseRecovery.factoredBaseRecovery_fst qB B.hom Y.hom r c hB |
| 34 | have ha₂ : a ≫ pullback.snd X.hom c = A.hom ≫ r := FactoredBaseRecovery.factoredBaseRecovery_snd qA A.hom X.hom r c hA |
| 35 | have hb₂ : b ≫ pullback.snd Y.hom c = B.hom ≫ r := FactoredBaseRecovery.factoredBaseRecovery_snd qB B.hom Y.hom r c hB |
| 36 | change a ≫ k = f₀ ≫ b |
| 37 | apply pullback.hom_ext |
| 38 | · rw [Category.assoc, hk₁, ← Category.assoc, ha₁, Category.assoc, hb₁] |
| 39 | exact hw |
| 40 | · rw [Category.assoc, hk₂, ha₂, Category.assoc, hb₂, ← Category.assoc] |
| 41 | exact (congrArg (fun p => p ≫ r) f.w).symm |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FactoredRecoveryNaturality |