SLIDE 1
12.1 Formal Languages & Regular Expressions
- P. Danziger
Formal Languages & Regular Expressions Cartesian Products
Definition 1 Let n ∈ Z+, and let x1, x2, . . . , xn be n (not necessarily distinct) elements of some set. The ordered n-tuple (x1, x2, . . . , xn) consists
- f x1, x2, . . . , xn together with the ordering.
- An ordered 2-tuple (x1, x2) is called an ordered
pair.
- An ordered 3-tuple (x1, x2, x3) is called an or-
dered triple.
- Two ordered n-tuples (x1, x2, . . . , xn) and