Skip to content

Commit 2c517a0

Browse files
author
Sirui Lu
committed
refactor(peps): move SameState symmetry to defs
1 parent 727a87b commit 2c517a0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

TNLean/PEPS/Defs.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ noncomputable def stateCoeff (A : Tensor G d) (σ : V → Fin d) : ℂ :=
6565
def SameState (A B : Tensor G d) : Prop :=
6666
∀ σ : V → Fin d, stateCoeff A σ = stateCoeff B σ
6767

68+
/-- `SameState` is symmetric: it is equality of all state coefficients. -/
69+
theorem SameState.symm {A B : Tensor G d} (hAB : SameState A B) : SameState B A :=
70+
fun σ => (hAB σ).symm
71+
6872
/-- Vertex-wise injectivity: at each vertex `v`, the family of physical vectors
6973
`η ↦ A.component v η` (indexed by virtual configurations on the incident edges)
7074
is linearly independent in `Fin d → ℂ`.

TNLean/PEPS/InsertionAlgebra.lean

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -683,10 +683,6 @@ theorem edgeInsertedCoeff_injective (B : Tensor G d) (e : Edge G)
683683
simpa using this
684684
rw [hMN, hM'eqN]
685685

686-
/-- `SameState` is symmetric: it is equality of all state coefficients. -/
687-
theorem SameState.symm {A B : Tensor G d} (hAB : SameState A B) : SameState B A :=
688-
fun σ => (hAB σ).symm
689-
690686
/-- The transfer map packaged as a `ℂ`-linear map, using additivity and
691687
homogeneity of `edgeTransferMatrix`. -/
692688
noncomputable def edgeTransferLinearMap (A B : Tensor G d) (e : Edge G)

0 commit comments

Comments
 (0)