introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
3.03 kB
16
theorem balancedChartEvaluation_is_frame_normalization
    (i : Fin m) (Οƒ : Fin r β†’ Fin m) (e : Fin m) (c : Fin m β†’ Fin r)
    (a : (Fin r β†’ Fin m) β†’ β„•) (C : Fin m β†’ (Fin r β†’ Fin m) β†’ β„•)
    (ha : a ∈ Balanced.ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight)
    (hC : βˆ€ z, C z + Frame.CoordinateExponents.frameCoordinateExponent Οƒ e z (c z) = a)
    (hframe : Frame.ChartDenominators.frameDiscriminantExponent Οƒ e ≀ a)
    (w : Fin m β†’ Fin r β†’ A) (hw : IsUnit (Balanced.MonomialAlgebra.exponentMonomial (fun Ο„ => LabeledDeterminantPolynomials.labeledDeterminant Ο„ w) a)) :
    βˆƒ T : (Fin r β†’ A) ≃ₗ[A] (Fin r β†’ A), βˆƒ s : Fin m β†’ AΛ£, βˆ€ z k,
      Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation (R := R) i w a ha hw
          (Balanced.FrameChartNormalization.balancedFrameChartVectors R i Οƒ e c a C ha hC z k) =
        (s z : A) * T (w z) k := by
proof Β· 22 lines
  have hΞ” : IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun A (Fin r))
      (fun j => w (Οƒ j)) (w e)) := by
    rw [← Frame.ChartDenominators.frameDiscriminantExponent_monomial]
    exact Unit.MonomialFractions.exponentMonomial_isUnit_of_le _ hframe hw
  let T := DeterminantFrameLinearMap.determinantFrameLinearEquiv (Pi.basisFun A (Fin r)) (fun j => w (Οƒ j)) (w e) hΞ”
  have hu (z : Fin m) : IsUnit (T (w z) (c z)) := by
    change IsUnit (DeterminantFrameLinearMap.determinantFrameLinearMap (Pi.basisFun A (Fin r))
      (fun j => w (Οƒ j)) (w e) (w z) (c z))
    rw [← Frame.CoordinateMonomials.frameCoordinateExponent_linearMap]
    apply Unit.MonomialFractions.exponentMonomial_isUnit_of_le _ _ hw
    intro Ο„
    calc
      Frame.CoordinateExponents.frameCoordinateExponent Οƒ e z (c z) Ο„ ≀ C z Ο„ + Frame.CoordinateExponents.frameCoordinateExponent Οƒ e z (c z) Ο„ :=
        Nat.le_add_left _ _
      _ = a Ο„ := congrFun (hC z) Ο„
  refine ⟨T, fun z => (hu z).unit⁻¹, ?_⟩
  intro z k
  apply (hu z).mul_right_cancel
  calc
    _ = T (w z) k := Balanced.ConfigurationChartEvaluation.balancedConfigurationChartEvaluation_frame_cross i Οƒ e c a C ha hC w hw z k
    _ = (↑(hu z).unit⁻¹ * T (w z) (c z)) * T (w z) k := by rw [(hu z).val_inv_mul, one_mul]
    _ = (↑(hu z).unit⁻¹ * T (w z) k) * T (w z) (c z) := by ring