The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

596 lines
19 KiB

2 months ago
  1. \* Any Wolfram elementary CA in 6D eucl. Neumann CA grid emulator generator *\
  2. \* Written and converted to *LP format by NASZVADI, Peter, 2016,2017 *\
  3. \* <vuk@cs.elte.hu> *\
  4. \* Standalone version; GMPL version is in wolfra6d.mod *\
  5. \* This model looks up for a subset of vertices in 6D euclyd. grid, *\
  6. \* which has the following properties: *\
  7. \* 1. each vertex' coordinate pairs' difference is at most 1 *\
  8. \* 2. contains the vertices in the main diagonal of the 6d space *\
  9. \* 3. connecting with directed graph edges from all selected vertices *\
  10. \* to all selected ones with greater coordinate sums with *\
  11. \* Hamming-distance 1, the following in-out edge numbers are *\
  12. \* allowed: (3,6), (1,2), (2,3), (1,2), (4,1), (3,1); according to *\
  13. \* the mod 6 sum of the coordinate values *\
  14. \* 4. Only vertices of the unit cube's with {0,1} coordinates are *\
  15. \* calculated, but the other cells could be obtained via shifting. *\
  16. \* Assume that the grid is a 6dim. cellular automaton grid with Neumann- *\
  17. \* -neighbourhood, now construct an outer-totalistic rule that emulates *\
  18. \* W110 cellular automaton on the selected vertices: *\
  19. \* Suppose that the 1D W110 cellspace cells are denoted with signed *\
  20. \* integers. Every 1D cell is assigned to (at most "6 over 2") selected *\
  21. \* vertices where each coordinate sums are the same with the integer *\
  22. \* assigned to the origin cell in the domain, they must have the same *\
  23. \* value. Rule-110 means that cell's value is being changed only when its *\
  24. \* neighbours are: (1,1,1), (1,0,1), (0,0,1), other cells remain unchanged. *\
  25. \* Let's denote the default cellstate with "2" in the 6D automaton, and *\
  26. \* the remaining 2 states with "0" and "1" respectively, which correspond *\
  27. \* with the states in W110. The selected vertices must be 0 or 1 of course, *\
  28. \* and the others are "2". *\
  29. \* Now, the transition rule for emulating W110 is the following: *\
  30. \* (x),{1,1,1,1,1,1,1,1,1,2,2,2}->(1-x), x!=2, *\
  31. \* (x),{1,1,1,2,2,2,2,2,2,2,2,2}->(1-x), x!=2, *\
  32. \* (x),{1,1,1,1,2,2,2,2,2,2,2,2}->(1-x), x!=2, *\
  33. \* (x),{1,1,1,1,1,2,2,2,2,2,2,2}->(1-x), x!=2, *\
  34. \* (1),{0,0,0,1,1,1,1,1,1,2,2,2}->(0), *\
  35. \* (1),{0,1,1,2,2,2,2,2,2,2,2,2}->(0), *\
  36. \* (1),{0,0,1,1,1,2,2,2,2,2,2,2}->(0), *\
  37. \* (1),{0,0,0,0,1,2,2,2,2,2,2,2}->(0), *\
  38. \* (1),{0,0,0,1,2,2,2,2,2,2,2,2}->(0); *\
  39. \* notation: (old state),{old neighbours - all permutations}->(new state) *\
  40. \* Other states won't change between two generations. And is known that W110 *\
  41. \* is Turing-complete. So there is a universal CA rule in 6+D eucl. gridS *\
  42. \* Result is in x****** binary variables (total 44 among the 64) *\
  43. Minimize
  44. obj: x000000 +x000001 +x000010 +x000011 +x000100 +x000101 +x000110 +x000111
  45. +x001000 +x001001 +x001010 +x001011 +x001100 +x001101 +x001110 +x001111
  46. +x010000 +x010001 +x010010 +x010011 +x010100 +x010101 +x010110 +x010111
  47. +x011000 +x011001 +x011010 +x011011 +x011100 +x011101 +x011110 +x011111
  48. +x100000 +x100001 +x100010 +x100011 +x100100 +x100101 +x100110 +x100111
  49. +x101000 +x101001 +x101010 +x101011 +x101100 +x101101 +x101110 +x101111
  50. +x110000 +x110001 +x110010 +x110011 +x110100 +x110101 +x110110 +x110111
  51. +x111000 +x111001 +x111010 +x111011 +x111100 +x111101 +x111110 +x111111
  52. Subject To
  53. x000000 = 1
  54. x111111 = 1
  55. x111110 -x111101 >= 0
  56. x111101 -x111011 >= 0
  57. x111011 -x110111 >= 0
  58. x110111 -x101111 >= 0
  59. x101111 -x011111 >= 0
  60. dn000000 -dn111111 = 0
  61. up000000 -up111111 = 0
  62. cup000000:
  63. x000001 +x000010 +x000100 +x001000 +x010000 +x100000 -up000000 = 0
  64. cup000001:
  65. x000011 +x000101 +x001001 +x010001 +x100001 -up000001 = 0
  66. cup000010:
  67. x000011 +x000110 +x001010 +x010010 +x100010 -up000010 = 0
  68. cup000011:
  69. x000111 +x001011 +x010011 +x100011 -up000011 = 0
  70. cup000100:
  71. x000101 +x000110 +x001100 +x010100 +x100100 -up000100 = 0
  72. cup000101:
  73. x000111 +x001101 +x010101 +x100101 -up000101 = 0
  74. cup000110:
  75. x000111 +x001110 +x010110 +x100110 -up000110 = 0
  76. cup000111:
  77. x001111 +x010111 +x100111 -up000111 = 0
  78. cup001000:
  79. x001001 +x001010 +x001100 +x011000 +x101000 -up001000 = 0
  80. cup001001:
  81. x001011 +x001101 +x011001 +x101001 -up001001 = 0
  82. cup001010:
  83. x001011 +x001110 +x011010 +x101010 -up001010 = 0
  84. cup001011:
  85. x001111 +x011011 +x101011 -up001011 = 0
  86. cup001100:
  87. x001101 +x001110 +x011100 +x101100 -up001100 = 0
  88. cup001101:
  89. x001111 +x011101 +x101101 -up001101 = 0
  90. cup001110:
  91. x001111 +x011110 +x101110 -up001110 = 0
  92. cup001111:
  93. x011111 +x101111 -up001111 = 0
  94. cup010000:
  95. x010001 +x010010 +x010100 +x011000 +x110000 -up010000 = 0
  96. cup010001:
  97. x010011 +x010101 +x011001 +x110001 -up010001 = 0
  98. cup010010:
  99. x010011 +x010110 +x011010 +x110010 -up010010 = 0
  100. cup010011:
  101. x010111 +x011011 +x110011 -up010011 = 0
  102. cup010100:
  103. x010101 +x010110 +x011100 +x110100 -up010100 = 0
  104. cup010101:
  105. x010111 +x011101 +x110101 -up010101 = 0
  106. cup010110:
  107. x010111 +x011110 +x110110 -up010110 = 0
  108. cup010111:
  109. x011111 +x110111 -up010111 = 0
  110. cup011000:
  111. x011001 +x011010 +x011100 +x111000 -up011000 = 0
  112. cup011001:
  113. x011011 +x011101 +x111001 -up011001 = 0
  114. cup011010:
  115. x011011 +x011110 +x111010 -up011010 = 0
  116. cup011011:
  117. x011111 +x111011 -up011011 = 0
  118. cup011100:
  119. x011101 +x011110 +x111100 -up011100 = 0
  120. cup011101:
  121. x011111 +x111101 -up011101 = 0
  122. cup011110:
  123. x011111 +x111110 -up011110 = 0
  124. cup011111:
  125. x111111 -up011111 = 0
  126. cup100000:
  127. x100001 +x100010 +x100100 +x101000 +x110000 -up100000 = 0
  128. cup100001:
  129. x100011 +x100101 +x101001 +x110001 -up100001 = 0
  130. cup100010:
  131. x100011 +x100110 +x101010 +x110010 -up100010 = 0
  132. cup100011:
  133. x100111 +x101011 +x110011 -up100011 = 0
  134. cup100100:
  135. x100101 +x100110 +x101100 +x110100 -up100100 = 0
  136. cup100101:
  137. x100111 +x101101 +x110101 -up100101 = 0
  138. cup100110:
  139. x100111 +x101110 +x110110 -up100110 = 0
  140. cup100111:
  141. x101111 +x110111 -up100111 = 0
  142. cup101000:
  143. x101001 +x101010 +x101100 +x111000 -up101000 = 0
  144. cup101001:
  145. x101011 +x101101 +x111001 -up101001 = 0
  146. cup101010:
  147. x101011 +x101110 +x111010 -up101010 = 0
  148. cup101011:
  149. x101111 +x111011 -up101011 = 0
  150. cup101100:
  151. x101101 +x101110 +x111100 -up101100 = 0
  152. cup101101:
  153. x101111 +x111101 -up101101 = 0
  154. cup101110:
  155. x101111 +x111110 -up101110 = 0
  156. cup101111:
  157. x111111 -up101111 = 0
  158. cup110000:
  159. x110001 +x110010 +x110100 +x111000 -up110000 = 0
  160. cup110001:
  161. x110011 +x110101 +x111001 -up110001 = 0
  162. cup110010:
  163. x110011 +x110110 +x111010 -up110010 = 0
  164. cup110011:
  165. x110111 +x111011 -up110011 = 0
  166. cup110100:
  167. x110101 +x110110 +x111100 -up110100 = 0
  168. cup110101:
  169. x110111 +x111101 -up110101 = 0
  170. cup110110:
  171. x110111 +x111110 -up110110 = 0
  172. cup110111:
  173. x111111 -up110111 = 0
  174. cup111000:
  175. x111001 +x111010 +x111100 -up111000 = 0
  176. cup111001:
  177. x111011 +x111101 -up111001 = 0
  178. cup111010:
  179. x111011 +x111110 -up111010 = 0
  180. cup111011:
  181. x111111 -up111011 = 0
  182. cup111100:
  183. x111101 +x111110 -up111100 = 0
  184. cup111101:
  185. x111111 -up111101 = 0
  186. cup111110:
  187. x111111 -up111110 = 0
  188. cdn000001:
  189. x000000 -dn000001 = 0
  190. cdn000010:
  191. x000000 -dn000010 = 0
  192. cdn000011:
  193. x000001 +x000010 -dn000011 = 0
  194. cdn000100:
  195. x000000 -dn000100 = 0
  196. cdn000101:
  197. x000001 +x000100 -dn000101 = 0
  198. cdn000110:
  199. x000010 +x000100 -dn000110 = 0
  200. cdn000111:
  201. x000011 +x000101 +x000110 -dn000111 = 0
  202. cdn001000:
  203. x000000 -dn001000 = 0
  204. cdn001001:
  205. x000001 +x001000 -dn001001 = 0
  206. cdn001010:
  207. x000010 +x001000 -dn001010 = 0
  208. cdn001011:
  209. x000011 +x001001 +x001010 -dn001011 = 0
  210. cdn001100:
  211. x000100 +x001000 -dn001100 = 0
  212. cdn001101:
  213. x000101 +x001001 +x001100 -dn001101 = 0
  214. cdn001110:
  215. x000110 +x001010 +x001100 -dn001110 = 0
  216. cdn001111:
  217. x000111 +x001011 +x001101 +x001110 -dn001111 = 0
  218. cdn010000:
  219. x000000 -dn010000 = 0
  220. cdn010001:
  221. x000001 +x010000 -dn010001 = 0
  222. cdn010010:
  223. x000010 +x010000 -dn010010 = 0
  224. cdn010011:
  225. x000011 +x010001 +x010010 -dn010011 = 0
  226. cdn010100:
  227. x000100 +x010000 -dn010100 = 0
  228. cdn010101:
  229. x000101 +x010001 +x010100 -dn010101 = 0
  230. cdn010110:
  231. x000110 +x010010 +x010100 -dn010110 = 0
  232. cdn010111:
  233. x000111 +x010011 +x010101 +x010110 -dn010111 = 0
  234. cdn011000:
  235. x001000 +x010000 -dn011000 = 0
  236. cdn011001:
  237. x001001 +x010001 +x011000 -dn011001 = 0
  238. cdn011010:
  239. x001010 +x010010 +x011000 -dn011010 = 0
  240. cdn011011:
  241. x001011 +x010011 +x011001 +x011010 -dn011011 = 0
  242. cdn011100:
  243. x001100 +x010100 +x011000 -dn011100 = 0
  244. cdn011101:
  245. x001101 +x010101 +x011001 +x011100 -dn011101 = 0
  246. cdn011110:
  247. x001110 +x010110 +x011010 +x011100 -dn011110 = 0
  248. cdn011111:
  249. x001111 +x010111 +x011011 +x011101 +x011110 -dn011111 = 0
  250. cdn100000:
  251. x000000 -dn100000 = 0
  252. cdn100001:
  253. x000001 +x100000 -dn100001 = 0
  254. cdn100010:
  255. x000010 +x100000 -dn100010 = 0
  256. cdn100011:
  257. x000011 +x100001 +x100010 -dn100011 = 0
  258. cdn100100:
  259. x000100 +x100000 -dn100100 = 0
  260. cdn100101:
  261. x000101 +x100001 +x100100 -dn100101 = 0
  262. cdn100110:
  263. x000110 +x100010 +x100100 -dn100110 = 0
  264. cdn100111:
  265. x000111 +x100011 +x100101 +x100110 -dn100111 = 0
  266. cdn101000:
  267. x001000 +x100000 -dn101000 = 0
  268. cdn101001:
  269. x001001 +x100001 +x101000 -dn101001 = 0
  270. cdn101010:
  271. x001010 +x100010 +x101000 -dn101010 = 0
  272. cdn101011:
  273. x001011 +x100011 +x101001 +x101010 -dn101011 = 0
  274. cdn101100:
  275. x001100 +x100100 +x101000 -dn101100 = 0
  276. cdn101101:
  277. x001101 +x100101 +x101001 +x101100 -dn101101 = 0
  278. cdn101110:
  279. x001110 +x100110 +x101010 +x101100 -dn101110 = 0
  280. cdn101111:
  281. x001111 +x100111 +x101011 +x101101 +x101110 -dn101111 = 0
  282. cdn110000:
  283. x010000 +x100000 -dn110000 = 0
  284. cdn110001:
  285. x010001 +x100001 +x110000 -dn110001 = 0
  286. cdn110010:
  287. x010010 +x100010 +x110000 -dn110010 = 0
  288. cdn110011:
  289. x010011 +x100011 +x110001 +x110010 -dn110011 = 0
  290. cdn110100:
  291. x010100 +x100100 +x110000 -dn110100 = 0
  292. cdn110101:
  293. x010101 +x100101 +x110001 +x110100 -dn110101 = 0
  294. cdn110110:
  295. x010110 +x100110 +x110010 +x110100 -dn110110 = 0
  296. cdn110111:
  297. x010111 +x100111 +x110011 +x110101 +x110110 -dn110111 = 0
  298. cdn111000:
  299. x011000 +x101000 +x110000 -dn111000 = 0
  300. cdn111001:
  301. x011001 +x101001 +x110001 +x111000 -dn111001 = 0
  302. cdn111010:
  303. x011010 +x101010 +x110010 +x111000 -dn111010 = 0
  304. cdn111011:
  305. x011011 +x101011 +x110011 +x111001 +x111010 -dn111011 = 0
  306. cdn111100:
  307. x011100 +x101100 +x110100 +x111000 -dn111100 = 0
  308. cdn111101:
  309. x011101 +x101101 +x110101 +x111001 +x111100 -dn111101 = 0
  310. cdn111110:
  311. x011110 +x101110 +x110110 +x111010 +x111100 -dn111110 = 0
  312. cdn111111:
  313. x011111 +x101111 +x110111 +x111011 +x111101 +x111110 -dn111111 = 0
  314. up000000 -6 x000000 >= 0
  315. up000000 +64 x000000 <= 70
  316. up000001 -2 x000001 >= 0
  317. up000001 +64 x000001 <= 66
  318. up000010 -2 x000010 >= 0
  319. up000010 +64 x000010 <= 66
  320. up000011 -3 x000011 >= 0
  321. up000011 +64 x000011 <= 67
  322. up000100 -2 x000100 >= 0
  323. up000100 +64 x000100 <= 66
  324. up000101 -3 x000101 >= 0
  325. up000101 +64 x000101 <= 67
  326. up000110 -3 x000110 >= 0
  327. up000110 +64 x000110 <= 67
  328. up000111 -2 x000111 >= 0
  329. up000111 +64 x000111 <= 66
  330. up001000 -2 x001000 >= 0
  331. up001000 +64 x001000 <= 66
  332. up001001 -3 x001001 >= 0
  333. up001001 +64 x001001 <= 67
  334. up001010 -3 x001010 >= 0
  335. up001010 +64 x001010 <= 67
  336. up001011 -2 x001011 >= 0
  337. up001011 +64 x001011 <= 66
  338. up001100 -3 x001100 >= 0
  339. up001100 +64 x001100 <= 67
  340. up001101 -2 x001101 >= 0
  341. up001101 +64 x001101 <= 66
  342. up001110 -2 x001110 >= 0
  343. up001110 +64 x001110 <= 66
  344. up001111 -1 x001111 >= 0
  345. up001111 +64 x001111 <= 65
  346. up010000 -2 x010000 >= 0
  347. up010000 +64 x010000 <= 66
  348. up010001 -3 x010001 >= 0
  349. up010001 +64 x010001 <= 67
  350. up010010 -3 x010010 >= 0
  351. up010010 +64 x010010 <= 67
  352. up010011 -2 x010011 >= 0
  353. up010011 +64 x010011 <= 66
  354. up010100 -3 x010100 >= 0
  355. up010100 +64 x010100 <= 67
  356. up010101 -2 x010101 >= 0
  357. up010101 +64 x010101 <= 66
  358. up010110 -2 x010110 >= 0
  359. up010110 +64 x010110 <= 66
  360. up010111 -1 x010111 >= 0
  361. up010111 +64 x010111 <= 65
  362. up011000 -3 x011000 >= 0
  363. up011000 +64 x011000 <= 67
  364. up011001 -2 x011001 >= 0
  365. up011001 +64 x011001 <= 66
  366. up011010 -2 x011010 >= 0
  367. up011010 +64 x011010 <= 66
  368. up011011 -1 x011011 >= 0
  369. up011011 +64 x011011 <= 65
  370. up011100 -2 x011100 >= 0
  371. up011100 +64 x011100 <= 66
  372. up011101 -1 x011101 >= 0
  373. up011101 +64 x011101 <= 65
  374. up011110 -1 x011110 >= 0
  375. up011110 +64 x011110 <= 65
  376. up011111 -1 x011111 >= 0
  377. up011111 +64 x011111 <= 65
  378. up100000 -2 x100000 >= 0
  379. up100000 +64 x100000 <= 66
  380. up100001 -3 x100001 >= 0
  381. up100001 +64 x100001 <= 67
  382. up100010 -3 x100010 >= 0
  383. up100010 +64 x100010 <= 67
  384. up100011 -2 x100011 >= 0
  385. up100011 +64 x100011 <= 66
  386. up100100 -3 x100100 >= 0
  387. up100100 +64 x100100 <= 67
  388. up100101 -2 x100101 >= 0
  389. up100101 +64 x100101 <= 66
  390. up100110 -2 x100110 >= 0
  391. up100110 +64 x100110 <= 66
  392. up100111 -1 x100111 >= 0
  393. up100111 +64 x100111 <= 65
  394. up101000 -3 x101000 >= 0
  395. up101000 +64 x101000 <= 67
  396. up101001 -2 x101001 >= 0
  397. up101001 +64 x101001 <= 66
  398. up101010 -2 x101010 >= 0
  399. up101010 +64 x101010 <= 66
  400. up101011 -1 x101011 >= 0
  401. up101011 +64 x101011 <= 65
  402. up101100 -2 x101100 >= 0
  403. up101100 +64 x101100 <= 66
  404. up101101 -1 x101101 >= 0
  405. up101101 +64 x101101 <= 65
  406. up101110 -1 x101110 >= 0
  407. up101110 +64 x101110 <= 65
  408. up101111 -1 x101111 >= 0
  409. up101111 +64 x101111 <= 65
  410. up110000 -3 x110000 >= 0
  411. up110000 +64 x110000 <= 67
  412. up110001 -2 x110001 >= 0
  413. up110001 +64 x110001 <= 66
  414. up110010 -2 x110010 >= 0
  415. up110010 +64 x110010 <= 66
  416. up110011 -1 x110011 >= 0
  417. up110011 +64 x110011 <= 65
  418. up110100 -2 x110100 >= 0
  419. up110100 +64 x110100 <= 66
  420. up110101 -1 x110101 >= 0
  421. up110101 +64 x110101 <= 65
  422. up110110 -1 x110110 >= 0
  423. up110110 +64 x110110 <= 65
  424. up110111 -1 x110111 >= 0
  425. up110111 +64 x110111 <= 65
  426. up111000 -2 x111000 >= 0
  427. up111000 +64 x111000 <= 66
  428. up111001 -1 x111001 >= 0
  429. up111001 +64 x111001 <= 65
  430. up111010 -1 x111010 >= 0
  431. up111010 +64 x111010 <= 65
  432. up111011 -1 x111011 >= 0
  433. up111011 +64 x111011 <= 65
  434. up111100 -1 x111100 >= 0
  435. up111100 +64 x111100 <= 65
  436. up111101 -1 x111101 >= 0
  437. up111101 +64 x111101 <= 65
  438. up111110 -1 x111110 >= 0
  439. up111110 +64 x111110 <= 65
  440. dn000001 -1 x000001 >= 0
  441. dn000001 +64 x000001 <= 65
  442. dn000010 -1 x000010 >= 0
  443. dn000010 +64 x000010 <= 65
  444. dn000011 -2 x000011 >= 0
  445. dn000011 +64 x000011 <= 66
  446. dn000100 -1 x000100 >= 0
  447. dn000100 +64 x000100 <= 65
  448. dn000101 -2 x000101 >= 0
  449. dn000101 +64 x000101 <= 66
  450. dn000110 -2 x000110 >= 0
  451. dn000110 +64 x000110 <= 66
  452. dn000111 -1 x000111 >= 0
  453. dn000111 +64 x000111 <= 65
  454. dn001000 -1 x001000 >= 0
  455. dn001000 +64 x001000 <= 65
  456. dn001001 -2 x001001 >= 0
  457. dn001001 +64 x001001 <= 66
  458. dn001010 -2 x001010 >= 0
  459. dn001010 +64 x001010 <= 66
  460. dn001011 -1 x001011 >= 0
  461. dn001011 +64 x001011 <= 65
  462. dn001100 -2 x001100 >= 0
  463. dn001100 +64 x001100 <= 66
  464. dn001101 -1 x001101 >= 0
  465. dn001101 +64 x001101 <= 65
  466. dn001110 -1 x001110 >= 0
  467. dn001110 +64 x001110 <= 65
  468. dn001111 -4 x001111 >= 0
  469. dn001111 +64 x001111 <= 68
  470. dn010000 -1 x010000 >= 0
  471. dn010000 +64 x010000 <= 65
  472. dn010001 -2 x010001 >= 0
  473. dn010001 +64 x010001 <= 66
  474. dn010010 -2 x010010 >= 0
  475. dn010010 +64 x010010 <= 66
  476. dn010011 -1 x010011 >= 0
  477. dn010011 +64 x010011 <= 65
  478. dn010100 -2 x010100 >= 0
  479. dn010100 +64 x010100 <= 66
  480. dn010101 -1 x010101 >= 0
  481. dn010101 +64 x010101 <= 65
  482. dn010110 -1 x010110 >= 0
  483. dn010110 +64 x010110 <= 65
  484. dn010111 -4 x010111 >= 0
  485. dn010111 +64 x010111 <= 68
  486. dn011000 -2 x011000 >= 0
  487. dn011000 +64 x011000 <= 66
  488. dn011001 -1 x011001 >= 0
  489. dn011001 +64 x011001 <= 65
  490. dn011010 -1 x011010 >= 0
  491. dn011010 +64 x011010 <= 65
  492. dn011011 -4 x011011 >= 0
  493. dn011011 +64 x011011 <= 68
  494. dn011100 -1 x011100 >= 0
  495. dn011100 +64 x011100 <= 65
  496. dn011101 -4 x011101 >= 0
  497. dn011101 +64 x011101 <= 68
  498. dn011110 -4 x011110 >= 0
  499. dn011110 +64 x011110 <= 68
  500. dn011111 -3 x011111 >= 0
  501. dn011111 +64 x011111 <= 67
  502. dn100000 -1 x100000 >= 0
  503. dn100000 +64 x100000 <= 65
  504. dn100001 -2 x100001 >= 0
  505. dn100001 +64 x100001 <= 66
  506. dn100010 -2 x100010 >= 0
  507. dn100010 +64 x100010 <= 66
  508. dn100011 -1 x100011 >= 0
  509. dn100011 +64 x100011 <= 65
  510. dn100100 -2 x100100 >= 0
  511. dn100100 +64 x100100 <= 66
  512. dn100101 -1 x100101 >= 0
  513. dn100101 +64 x100101 <= 65
  514. dn100110 -1 x100110 >= 0
  515. dn100110 +64 x100110 <= 65
  516. dn100111 -4 x100111 >= 0
  517. dn100111 +64 x100111 <= 68
  518. dn101000 -2 x101000 >= 0
  519. dn101000 +64 x101000 <= 66
  520. dn101001 -1 x101001 >= 0
  521. dn101001 +64 x101001 <= 65
  522. dn101010 -1 x101010 >= 0
  523. dn101010 +64 x101010 <= 65
  524. dn101011 -4 x101011 >= 0
  525. dn101011 +64 x101011 <= 68
  526. dn101100 -1 x101100 >= 0
  527. dn101100 +64 x101100 <= 65
  528. dn101101 -4 x101101 >= 0
  529. dn101101 +64 x101101 <= 68
  530. dn101110 -4 x101110 >= 0
  531. dn101110 +64 x101110 <= 68
  532. dn101111 -3 x101111 >= 0
  533. dn101111 +64 x101111 <= 67
  534. dn110000 -2 x110000 >= 0
  535. dn110000 +64 x110000 <= 66
  536. dn110001 -1 x110001 >= 0
  537. dn110001 +64 x110001 <= 65
  538. dn110010 -1 x110010 >= 0
  539. dn110010 +64 x110010 <= 65
  540. dn110011 -4 x110011 >= 0
  541. dn110011 +64 x110011 <= 68
  542. dn110100 -1 x110100 >= 0
  543. dn110100 +64 x110100 <= 65
  544. dn110101 -4 x110101 >= 0
  545. dn110101 +64 x110101 <= 68
  546. dn110110 -4 x110110 >= 0
  547. dn110110 +64 x110110 <= 68
  548. dn110111 -3 x110111 >= 0
  549. dn110111 +64 x110111 <= 67
  550. dn111000 -1 x111000 >= 0
  551. dn111000 +64 x111000 <= 65
  552. dn111001 -4 x111001 >= 0
  553. dn111001 +64 x111001 <= 68
  554. dn111010 -4 x111010 >= 0
  555. dn111010 +64 x111010 <= 68
  556. dn111011 -3 x111011 >= 0
  557. dn111011 +64 x111011 <= 67
  558. dn111100 -4 x111100 >= 0
  559. dn111100 +64 x111100 <= 68
  560. dn111101 -3 x111101 >= 0
  561. dn111101 +64 x111101 <= 67
  562. dn111110 -3 x111110 >= 0
  563. dn111110 +64 x111110 <= 67
  564. dn111111 -3 x111111 >= 0
  565. dn111111 +64 x111111 <= 67
  566. binary
  567. x000000 x000001 x000010 x000011 x000100 x000101 x000110 x000111
  568. x001000 x001001 x001010 x001011 x001100 x001101 x001110 x001111
  569. x010000 x010001 x010010 x010011 x010100 x010101 x010110 x010111
  570. x011000 x011001 x011010 x011011 x011100 x011101 x011110 x011111
  571. x100000 x100001 x100010 x100011 x100100 x100101 x100110 x100111
  572. x101000 x101001 x101010 x101011 x101100 x101101 x101110 x101111
  573. x110000 x110001 x110010 x110011 x110100 x110101 x110110 x110111
  574. x111000 x111001 x111010 x111011 x111100 x111101 x111110 x111111
  575. integer
  576. dn000000 up000000 dn000001 up000001 dn000010 up000010 dn000011 up000011
  577. dn000100 up000100 dn000101 up000101 dn000110 up000110 dn000111 up000111
  578. dn001000 up001000 dn001001 up001001 dn001010 up001010 dn001011 up001011
  579. dn001100 up001100 dn001101 up001101 dn001110 up001110 dn001111 up001111
  580. dn010000 up010000 dn010001 up010001 dn010010 up010010 dn010011 up010011
  581. dn010100 up010100 dn010101 up010101 dn010110 up010110 dn010111 up010111
  582. dn011000 up011000 dn011001 up011001 dn011010 up011010 dn011011 up011011
  583. dn011100 up011100 dn011101 up011101 dn011110 up011110 dn011111 up011111
  584. dn100000 up100000 dn100001 up100001 dn100010 up100010 dn100011 up100011
  585. dn100100 up100100 dn100101 up100101 dn100110 up100110 dn100111 up100111
  586. dn101000 up101000 dn101001 up101001 dn101010 up101010 dn101011 up101011
  587. dn101100 up101100 dn101101 up101101 dn101110 up101110 dn101111 up101111
  588. dn110000 up110000 dn110001 up110001 dn110010 up110010 dn110011 up110011
  589. dn110100 up110100 dn110101 up110101 dn110110 up110110 dn110111 up110111
  590. dn111000 up111000 dn111001 up111001 dn111010 up111010 dn111011 up111011
  591. dn111100 up111100 dn111101 up111101 dn111110 up111110 dn111111 up111111
  592. End