begin
:: deftheorem defines Valuations_in VALUAT_1:def 1 :
for A being set holds Valuations_in A = Funcs (bound_QC-variables,A);
theorem
canceled;
theorem Th2:
:: deftheorem VALUAT_1:def 2 :
canceled;
:: deftheorem VALUAT_1:def 3 :
canceled;
:: deftheorem VALUAT_1:def 4 :
canceled;
:: deftheorem VALUAT_1:def 5 :
canceled;
:: deftheorem VALUAT_1:def 6 :
canceled;
:: deftheorem Def7 defines FOR_ALL VALUAT_1:def 7 :
for A being non empty set
for x being bound_QC-variable
for p, b4 being Element of Funcs ((Valuations_in A),BOOLEAN) holds
( b4 = FOR_ALL (x,p) iff for v being Element of Valuations_in A holds b4 . v = ALL { (p . v9) where v9 is Element of Valuations_in A : for y being bound_QC-variable st x <> y holds
v9 . y = v . y } );
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem Th7:
theorem Th8:
:: deftheorem Def8 defines *' VALUAT_1:def 8 :
for A being non empty set
for k being Element of NAT
for ll being CQC-variable_list of k
for v being Element of Valuations_in A
for b5 being FinSequence of A holds
( b5 = v *' ll iff ( len b5 = k & ( for i being Nat st 1 <= i & i <= k holds
b5 . i = v . (ll . i) ) ) );
:: deftheorem Def9 defines 'in' VALUAT_1:def 9 :
for A being non empty set
for k being Element of NAT
for ll being CQC-variable_list of k
for r being Element of relations_on A
for b5 being Element of Funcs ((Valuations_in A),BOOLEAN) holds
( b5 = ll 'in' r iff for v being Element of Valuations_in A holds
( ( v *' ll in r implies b5 . v = TRUE ) & ( not v *' ll in r implies b5 . v = FALSE ) ) );
:: deftheorem defines interpretation VALUAT_1:def 10 :
for D being non empty set
for b2 being Function of QC-pred_symbols,(relations_on D) holds
( b2 is interpretation of D iff for P being Element of QC-pred_symbols
for r being Element of relations_on D holds
( not b2 . P = r or r = empty_rel D or the_arity_of P = the_arity_of r ) );
definition
let A be non
empty set ;
let J be
interpretation of
A;
let p be
Element of
CQC-WFF ;
func Valid (
p,
J)
-> Element of
Funcs (
(Valuations_in A),
BOOLEAN)
means :
Def11:
ex
F being
Function of
CQC-WFF,
(Funcs ((Valuations_in A),BOOLEAN)) st
(
it = F . p &
F . VERUM = (Valuations_in A) --> TRUE & ( for
p,
q being
Element of
CQC-WFF for
x being
bound_QC-variable for
k being
Element of
NAT for
ll being
CQC-variable_list of
k for
P being
QC-pred_symbol of
k holds
(
F . (P ! ll) = ll 'in' (J . P) &
F . ('not' p) = 'not' (F . p) &
F . (p '&' q) = (F . p) '&' (F . q) &
F . (All (x,p)) = FOR_ALL (
x,
(F . p)) ) ) );
correctness
existence
ex b1 being Element of Funcs ((Valuations_in A),BOOLEAN) ex F being Function of CQC-WFF,(Funcs ((Valuations_in A),BOOLEAN)) st
( b1 = F . p & F . VERUM = (Valuations_in A) --> TRUE & ( for p, q being Element of CQC-WFF
for x being bound_QC-variable
for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds
( F . (P ! ll) = ll 'in' (J . P) & F . ('not' p) = 'not' (F . p) & F . (p '&' q) = (F . p) '&' (F . q) & F . (All (x,p)) = FOR_ALL (x,(F . p)) ) ) );
uniqueness
for b1, b2 being Element of Funcs ((Valuations_in A),BOOLEAN) st ex F being Function of CQC-WFF,(Funcs ((Valuations_in A),BOOLEAN)) st
( b1 = F . p & F . VERUM = (Valuations_in A) --> TRUE & ( for p, q being Element of CQC-WFF
for x being bound_QC-variable
for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds
( F . (P ! ll) = ll 'in' (J . P) & F . ('not' p) = 'not' (F . p) & F . (p '&' q) = (F . p) '&' (F . q) & F . (All (x,p)) = FOR_ALL (x,(F . p)) ) ) ) & ex F being Function of CQC-WFF,(Funcs ((Valuations_in A),BOOLEAN)) st
( b2 = F . p & F . VERUM = (Valuations_in A) --> TRUE & ( for p, q being Element of CQC-WFF
for x being bound_QC-variable
for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds
( F . (P ! ll) = ll 'in' (J . P) & F . ('not' p) = 'not' (F . p) & F . (p '&' q) = (F . p) '&' (F . q) & F . (All (x,p)) = FOR_ALL (x,(F . p)) ) ) ) holds
b1 = b2;
end;
:: deftheorem Def11 defines Valid VALUAT_1:def 11 :
for A being non empty set
for J being interpretation of A
for p being Element of CQC-WFF
for b4 being Element of Funcs ((Valuations_in A),BOOLEAN) holds
( b4 = Valid (p,J) iff ex F being Function of CQC-WFF,(Funcs ((Valuations_in A),BOOLEAN)) st
( b4 = F . p & F . VERUM = (Valuations_in A) --> TRUE & ( for p, q being Element of CQC-WFF
for x being bound_QC-variable
for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds
( F . (P ! ll) = ll 'in' (J . P) & F . ('not' p) = 'not' (F . p) & F . (p '&' q) = (F . p) '&' (F . q) & F . (All (x,p)) = FOR_ALL (x,(F . p)) ) ) ) );
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
Lm1:
for p being Element of CQC-WFF
for A being non empty set
for J being interpretation of A holds
( Valid (VERUM,J) = (Valuations_in A) --> TRUE & ( for k being Element of NAT
for ll being CQC-variable_list of k
for P being QC-pred_symbol of k holds Valid ((P ! ll),J) = ll 'in' (J . P) ) & ( for p being Element of CQC-WFF holds Valid (('not' p),J) = 'not' (Valid (p,J)) ) & ( for q being Element of CQC-WFF holds Valid ((p '&' q),J) = (Valid (p,J)) '&' (Valid (q,J)) ) & ( for x being bound_QC-variable holds Valid ((All (x,p)),J) = FOR_ALL (x,(Valid (p,J))) ) )
theorem
theorem Th14:
theorem
theorem Th16:
theorem Th17:
theorem
canceled;
theorem
theorem Th20:
theorem
theorem Th22:
theorem
theorem Th24:
theorem
:: deftheorem Def12 defines |= VALUAT_1:def 12 :
for A being non empty set
for p being Element of CQC-WFF
for J being interpretation of A
for v being Element of Valuations_in A holds
( J,v |= p iff (Valid (p,J)) . v = TRUE );
theorem
canceled;
theorem
theorem
theorem
theorem Th30:
theorem Th31:
theorem
theorem Th33:
theorem
canceled;
theorem Th35:
theorem Th36:
theorem Th37:
:: deftheorem Def13 defines |= VALUAT_1:def 13 :
for A being non empty set
for J being interpretation of A
for p being Element of CQC-WFF holds
( J |= p iff for v being Element of Valuations_in A holds J,v |= p );
Lm2:
for u, w, z being Element of BOOLEAN holds 'not' (('not' (u '&' ('not' w))) '&' (('not' (w '&' z)) '&' (u '&' z))) = TRUE
theorem
theorem Th39:
theorem Th40:
theorem Th41:
theorem Th42:
theorem Th43:
theorem Th44:
theorem Th45:
theorem Th46:
theorem Th47:
theorem Th48:
theorem
theorem Th50:
theorem
theorem
theorem
theorem
theorem
theorem
theorem
theorem
theorem