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.DeterminantMonomialTransformations |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.MonomialFractions |
| 3 | |
| 4 | /-! # Determinant Fractions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantFractions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Balanced monomials of equal degree have the same transformation |
| 11 | factor. Their fractions consequently depend only on the projective configuration. -/ |
| 12 | open scoped BigOperators Classical |
| 13 | universe u |
| 14 | variable {R : Type u} [CommRing R] {r m : ℕ} |
| 15 | |
| 16 | theorem balancedDeterminantMonomial_orders_equal (hr : 0 < r) |
| 17 | (a b : (Fin r → Fin m) → ℕ) |
| 18 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 19 | (hb : b ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (i : Fin m) |
| 20 | (hdeg : ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a i = ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight b i) : |
| 21 | ∑ σ, a σ = ∑ σ, b σ := by |
| 22 | apply Nat.eq_of_mul_eq_mul_left hr |
| 23 | rw [DeterminantAlgebra.balancedDeterminantMonomial_degree_mass a ha i, |
| 24 | DeterminantAlgebra.balancedDeterminantMonomial_degree_mass b hb i, hdeg] |
| 25 | |
| 26 | theorem balancedDeterminantMonomial_all_degrees_equal |
| 27 | (a b : (Fin r → Fin m) → ℕ) |
| 28 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 29 | (hb : b ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (i : Fin m) |
| 30 | (hdeg : ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a i = ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight b i) : |
| 31 | ∀ j, ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a j = ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight b j := by |
| 32 | intro j |
| 33 | exact ((ExponentFiniteGeneration.mem_balancedExponentMonoid_iff _ _).mp ha j i).trans |
| 34 | (hdeg.trans ((ExponentFiniteGeneration.mem_balancedExponentMonoid_iff _ _).mp hb i j)) |
| 35 | |
| 36 | theorem balancedDeterminantMonomial_transform_common_factor (hr : 0 < r) |
| 37 | (v : Fin m → Fin r → R) (T : (Fin r → R) →ₗ[R] (Fin r → R)) (c : Fin m → R) |
| 38 | (a b : (Fin r → Fin m) → ℕ) |
| 39 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 40 | (hb : b ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (i : Fin m) |
| 41 | (hdeg : ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight b i = ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a i) : |
| 42 | MonomialAlgebra.exponentMonomial (fun σ => LabeledDeterminantPolynomials.labeledDeterminant σ (fun j k => c j * T (v j) k)) b = |
| 43 | (T.det ^ (∑ σ, a σ) * ∏ j, c j ^ ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a j) * |
| 44 | MonomialAlgebra.exponentMonomial (fun σ => LabeledDeterminantPolynomials.labeledDeterminant σ v) b := by |
| 45 | rw [DeterminantMonomialTransformations.determinantMonomial_linear_rescale, |
| 46 | balancedDeterminantMonomial_orders_equal hr b a hb ha i hdeg] |
| 47 | simp only [balancedDeterminantMonomial_all_degrees_equal b a hb ha i hdeg] |
| 48 | |
| 49 | theorem balancedDeterminantMonomial_cross_invariant (hr : 0 < r) |
| 50 | (v : Fin m → Fin r → R) (T : (Fin r → R) →ₗ[R] (Fin r → R)) (c : Fin m → R) |
| 51 | (a b : (Fin r → Fin m) → ℕ) |
| 52 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 53 | (hb : b ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (i : Fin m) |
| 54 | (hdeg : ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight b i = ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a i) : |
| 55 | MonomialAlgebra.exponentMonomial (fun σ => LabeledDeterminantPolynomials.labeledDeterminant σ (fun j k => c j * T (v j) k)) b * |
| 56 | MonomialAlgebra.exponentMonomial (fun σ => LabeledDeterminantPolynomials.labeledDeterminant σ v) a = |
| 57 | MonomialAlgebra.exponentMonomial (fun σ => LabeledDeterminantPolynomials.labeledDeterminant σ (fun j k => c j * T (v j) k)) a * |
| 58 | MonomialAlgebra.exponentMonomial (fun σ => LabeledDeterminantPolynomials.labeledDeterminant σ v) b := by |
| 59 | rw [balancedDeterminantMonomial_transform_common_factor hr v T c a b ha hb i hdeg, |
| 60 | DeterminantMonomialTransformations.determinantMonomial_linear_rescale] |
| 61 | ring |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantFractions |