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.IntersectionTheory.ProjectionFormula.PartialLinear |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.FiberEquations |
| 3 | |
| 4 | /-! # Partial Pairs -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PartialPairs |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A nonzero determinant of two chosen coordinates separates the |
| 11 | images of two closed points under the actual partial projection. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | namespace Projection |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointFiberLinearForms OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PartialLinear.Projection |
| 21 | |
| 22 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (k : ℕ) |
| 23 | (L : Fin (k + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 24 | |
| 25 | theorem determinant_zero (p q : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier) |
| 26 | (hp : p ≫ X.structureMap = 𝟙 _) (hq : q ≫ X.structureMap = 𝟙 _) |
| 27 | (hpx : p (IsLocalRing.closedPoint ℂ) ∈ PartialLinear.Projection.domain X k L) |
| 28 | (hqx : q (IsLocalRing.closedPoint ℂ) ∈ PartialLinear.Projection.domain X k L) |
| 29 | (he : PartialLinear.Projection.map X k L ⟨p (IsLocalRing.closedPoint ℂ), hpx⟩ = |
| 30 | PartialLinear.Projection.map X k L ⟨q (IsLocalRing.closedPoint ℂ), hqx⟩) |
| 31 | (i a : Fin (k + 1)) : |
| 32 | PairLinearConstraints.determinant X p q hp hq (L i) (L a) = 0 := by |
| 33 | let e := Projection.FiberEquations.equation X k L p hp i a |
| 34 | have hv : e.val ∈ (PartialLinear.Projection.map X k L ⟨p (IsLocalRing.closedPoint ℂ), hpx⟩).asHomogeneousIdeal := by |
| 35 | apply (PartialLinear.Projection.homogeneous_mem X k L _ e).mpr |
| 36 | rw [Projection.FiberEquations.equation_pull] |
| 37 | exact PointFiberLinearForms.cross_vanishes X p hp (L i) (L a) |
| 38 | have hvq : e.val ∈ (PartialLinear.Projection.map X k L ⟨q (IsLocalRing.closedPoint ℂ), hqx⟩).asHomogeneousIdeal := he ▸ hv |
| 39 | have hw := (PartialLinear.Projection.homogeneous_mem X k L _ e).mp hvq |
| 40 | rw [Projection.FiberEquations.equation_pull] at hw |
| 41 | have hz := (PointFiberLinearForms.value_zero X q hq (PointFiberLinearForms.cross X p hp (L i) (L a))).mpr hw |
| 42 | rw [PointFiberLinearForms.cross_apply, map_sub, map_smul, map_smul] at hz |
| 43 | change PointFiberLinearForms.value X p hp (L i) * PointFiberLinearForms.value X q hq (L a) - |
| 44 | PointFiberLinearForms.value X p hp (L a) * PointFiberLinearForms.value X q hq (L i) = 0 at hz |
| 45 | rw [PairLinearConstraints.determinant_apply, mul_comm (PointFiberLinearForms.value X q hq (L i))] |
| 46 | exact hz |
| 47 | |
| 48 | theorem domain_cons (a : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) : |
| 49 | PartialLinear.Projection.domain X k L ≤ PartialLinear.Projection.domain X (k + 1) (Fin.cons a L) := by |
| 50 | intro x hx |
| 51 | obtain ⟨i, hi⟩ := (PartialLinear.Projection.mem_domain X k L x).mp hx |
| 52 | exact (PartialLinear.Projection.mem_domain X (k + 1) (Fin.cons a L) x).mpr ⟨i.succ, hi⟩ |
| 53 | |
| 54 | theorem extension_separates (a : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 55 | (p q : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier) |
| 56 | (hp : p ≫ X.structureMap = 𝟙 _) (hq : q ≫ X.structureMap = 𝟙 _) |
| 57 | (hpx : p (IsLocalRing.closedPoint ℂ) ∈ PartialLinear.Projection.domain X k L) |
| 58 | (hqx : q (IsLocalRing.closedPoint ℂ) ∈ PartialLinear.Projection.domain X k L) |
| 59 | (i : Fin (k + 1)) |
| 60 | (hd : PairLinearConstraints.determinant X p q hp hq (L i) a ≠ 0) : |
| 61 | PartialLinear.Projection.map X (k + 1) (Fin.cons a L) |
| 62 | ⟨p (IsLocalRing.closedPoint ℂ), domain_cons X k L a hpx⟩ ≠ |
| 63 | PartialLinear.Projection.map X (k + 1) (Fin.cons a L) |
| 64 | ⟨q (IsLocalRing.closedPoint ℂ), domain_cons X k L a hqx⟩ := by |
| 65 | intro he |
| 66 | exact hd (determinant_zero X (k + 1) (Fin.cons a L) p q hp hq _ _ he i.succ 0) |
| 67 | |
| 68 | end Projection |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PartialPairs |