哪位能给理解下: 0 F; D, u) Z& |7 [- m5 J/ ^1 p h) j6 S8 n+ j/ c" y- M/ t
Formal Sets 3 N7 ~, z! O8 j. ?6 u- |A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. $ P; T- F4 V6 P ; D0 Q( a9 }# ^& K2 tThe only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. " B# M1 k8 k* h7 P) y & f1 u# S9 z6 m1 @- \/ G( H3 _8 T% ~( `$ B, J+ U( O, F8 q$ R
! @5 L* c8 }7 m# eS := { 1 .. 5}; / ~ R4 H; {4 l" j6 Y, T) z> P := PowerSet(S); * j* L; r" l! [9 NP; # H$ P# }3 O4 y7 q/ \: c! }PFS:=PowerFormalSet(S); ( x: D1 w' O7 S+ [2 X0 }- CPFS;; E1 g( M7 K) q1 s2 i& _" K9 c7 _8 P
F := { 2, 4 }; * L4 C' P5 S( x4 U1 q- _FF := { 2/3, 4 }; ; I2 i+ o1 `3 g# s: A; F: T0 z, H- c: \) c1 H4 Z
F in P; * R* Y7 { _9 |/ z1 b: I- uFF in P; 6 @* Q1 N+ q& W3 C! N5 b F in PFS; \' r: |& L) i3 K+ y+ _
FF in PFS; : _5 O" t. N9 X. w% ~Set of subsets of { 1 .. 5 } / S, o% d1 m: ?9 o1 s* T9 ^Set of formal subsets of { 1 .. 5 }! K& j) U8 X0 h+ }4 l$ [
true Q' M( }; a4 @, }$ V) @1 B9 Ffalse : z+ y- j9 C' J+ B 3 |) V$ K2 ^7 U2 x! z( `# l>> F in PFS;, V5 J4 g. ~: e5 [8 L O7 j- k6 S5 s
^ 3 q& `0 B: P+ m, A9 n& }5 K& LRuntime error in 'in': Bad argument types$ K+ l) I7 N6 D; a, H
1 V. j y* a5 ?$ L3 _
" g2 r2 C2 r, i; I8 U% {8 m>> FF in PFS; 7 n+ b3 I4 Y' h W, c( c# o- W ^1 a2 v- m- G/ E, m: `
Runtime error in 'in': Bad argument types