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.SparseBalancedFrameCharts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantGrading |
| 3 | |
| 4 | /-! # Frame Coordinate Polynomials -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameCoordinatePolynomials |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Completing the coordinate exponents gives actual elements of the |
| 11 | balanced determinant algebra, all in the denominator's graded piece. -/ |
| 12 | open scoped BigOperators Classical |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable (R : Type u) [CommRing R] {r m : ℕ} |
| 17 | |
| 18 | def balancedDeterminantMonomialElement (a : (Fin r → Fin m) → ℕ) |
| 19 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) : DeterminantAlgebra.balancedDeterminantAlgebra R r m := |
| 20 | ⟨MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) a, Algebra.subset_adjoin ⟨a, ha, rfl⟩⟩ |
| 21 | |
| 22 | theorem balancedDeterminantMonomialElement_mem_grading (a : (Fin r → Fin m) → ℕ) |
| 23 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (i : Fin m) : |
| 24 | balancedDeterminantMonomialElement R a ha ∈ |
| 25 | DeterminantGrading.balancedDeterminantGrading R r m i (ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a i) := by |
| 26 | apply Submodule.subset_span |
| 27 | exact ⟨a, ⟨ha, rfl⟩, rfl⟩ |
| 28 | |
| 29 | theorem frameCompletion_coordinate_degree (σ : Fin r → Fin m) (e z : Fin m) (c k : Fin r) |
| 30 | (a C : (Fin r → Fin m) → ℕ) (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) (i : Fin m) : |
| 31 | ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (C + Frame.CoordinateExponents.frameCoordinateExponent σ e z k) i = |
| 32 | ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a i := by |
| 33 | rw [ExponentFiniteGeneration.monomialMultiDegree_add, Frame.CoordinateExponents.frameCoordinateExponent_degrees_equal σ e z k c, |
| 34 | ← ExponentFiniteGeneration.monomialMultiDegree_add, hC] |
| 35 | |
| 36 | def balancedFrameCoordinateNumerator (σ : Fin r → Fin m) (e z : Fin m) (c k : Fin r) |
| 37 | (a C : (Fin r → Fin m) → ℕ) (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 38 | (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) : DeterminantAlgebra.balancedDeterminantAlgebra R r m := |
| 39 | balancedDeterminantMonomialElement R (C + Frame.CoordinateExponents.frameCoordinateExponent σ e z k) |
| 40 | (ExponentCompletion.balanced_completion_of_same_degree DeterminantBlockDegrees.labeledDeterminantWeight a |
| 41 | (Frame.CoordinateExponents.frameCoordinateExponent σ e z c) C (Frame.CoordinateExponents.frameCoordinateExponent σ e z k) ha hC |
| 42 | (Frame.CoordinateExponents.frameCoordinateExponent_degrees_equal σ e z k c)) |
| 43 | |
| 44 | theorem balancedFrameCoordinateNumerator_mem_grading (σ : Fin r → Fin m) |
| 45 | (e z : Fin m) (c k : Fin r) (a C : (Fin r → Fin m) → ℕ) |
| 46 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 47 | (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) (i : Fin m) : |
| 48 | balancedFrameCoordinateNumerator R σ e z c k a C ha hC ∈ |
| 49 | DeterminantGrading.balancedDeterminantGrading R r m i (ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a i) := by |
| 50 | unfold balancedFrameCoordinateNumerator |
| 51 | rw [← frameCompletion_coordinate_degree σ e z c k a C hC i] |
| 52 | exact balancedDeterminantMonomialElement_mem_grading R _ _ i |
| 53 | |
| 54 | theorem balancedFrameCoordinateNumerator_selected (σ : Fin r → Fin m) |
| 55 | (e z : Fin m) (c : Fin r) (a C : (Fin r → Fin m) → ℕ) |
| 56 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 57 | (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) : |
| 58 | balancedFrameCoordinateNumerator R σ e z c c a C ha hC = |
| 59 | balancedDeterminantMonomialElement R a ha := by |
| 60 | apply Subtype.ext |
| 61 | change MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c) = _ |
| 62 | rw [hC] |
| 63 | rfl |
| 64 | |
| 65 | theorem balancedFrameCoordinateNumerator_crossMultiply (σ : Fin r → Fin m) |
| 66 | (e z : Fin m) (c k : Fin r) (a C : (Fin r → Fin m) → ℕ) |
| 67 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 68 | (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) : |
| 69 | (balancedFrameCoordinateNumerator R σ e z c k a C ha hC).val * |
| 70 | MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (Frame.CoordinateExponents.frameCoordinateExponent σ e z c) = |
| 71 | (balancedDeterminantMonomialElement R a ha).val * |
| 72 | MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (Frame.CoordinateExponents.frameCoordinateExponent σ e z k) := by |
| 73 | change MonomialAlgebra.exponentMonomial _ (C + Frame.CoordinateExponents.frameCoordinateExponent σ e z k) * _ = |
| 74 | MonomialAlgebra.exponentMonomial _ a * _ |
| 75 | rw [← hC, MonomialAlgebra.exponentMonomial_add, MonomialAlgebra.exponentMonomial_add] |
| 76 | ring |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameCoordinatePolynomials |