哪位能给理解下:; L$ j7 _, A# Z8 _3 c4 t
9 g8 e) K3 _$ Q, ^6 ^
Formal Sets 4 W o" P2 H& VA formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. , C& W7 T, r3 {3 ^
9 v. T1 X7 @# j4 B
The only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. & v- y2 R* |& Q, ^5 ~& T
, f L: Q: ?8 K: ~7 L9 q$ O, j7 ~0 {; B% ]+ B5 t
Q9 H6 ^) ] _* j; K% [) b
S := { 1 .. 5}; 9 ]9 V+ V9 r2 y$ G0 w: c* a0 G l> P := PowerSet(S);/ b8 G8 ?2 Y) W! F3 p1 G; p* T
P;. v/ V: G, G) [; s3 q
PFS:=PowerFormalSet(S);4 J, X0 y3 ~; c6 y; h/ H
PFS;* |1 Q: [2 a# u$ `/ D
F := { 2, 4 }; " B' {" j c; W. A: A) v$ vFF := { 2/3, 4 };8 a* ^8 G" ~$ A2 M5 E
: y4 D- S0 r5 `! X
F in P; 8 H6 w2 ~7 D/ z" aFF in P; 5 }/ J+ G* }; w. v1 m) A F in PFS;- g! \+ n; N2 T7 S! z
FF in PFS; 1 |$ t6 T: {) J4 U' y1 jSet of subsets of { 1 .. 5 }& ~: m: \& d6 h: L+ F1 |, o/ g. p/ U
Set of formal subsets of { 1 .. 5 }5 e# k) o' A) Y" [: S7 D
true ; F1 ?1 v* `! f0 F' w6 p$ `false( s1 B: y) E/ A X
# N' J" i' H; y4 o0 B>> F in PFS;& {# {; i5 ~, ~
^ + ^& X$ r/ \+ R' ]# d8 [+ a. pRuntime error in 'in': Bad argument types % c3 W" r( `( V* b" C) Q 6 Q, _/ O/ k, H- p) J: p ' r; A8 ^- I8 Z& C% w* G+ J) @" T# a- w>> FF in PFS;; x. o6 d* Q5 H/ {3 O
^7 `% c' @# @2 v. S$ K8 d8 x5 u2 S
Runtime error in 'in': Bad argument types