哪位能给理解下:' x1 v" w0 p3 u% i# r, o
' Z" q& i3 ~& B; J7 s
Formal Sets4 d+ K3 \+ a! j& V4 j. d5 u1 T
A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. 9 ~6 C. Y* v+ i9 ] I
4 |; w2 g& {( S) j9 YThe only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. - a0 r) i: z& x& Q9 v
4 L' A4 a j! q }* A* g
4 o3 S! q2 l9 U }+ A( G2 }
. ]& I/ c! [1 h n' r6 f* v6 mS := { 1 .. 5}; $ ]1 q2 s! l2 i3 }- m! @) X> P := PowerSet(S);( s1 m9 G9 p3 e/ e
P; 4 [0 L, N+ |4 R( `6 t W0 GPFS:=PowerFormalSet(S); 8 y, R+ D* L E5 ?PFS;1 x D2 L9 c. r% N
F := { 2, 4 };) d- i; l* p; A6 a7 Y' o0 ]
FF := { 2/3, 4 };' }# i9 q) Y) h+ h/ \ R1 x- d
- H. T2 y* r' ? F in P; 2 ?+ M R+ O* F* EFF in P;" U' q4 l- [! K$ k' B8 x
F in PFS; - w! A: O- c6 K1 t5 x& cFF in PFS;+ f& z9 A( Z, n/ s; x }! H
Set of subsets of { 1 .. 5 }. u4 ?' m) d- V5 Y; K
Set of formal subsets of { 1 .. 5 }5 O0 c! Y8 p. N
true. C# L; \2 K6 s7 Q1 V! p, f# o
false 7 k# L0 l3 I2 N) |, o7 {) A, ^' \2 h d' r
>> F in PFS; % _% h+ [* m' q5 w ^- @ x9 F8 |# M) _, ]( e' f1 v
Runtime error in 'in': Bad argument types $ R( f/ Y; [* K" |3 X8 D+ e+ T! k, i$ P9 H" y5 p7 Z, N
( [# U8 l7 Q& B( t1 p
>> FF in PFS; / C7 }7 { b: O z7 Q! l ^ ' X r- m! z4 d! e9 c* A& dRuntime error in 'in': Bad argument types