let X be non empty disjoint_with_NAT set ; for I being Element of (FreeUnivAlgNSG (ECIW-signature,X)) st I in ElementaryInstructions (FreeUnivAlgNSG (ECIW-signature,X)) holds
ex x being Element of X st I = x -tree {}
set S = ECIW-signature ;
set A = FreeUnivAlgNSG (ECIW-signature,X);
let I be Element of (FreeUnivAlgNSG (ECIW-signature,X)); ( I in ElementaryInstructions (FreeUnivAlgNSG (ECIW-signature,X)) implies ex x being Element of X st I = x -tree {} )
assume A1:
I in ElementaryInstructions (FreeUnivAlgNSG (ECIW-signature,X))
; ex x being Element of X st I = x -tree {}
per cases
( ex x being Element of X st I = root-tree x or ex n being Nat ex p being FinSequence of (FreeUnivAlgNSG (ECIW-signature,X)) st
( n in Seg 4 & I = n -tree p & len p = ECIW-signature . n ) )
by Th56;
suppose
ex
n being
Nat ex
p being
FinSequence of
(FreeUnivAlgNSG (ECIW-signature,X)) st
(
n in Seg 4 &
I = n -tree p &
len p = ECIW-signature . n )
;
ex x being Element of X st I = x -tree {}then consider n being
Nat,
p being
FinSequence of
(FreeUnivAlgNSG (ECIW-signature,X)) such that A3:
n in Seg 4
and A4:
I = n -tree p
and
len p = ECIW-signature . n
;
per cases
( n = 1 or n = 2 or n = 3 or n = 4 )
by A3, ENUMSET1:def 2, FINSEQ_3:2;
suppose A6:
n = 2
;
ex x being Element of X st I = x -tree {}then consider I1,
I2 being
Element of
(FreeUnivAlgNSG (ECIW-signature,X)) such that A7:
p = <*I1,I2*>
by A4, Th60;
A8:
I =
n -tree (
I1,
I2)
by A4, A7
.=
I1 \; I2
by A6, Th59
;
then A9:
I <> I1
by Th61;
I <> I2
by A8, Th61;
hence
ex
x being
Element of
X st
I = x -tree {}
by A1, A8, A9, Th50;
verum end; suppose A10:
n = 3
;
ex x being Element of X st I = x -tree {}then consider C,
I1,
I2 being
Element of
(FreeUnivAlgNSG (ECIW-signature,X)) such that A11:
p = <*C,I1,I2*>
by A4, Th64;
I = if-then-else (
C,
I1,
I2)
by A4, A10, A11, Th63;
hence
ex
x being
Element of
X st
I = x -tree {}
by A1, Th51;
verum end; end; end; end;