哪位能给理解下:1 o1 Q9 @! ^8 \7 B/ X
) \/ w' A! W$ L" t8 l0 o
Formal Sets / z0 n9 ~* ^& L0 BA formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. . @4 a* U, g6 F& G4 t" k' Z 5 G* F9 n1 d! D6 r/ D3 ?, P2 i0 d* TThe only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. / l5 M! m; y; @0 K- \ b9 r
! N' R1 l3 D6 @- l0 r V3 t; ?: @% K+ b
6 [2 i* d6 ~+ K
S := { 1 .. 5};7 B# H1 `- l6 w6 v3 V7 [* ^
> P := PowerSet(S);8 g7 }2 Z/ o0 o( X1 H$ x% |6 k
P; 6 u# H: \3 w( z0 } _PFS:=PowerFormalSet(S);- {) n: B( Z& m/ t: x8 O
PFS;/ C. K( c: V1 A5 \
F := { 2, 4 }; 7 \( H$ C9 M8 `% U) N- Y4 j8 mFF := { 2/3, 4 };% R* t- I: H# z$ ~2 L h' n, h/ n
, X1 ~* j+ x" R$ T+ W' I8 Q
F in P;; B8 [5 S$ P, Y, O2 H' V4 u) w+ c
FF in P;" x2 z- ?/ f9 E1 n7 @" j
F in PFS; ) P* b% y" T# k! ~8 b% bFF in PFS;1 A) y8 N: l% @3 l
Set of subsets of { 1 .. 5 } 9 u3 E! I2 k, B# N5 YSet of formal subsets of { 1 .. 5 } % `. Z3 Q4 g% U* Wtrue V1 I; ]0 h* |5 h0 S' y$ t
false ; y* l& S1 w" Z2 _& @ ' J: ]+ P* `5 \7 ~! b: t>> F in PFS;. ]2 m. X: i$ G4 j% d7 J
^ / s0 S- g0 Y+ X) _* S {Runtime error in 'in': Bad argument types: @2 M, |$ c. c& {3 r
6 E1 u6 [3 S( O# K2 {% N% L/ C' w1 S, t9 r! ?4 J+ t+ c
>> FF in PFS;1 ~1 ~* z7 E+ I( o& y
^; T$ e+ T: @( D& ^6 g( |+ t
Runtime error in 'in': Bad argument types