哪位能给理解下: $ i E6 y& @+ K" _7 Z3 A0 l( m3 c! L. l. f" b! @% }) i' z! g) \' n9 S
Formal Sets6 m6 H. H! l6 C
A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. , w. \4 {6 x' P- a7 o : n( U% v6 H. n5 J; K% pThe only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. ' K* f) A3 w$ M, P: V; C( X
# U" U' N5 I/ J) A$ K
& u" H7 B1 V* N) W# O y& F9 R8 {4 i- J& T
S := { 1 .. 5}; 8 J/ {& `) n( n6 d! _5 H. P, l> P := PowerSet(S);) K5 S0 p) C2 e2 F+ a& d
P; 6 w9 e n8 F I, wPFS:=PowerFormalSet(S); * w) d$ m2 [( U, ~1 f$ S- ^PFS;- t& G; Q" z% B
F := { 2, 4 }; I- F1 M P3 U/ w: }& X- k
FF := { 2/3, 4 };4 a( O1 I" G9 b$ v* s
7 N# O9 N$ n3 A- L) S5 D7 E F in P; H- e% s+ a5 i9 l; ?! s+ [! V
FF in P; ! A# ~9 M* N: h. k N) v F in PFS; * @, d; I6 z+ n, E H N/ t1 jFF in PFS; 4 j* ^$ v: \5 d7 x1 x- OSet of subsets of { 1 .. 5 } ' {3 {" h$ {1 m. R c7 _ ^Set of formal subsets of { 1 .. 5 } ; b& x9 }/ r" j/ r4 utrue8 ~ v$ `( I3 q+ X& e
false % _6 [( Z* g! O( M1 ?6 C+ y2 p$ T d
>> F in PFS; - ?% E9 ]' v S: ~! k- Z, _ ^ 9 R6 t( K, \0 z* J' j7 vRuntime error in 'in': Bad argument types & `2 A6 N/ o+ x+ Y ) s! b# s ~, e8 ?0 [' f , K9 }( a1 {) B% V) r$ W>> FF in PFS; 7 E: f& x1 N S+ [ ^ & S" ~) \% f( Z7 e* M- RRuntime error in 'in': Bad argument types