Step
*
2
1
1
1
1
of Lemma
rotate-as-flips
1. n : ℤ
2. 0 < n
3. ∃flips:(ℕn - 1 × ℕn - 1) List. (rot(n - 1) = compose-flips(flips) ∈ (ℕn - 1 ⟶ ℕn - 1))
4. rot(n) = ((λx.if (x =z n - 1) then x else rot(n - 1) x fi ) o (n - 2, n - 1)) ∈ (ℕn ⟶ ℕn)
5. n = 1 ∈ ℤ
6. x : ℤ
7. x = 0 ∈ ℤ
⊢ (rot(1) 0) = (compose-flips([]) 0) ∈ ℕ1
BY
{ (RepUR ``rotate compose-flips`` 0 THEN Auto) }
Latex:
Latex:
1.  n  :  \mBbbZ{}
2.  0  <  n
3.  \mexists{}flips:(\mBbbN{}n  -  1  \mtimes{}  \mBbbN{}n  -  1)  List.  (rot(n  -  1)  =  compose-flips(flips))
4.  rot(n)  =  ((\mlambda{}x.if  (x  =\msubz{}  n  -  1)  then  x  else  rot(n  -  1)  x  fi  )  o  (n  -  2,  n  -  1))
5.  n  =  1
6.  x  :  \mBbbZ{}
7.  x  =  0
\mvdash{}  (rot(1)  0)  =  (compose-flips([])  0)
By
Latex:
(RepUR  ``rotate  compose-flips``  0  THEN  Auto)
Home
Index