![]() | MENTAL |
![]() | Main Menu |
![]() | Union of Opposites |
![]() | MENTAL, an Operational and Descriptive Language |
![]() | MENTAL, AN OPERATIONAL AND DESCRIPTIVE LANGUAGE |
(x = a+a) // ev. (x = 2*a)
(x = a*a) // ev. (x = a^2)
(a b c)/(a=3) // ev. (3 b c)
{a 2*a 3*a}/(a=3) // ev. (3 6 9)
(1 2)∪(3 4) // ev. (1 2 3 4) ev. 1234
{a b}∪{c d} // ev. {a b c d}
〈( f(x y) = (x+y x*y) )〉 // describes a function
{〈( n ← n>5 )〉} // represents the set of natural numbers greater than 5
([[a b] [1 2 3]]) // represents (a 1 a 2 a 3 b 1 b 2 b 3)
1…100 // represents the open expression 1 2 3 hellip; 100
1…10 // represents the sequence (1 2 3 … 10)
(1 3 … 13) // represents the open expression 1 3 5 7 9 11 13
12☆5 // represents the open expression 12 12 12 12 12 12 12
12★5 // represents the sequence (12 12 12 12 12 12 12)
([[a b] [1…3]]) // represents a (a 1 a 2 a 3 b 1 b 2 b 3)
[[a b]☆3]
// represents a [[a b] [a b] [a b] [a b]< b>]
, which in turn represents a a a a a a b a b a a a b b b b a a a a a b a b a a b b b
〈( f(x y) = (x+y x*y) )〉
〈( g(x) = f(x 3) )〉 // evaluates as 〈( g(x) = (x+3 x*3) )〉