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.HilbertScheme.Presentations.BaseProjectivePresentation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ExactSegrePresentation |
| 3 | |
| 4 | /-! # Parameter Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ParameterProducts.Core |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite parameter products with explicit projections and lifts, |
| 11 | including a projective presentation constructed by iterated Segre embeddings. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} |
| 17 | |
| 18 | def finiteParameterProduct : (n : ℕ) → (Fin n → Over S) → Over S |
| 19 | | 0, _ => Over.mk (𝟙 S) |
| 20 | | n + 1, H => H 0 ⨯ finiteParameterProduct n (fun i => H i.succ) |
| 21 | |
| 22 | def finiteParameterProjection : {n : ℕ} → (H : Fin n → Over S) → |
| 23 | (i : Fin n) → (Core.finiteParameterProduct n H ⟶ H i) |
| 24 | | 0, _, i => Fin.elim0 i |
| 25 | | n + 1, H, i => Fin.cases prod.fst |
| 26 | (fun k => prod.snd ≫ finiteParameterProjection (fun j : Fin n => H j.succ) k) i |
| 27 | |
| 28 | def finiteParameterLift {T : Over S} : {n : ℕ} → (H : Fin n → Over S) → |
| 29 | (∀ i, T ⟶ H i) → (T ⟶ Core.finiteParameterProduct n H) |
| 30 | | 0, _, _ => Over.homMk T.hom (Category.comp_id T.hom) |
| 31 | | n + 1, H, f => prod.lift (f 0) |
| 32 | (finiteParameterLift (fun i : Fin n => H i.succ) (fun i => f i.succ)) |
| 33 | |
| 34 | theorem finiteParameterLift_projection {T : Over S} {n : ℕ} (H : Fin n → Over S) |
| 35 | (f : ∀ i, T ⟶ H i) (i : Fin n) : |
| 36 | Core.finiteParameterLift H f ≫ Core.finiteParameterProjection H i = f i := by |
| 37 | induction n with |
| 38 | | zero => exact Fin.elim0 i |
| 39 | | succ n ih => |
| 40 | refine Fin.cases ?_ (fun k => ?_) i |
| 41 | · exact prod.lift_fst _ _ |
| 42 | · change prod.lift (f 0) (Core.finiteParameterLift (fun j : Fin n => H j.succ) |
| 43 | (fun j => f j.succ)) ≫ |
| 44 | (prod.snd ≫ Core.finiteParameterProjection (fun j : Fin n => H j.succ) k) = f k.succ |
| 45 | rw [prod.lift_snd_assoc] |
| 46 | exact ih _ _ _ |
| 47 | |
| 48 | theorem finiteParameter_hom_ext {T : Over S} {n : ℕ} (H : Fin n → Over S) |
| 49 | (f g : T ⟶ Core.finiteParameterProduct n H) |
| 50 | (h : ∀ i, f ≫ Core.finiteParameterProjection H i = g ≫ Core.finiteParameterProjection H i) : f = g := by |
| 51 | induction n with |
| 52 | | zero => |
| 53 | apply Over.OverMorphism.ext |
| 54 | exact (Category.comp_id (show T.left ⟶ S from f.left)).symm.trans |
| 55 | (f.w.trans (g.w.symm.trans (Category.comp_id (show T.left ⟶ S from g.left)))) |
| 56 | | succ n ih => |
| 57 | apply prod.hom_ext |
| 58 | · exact h 0 |
| 59 | · apply ih |
| 60 | intro i |
| 61 | have hi := h i.succ |
| 62 | change f ≫ (prod.snd ≫ Core.finiteParameterProjection (fun j : Fin n => H j.succ) i) = |
| 63 | g ≫ (prod.snd ≫ Core.finiteParameterProjection (fun j : Fin n => H j.succ) i) at hi |
| 64 | exact (Category.assoc f prod.snd (Core.finiteParameterProjection (fun j : Fin n => H j.succ) i)).trans |
| 65 | (hi.trans (Category.assoc g prod.snd (Core.finiteParameterProjection (fun j : Fin n => H j.succ) i)).symm) |
| 66 | |
| 67 | def finiteParameterProjectivePresentation : {n : ℕ} → (H : Fin n → Over S) → |
| 68 | (∀ i, Has.Core.ProjectivePresentation (H i)) → Has.Core.ProjectivePresentation (Core.finiteParameterProduct n H) |
| 69 | | 0, _, _ => BaseProjectivePresentation.Core.baseProjectivePresentation S |
| 70 | | n + 1, H, B => Relative.SegrePresentation.Core.segreProductPresentation (B 0) |
| 71 | (finiteParameterProjectivePresentation (fun i : Fin n => H i.succ) (fun i => B i.succ)) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.ParameterProducts.Core |