File size: 6,497 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.ChartDenominators
import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantAlgebra
import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.ExponentCompletion
/-! # Normalization Block Degrees -/
namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.NormalizationBlockDegrees
noncomputable section
/-! Exact block degrees of the frame discriminant and cleared point
coordinates identify the invariant fraction inverse to a normalized denominator. -/
open scoped BigOperators Classical
set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false
variable {r m : β}
theorem frameReplacementWeight_sum (Ο : Fin r β Fin m) (e i : Fin m) :
(β k, DeterminantBlockDegrees.labeledDeterminantWeight (Function.update Ο k e) i) + DeterminantBlockDegrees.labeledDeterminantWeight Ο i =
r * (DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0) := by
have h := Finset.sum_congr (sβ := (Finset.univ : Finset (Fin r))) rfl
(fun k _ => CoordinateExponents.labeledDeterminantWeight_update_add Ο k e i)
simp only [Finset.sum_add_distrib, Finset.sum_const,
Finset.card_univ, Fintype.card_fin, nsmul_eq_mul, Nat.cast_id] at h
change (β k, DeterminantBlockDegrees.labeledDeterminantWeight (Function.update Ο k e) i) + DeterminantBlockDegrees.labeledDeterminantWeight Ο i =
r * DeterminantBlockDegrees.labeledDeterminantWeight Ο i + r * (if e = i then 1 else 0) at h
simpa only [Nat.mul_add] using h
theorem frameDiscriminantExponent_degree (Ο : Fin r β Fin m) (e i : Fin m) :
Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (ChartDenominators.frameDiscriminantExponent Ο e) i =
r * (DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0) := by
have hsingle (j : Fin r β Fin m) : Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (Pi.single j 1) i =
DeterminantBlockDegrees.labeledDeterminantWeight j i := by simp [Balanced.ExponentFiniteGeneration.monomialMultiDegree, Pi.single_apply]
simp only [ChartDenominators.frameDiscriminantExponent, Balanced.ExponentFiniteGeneration.monomialMultiDegree_add, MonomialFiniteSums.monomialMultiDegree_sum, hsingle]
exact (Nat.add_comm _ _).trans (frameReplacementWeight_sum Ο e i)
theorem frameCoordinateExponent_degree_explicit (hr : 0 < r)
(Ο : Fin r β Fin m) (e z : Fin m) (k : Fin r) (i : Fin m) :
Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (CoordinateExponents.frameCoordinateExponent Ο e z k) i =
(r - 1) * (DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0) +
if z = i then 1 else 0 := by
rw [CoordinateExponents.frameCoordinateExponent_degree]
have hsum := frameReplacementWeight_sum Ο e i
have he := Finset.sum_erase_add (s := (Finset.univ : Finset (Fin r)))
(fun j => DeterminantBlockDegrees.labeledDeterminantWeight (Function.update Ο j e) i) (Finset.mem_univ k)
have hz := CoordinateExponents.labeledDeterminantWeight_update_add Ο k z i
have hv := CoordinateExponents.labeledDeterminantWeight_update_add Ο k e i
have hsplit : r * (DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0) =
(r - 1) * (DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0) +
(DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0) := by
have heq := congrArg
(fun t : β => t * (DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0))
(Nat.sub_add_cancel (Nat.succ_le_of_lt hr))
simpa only [Nat.add_mul, Nat.one_mul] using heq.symm
omega
def allFrameCoordinateExponent (Ο : Fin r β Fin m) (e : Fin m) (c : Fin m β Fin r) :
(Fin r β Fin m) β β := β z, CoordinateExponents.frameCoordinateExponent Ο e z (c z)
theorem allFrameCoordinateExponent_degree (hr : 0 < r) (Ο : Fin r β Fin m)
(e i : Fin m) (c : Fin m β Fin r) :
Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight (allFrameCoordinateExponent Ο e c) i =
m * ((r - 1) * (DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0)) + 1 := by
simp only [allFrameCoordinateExponent, MonomialFiniteSums.monomialMultiDegree_sum,
frameCoordinateExponent_degree_explicit hr, Finset.sum_add_distrib, Finset.sum_const,
Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]
simp
theorem normalizedDenominatorInverse_equal_degrees (hr : 0 < r)
(Ο : Fin r β Fin m) (e : Fin m) (c : Fin m β Fin r)
(a : (Fin r β Fin m) β β) (ha : a β Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) (iβ : Fin m) :
β i, Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight
((Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a iβ) β’ allFrameCoordinateExponent Ο e c) i =
Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight
(((r - 1) * β Ο, a Ο) β’ ChartDenominators.frameDiscriminantExponent Ο e + a) i := by
intro i
have hmass := Balanced.DeterminantAlgebra.balancedDeterminantMonomial_degree_mass a ha iβ
have hbal := (Balanced.ExponentFiniteGeneration.mem_balancedExponentMonoid_iff _ _).mp ha i iβ
rw [Balanced.ExponentCompletion.monomialMultiDegree_nsmul, Balanced.ExponentFiniteGeneration.monomialMultiDegree_add, Balanced.ExponentCompletion.monomialMultiDegree_nsmul,
allFrameCoordinateExponent_degree hr, frameDiscriminantExponent_degree, hbal]
calc
_ = (m * Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a iβ) *
((r - 1) * (DeterminantBlockDegrees.labeledDeterminantWeight Ο i + if e = i then 1 else 0)) +
Balanced.ExponentFiniteGeneration.monomialMultiDegree DeterminantBlockDegrees.labeledDeterminantWeight a iβ := by ring
_ = _ := by rw [β hmass]; ring
end
end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Frame.NormalizationBlockDegrees
|