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.Bounded.FamilyOperationParameters |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ParameterLoci |
| 3 | |
| 4 | /-! # Family Powers -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FamilyPowers |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite powers of a pointed projective family are actual projective parameters for finite ordered tuples of family points. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} (A : Over S) |
| 18 | |
| 19 | def finiteFamilyPower : ℕ → Over S |
| 20 | | 0 => 𝟙_ (Over S) |
| 21 | | n + 1 => A ⊗ finiteFamilyPower n |
| 22 | |
| 23 | def finiteFamilyPowerPoints (n : ℕ) (T : Over S) : (T ⟶ FamilyPowers.finiteFamilyPower A n) ≃ (Fin n → (T ⟶ A)) := by |
| 24 | induction n with |
| 25 | | zero => |
| 26 | exact |
| 27 | { toFun := fun _ i => Fin.elim0 i |
| 28 | invFun := fun _ => toUnit T |
| 29 | left_inv := fun _ => toUnit_unique _ _ |
| 30 | right_inv := fun _ => funext (fun i => Fin.elim0 i) } |
| 31 | | succ n ih => |
| 32 | refine ((Bounded.FamilyOperationParameters.overTensorPointEquiv A (FamilyPowers.finiteFamilyPower A n) T).trans |
| 33 | (Equiv.prodCongr (Equiv.refl _) ih)).trans ?_ |
| 34 | exact |
| 35 | { toFun := fun p => Fin.cases p.1 p.2 |
| 36 | invFun := fun p => (p 0, fun i => p i.succ) |
| 37 | left_inv := fun _ => rfl |
| 38 | right_inv := fun p => funext (fun i => Fin.cases rfl (fun _ => rfl) i) } |
| 39 | |
| 40 | theorem finiteFamilyPowerPoints_natural (n : ℕ) {U T : Over S} (c : U ⟶ T) |
| 41 | (p : T ⟶ FamilyPowers.finiteFamilyPower A n) (i : Fin n) : |
| 42 | finiteFamilyPowerPoints A n U (c ≫ p) i = c ≫ finiteFamilyPowerPoints A n T p i := by |
| 43 | induction n with |
| 44 | | zero => exact Fin.elim0 i |
| 45 | | succ n ih => |
| 46 | refine Fin.cases ?_ (fun j => ?_) i |
| 47 | · change (c ≫ p) ≫ fst A (FamilyPowers.finiteFamilyPower A n) = c ≫ (p ≫ fst A (FamilyPowers.finiteFamilyPower A n)) |
| 48 | exact Category.assoc c p (fst A (FamilyPowers.finiteFamilyPower A n)) |
| 49 | · change finiteFamilyPowerPoints A n U ((c ≫ p) ≫ snd A (FamilyPowers.finiteFamilyPower A n)) j = |
| 50 | c ≫ finiteFamilyPowerPoints A n T (p ≫ snd A (FamilyPowers.finiteFamilyPower A n)) j |
| 51 | exact (congrArg (fun q : U ⟶ FamilyPowers.finiteFamilyPower A n => finiteFamilyPowerPoints A n U q j) |
| 52 | (Category.assoc c p (snd A (FamilyPowers.finiteFamilyPower A n)))).trans |
| 53 | (ih (p ≫ snd A (FamilyPowers.finiteFamilyPower A n)) j) |
| 54 | |
| 55 | def finiteFamilyPowerProjective (P : Projective.ProjectivePresentations.ProjectivePresentation A) |
| 56 | (x : 𝟙_ (Over S) ⟶ A) [hx : IsClosedImmersion x.left] : |
| 57 | (n : ℕ) → Projective.ProjectivePresentations.ProjectivePresentation (FamilyPowers.finiteFamilyPower A n) |
| 58 | | 0 => @Projective.ProjectivePresentations.ProjectivePresentation.ofClosedImmersion S A (𝟙_ (Over S)) P x hx |
| 59 | | n + 1 => P.product (finiteFamilyPowerProjective P x n) |
| 60 | |
| 61 | def finiteLabelFamilyPower (I : Type u) [Fintype I] : Over S := FamilyPowers.finiteFamilyPower A (Fintype.card I) |
| 62 | |
| 63 | def finiteLabelFamilyPowerPoints (I : Type u) [Fintype I] (T : Over S) : |
| 64 | (T ⟶ finiteLabelFamilyPower A I) ≃ (I → (T ⟶ A)) := |
| 65 | (finiteFamilyPowerPoints A (Fintype.card I) T).trans |
| 66 | (Equiv.arrowCongr (Fintype.equivFin I).symm (Equiv.refl _)) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FamilyPowers |