哪位能给理解下:2 x9 @! d- {# Y H; f: q
0 v4 n+ d4 o3 l8 N4 t
Formal Sets/ r7 P4 _+ P9 L9 W! e
A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. . L8 f" F" Y- @4 [$ b9 m( J0 B: K+ p7 D. [$ {, s0 @
The only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. . j9 l: J4 A4 z" Z% {7 U8 {0 }5 ?( Z7 U' s
. G, i+ r+ R0 }/ f$ V
. M2 M7 F) f c$ F. X* a
S := { 1 .. 5}; - y- H$ \8 z8 b3 b) u/ I> P := PowerSet(S);' x; ^4 S7 i; y) k% n, p0 b, ^: m
P; & r! r6 ^4 Y5 ]PFS:=PowerFormalSet(S);* v7 p4 s" Y8 L/ m/ j6 Z& r
PFS; - C, B3 o* f; @7 m* x: IF := { 2, 4 };$ A% u' a( |# ~, v, t* Q0 R
FF := { 2/3, 4 };7 S/ Q9 {: s; ~7 a; s( ?( f
4 Z) R7 @: ~$ g/ m F in P; 3 F n, a1 O& o9 yFF in P;1 `* h: H7 Q. j
F in PFS; ) Z. a& x& b% y8 i/ MFF in PFS; / T3 r1 O y7 P: xSet of subsets of { 1 .. 5 }" w2 x. s, l! j* M0 A- A' n5 m
Set of formal subsets of { 1 .. 5 } & }" ~; U; J7 J- a+ a. n& C ptrue 3 E5 n, q! q. g s* P" ]false ( l$ g3 \5 {! W- R& I: o% ]- x! x
>> F in PFS;2 c! r$ ]* Y. [1 L% m
^- Q" B6 N+ ]9 P, C) P
Runtime error in 'in': Bad argument types( i- N' l0 G+ _" X9 J& [. I3 Q
1 B/ [3 H0 J0 I/ V8 T7 e$ J
! R1 v9 H" c' u5 z>> FF in PFS;" T' g4 F+ C. {) j$ v
^ , O0 m# l" ^0 \7 WRuntime error in 'in': Bad argument types