哪位能给理解下: * D% s3 C. Z6 D5 P1 a' V1 a( }; } ~
Formal Sets+ k9 A' D) o/ Q$ g |% z0 E
A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. 8 L. D" l" }. N( \, S) J
6 I/ [8 d! ^7 \8 Y6 }3 WThe only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. ) {3 Q8 t; J: z. H# V3 W, c/ C; ^! d: w' Z7 r$ u
/ r2 b4 H1 ]- K5 D# @7 J: |' C, _* g& w
4 L6 Y& D& I# G! L# D; y
S := { 1 .. 5};3 h7 k8 M+ F0 u3 [% p) g
> P := PowerSet(S);% B" G3 _) w. |) R
P; ! `# I/ M4 D" V4 }2 cPFS:=PowerFormalSet(S); ; W0 g- z5 a5 h" w4 y4 jPFS;0 f3 o- ?7 s; z( r5 p8 ]
F := { 2, 4 }; 7 J/ N" u) h# L8 P8 A$ ^7 DFF := { 2/3, 4 }; 3 W, G+ ? [# p0 u0 x- j * Y" b* v; f2 l$ b" {: ]# R# B F in P;, }# p3 w0 L2 P# U. @9 j
FF in P; ) U5 m3 g: t' _! P. u F in PFS; 0 v, y% ~# G6 M, t1 J1 OFF in PFS; 8 l; F! S/ P# d. U6 W8 ESet of subsets of { 1 .. 5 }0 P; t8 Y% g/ n& Z* u1 t
Set of formal subsets of { 1 .. 5 }0 c0 p W9 Y7 z( U& l/ L6 ]7 i+ n
true2 m* F, H3 {2 {9 A; A w' s# u
false$ g T \: Q9 R. Z
& u# V! ?/ ^& ^' C
>> F in PFS;+ L, ^) S+ }* U; L g7 b
^" `8 ^1 M$ d# ]7 p8 ]# a
Runtime error in 'in': Bad argument types 3 j2 v0 W8 Y O- k7 c8 ]9 @; F& Z' o5 ? U+ ^' M
( i; c( K# K% @>> FF in PFS;- E1 N& s/ b- s
^5 G5 r% |$ {( A" Z) |
Runtime error in 'in': Bad argument types