哪位能给理解下:( ?/ f/ @* l6 |6 g( E: R
7 P8 g9 Y: Y% F# Y% x
Formal Sets" d: s4 Q; f- I/ p" b2 R5 V
A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. U5 E8 r" s$ g9 p( E 2 R. d) O! t H7 P& u7 Q$ ^The only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. & x. s1 _% M. B : W+ s8 i% ~9 B& s. S7 M+ u * u9 M1 |( }9 J4 D$ O) o( o& a; ~! }0 x# C5 ?4 z; ]# `) ^
S := { 1 .. 5}; ' B* m9 ]3 \7 g% a> P := PowerSet(S);/ j3 @, D- p1 t. l! `4 w% ]% A O$ k
P;) n% \/ J" r) A
PFS:=PowerFormalSet(S); % D5 ~: _# j( T$ X; oPFS;2 N" P* X5 z j% G E0 Q+ W
F := { 2, 4 };( _2 j! y4 b" M! P) z5 K
FF := { 2/3, 4 };" o, D5 Y- D- j! |4 V R1 O& j5 X
7 b( s1 Y9 Z5 r; _0 X
F in P; , T* ^3 n S# i% z3 \2 @( @+ o2 O" mFF in P;; Y6 {1 [* H! F3 r9 Z3 D% ~' Z; B) K
F in PFS; " A* L% z1 `3 x& P2 u: Z- yFF in PFS; : e" h0 |; u4 `) USet of subsets of { 1 .. 5 }1 \' b5 t! R% C0 j6 _) ^( r3 M6 s
Set of formal subsets of { 1 .. 5 } + X2 o/ F6 Q$ l4 Q8 jtrue $ ?! g9 q+ ?+ ~- i! W0 }false # D9 v f. y- R# ? : ]7 G% s2 d' N# p>> F in PFS;# l. N2 i2 Z7 R, H- T' ]$ n. a1 _
^ 9 O( _& a7 w; jRuntime error in 'in': Bad argument types % T' M* P; X6 J6 Y# m. u% \7 A' s' h3 Z- u, o3 x/ H: r
) i* u* A$ A, U, o
>> FF in PFS;+ \6 |& ^" q8 ~' T/ K
^ : k4 g2 b+ K3 t- ]$ J% eRuntime error in 'in': Bad argument types