:: YELLOW15 semantic presentation
theorem Th1: :: YELLOW15:1
canceled;
theorem Th2: :: YELLOW15:2
theorem Th3: :: YELLOW15:3
theorem Th4: :: YELLOW15:4
definition
let c1 be
set ;
let c2 be
FinSequence of
bool c1;
let c3 be
FinSequence of
BOOLEAN ;
func MergeSequence c2,
c3 -> FinSequence of
bool a1 means :
Def1:
:: YELLOW15:def 1
(
len a4 = len a2 & ( for
b1 being
Nat st
b1 in dom a2 holds
a4 . b1 = IFEQ (a3 . b1),
TRUE ,
(a2 . b1),
(a1 \ (a2 . b1)) ) );
existence
ex b1 being FinSequence of bool c1 st
( len b1 = len c2 & ( for b2 being Nat st b2 in dom c2 holds
b1 . b2 = IFEQ (c3 . b2),TRUE ,(c2 . b2),(c1 \ (c2 . b2)) ) )
uniqueness
for b1, b2 being FinSequence of bool c1 st len b1 = len c2 & ( for b3 being Nat st b3 in dom c2 holds
b1 . b3 = IFEQ (c3 . b3),TRUE ,(c2 . b3),(c1 \ (c2 . b3)) ) & len b2 = len c2 & ( for b3 being Nat st b3 in dom c2 holds
b2 . b3 = IFEQ (c3 . b3),TRUE ,(c2 . b3),(c1 \ (c2 . b3)) ) holds
b1 = b2
end;
:: deftheorem Def1 defines MergeSequence YELLOW15:def 1 :
theorem Th5: :: YELLOW15:5
theorem Th6: :: YELLOW15:6
theorem Th7: :: YELLOW15:7
theorem Th8: :: YELLOW15:8
theorem Th9: :: YELLOW15:9
theorem Th10: :: YELLOW15:10
theorem Th11: :: YELLOW15:11
theorem Th12: :: YELLOW15:12
theorem Th13: :: YELLOW15:13
theorem Th14: :: YELLOW15:14
theorem Th15: :: YELLOW15:15
for
b1 being
set for
b2,
b3,
b4 being
Subset of
b1 for
b5 being
FinSequence of
BOOLEAN holds
( (
b5 . 1
= TRUE implies
(MergeSequence <*b2,b3,b4*>,b5) . 1
= b2 ) & (
b5 . 1
= FALSE implies
(MergeSequence <*b2,b3,b4*>,b5) . 1
= b1 \ b2 ) & (
b5 . 2
= TRUE implies
(MergeSequence <*b2,b3,b4*>,b5) . 2
= b3 ) & (
b5 . 2
= FALSE implies
(MergeSequence <*b2,b3,b4*>,b5) . 2
= b1 \ b3 ) & (
b5 . 3
= TRUE implies
(MergeSequence <*b2,b3,b4*>,b5) . 3
= b4 ) & (
b5 . 3
= FALSE implies
(MergeSequence <*b2,b3,b4*>,b5) . 3
= b1 \ b4 ) )
theorem Th16: :: YELLOW15:16
:: deftheorem Def2 defines Components YELLOW15:def 2 :
theorem Th17: :: YELLOW15:17
theorem Th18: :: YELLOW15:18
theorem Th19: :: YELLOW15:19
theorem Th20: :: YELLOW15:20
:: deftheorem Def3 defines in_general_position YELLOW15:def 3 :
theorem Th21: :: YELLOW15:21
theorem Th22: :: YELLOW15:22
theorem Th23: :: YELLOW15:23
theorem Th24: :: YELLOW15:24
theorem Th25: :: YELLOW15:25
theorem Th26: :: YELLOW15:26
theorem Th27: :: YELLOW15:27
theorem Th28: :: YELLOW15:28
theorem Th29: :: YELLOW15:29
theorem Th30: :: YELLOW15:30
theorem Th31: :: YELLOW15:31
theorem Th32: :: YELLOW15:32