Suppose you want to determine the number of pairs of persons (from a given group) where the second person must be younger than the first? Or suppose you want to count the number of ordered pairs from this group where the person in the second position must simply be someone other than the one in the first. (There's nothing physical intended about these "positions". Maybe there's only one cupcake and one cookie left, and you want to count the number of ways to dole them out.
Then we may stipulate that the first "position" is getting the cookie, and the second is getting the cake.)
This way of limiting a class of pair constructions is denoted
<a,b> x:AB(x) just whena A andb B(a) .
The
The position of the
* | |
  | |
* | |
  | |
* | |
  | |
* |
The standard notation for this operation on classes is
Thm* a:, b:(a). (i:ab(i)) ~ ( i:a. b(i))
The numeric sum notation
The notational similarity could be either confusing or helpful. The two notations could not logically be used in the same contexts since they take different kind of arguments and have different kinds of values:
The value of a numeric summation expression" i:{a..b}. f(i)" is numeric, and the functional argumentf(i) is numeric.The value of a dependent-pair type expression
"x:AB(x)" is a class whose members are pairs, and the functional argumentB(x) stands for a family of classes, one for each member of classA .
The priniciple above very nearly tells us that if we assign to each member of a finite class, another finite class, then we can count the pairs of the dependent-pair-type by simply adding up the sizes of all the classes in the family of classes.
About: