哪位能给理解下: ! s9 R" K1 [5 M! } 3 D# b8 z5 K! I6 g& ]- BFormal Sets- Y! Z9 k$ x; C( w5 p5 f1 t
A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. ' B2 f4 v% `' |
+ M; O& r0 b; D" t! zThe only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. - M2 o) E4 q# u" t, w& @& L5 p# V7 H0 u! B- a a$ b; ~5 y0 ^
( a/ I# @- r6 \) d' ~8 b 5 o! f; S3 J6 lS := { 1 .. 5};# M7 }- z% _! o# d$ q
> P := PowerSet(S); : Q* @# b+ i7 ^% O ?P;& w& L0 H* k! X7 n' N& t# s
PFS:=PowerFormalSet(S);: L. Z- P) V2 M* P
PFS; 6 u9 B+ r% Y% @/ SF := { 2, 4 }; 4 @! G) M/ }4 \FF := { 2/3, 4 };/ i# o7 j% s* x# k' `6 B
7 }9 S! s% M4 f
F in P;4 O* `' p! l0 }
FF in P;* d4 W! \3 L& f4 D7 o
F in PFS; * j* ~* @7 q0 s5 z' CFF in PFS; % G9 c X8 g0 i) t8 u Y0 i1 z4 }Set of subsets of { 1 .. 5 } v* B' B/ N" @% }2 n* Y2 t5 ]4 g
Set of formal subsets of { 1 .. 5 } " h1 [) P. k6 z6 [* Q* {- Vtrue/ a. y! k) v) M# x
false _9 h0 ]; b0 \. \: l) i$ E M. W4 C X) ^% q
>> F in PFS;* h) S; L& @/ k
^ ; z4 q' o5 l) w. {9 C9 MRuntime error in 'in': Bad argument types k( V& C; q) o' f 7 C0 a3 U( y5 Q. k3 R: O! \ 1 N1 B- n. u) O6 t) N3 Z4 v# S: G, e>> FF in PFS;+ P2 y6 G2 |" w' ?
^* v1 R' e4 {0 ]. Z# g. C& U- X) ~
Runtime error in 'in': Bad argument types