refactor: Lint
This commit is contained in:
parent
833a570ce8
commit
7d983f5b4b
5 changed files with 23 additions and 20 deletions
|
@ -352,8 +352,8 @@ lemma rightAltContraction_apply_metric : (β_ rightHanded altRightHanded).hom.ho
|
|||
((rightHanded.V ◁ rightAltContraction.hom ▷ altRightHanded.V) (((rightHanded.V ◁
|
||||
(α_ rightHanded.V altRightHanded.V altRightHanded.V).inv)
|
||||
((α_ rightHanded.V rightHanded.V (altRightHanded.V ⊗ altRightHanded.V)).hom
|
||||
((x1 ⊗ₜ[ℂ] x2) ⊗ₜ[ℂ] y1 ⊗ₜ[ℂ] y2)))))
|
||||
= x1 ⊗ₜ[ℂ] ((λ_ altRightHanded.V).hom ((rightAltContraction.hom (x2 ⊗ₜ[ℂ] y1)) ⊗ₜ[ℂ] y2)) := rfl
|
||||
((x1 ⊗ₜ[ℂ] x2) ⊗ₜ[ℂ] y1 ⊗ₜ[ℂ] y2))))) = x1 ⊗ₜ[ℂ] ((λ_ altRightHanded.V).hom
|
||||
((rightAltContraction.hom (x2 ⊗ₜ[ℂ] y1)) ⊗ₜ[ℂ] y2)) := rfl
|
||||
repeat rw (config := { transparency := .instances }) [h1]
|
||||
repeat rw [rightAltContraction_basis]
|
||||
simp only [Fin.isValue, Fin.val_one, Fin.val_zero, one_ne_zero, ↓reduceIte, zero_tmul, map_zero,
|
||||
|
@ -374,7 +374,8 @@ lemma altRightContraction_apply_metric : (β_ altRightHanded rightHanded).hom.ho
|
|||
rw [rightMetricVal_expand_tmul, altRightMetricVal_expand_tmul]
|
||||
simp only [Action.instMonoidalCategory_tensorObj_V, Action.instMonoidalCategory_tensorUnit_V,
|
||||
Fin.isValue, tmul_add, tmul_neg, sub_tmul, map_add, map_neg, map_sub]
|
||||
have h1 (x1 x2 : altRightHanded) (y1 y2 : rightHanded) : (altRightHanded.V ◁ (λ_ rightHanded.V).hom)
|
||||
have h1 (x1 x2 : altRightHanded) (y1 y2 : rightHanded) :
|
||||
(altRightHanded.V ◁ (λ_ rightHanded.V).hom)
|
||||
((altRightHanded.V ◁ altRightContraction.hom ▷ rightHanded.V) (((altRightHanded.V ◁
|
||||
(α_ altRightHanded.V rightHanded.V rightHanded.V).inv)
|
||||
((α_ altRightHanded.V altRightHanded.V (rightHanded.V ⊗ rightHanded.V)).hom
|
||||
|
|
|
@ -251,7 +251,7 @@ lemma contr_altLeftLeftUnit (x : leftHanded) :
|
|||
simp only [Fin.isValue, one_smul]
|
||||
|
||||
/-- Contraction on the right with `leftAltLeftUnit` does nothing. -/
|
||||
lemma contr_leftAltLeftUnit (x : altLeftHanded) :
|
||||
lemma contr_leftAltLeftUnit (x : altLeftHanded) :
|
||||
(λ_ altLeftHanded).hom.hom
|
||||
(((altLeftContraction) ▷ altLeftHanded).hom
|
||||
((α_ _ _ altLeftHanded).inv.hom
|
||||
|
@ -333,29 +333,29 @@ lemma contr_rightAltRightUnit (x : altRightHanded) :
|
|||
open CategoryTheory
|
||||
|
||||
lemma altLeftLeftUnit_symm :
|
||||
(altLeftLeftUnit.hom (1 : ℂ)) = (altLeftHanded ◁ 𝟙 _).hom ((β_ leftHanded altLeftHanded ).hom.hom
|
||||
(leftAltLeftUnit.hom (1 : ℂ))) := by
|
||||
(altLeftLeftUnit.hom (1 : ℂ)) = (altLeftHanded ◁ 𝟙 _).hom
|
||||
((β_ leftHanded altLeftHanded).hom.hom (leftAltLeftUnit.hom (1 : ℂ))) := by
|
||||
rw [altLeftLeftUnit_apply_one, altLeftLeftUnitVal_expand_tmul]
|
||||
rw [leftAltLeftUnit_apply_one, leftAltLeftUnitVal_expand_tmul]
|
||||
rfl
|
||||
|
||||
lemma leftAltLeftUnit_symm :
|
||||
(leftAltLeftUnit.hom (1 : ℂ)) = (leftHanded ◁ 𝟙 _).hom ((β_ altLeftHanded leftHanded ).hom.hom
|
||||
(leftAltLeftUnit.hom (1 : ℂ)) = (leftHanded ◁ 𝟙 _).hom ((β_ altLeftHanded leftHanded).hom.hom
|
||||
(altLeftLeftUnit.hom (1 : ℂ))) := by
|
||||
rw [altLeftLeftUnit_apply_one, altLeftLeftUnitVal_expand_tmul]
|
||||
rw [leftAltLeftUnit_apply_one, leftAltLeftUnitVal_expand_tmul]
|
||||
rfl
|
||||
|
||||
lemma altRightRightUnit_symm :
|
||||
(altRightRightUnit.hom (1 : ℂ)) = (altRightHanded ◁ 𝟙 _).hom ((β_ rightHanded altRightHanded ).hom.hom
|
||||
(rightAltRightUnit.hom (1 : ℂ))) := by
|
||||
(altRightRightUnit.hom (1 : ℂ)) = (altRightHanded ◁ 𝟙 _).hom
|
||||
((β_ rightHanded altRightHanded).hom.hom (rightAltRightUnit.hom (1 : ℂ))) := by
|
||||
rw [altRightRightUnit_apply_one, altRightRightUnitVal_expand_tmul]
|
||||
rw [rightAltRightUnit_apply_one, rightAltRightUnitVal_expand_tmul]
|
||||
rfl
|
||||
|
||||
lemma rightAltRightUnit_symm :
|
||||
(rightAltRightUnit.hom (1 : ℂ)) = (rightHanded ◁ 𝟙 _).hom ((β_ altRightHanded rightHanded ).hom.hom
|
||||
(altRightRightUnit.hom (1 : ℂ))) := by
|
||||
(rightAltRightUnit.hom (1 : ℂ)) = (rightHanded ◁ 𝟙 _).hom
|
||||
((β_ altRightHanded rightHanded).hom.hom (altRightRightUnit.hom (1 : ℂ))) := by
|
||||
rw [altRightRightUnit_apply_one, altRightRightUnitVal_expand_tmul]
|
||||
rw [rightAltRightUnit_apply_one, rightAltRightUnitVal_expand_tmul]
|
||||
rfl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue