reconsider p0 = 0 , p1 = 1, p2 = 2, p3 = 3, p4 = 4 as Element of SegM 4 by Th1;
set A = [:(SegM 4),{0,1}:];
set B = {(- 1),0,1};
set C = [:(SegM 4),{0,1},{(- 1),0,1}:];
reconsider b0 = 0 , b1 = 1 as Element of {0,1} by TARSKI:def 2;
reconsider L = - 1 as Element of {(- 1),0,1} by ENUMSET1:def 1;
reconsider h = 0 , R = 1 as Element of {(- 1),0,1} by ENUMSET1:def 1;
[:(SegM 4),{0,1},{(- 1),0,1}:] = [:[:(SegM 4),{0,1}:],{(- 1),0,1}:]
by ZFMISC_1:def 3;
then reconsider OP = id ([:(SegM 4),{0,1}:],{(- 1),0,1},h) as Function of [:(SegM 4),{0,1}:],[:(SegM 4),{0,1},{(- 1),0,1}:] ;
(((((((id ([:(SegM 4),{0,1}:],{(- 1),0,1},0)) +* ([0,0] .--> [1,0,1])) +* ([1,1] .--> [1,1,1])) +* ([1,0] .--> [2,1,1])) +* ([2,0] .--> [3,0,(- 1)])) +* ([2,1] .--> [3,0,(- 1)])) +* ([3,1] .--> [3,1,(- 1)])) +* ([3,0] .--> [4,0,0]) = ((((((OP +* ([p0,b0] .--> [p1,b0,R])) +* ([p1,b1] .--> [p1,b1,R])) +* ([p1,b0] .--> [p2,b1,R])) +* ([p2,b0] .--> [p3,b0,L])) +* ([p2,b1] .--> [p3,b0,L])) +* ([p3,b1] .--> [p3,b1,L])) +* ([p3,b0] .--> [p4,b0,h])
;
hence
(((((((id ([:(SegM 4),{0,1}:],{(- 1),0,1},0)) +* ([0,0] .--> [1,0,1])) +* ([1,1] .--> [1,1,1])) +* ([1,0] .--> [2,1,1])) +* ([2,0] .--> [3,0,(- 1)])) +* ([2,1] .--> [3,0,(- 1)])) +* ([3,1] .--> [3,1,(- 1)])) +* ([3,0] .--> [4,0,0]) is Function of [:(SegM 4),{0,1}:],[:(SegM 4),{0,1},{(- 1),0,1}:]
; verum