:: CQC_LANG semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
:: deftheorem Def1 defines IFEQ CQC_LANG:def 1 :
for
x,
y,
a,
b being
set holds
( (
x = y implies
IFEQ x,
y,
a,
b = a ) & ( not
x = y implies
IFEQ x,
y,
a,
b = b ) );
:: deftheorem defines .--> CQC_LANG:def 2 :
theorem :: CQC_LANG:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: CQC_LANG:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: CQC_LANG:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: CQC_LANG:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th5: :: CQC_LANG:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th6: :: CQC_LANG:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm1:
for x being bound_QC-variable holds not x in fixed_QC-variables
theorem Th7: :: CQC_LANG:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def3 defines Subst CQC_LANG:def 3 :
theorem :: CQC_LANG:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: CQC_LANG:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th10: :: CQC_LANG:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th11: :: CQC_LANG:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines CQC-WFF CQC_LANG:def 4 :
theorem :: CQC_LANG:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th13: :: CQC_LANG:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def5 defines CQC-variable_list-like CQC_LANG:def 5 :
theorem :: CQC_LANG:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th15: :: CQC_LANG:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: CQC_LANG:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th17: :: CQC_LANG:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th18: :: CQC_LANG:18 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th19: :: CQC_LANG:19 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th20: :: CQC_LANG:20 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th21: :: CQC_LANG:21 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th22: :: CQC_LANG:22 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th23: :: CQC_LANG:23 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th24: :: CQC_LANG:24 :: Showing IDV graph ... (Click the Palm Tree again to close it)
scheme :: CQC_LANG:sch 3
CQCFuncUniq{
F1()
-> non
empty set ,
F2()
-> Function of
CQC-WFF ,
F1(),
F3()
-> Function of
CQC-WFF ,
F1(),
F4()
-> Element of
F1(),
F5(
set ,
set ,
set )
-> Element of
F1(),
F6(
set )
-> Element of
F1(),
F7(
set ,
set )
-> Element of
F1(),
F8(
set ,
set )
-> Element of
F1() } :
provided
A1:
(
F2()
. VERUM = F4() & ( for
r,
s being
Element of
CQC-WFF for
x being
bound_QC-variable for
k being
Nat for
l being
CQC-variable_list of
k for
P being
QC-pred_symbol of
k holds
(
F2()
. (P ! l) = F5(
k,
P,
l) &
F2()
. ('not' r) = F6(
(F2() . r)) &
F2()
. (r '&' s) = F7(
(F2() . r),
(F2() . s)) &
F2()
. (All x,r) = F8(
x,
(F2() . r)) ) ) )
and A2:
(
F3()
. VERUM = F4() & ( for
r,
s being
Element of
CQC-WFF for
x being
bound_QC-variable for
k being
Nat for
l being
CQC-variable_list of
k for
P being
QC-pred_symbol of
k holds
(
F3()
. (P ! l) = F5(
k,
P,
l) &
F3()
. ('not' r) = F6(
(F3() . r)) &
F3()
. (r '&' s) = F7(
(F3() . r),
(F3() . s)) &
F3()
. (All x,r) = F8(
x,
(F3() . r)) ) ) )
scheme :: CQC_LANG:sch 4
CQCDefcorrectness{
F1()
-> non
empty set ,
F2()
-> Element of
CQC-WFF ,
F3()
-> Element of
F1(),
F4(
set ,
set ,
set )
-> Element of
F1(),
F5(
set )
-> Element of
F1(),
F6(
set ,
set )
-> Element of
F1(),
F7(
set ,
set )
-> Element of
F1() } :
( ex
d being
Element of
F1() ex
F being
Function of
CQC-WFF ,
F1() st
(
d = F . F2() &
F . VERUM = F3() & ( for
r,
s being
Element of
CQC-WFF for
x being
bound_QC-variable for
k being
Nat for
l being
CQC-variable_list of
k for
P being
QC-pred_symbol of
k holds
(
F . (P ! l) = F4(
k,
P,
l) &
F . ('not' r) = F5(
(F . r)) &
F . (r '&' s) = F6(
(F . r),
(F . s)) &
F . (All x,r) = F7(
x,
(F . r)) ) ) ) & ( for
d1,
d2 being
Element of
F1() st ex
F being
Function of
CQC-WFF ,
F1() st
(
d1 = F . F2() &
F . VERUM = F3() & ( for
r,
s being
Element of
CQC-WFF for
x being
bound_QC-variable for
k being
Nat for
l being
CQC-variable_list of
k for
P being
QC-pred_symbol of
k holds
(
F . (P ! l) = F4(
k,
P,
l) &
F . ('not' r) = F5(
(F . r)) &
F . (r '&' s) = F6(
(F . r),
(F . s)) &
F . (All x,r) = F7(
x,
(F . r)) ) ) ) & ex
F being
Function of
CQC-WFF ,
F1() st
(
d2 = F . F2() &
F . VERUM = F3() & ( for
r,
s being
Element of
CQC-WFF for
x being
bound_QC-variable for
k being
Nat for
l being
CQC-variable_list of
k for
P being
QC-pred_symbol of
k holds
(
F . (P ! l) = F4(
k,
P,
l) &
F . ('not' r) = F5(
(F . r)) &
F . (r '&' s) = F6(
(F . r),
(F . s)) &
F . (All x,r) = F7(
x,
(F . r)) ) ) ) holds
d1 = d2 ) )
scheme :: CQC_LANG:sch 5
CQCDefVERUM{
F1()
-> non
empty set ,
F2(
set )
-> Element of
F1(),
F3()
-> Element of
F1(),
F4(
set ,
set ,
set )
-> Element of
F1(),
F5(
set )
-> Element of
F1(),
F6(
set ,
set )
-> Element of
F1(),
F7(
set ,
set )
-> Element of
F1() } :
provided
scheme :: CQC_LANG:sch 6
CQCDefatomic{
F1()
-> non
empty set ,
F2()
-> Element of
F1(),
F3(
set )
-> Element of
F1(),
F4(
set ,
set ,
set )
-> Element of
F1(),
F5()
-> Nat,
F6()
-> QC-pred_symbol of
F5(),
F7()
-> CQC-variable_list of
F5(),
F8(
set )
-> Element of
F1(),
F9(
set ,
set )
-> Element of
F1(),
F10(
set ,
set )
-> Element of
F1() } :
F3(
(F6() ! F7()))
= F4(
F5(),
F6(),
F7())
provided
scheme :: CQC_LANG:sch 7
CQCDefnegative{
F1()
-> non
empty set ,
F2(
set )
-> Element of
F1(),
F3()
-> Element of
F1(),
F4(
set ,
set ,
set )
-> Element of
F1(),
F5(
set )
-> Element of
F1(),
F6()
-> Element of
CQC-WFF ,
F7(
set ,
set )
-> Element of
F1(),
F8(
set ,
set )
-> Element of
F1() } :
F2(
('not' F6()))
= F5(
F2(
F6()))
provided
scheme :: CQC_LANG:sch 8
QCDefconjunctive{
F1()
-> non
empty set ,
F2(
set )
-> Element of
F1(),
F3()
-> Element of
F1(),
F4(
set ,
set ,
set )
-> Element of
F1(),
F5(
set )
-> Element of
F1(),
F6(
set ,
set )
-> Element of
F1(),
F7()
-> Element of
CQC-WFF ,
F8()
-> Element of
CQC-WFF ,
F9(
set ,
set )
-> Element of
F1() } :
F2(
(F7() '&' F8()))
= F6(
F2(
F7()),
F2(
F8()))
provided
scheme :: CQC_LANG:sch 9
QCDefuniversal{
F1()
-> non
empty set ,
F2(
set )
-> Element of
F1(),
F3()
-> Element of
F1(),
F4(
set ,
set ,
set )
-> Element of
F1(),
F5(
set )
-> Element of
F1(),
F6(
set ,
set )
-> Element of
F1(),
F7(
set ,
set )
-> Element of
F1(),
F8()
-> bound_QC-variable,
F9()
-> Element of
CQC-WFF } :
F2(
(All F8(),F9()))
= F7(
F8(),
F2(
F9()))
provided
Lm2:
for x being bound_QC-variable
for F1, F2 being Function of QC-WFF , QC-WFF st ( for q being Element of QC-WFF holds
( F1 . VERUM = VERUM & ( q is atomic implies F1 . q = (the_pred_symbol_of q) ! (Subst (the_arguments_of q),((a. 0) .--> x)) ) & ( q is negative implies F1 . q = 'not' (F1 . (the_argument_of q)) ) & ( q is conjunctive implies F1 . q = (F1 . (the_left_argument_of q)) '&' (F1 . (the_right_argument_of q)) ) & ( q is universal implies F1 . q = IFEQ (bound_in q),x,q,(All (bound_in q),(F1 . (the_scope_of q))) ) ) ) & ( for q being Element of QC-WFF holds
( F2 . VERUM = VERUM & ( q is atomic implies F2 . q = (the_pred_symbol_of q) ! (Subst (the_arguments_of q),((a. 0) .--> x)) ) & ( q is negative implies F2 . q = 'not' (F2 . (the_argument_of q)) ) & ( q is conjunctive implies F2 . q = (F2 . (the_left_argument_of q)) '&' (F2 . (the_right_argument_of q)) ) & ( q is universal implies F2 . q = IFEQ (bound_in q),x,q,(All (bound_in q),(F2 . (the_scope_of q))) ) ) ) holds
F1 = F2
definition
let p be
Element of
QC-WFF ;
let x be
bound_QC-variable;
func p . x -> Element of
QC-WFF means :
Def6:
:: CQC_LANG:def 6
ex
F being
Function of
QC-WFF ,
QC-WFF st
(
it = F . p & ( for
q being
Element of
QC-WFF holds
(
F . VERUM = VERUM & (
q is
atomic implies
F . q = (the_pred_symbol_of q) ! (Subst (the_arguments_of q),((a. 0) .--> x)) ) & (
q is
negative implies
F . q = 'not' (F . (the_argument_of q)) ) & (
q is
conjunctive implies
F . q = (F . (the_left_argument_of q)) '&' (F . (the_right_argument_of q)) ) & (
q is
universal implies
F . q = IFEQ (bound_in q),
x,
q,
(All (bound_in q),(F . (the_scope_of q))) ) ) ) );
existence
ex b1 being Element of QC-WFF ex F being Function of QC-WFF , QC-WFF st
( b1 = F . p & ( for q being Element of QC-WFF holds
( F . VERUM = VERUM & ( q is atomic implies F . q = (the_pred_symbol_of q) ! (Subst (the_arguments_of q),((a. 0) .--> x)) ) & ( q is negative implies F . q = 'not' (F . (the_argument_of q)) ) & ( q is conjunctive implies F . q = (F . (the_left_argument_of q)) '&' (F . (the_right_argument_of q)) ) & ( q is universal implies F . q = IFEQ (bound_in q),x,q,(All (bound_in q),(F . (the_scope_of q))) ) ) ) )
uniqueness
for b1, b2 being Element of QC-WFF st ex F being Function of QC-WFF , QC-WFF st
( b1 = F . p & ( for q being Element of QC-WFF holds
( F . VERUM = VERUM & ( q is atomic implies F . q = (the_pred_symbol_of q) ! (Subst (the_arguments_of q),((a. 0) .--> x)) ) & ( q is negative implies F . q = 'not' (F . (the_argument_of q)) ) & ( q is conjunctive implies F . q = (F . (the_left_argument_of q)) '&' (F . (the_right_argument_of q)) ) & ( q is universal implies F . q = IFEQ (bound_in q),x,q,(All (bound_in q),(F . (the_scope_of q))) ) ) ) ) & ex F being Function of QC-WFF , QC-WFF st
( b2 = F . p & ( for q being Element of QC-WFF holds
( F . VERUM = VERUM & ( q is atomic implies F . q = (the_pred_symbol_of q) ! (Subst (the_arguments_of q),((a. 0) .--> x)) ) & ( q is negative implies F . q = 'not' (F . (the_argument_of q)) ) & ( q is conjunctive implies F . q = (F . (the_left_argument_of q)) '&' (F . (the_right_argument_of q)) ) & ( q is universal implies F . q = IFEQ (bound_in q),x,q,(All (bound_in q),(F . (the_scope_of q))) ) ) ) ) holds
b1 = b2
by Lm2;
end;
:: deftheorem Def6 defines . CQC_LANG:def 6 :
theorem :: CQC_LANG:25 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: CQC_LANG:26 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: CQC_LANG:27 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th28: :: CQC_LANG:28 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th29: :: CQC_LANG:29 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th30: :: CQC_LANG:30 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th31: :: CQC_LANG:31 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th32: :: CQC_LANG:32 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th33: :: CQC_LANG:33 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th34: :: CQC_LANG:34 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm3:
for x being bound_QC-variable
for p being Element of QC-WFF st p is universal holds
p . x = IFEQ (bound_in p),x,p,(All (bound_in p),((the_scope_of p) . x))
theorem Th35: :: CQC_LANG:35 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th36: :: CQC_LANG:36 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th37: :: CQC_LANG:37 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th38: :: CQC_LANG:38 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th39: :: CQC_LANG:39 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: CQC_LANG:40 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: CQC_LANG:41 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th42: :: CQC_LANG:42 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: CQC_LANG:43 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
i,
j,
k being
set holds
(i,j :-> k) . i,
j = k