definition
let P be
FinSequence-membered set ;
let A be
Function of
P,
NAT;
existence
ex b1 being Function st
( dom b1 = NAT & b1 . 0 = Polish-atoms (P,A) & ( for n being Nat ex U being Subset of (P *) st
( U = b1 . n & b1 . (n + 1) = Polish-expression-layer (P,A,U) ) ) )
uniqueness
for b1, b2 being Function st dom b1 = NAT & b1 . 0 = Polish-atoms (P,A) & ( for n being Nat ex U being Subset of (P *) st
( U = b1 . n & b1 . (n + 1) = Polish-expression-layer (P,A,U) ) ) & dom b2 = NAT & b2 . 0 = Polish-atoms (P,A) & ( for n being Nat ex U being Subset of (P *) st
( U = b2 . n & b2 . (n + 1) = Polish-expression-layer (P,A,U) ) ) holds
b1 = b2
end;
Th5:
for B, C being antichain holds B ^ C is antichain-like
Th13:
for B being antichain
for P being FinSequence-membered set holds B ^ P is B -headed
definition
let T be
Polish-language;
let A be
Polish-arity-function of
T;
let t be
Element of
T;
assume A1:
A . t = 2
;
existence
ex b1 being BinOp of (Polish-WFF-set (T,A)) st
for u, v being FinSequence st u in Polish-WFF-set (T,A) & v in Polish-WFF-set (T,A) holds
b1 . (u,v) = (Polish-operation (T,A,t)) . (u ^ v)
uniqueness
for b1, b2 being BinOp of (Polish-WFF-set (T,A)) st ( for u, v being FinSequence st u in Polish-WFF-set (T,A) & v in Polish-WFF-set (T,A) holds
b1 . (u,v) = (Polish-operation (T,A,t)) . (u ^ v) ) & ( for u, v being FinSequence st u in Polish-WFF-set (T,A) & v in Polish-WFF-set (T,A) holds
b2 . (u,v) = (Polish-operation (T,A,t)) . (u ^ v) ) holds
b1 = b2
end;
Lm71:
for T being Polish-language
for A being Polish-arity-function of T
for D being non empty set
for f being Polish-recursion-function of A,D
for K1, K2 being Function of (Polish-WFF-set (T,A)),D
for F being Polish-WFF of T,A st K1 is f -recursive & K2 is f -recursive & F in Polish-atoms (T,A) holds
K1 . F = K2 . F
Lm72:
for L being non trivial Polish-language
for E being Polish-arity-function of L
for D being non empty set
for g being Polish-recursion-function of E,D ex J being Subset of (Polish-WFF-set (L,E)) ex H being Function of J,D st
( J = Polish-expression-hierarchy (L,E,0) & H is g -recursive )
Lm73:
for L being non trivial Polish-language
for E being Polish-arity-function of L
for D being non empty set
for g being Polish-recursion-function of E,D
for n being Nat
for J being Subset of (Polish-WFF-set (L,E))
for H being Function of J,D
for J1 being Subset of (Polish-WFF-set (L,E))
for H1 being Function of J1,D st J = Polish-expression-hierarchy (L,E,n) & J1 = Polish-expression-hierarchy (L,E,(n + 1)) & H is g -recursive & ( for F being Polish-WFF of L,E st F in J1 holds
H1 . F = g . [(L -head F),(H * (Polish-WFF-args F))] ) holds
H1 is g -recursive
Lm74:
for L being non trivial Polish-language
for E being Polish-arity-function of L
for D being non empty set
for g being Polish-recursion-function of E,D
for n being Nat
for J being Subset of (Polish-WFF-set (L,E))
for H being Function of J,D
for J1 being Subset of (Polish-WFF-set (L,E))
for H1 being Function of J1,D
for a being object st J = Polish-expression-hierarchy (L,E,n) & H is g -recursive & J c= J1 & H1 is g -recursive & a in J holds
H . a = H1 . a
Lm75:
for L being non trivial Polish-language
for E being Polish-arity-function of L
for D being non empty set
for g being Polish-recursion-function of E,D
for n being Nat
for J being Subset of (Polish-WFF-set (L,E))
for H being Function of J,D st J = Polish-expression-hierarchy (L,E,n) & H is g -recursive holds
ex J1 being Subset of (Polish-WFF-set (L,E)) ex H1 being Function of J1,D st
( J1 = Polish-expression-hierarchy (L,E,(n + 1)) & H1 is g -recursive )
Lm79:
for L being non trivial Polish-language
for E being Polish-arity-function of L
for D being non empty set
for g being Polish-recursion-function of E,D
for n being Nat
for J being Subset of (Polish-WFF-set (L,E))
for H being Function of J,D
for m being Nat
for J1 being Subset of (Polish-WFF-set (L,E))
for H1 being Function of J1,D
for a being object st J = Polish-expression-hierarchy (L,E,n) & H is g -recursive & J1 = Polish-expression-hierarchy (L,E,(n + m)) & H1 is g -recursive & a in J holds
H . a = H1 . a
by Th34, Lm74;
Lm80:
for L being non trivial Polish-language
for E being Polish-arity-function of L
for D being non empty set
for g being Polish-recursion-function of E,D
for n being Nat
for J being Subset of (Polish-WFF-set (L,E))
for H being Function of J,D
for m being Nat
for J1 being Subset of (Polish-WFF-set (L,E))
for H1 being Function of J1,D
for a being object st J = Polish-expression-hierarchy (L,E,n) & H is g -recursive & J1 = Polish-expression-hierarchy (L,E,m) & H1 is g -recursive & a in J & a in J1 holds
H . a = H1 . a
Lm82:
for L being non trivial Polish-language
for E being Polish-arity-function of L
for D being non empty set
for g being Polish-recursion-function of E,D
for J being Subset of (Polish-WFF-set (L,E))
for H being Function of J,D st ( for a being object st a in J holds
ex n being Nat ex J1 being Subset of (Polish-WFF-set (L,E)) ex H1 being Function of J1,D st
( J1 = Polish-expression-hierarchy (L,E,n) & H1 is g -recursive & a in J1 & H . a = H1 . a ) ) holds
H is g -recursive
definition
let L be non
trivial Polish-language;
let E be
Polish-arity-function of
L;
let s be
Substitution of
L,
E;
existence
ex b1 being Polish-recursion-function of E,(Polish-WFF-set (L,E)) st
for t being Element of L
for p being FinSequence of Polish-WFF-set (L,E) st len p = E . t holds
( ( t in dom s implies b1 . (t,p) = s . t ) & ( not t in dom s implies b1 . (t,p) = t ^ (FlattenSeq p) ) )
uniqueness
for b1, b2 being Polish-recursion-function of E,(Polish-WFF-set (L,E)) st ( for t being Element of L
for p being FinSequence of Polish-WFF-set (L,E) st len p = E . t holds
( ( t in dom s implies b1 . (t,p) = s . t ) & ( not t in dom s implies b1 . (t,p) = t ^ (FlattenSeq p) ) ) ) & ( for t being Element of L
for p being FinSequence of Polish-WFF-set (L,E) st len p = E . t holds
( ( t in dom s implies b2 . (t,p) = s . t ) & ( not t in dom s implies b2 . (t,p) = t ^ (FlattenSeq p) ) ) ) holds
b1 = b2
end;
definition
let L be non
trivial Polish-language;
let E be
Polish-arity-function of
L;
let s be
Substitution of
L,
E;
let F be
Polish-WFF of
L,
E;
existence
ex b1 being Polish-WFF of L,E ex H being Function of (Polish-WFF-set (L,E)),(Polish-WFF-set (L,E)) st
( H is Subst s -recursive & b1 = H . F )
uniqueness
for b1, b2 being Polish-WFF of L,E st ex H being Function of (Polish-WFF-set (L,E)),(Polish-WFF-set (L,E)) st
( H is Subst s -recursive & b1 = H . F ) & ex H being Function of (Polish-WFF-set (L,E)),(Polish-WFF-set (L,E)) st
( H is Subst s -recursive & b2 = H . F ) holds
b1 = b2
by Th72;
end;
:: String and Set Operations for Polish Notation
::