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.BalancedChart.AmbientFrame |
| 2 | |
| 3 | /-! # Monomial Chart Fractions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.MonomialChartFractions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Equal-block-degree monomials admit a fraction in the actual chart |
| 10 | ring whenever the denominator divides a power of the balanced denominator. -/ |
| 11 | open scoped BigOperators Classical |
| 12 | universe u |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | private theorem chartFraction_crossMultiply_power |
| 16 | {R A : Type*} [CommRing R] [CommRing A] [Algebra R A] |
| 17 | (S : Subalgebra R A) (g : ℕ → Submodule R S) [GradedAlgebra g] |
| 18 | (f : S) {d : ℕ} (hf : f ∈ g d) (k : ℕ) (x : S) (hx : x ∈ g (k • d)) |
| 19 | (b c : A) (h : x.val * b = f.val ^ k * c) : |
| 20 | Homogeneous.SubalgebraChartEmbedding.homogeneousSubalgebraChartEmbedding S g f (HomogeneousLocalization.Away.mk g hf k x hx) * |
| 21 | algebraMap A (Localization.Away f.val) b = algebraMap A (Localization.Away f.val) c := by |
| 22 | rw [Homogeneous.SubalgebraChartEmbedding.homogeneousSubalgebraChartEmbedding_mk, mul_comm, IsLocalization.mul_mk'_eq_mk'_of_mul, |
| 23 | mul_comm b, h] |
| 24 | exact IsLocalization.mk'_mul_cancel_left c (⟨f.val ^ k, ⟨k, rfl⟩⟩ : Submonoid.powers f.val) |
| 25 | |
| 26 | variable (R : Type u) [CommRing R] {r m : ℕ} |
| 27 | |
| 28 | def balancedMonomialChartFraction (i : Fin m) (a : (Fin r → Fin m) → ℕ) |
| 29 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (k : ℕ) |
| 30 | (b d C : (Fin r → Fin m) → ℕ) (he : C + b = k • a) |
| 31 | (hd : ∀ j, ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight d j = ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight b j) : |
| 32 | FrameChartCoordinates.balancedDeterminantChartRing R i a ha := by |
| 33 | have hka : k • a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight := |
| 34 | (ExponentFiniteGeneration.balancedExponentMonoid _).nsmul_mem ha k |
| 35 | have hQ : C + d ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight := |
| 36 | ExponentCompletion.balanced_completion_of_same_degree _ _ _ _ _ hka he hd |
| 37 | have hdeg : ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (C + d) i = |
| 38 | k • ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a i := by |
| 39 | rw [ExponentFiniteGeneration.monomialMultiDegree_add, hd, ← ExponentFiniteGeneration.monomialMultiDegree_add, he, ExponentCompletion.monomialMultiDegree_nsmul, nsmul_eq_mul, Nat.cast_id] |
| 40 | exact HomogeneousLocalization.Away.mk (DeterminantGrading.balancedDeterminantGrading R r m i) |
| 41 | (FrameCoordinatePolynomials.balancedDeterminantMonomialElement_mem_grading R a ha i) k |
| 42 | (FrameCoordinatePolynomials.balancedDeterminantMonomialElement R (C + d) hQ) |
| 43 | (hdeg ▸ FrameCoordinatePolynomials.balancedDeterminantMonomialElement_mem_grading R (C + d) hQ i) |
| 44 | |
| 45 | theorem balancedMonomialChartFraction_crossMultiply (i : Fin m) (a : (Fin r → Fin m) → ℕ) |
| 46 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (k : ℕ) |
| 47 | (b d C : (Fin r → Fin m) → ℕ) (he : C + b = k • a) |
| 48 | (hd : ∀ j, ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight d j = ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight b j) : |
| 49 | (show BalancedChart.AmbientFrame.balancedChartAmbientRing R a from |
| 50 | Homogeneous.SubalgebraChartEmbedding.homogeneousSubalgebraChartEmbedding (DeterminantAlgebra.balancedDeterminantAlgebra R r m) |
| 51 | (DeterminantGrading.balancedDeterminantGrading R r m i) (FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha) |
| 52 | (balancedMonomialChartFraction R i a ha k b d C he hd)) * |
| 53 | MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (BalancedChart.AmbientFrame.balancedChartAmbientVectors R a)) b = |
| 54 | MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (BalancedChart.AmbientFrame.balancedChartAmbientVectors R a)) d := by |
| 55 | rw [BalancedChart.AmbientFrame.balancedChartAmbientVectors_monomial, BalancedChart.AmbientFrame.balancedChartAmbientVectors_monomial] |
| 56 | have hpoly : MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) b * |
| 57 | MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (C + d) = |
| 58 | (MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) a) ^ k * |
| 59 | MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) d := by |
| 60 | rw [MonomialAlgebra.exponentMonomial_add] |
| 61 | calc |
| 62 | _ = MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) (C + b) * |
| 63 | MonomialAlgebra.exponentMonomial (LabeledDeterminantPolynomials.labeledDeterminantPolynomial R) d := by rw [MonomialAlgebra.exponentMonomial_add]; ring |
| 64 | _ = _ := by rw [he, NonvanishingMonomialCompletion.exponentMonomial_nsmul] |
| 65 | unfold balancedMonomialChartFraction |
| 66 | apply chartFraction_crossMultiply_power |
| 67 | exact (mul_comm _ _).trans hpoly |
| 68 | |
| 69 | theorem supportedMonomial_exists_chart_fraction (i : Fin m) (a : (Fin r → Fin m) → ℕ) |
| 70 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (b d : (Fin r → Fin m) → ℕ) |
| 71 | (hsupp : ∀ τ, b τ ≠ 0 → 0 < a τ) |
| 72 | (hd : ∀ j, ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight d j = ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight b j) : |
| 73 | ∃ F : FrameChartCoordinates.balancedDeterminantChartRing R i a ha, |
| 74 | (show BalancedChart.AmbientFrame.balancedChartAmbientRing R a from |
| 75 | Homogeneous.SubalgebraChartEmbedding.homogeneousSubalgebraChartEmbedding (DeterminantAlgebra.balancedDeterminantAlgebra R r m) |
| 76 | (DeterminantGrading.balancedDeterminantGrading R r m i) (FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha) F) * |
| 77 | MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (BalancedChart.AmbientFrame.balancedChartAmbientVectors R a)) b = |
| 78 | MonomialAlgebra.exponentMonomial (fun τ => LabeledDeterminantPolynomials.labeledDeterminant τ (BalancedChart.AmbientFrame.balancedChartAmbientVectors R a)) d := by |
| 79 | obtain ⟨k, _, C, hC⟩ := SupportedExponentCompletion.supportedExponent_exists_completion a b hsupp |
| 80 | exact ⟨balancedMonomialChartFraction R i a ha k b d C hC hd, |
| 81 | balancedMonomialChartFraction_crossMultiply R i a ha k b d C hC hd⟩ |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.MonomialChartFractions |