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.InfiniteFieldBound |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Coordinate.IntegerQuotient |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CoverModule |
| 4 | |
| 5 | /-! # Change Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.ChangeQuotient.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A coordinate change identifies the actual homogeneous quotient modules, with the target action given by evaluation. -/ |
| 12 | |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.CoverModule.ProjectiveCech |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {K : Type u} [Field K] {n : ℕ} |
| 20 | variable (e : Hilbert.Polynomial.GradedHilbert.grading K n 1 ≃ₗ[K] Hilbert.Polynomial.GradedHilbert.grading K n 1) (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n)) |
| 21 | |
| 22 | def linearChangeQuotientEquiv : |
| 23 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ (InfiniteFieldBound.GradedHilbert.changedIdeal e I).toIdeal) ≃ₐ[K] Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal := |
| 24 | Ideal.quotientEquivAlg _ _ (Changes.GradedHilbert.extendLinearEquiv e) |
| 25 | (Ideal.map_comap_of_surjective (Changes.GradedHilbert.extendLinearEquiv e).toRingHom (Changes.GradedHilbert.extendLinearEquiv e).surjective I.toIdeal).symm |
| 26 | |
| 27 | theorem linearChangeQuotientEquiv_mk (p : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) : |
| 28 | linearChangeQuotientEquiv e I (Ideal.Quotient.mk (InfiniteFieldBound.GradedHilbert.changedIdeal e I).toIdeal p) = |
| 29 | Ideal.Quotient.mk I.toIdeal (Changes.GradedHilbert.extendLinearEquiv e p) := rfl |
| 30 | |
| 31 | theorem extendLinearEquiv_integer_homogeneous {d : ℤ} {p : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n} |
| 32 | (hp : p ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := Fin (n + 1)) K d) : |
| 33 | Changes.GradedHilbert.extendLinearEquiv e p ∈ WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := Fin (n + 1)) K d := |
| 34 | PolynomialSubstitution.GradedModules.linearSubstitution_integer_homogeneous K (fun i => (e (Changes.GradedHilbert.linearVariable i)).val) |
| 35 | (fun i => (e (Changes.GradedHilbert.linearVariable i)).property) hp |
| 36 | |
| 37 | theorem linearChangeQuotientEquiv_homogeneous (d : ℤ) |
| 38 | (x : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ (InfiniteFieldBound.GradedHilbert.changedIdeal e I).toIdeal) |
| 39 | (hx : x ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading (InfiniteFieldBound.GradedHilbert.changedIdeal e I) d) : |
| 40 | linearChangeQuotientEquiv e I x ∈ Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I d := by |
| 41 | obtain ⟨p, hp, rfl⟩ := hx |
| 42 | exact ⟨Changes.GradedHilbert.extendLinearEquiv e p, extendLinearEquiv_integer_homogeneous e hp, rfl⟩ |
| 43 | |
| 44 | @[instance_reducible] |
| 45 | def linearChangeQuotientModule : Module (MvPolynomial (Fin (n + 1)) K) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) := |
| 46 | Polynomial.CoverModule.ProjectiveCech.polynomialCoverModule K (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) |
| 47 | (fun i => (e (Changes.GradedHilbert.linearVariable i)).val) |
| 48 | |
| 49 | theorem linearChangeQuotient_scalarTower : |
| 50 | let := linearChangeQuotientModule e I |
| 51 | let : SMul (MvPolynomial (Fin (n + 1)) K) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) := |
| 52 | (linearChangeQuotientModule e I).toSMul |
| 53 | IsScalarTower K (MvPolynomial (Fin (n + 1)) K) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) := by |
| 54 | let := linearChangeQuotientModule e I |
| 55 | let : SMul (MvPolynomial (Fin (n + 1)) K) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) := |
| 56 | (linearChangeQuotientModule e I).toSMul |
| 57 | apply @IsScalarTower.of_algebraMap_smul K (MvPolynomial (Fin (n + 1)) K) |
| 58 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) _ _ _ (linearChangeQuotientModule e I).toMulAction _ |
| 59 | intro r x |
| 60 | change Ideal.Quotient.mk I.toIdeal |
| 61 | (MvPolynomial.aeval (fun i => (e (Changes.GradedHilbert.linearVariable i)).val) (C r)) * x = r • x |
| 62 | rw [MvPolynomial.aeval_C] |
| 63 | exact (Algebra.smul_def r x).symm |
| 64 | |
| 65 | theorem linearChangeQuotient_gradedSMul : |
| 66 | let := linearChangeQuotientModule e I |
| 67 | let : SMul (MvPolynomial (Fin (n + 1)) K) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) := |
| 68 | (linearChangeQuotientModule e I).toSMul |
| 69 | SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := Fin (n + 1)) K) (Coordinate.IntegerQuotient.GradedHilbert.integerQuotientGrading I) := by |
| 70 | let := linearChangeQuotientModule e I |
| 71 | let : SMul (MvPolynomial (Fin (n + 1)) K) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) := |
| 72 | (linearChangeQuotientModule e I).toSMul |
| 73 | constructor |
| 74 | intro d t p x hp hx |
| 75 | obtain ⟨b, hb, rfl⟩ := hx |
| 76 | refine ⟨Changes.GradedHilbert.extendLinearEquiv e p * b, |
| 77 | SetLike.mul_mem_graded (extendLinearEquiv_integer_homogeneous e hp) hb, ?_⟩ |
| 78 | change Ideal.Quotient.mk I.toIdeal (Changes.GradedHilbert.extendLinearEquiv e p * b) = |
| 79 | Ideal.Quotient.mk I.toIdeal (Changes.GradedHilbert.extendLinearEquiv e p) * Ideal.Quotient.mk I.toIdeal b |
| 80 | exact map_mul _ _ _ |
| 81 | |
| 82 | def linearChangeQuotientPolynomialEquiv : |
| 83 | let := Polynomial.CoverModule.ProjectiveCech.polynomialCoverModule K (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) |
| 84 | (fun i => (e (Changes.GradedHilbert.linearVariable i)).val) |
| 85 | (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ (InfiniteFieldBound.GradedHilbert.changedIdeal e I).toIdeal) ≃ₗ[Hilbert.Polynomial.GradedHilbert.CoordinateRing K n] |
| 86 | Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal := by |
| 87 | let := Polynomial.CoverModule.ProjectiveCech.polynomialCoverModule K (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) (Hilbert.Polynomial.GradedHilbert.CoordinateRing K n ⧸ I.toIdeal) |
| 88 | (fun i => (e (Changes.GradedHilbert.linearVariable i)).val) |
| 89 | refine { (linearChangeQuotientEquiv e I).toAddEquiv with map_smul' := ?_ } |
| 90 | intro a x |
| 91 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 92 | change linearChangeQuotientEquiv e I (Ideal.Quotient.mk _ (a * p)) = |
| 93 | Ideal.Quotient.mk _ ((Changes.GradedHilbert.extendLinearEquiv e a) * (Changes.GradedHilbert.extendLinearEquiv e p)) |
| 94 | rw [linearChangeQuotientEquiv_mk, map_mul] |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Linear.ChangeQuotient.GradedHilbert |