哪位能给理解下: ) K3 I' z8 \! m; J% Q. N _5 Y% m! ?3 k4 H
Formal Sets7 k" B0 t6 ~9 a& w
A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. ) v9 V' D$ V8 o0 S. X
2 M& Y+ Q! { s7 k, n5 Z( gThe only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. % Y6 k$ D0 P- }! T. z$ F' R% v" Y6 y* W6 J. B Z$ o
7 A/ h; w8 {# [* w8 d# N
4 A7 P4 D) P5 Y$ q3 a" `3 {( s: OS := { 1 .. 5}; + ]/ a: h% a: G5 i> P := PowerSet(S);5 B( u! [+ }3 w8 [6 g
P; 3 a4 n% Q. z; K7 q' u9 a; K. C# bPFS:=PowerFormalSet(S); 5 \$ x6 ], h& _. E6 YPFS;5 ^9 [$ O: b( Y9 n- O% n
F := { 2, 4 }; 2 w' A! b& d& l( P# WFF := { 2/3, 4 };8 h5 D, n' \/ m& A$ x- Y1 Y% J
. a. l. G( K4 u; O
F in P;5 J7 y$ ^: x9 p$ q7 P
FF in P;- x; p' @2 D! b3 r9 K, ~, _: i4 Z* }
F in PFS;1 {0 z' t. X1 ?
FF in PFS;0 r" a# Q2 @' d7 k; Z
Set of subsets of { 1 .. 5 } - n8 g9 M( Y; i4 F: j" O5 k5 j& ZSet of formal subsets of { 1 .. 5 } " O( \0 X' }. c6 H. L+ S" R4 htrue ' }8 h! I* r8 d0 D/ xfalse% o! N, G* f# V7 |' ^
9 Z/ c# n/ i6 \8 [" H7 F>> F in PFS;3 P" H) T1 b9 g3 v! T$ v
^ 4 c Z( {( K# e" B5 r3 SRuntime error in 'in': Bad argument types; L+ z% t& w" s" k5 j* Z
- c' f7 c# b) x; m& G ; @) e3 p% |2 _" p7 o) V& y>> FF in PFS; 1 D. ]9 Z# J1 J, x ^ 7 H% s0 w) T- {Runtime error in 'in': Bad argument types