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.Smooth |
| 2 | |
| 3 | /-! # Relative Open Square -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.RelativeOpenSquare.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smooth relative dimension is retained by an actual open source chart |
| 10 | over an open target, whether or not that chart exhausts the inverse image. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | theorem smoothRelativeDimension_openSquare {E X V U : Scheme.{0}} |
| 15 | (p : E ⟶ X) (n : ℕ) [SmoothOfRelativeDimension n p] (q : V ⟶ U) |
| 16 | (i : U ⟶ X) (j : V ⟶ E) [IsOpenImmersion i] [IsOpenImmersion j] |
| 17 | (h : q ≫ i = j ≫ p) : SmoothOfRelativeDimension n q := by |
| 18 | let : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension n) := |
| 19 | smoothOfRelativeDimension_isStableUnderBaseChange n |
| 20 | let k : V ⟶ pullback p i := pullback.lift j q h.symm |
| 21 | have hk : k ≫ pullback.fst p i = j := pullback.lift_fst _ _ _ |
| 22 | have hq : k ≫ pullback.snd p i = q := pullback.lift_snd _ _ _ |
| 23 | let : IsOpenImmersion (k ≫ pullback.fst p i) := hk.symm ▸ inferInstance |
| 24 | let : IsOpenImmersion k := IsOpenImmersion.of_comp k (pullback.fst p i) |
| 25 | let : SmoothOfRelativeDimension n (pullback.snd p i) := |
| 26 | MorphismProperty.of_isPullback (IsPullback.of_hasPullback p i) inferInstance |
| 27 | have H := smoothOfRelativeDimension_comp 0 n k (pullback.snd p i) |
| 28 | rwa [zero_add, hq] at H |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.RelativeOpenSquare.BundleCycles |