哪位能给理解下: % R+ d8 v/ H+ _( u$ o 0 Z1 I0 m; o2 ?$ GFormal Sets2 J4 t) R# r+ M0 N/ W' r
A formal set consists of the subset of elements of some carrier set (structure) on which a certain predicate assumes the value `true'. : e9 \+ w6 @1 w' V. |# o' ]; M P( {8 G! `
( s4 \5 ?. x3 P; G! A9 dThe only set-theoretic operations that can be performed on formal sets are union, intersection, difference and symmetric difference, and element membership testing. 9 p' G8 o& C( I& T' j+ u' ?# B$ V$ Q; p- C$ `5 l
: i" r5 Z P$ j' \& A3 y& g8 n! g, T
0 E* ^/ C" S! l$ T: ^. m# hS := { 1 .. 5}; 0 q' Y* ?: f: h: I4 D2 h6 M> P := PowerSet(S);& w2 s( Y! h; [7 l _
P; + u/ k; R! f" DPFS:=PowerFormalSet(S); - {4 i8 I7 T' S# _ W7 m3 i5 I: S9 vPFS;+ K: U. r. W. K6 M1 D" c2 I" S8 z
F := { 2, 4 }; / l; d. z% I- m$ G3 B+ B5 P/ I. w9 OFF := { 2/3, 4 };1 ^" H1 }3 V; I, v* m. y! d/ h
$ v9 @* v* y* H/ [9 Z$ y& s' E/ J
F in P;5 j9 x# E7 O5 L* w& {
FF in P; 5 A# l/ w0 E# G: C3 p Z, k/ r F in PFS;) Z2 U+ X) _* n. R9 N6 G4 p
FF in PFS;7 z% q/ O P, [& `
Set of subsets of { 1 .. 5 }1 V7 a: h7 E* O
Set of formal subsets of { 1 .. 5 } ( q' f1 @- {2 M4 m% M- gtrue ! K) F8 O: D' f1 D! Nfalse % [$ u3 J' H( F0 b ! a. L6 N/ n$ L& [" L& T>> F in PFS; * G4 T0 u/ g8 } ]1 J% V ^0 |" K: L! l( g% V7 s
Runtime error in 'in': Bad argument types * |2 e7 S6 y2 j& j& K4 p: E! c* g0 f A# |
' P' e1 I; z. V' ?' T! [. X8 U- x>> FF in PFS;9 S" O! l; j/ E% b- f7 D. d
^ ; Y/ y) T% ]/ wRuntime error in 'in': Bad argument types