Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-train/blob/main/evidence/ECOSYSTEM6/independent-review/independent.om # aien-train AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-train / evidence / ECOSYSTEM6 / independent-review / independent.om` 320 lines ยท 5552 bytes Raw Blame History 1 note Independent Architecture303 reviewer. Literal symbolic oracle and central differences. 2 note No imported author test helper, expected arithmetic, or generated product source. 3 global BI ulong 14 4 global PI ulong 14 5 global MI ulong 14 6 global PL ulong 14 7 global ML ulong 14 8 global GI ulong 14 9 global DL ulong 14 10 global OLD ulong 129 11 global NC ulong 1 12 global DIG uchar 24 13 text OK "INDEPENDENT_AFFINE_PASS checks=" 14 text BAD "INDEPENDENT_AFFINE_FAIL check=" 15 text EOL "\n" 16 17 fn dec n ulong to void 18 p = ulong 24 19 while gt n 0 bound 24 20 p = sub p 1 21 put DIG p uchar add 48 rem n 10 22 n = div n 10 23 end 24 w = write 1 DIG p sub 24 p 25 end 26 27 fn chk value bool to void 28 put NC 0 add get NC 0 1 29 if not value 30 w = write 1 BAD 0 len BAD 31 dec get NC 0 32 w = write 1 EOL 0 1 33 exit 1 34 end 35 end 36 37 fn tables to void 38 note Decimal IEEE bitwords from independently evaluated symbolic polynomials. 39 put BI 0 `1065353216` 40 put BI 1 `3221225472` 41 put BI 2 `1077936128` 42 put BI 3 `1073741824` 43 put BI 4 0 44 put BI 5 `3212836864` 45 put BI 6 `1056964608` 46 put BI 7 `3196059648` 47 put BI 8 `1065353216` 48 put BI 9 `1061158912` 49 put BI 10 `3204448256` 50 put BI 11 `1073741824` 51 put BI 12 `1040187392` 52 put BI 13 `3204448256` 53 put PI 0 `1066401792` 54 put PI 1 `3220176896` 55 put PI 2 `1078460416` 56 put PI 3 `1074266112` 57 put PI 4 `1040187392` 58 put PI 5 `3210739712` 59 put PI 6 `1059061760` 60 put PI 7 `3187671040` 61 put PI 8 `1066401792` 62 put PI 9 `1063256064` 63 put PI 10 `3200253952` 64 put PI 11 `1074266112` 65 put PI 12 `1048576000` 66 put PI 13 `3200253952` 67 put MI 0 `1063256064` 68 put MI 1 `3221749760` 69 put MI 2 `1077411840` 70 put MI 3 `1072693248` 71 put MI 4 `3187671040` 72 put MI 5 `3213885440` 73 put MI 6 `1052770304` 74 put MI 7 `3200253952` 75 put MI 8 `1063256064` 76 put MI 9 `1059061760` 77 put MI 10 `3206545408` 78 put MI 11 `1072693248` 79 put MI 12 0 80 put MI 13 `3206545408` 81 put GI 0 `3230662656` 82 put GI 1 `3221749760` 83 put GI 2 `1096941568` 84 put GI 3 `1082916864` 85 put GI 4 0 86 put GI 5 `3246718976` 87 put GI 6 `1082654720` 88 put GI 7 `3238526976` 89 put GI 8 `1095237632` 90 put GI 9 `3241148416` 91 put GI 10 `3250585600` 92 put GI 11 `1102839808` 93 put GI 12 `3212836864` 94 put GI 13 `3217031168` 95 put PL 0 `1108321536` 96 put PL 1 `1108404480` 97 put PL 2 `1108947968` 98 put PL 3 `1108612352` 99 put PL 4 `1108474112` 100 put PL 5 `1107940352` 101 put PL 6 `1108627456` 102 put PL 7 `1108209664` 103 put PL 8 `1108893696` 104 put PL 9 `1108123648` 105 put PL 10 `1107722240` 106 put PL 11 `1109278720` 107 put PL 12 `1108443136` 108 put PL 13 `1108426752` 109 put ML 0 `1108616448` 110 put ML 1 `1108543744` 111 put ML 2 `1108022272` 112 put ML 3 `1108325632` 113 put ML 4 `1108474112` 114 put ML 5 `1109029888` 115 put ML 6 `1108348928` 116 put ML 7 `1108766720` 117 put ML 8 `1108074496` 118 put ML 9 `1108844544` 119 put ML 10 `1109295104` 120 put ML 11 `1107738624` 121 put ML 12 `1108508672` 122 put ML 13 `1108525056` 123 put DL 0 `3213885440` 124 put DL 1 `3204972544` 125 put DL 2 `1080164352` 126 put DL 3 `1066139648` 127 put DL 4 0 128 put DL 5 `3229941760` 129 put DL 6 `1065877504` 130 put DL 7 `3221749760` 131 put DL 8 `1078460416` 132 put DL 9 `3224371200` 133 put DL 10 `3233808384` 134 put DL 11 `1086062592` 135 put DL 12 `3196059648` 136 put DL 13 `3200253952` 137 end 138 139 fn loc p ulong to ulong 140 if lt p 6 141 ret p 142 end 143 if lt p 12 144 ret add p 10 145 end 146 ret add p 20 147 end 148 149 fn dim t ulong rank ulong a ulong b ulong to void 150 d = mul t 24 151 s = mul t 8 152 n = mul a b 153 put AD d 1 154 put AD add d 1 1 155 put AD add d 2 rank 156 put AD add d 3 n 157 put AD add d 5 add t 1 158 put AD add d 6 add t 9 159 put AD add d 8 a 160 put AD add d 16 b 161 if eq rank 2 162 put AD add d 9 b 163 put AD add d 17 1 164 end 165 put AS s 1 166 put AS add s 2 add t 1 167 put AS add s 3 add t 9 168 put AS add s 4 1 169 put AS add s 5 n 170 end 171 172 fn init to void 173 for i ulong 192 174 put AD i 0 175 end 176 for i ulong 64 177 put AS i 0 178 end 179 for i ulong 128 180 put AP i `2143289344` 181 end 182 put AL 0 `1092616192` 183 dim 0 2 2 3 184 dim 1 2 3 2 185 dim 2 1 2 1 186 dim 3 2 2 2 187 dim 4 2 2 2 188 dim 5 2 2 3 189 dim 6 2 3 2 190 dim 7 1 2 1 191 for p ulong 14 192 put AP loc p get BI p 193 end 194 put AP 48 `1048576000` 195 put AP 49 `1065353216` 196 put AP 50 `3212836864` 197 put AP 51 `1056964608` 198 end 199 200 fn freeze to void 201 for i ulong 128 202 put OLD i get AP i 203 end 204 put OLD 128 get AL 0 205 end 206 207 fn same to void 208 for i ulong 128 209 chk eq get OLD i get AP i 210 end 211 chk eq get OLD 128 get AL 0 212 end 213 214 fn grads to void 215 for i ulong 6 216 chk eq get AP add 80 i get GI i 217 chk eq get AP add 96 i get GI add i 6 218 end 219 chk eq get AP 112 get GI 12 220 chk eq get AP 113 get GI 13 221 end 222 223 fn one to void 224 init 225 chk eq afstep `1023410176` 0 226 chk eq get AP 64 `3224895488` 227 chk eq get AP 65 `1081081856` 228 chk eq get AP 66 `1070596096` 229 chk eq get AP 67 `3225419776` 230 chk eq get AL 0 `1108467712` 231 grads 232 chk eq get AP 16 `1052508160` 233 chk eq get AP 17 `1015021568` 234 chk eq get AP 18 `1058799616` 235 chk eq get AP 19 `1066139648` 236 chk eq get AP 20 `1048576000` 237 chk eq get AP 21 `1067581440` 238 chk eq get AP 32 `1042284544` 239 chk eq get AP 33 `3202875392` 240 for i ulong 6 241 chk eq get AP i get BI i 242 end 243 chk eq get AP 48 `1048576000` 244 chk eq get AP 49 `1065353216` 245 chk eq get AP 50 `3212836864` 246 chk eq get AP 51 `1056964608` 247 note Non-tensor padding must remain unchanged by the fixed-slot commit. 248 for t ulong 8 249 chk eq get AP add mul t 16 15 `2143289344` 250 end 251 end 252 253 fn central to void 254 for p ulong 14 255 init 256 put AP loc p get PI p 257 chk eq afstep 0 0 258 hi = get AL 0 259 chk eq hi get PL p 260 init 261 put AP loc p get MI p 262 chk eq afstep 0 0 263 lo = get AL 0 264 chk eq lo get ML p 265 note Expected loss difference is a literal from symbolic exact arithmetic. 266 chk eq add32 hi xor lo `2147483648` get DL p 267 end 268 init 269 chk eq afstep 0 0 270 grads 271 freeze 272 chk eq afstep 0 0 273 same 274 end 275 276 fn reject to void 277 init 278 put AD 8 3 279 put AD 9 2 280 put AD 16 2 281 freeze 282 chk eq afstep 0 -21 283 same 284 init 285 put AD 6 0 286 freeze 287 chk eq afstep 0 -5 288 same 289 init 290 put AS 3 10 291 freeze 292 chk eq afstep 0 -5 293 same 294 init 295 freeze 296 chk eq afstep `2147483648` -22 297 same 298 init 299 put AP 17 `2143289344` 300 freeze 301 chk eq afstep 0 -22 302 same 303 init 304 put AP 0 `2139095039` 305 put AP 16 `2139095039` 306 freeze 307 chk eq afstep 0 -23 308 same 309 end 310 311 fn main to int 312 tables 313 one 314 central 315 reject 316 w = write 1 OK 0 len OK 317 dec get NC 0 318 w = write 1 EOL 0 1 319 ret 0 320 end