哪位能给理解下: - o+ j/ `: M. x. ~$ P- q. R9 d; M2 b$ u; o) W' [
Formal Sets ! B- z: x; f) d, Y& vA formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. / T5 V& C8 j, d! d/ o* p6 z. `3 x8 G' X% I% r# m6 ~' K0 q: ~
The only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. 8 H" g; m {7 x$ D/ C# u- F& I
* I7 p3 m7 @2 u, ]% V- A6 u ' h) J" z. @( f- I- }; G2 ^" G; I" x9 s& F
S := { 1 .. 5}; U" N, E% J* e P/ h
> P := PowerSet(S);& I5 q( G5 w) l+ z
P;; W9 w) O( ]$ w* y0 d3 i9 T
PFS:=PowerFormalSet(S);3 A- `9 V/ j# o* N0 E8 s
PFS; & o7 G3 Z6 ]' Q+ O9 L# vF := { 2, 4 }; 1 O& w4 k j6 G; o: x* QFF := { 2/3, 4 }; . n, x8 F! m8 R* V4 k' B* i; O : ]8 H j# S* V! j$ H" z F in P; $ }0 f( b8 t& t: o3 w ~7 w9 N) d BFF in P; : G6 h& Y8 N) W' y: J+ t. Z# {( f1 a F in PFS;: B3 Z2 o6 ^3 M7 M
FF in PFS;& A- D3 |- {% I2 m6 _% h, C
Set of subsets of { 1 .. 5 } , e4 J7 q- \3 D- E" L: nSet of formal subsets of { 1 .. 5 } 3 j4 `$ E- \7 M Y3 b$ Utrue 7 f; N7 H) L, v4 H- C% O2 X# Kfalse( ? G7 S' }! H& C
: I/ u6 {5 m& g, y3 }% Z>> F in PFS;5 D' f/ N0 E* R2 n0 e- S8 Q4 z9 h
^ 3 O# M3 B: y9 D! h* kRuntime error in 'in': Bad argument types* W4 W5 {2 G7 x5 i- O7 G
( ?0 i' Q% V0 m3 }( D3 g8 M9 X( S2 M0 L0 } s# v g
>> FF in PFS; * d' _) O) n/ }- F) q2 J, S ^8 |0 B, B& x) v2 S9 b8 E
Runtime error in 'in': Bad argument types