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 Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | |
| 4 | /-! # Product Charts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Relative.ProductCharts.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual base-change charts of a scheme-theoretic product. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {P X S U : Scheme.{u}} (p : P ⟶ S) (f : X ⟶ S) (j : U ⟶ X) |
| 17 | |
| 18 | def relativeProductChartMap : pullback p (j ≫ f) ⟶ pullback p f := |
| 19 | pullback.lift (pullback.fst _ _) (pullback.snd _ _ ≫ j) |
| 20 | (by rw [Category.assoc, pullback.condition]) |
| 21 | |
| 22 | theorem relativeProductChart_isPullback : |
| 23 | IsPullback (relativeProductChartMap p f j) (pullback.snd p (j ≫ f)) |
| 24 | (pullback.snd p f) j := by |
| 25 | have houter : IsPullback (relativeProductChartMap p f j ≫ pullback.fst p f) |
| 26 | (pullback.snd p (j ≫ f)) p (j ≫ f) := by |
| 27 | rw [relativeProductChartMap, pullback.lift_fst] |
| 28 | exact IsPullback.of_hasPullback p (j ≫ f) |
| 29 | exact houter.of_right (pullback.lift_snd _ _ _) (IsPullback.of_hasPullback p f) |
| 30 | |
| 31 | instance relativeProductChartMap_isOpenImmersion [IsOpenImmersion j] : |
| 32 | IsOpenImmersion (relativeProductChartMap p f j) := |
| 33 | MorphismProperty.of_isPullback (relativeProductChart_isPullback p f j).flip inferInstance |
| 34 | |
| 35 | theorem relativeProductChartMap_fst : |
| 36 | relativeProductChartMap p f j ≫ pullback.fst p f = pullback.fst p (j ≫ f) := |
| 37 | pullback.lift_fst _ _ _ |
| 38 | |
| 39 | theorem relativeProductChartMap_snd : |
| 40 | relativeProductChartMap p f j ≫ pullback.snd p f = pullback.snd p (j ≫ f) ≫ j := |
| 41 | pullback.lift_snd _ _ _ |
| 42 | |
| 43 | theorem pair_isClosedImmersion_iff_of_base_eq |
| 44 | {B : Scheme.{u}} (q : B ⟶ P) (r : B ⟶ U) {g₁ g₂ : U ⟶ S} (hg : g₁ = g₂) |
| 45 | (h₁ : q ≫ p = r ≫ g₁) (h₂ : q ≫ p = r ≫ g₂) : |
| 46 | IsClosedImmersion (pullback.lift q r h₁) ↔ IsClosedImmersion (pullback.lift q r h₂) := by |
| 47 | subst g₂ |
| 48 | rfl |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Resolution.Blowups.Relative.ProductCharts.Construction |