"The universe of entities is the range of the values of variables. To be is to be the value of a variable" (Quine).
Simple Numerical Range
Semantics
A simple numeric range is an open expression of consecutive numbers (of unit increment). It is defined from the initial (r1) and final (r2) numbers of the range.
If r1<r2, then the sequence of numbers is increasing.
If r1>r2, then the sequence of numbers is decreasing.
If r1=r2, then the range is a single element: r1.
Syntax
(r1 ... r2) or r1...r2
Justification
The range represents a shorthand way of describing consecutive numbers.
The range is an open descriptive derived expression.
"..." is a single symbol and not three consecutive dots.
The numbers defining the range may not be integers.
Variable names may be used.
The fact that the result is an open expression is to facilitate its use within other expressions. It could be defined, if desired, as a sequence or set (closed expression).
Examples
3...6 // rep. 3 4 5 6
( 3...6 ) // rep. (3 4 5 6) eq. 3456
{3...6} // rep. {3 4 5 6}
(−1 ... 4) // rep. −1 0 1 1 2 3 4 4
(6 ... 3) // rep. 6 5 4 3
(31 ... 31) // rep. 31
(a ... a+3) // rep. a a+1 a+2 a+3
(a ... a−3) // rep. a a−1 a−2 a−3
(0.5 ... 3.5) // rep. 0.5 1.5 2.5 3.5
(a ... b) // self-evaluates
Numeric Range with Increment
Semantics
The increment is defined indirectly by specifying a second element of the sequence. The increment is the difference between the second and the first. The last element of the range cannot exceed the specified upper limit, if the increment is positive. If it is negative, it cannot be less than the specified lower limit. The result is also an open expression.
The factorial of a natural number n is a particular case of multiplicative rank: (1*...*n). The generalized factorial allows to use real values in the initial value, in the increment and in the final value. For example,