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/native/neuralese/evidence/native-oracle-receipt-attempt1-failed.json # 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 / native / neuralese / evidence / native-oracle-receipt-attempt1-failed.json` 1 lines ยท 27889 bytes Raw Blame History 1 {"args": {"code": "(* (* Independent mathematical verification of bounded ecosystem6 extension. *)\n(* Symbolic D/Simplify over 31 parameters timed out (HTTP 504): symbolic path NOT_RUN.\n Direct exact rational explicit derivative plus central difference is used instead. *)\nsoft[x_] := x/(1+Abs[x]);\nx = {1,0,1,0}; t = {1,0,1,0};\nlossF[q_List] := Module[{w,b,v,c,a,h,z,o},\n w = Partition[Take[q,12],3]; b = q[[13;;15]]; v = Partition[q[[16;;27]],4]; c = q[[28;;31]];\n a = x.w+b; h = soft/@a; z = h.v+c; o = (1+soft[#])/2&/@z; Total[(o-t)^2]];\np0 = Table[(-1)^i i/64,{i,1,31}];\nw = Partition[Take[p0,12],3]; b = p0[[13;;15]]; v = Partition[p0[[16;;27]],4]; c = p0[[28;;31]];\na = x.w+b; h = soft/@a; z = h.v+c; o = (1+soft[#])/2&/@z;\ndz = (o-t)/(1+Abs[z])^2;\ndh = v.dz;\nda = dh/(1+Abs[a])^2;\ngrad = Join[Flatten[Outer[Times,x,da]],da,Flatten[Outer[Times,h,dz]],dz];\neps = 1/`1000000`;\nfd = Table[(lossF[ReplacePart[p0,i->p0[[i]]+eps]]-lossF[ReplacePart[p0,i->p0[[i]]-eps]])/(2 eps),{i,31}];\nerr = Max[Abs[fd-grad]];\nExportString[<|\"status\"->If[Length[grad]==31&&err<1/`100000000`,\"PASS\",\"FAIL\"],\"profile\"->\"MODELED exact rational softsign network; explicit derivative plus central difference; symbolic D/Simplify NOT_RUN (504 timeout)\",\"parameters\"->31,\"input\"->x,\"target\"->t,\"initial\"->N[p0,17],\"output\"->N[o,17],\"loss\"->N[lossF[p0],17],\"gradient\"->N[grad,17],\"updated\"->N[p0-grad/10,17],\"manualDerivativeExact\"->\"NOT_RUN\",\"centralDifferenceMaxError\"->N[err,17],\"signMutantRejected\"->TrueQ[Max[Abs[-grad-grad]]>1/`100000000`],\"indexMutantRejected\"->TrueQ[Max[Abs[RotateLeft[grad]-grad]]>1/`100000000`],\"updateMutantRejected\"->TrueQ[Max[Abs[(p0+grad/10)-(p0-grad/10)]]>1/`100000000`]|>,\"RawJSON\"]\n is the pinned independent exact-gradient source, not a host trainer. *)\n(* Independent mathematical verification of bounded ecosystem6 extension. *)\n(* Symbolic D/Simplify over 31 parameters timed out (HTTP 504): symbolic path NOT_RUN.\n Direct exact rational explicit derivative plus central difference is used instead. *)\nsoft[x_] := x/(1+Abs[x]);\nx = {1,0,1,0}; t = {1,0,1,0};\nlossF[q_List] := Module[{w,b,v,c,a,h,z,o},\n w = Partition[Take[q,12],3]; b = q[[13;;15]]; v = Partition[q[[16;;27]],4]; c = q[[28;;31]];\n a = x.w+b; h = soft/@a; z = h.v+c; o = (1+soft[#])/2&/@z; Total[(o-t)^2]];\np0 = Table[(-1)^i i/64,{i,1,31}];\nw = Partition[Take[p0,12],3]; b = p0[[13;;15]]; v = Partition[p0[[16;;27]],4]; c = p0[[28;;31]];\na = x.w+b; h = soft/@a; z = h.v+c; o = (1+soft[#])/2&/@z;\ndz = (o-t)/(1+Abs[z])^2;\ndh = v.dz;\nda = dh/(1+Abs[a])^2;\ngrad = Join[Flatten[Outer[Times,x,da]],da,Flatten[Outer[Times,h,dz]],dz];\neps = 1/`1000000`;\nfd = Table[(lossF[ReplacePart[p0,i->p0[[i]]+eps]]-lossF[ReplacePart[p0,i->p0[[i]]-eps]])/(2 eps),{i,31}];\nerr = Max[Abs[fd-grad]];\nExportString[<|\"status\"->If[Length[grad]==31&&err<1/`100000000`,\"PASS\",\"FAIL\"],\"profile\"->\"MODELED exact rational softsign network; explicit derivative plus central difference; symbolic D/Simplify NOT_RUN (504 timeout)\",\"parameters\"->31,\"input\"->x,\"target\"->t,\"initial\"->N[p0,17],\"output\"->N[o,17],\"loss\"->N[lossF[p0],17],\"gradient\"->N[grad,17],\"updated\"->N[p0-grad/10,17],\"manualDerivativeExact\"->\"NOT_RUN\",\"centralDifferenceMaxError\"->N[err,17],\"signMutantRejected\"->TrueQ[Max[Abs[-grad-grad]]>1/`100000000`],\"indexMutantRejected\"->TrueQ[Max[Abs[RotateLeft[grad]-grad]]>1/`100000000`],\"updateMutantRejected\"->TrueQ[Max[Abs[(p0+grad/10)-(p0-grad/10)]]>1/`100000000`]|>,\"RawJSON\"]\n;\nfromBits[n_Integer] := Module[{sgn,e,m},sgn=If[BitAnd[BitShiftRight[n,63],1]==1,-1,1]; e=BitAnd[BitShiftRight[n,52],2047]; m=BitAnd[n,2^52-1]; If[e==0,sgn m 2^-1074,sgn (2^52+m) 2^(e-1075)]];\ngdata=Map[ToExpression,ImportString[\"[[\\\"0\\\", \\\"`13803532857890570240`\\\", \\\"`13816775026911733192`\\\", \\\"`13793583834339916364`\\\"], [\\\"1\\\", \\\"`4584664420663164928`\\\", \\\"`13817549942365617673`\\\", \\\"`4586668374751287504`\\\"], [\\\"2\\\", \\\"`13810288257331625984`\\\", \\\"`13818097963238419661`\\\", \\\"`13808065094894382612`\\\"], [\\\"3\\\", \\\"`4589168020290535424`\\\", \\\"`9223372036854775808`\\\", \\\"`4589168020290535424`\\\"], [\\\"4\\\", \\\"`13813665957052153856`\\\", \\\"`9223372036854775808`\\\", \\\"`13813665957052153856`\\\"], [\\\"5\\\", \\\"`4591419820104220672`\\\", \\\"`9223372036854775808`\\\", \\\"`4591419820104220672`\\\"], [\\\"6\\\", \\\"`13815917756865839104`\\\", \\\"`13816775026911733192`\\\", \\\"`13815043899926459858`\\\"], [\\\"7\\\", \\\"`4593671619917905920`\\\", \\\"`13817549942365617673`\\\", \\\"`4594172608439936564`\\\"], [\\\"8\\\", \\\"`13817606606726103040`\\\", \\\"`13818097963238419661`\\\", \\\"`13817050816116792197`\\\"], [\\\"9\\\", \\\"`4594797519824748544`\\\", \\\"`9223372036854775808`\\\", \\\"`4594797519824748544`\\\"], [\\\"10\\\", \\\"`13818732506632945664`\\\", \\\"`9223372036854775808`\\\", \\\"`13818732506632945664`\\\"], [\\\"11\\\", \\\"`4595923419731591168`\\\", \\\"`9223372036854775808`\\\", \\\"`4595923419731591168`\\\"], [\\\"12\\\", \\\"`13819858406539788288`\\\", \\\"`13816775026911733192`\\\", \\\"`13819421478070098665`\\\"], [\\\"13\\\", \\\"`4597049319638433792`\\\", \\\"`13817549942365617673`\\\", \\\"`4597550308160464436`\\\"], [\\\"14\\\", \\\"`13820984306446630912`\\\", \\\"`13818097963238419661`\\\", \\\"`13820428515837320069`\\\"], [\\\"15\\\", \\\"`4598175219545276416`\\\", \\\"`4587401336932914427`\\\", \\\"`4597994206647848416`\\\"], [\\\"16\\\", \\\"`13821828731376762880`\\\", \\\"`13810593116985116734`\\\", \\\"`13821740478138081049`\\\"], [\\\"17\\\", \\\"`4598738169498697728`\\\", \\\"`4587046757477737408`\\\", \\\"`4598652095293173441`\\\"], [\\\"18\\\", \\\"`13822391681330184192`\\\", \\\"`13810250163631691374`\\\", \\\"`13822307715008420178`\\\"], [\\\"19\\\", \\\"`4599301119452119040`\\\", \\\"`13811525635179598805`\\\", \\\"`4599401029168231897`\\\"], [\\\"20\\\", \\\"`13822954631283605504`\\\", \\\"`4587954613542761341`\\\", \\\"`13823052053689942590`\\\"], [\\\"21\\\", \\\"`4599864069405540352`\\\", \\\"`13811134216300507290`\\\", \\\"`4599959086385664565`\\\"], [\\\"22\\\", \\\"`13823517581237026816`\\\", \\\"`4587576028672096982`\\\", \\\"`13823610271332480598`\\\"], [\\\"23\\\", \\\"`4600427019358961664`\\\", \\\"`4588856260064517817`\\\", \\\"`4600318326371102622`\\\"], [\\\"24\\\", \\\"`13824080531190448128`\\\", \\\"`13812011818969578196`\\\", \\\"`13823974544176960529`\\\"], [\\\"25\\\", \\\"`4600989969312382976`\\\", \\\"`4588430430734517158`\\\", \\\"`4600886599191148942`\\\"], [\\\"26\\\", \\\"`13824643481143869440`\\\", \\\"`13811599951912481806`\\\", \\\"`13824542642468595545`\\\"], [\\\"27\\\", \\\"`4601552919265804288`\\\", \\\"`13819866769660254084`\\\", \\\"`4601919254891551431`\\\"], [\\\"28\\\", \\\"`13825206431097290752`\\\", \\\"`4596312330088588424`\\\", \\\"`13825563646587193402`\\\"], [\\\"29\\\", \\\"`4602115869219225600`\\\", \\\"`13819507969021086862`\\\", \\\"`4602464264813014382`\\\"], [\\\"30\\\", \\\"`13825769381050712064`\\\", \\\"`4595965293957146095`\\\", \\\"`13826080050380732659`\\\"]]\",\"RawJSON\"],{2}]; fdata=Map[ToExpression,ImportString[\"[[\\\"0\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"0\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"0\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"0\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"16\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"16\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"16\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"16\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"32\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"32\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"32\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"0\\\", \\\"32\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"0\\\", \\\"0\\\", \\\"`4607182418800017407`\\\", \\\"1\\\"], [\\\"1\\\", \\\"0\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"0\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"0\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"16\\\", \\\"0\\\", \\\"`4607455607927041241`\\\", \\\"1\\\"], [\\\"1\\\", \\\"16\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"16\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"16\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"32\\\", \\\"0\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"1\\\", \\\"32\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"32\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"1\\\", \\\"32\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"0\\\", \\\"1\\\", \\\"`4607182418800017407`\\\", \\\"1\\\"], [\\\"2\\\", \\\"0\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"0\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"16\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"16\\\", \\\"1\\\", \\\"`4607455607927041241`\\\", \\\"1\\\"], [\\\"2\\\", \\\"16\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"16\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"32\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"32\\\", \\\"1\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"2\\\", \\\"32\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"2\\\", \\\"32\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"3\\\", \\\"0\\\", \\\"0\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"3\\\", \\\"0\\\", \\\"1\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"3\\\", \\\"0\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"3\\\", \\\"0\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"3\\\", \\\"16\\\", \\\"0\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"3\\\", \\\"16\\\", \\\"1\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"3\\\", \\\"16\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"3\\\", \\\"16\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"3\\\", \\\"32\\\", \\\"0\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"3\\\", \\\"32\\\", \\\"1\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"3\\\", \\\"32\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"3\\\", \\\"32\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"0\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"0\\\", \\\"2\\\", \\\"`4607182418800017407`\\\", \\\"1\\\"], [\\\"4\\\", \\\"0\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"16\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"16\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"16\\\", \\\"2\\\", \\\"`4607455607927041241`\\\", \\\"1\\\"], [\\\"4\\\", \\\"16\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"32\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"32\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"4\\\", \\\"32\\\", \\\"2\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"4\\\", \\\"32\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"5\\\", \\\"0\\\", \\\"0\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"5\\\", \\\"0\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"5\\\", \\\"0\\\", \\\"2\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"5\\\", \\\"0\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"5\\\", \\\"16\\\", \\\"0\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"5\\\", \\\"16\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"5\\\", \\\"16\\\", \\\"2\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"5\\\", \\\"16\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"5\\\", \\\"32\\\", \\\"0\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"5\\\", \\\"32\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"5\\\", \\\"32\\\", \\\"2\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"5\\\", \\\"32\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"6\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"6\\\", \\\"0\\\", \\\"1\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"6\\\", \\\"0\\\", \\\"2\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"6\\\", \\\"0\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"6\\\", \\\"16\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"6\\\", \\\"16\\\", \\\"1\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"6\\\", \\\"16\\\", \\\"2\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"6\\\", \\\"16\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"6\\\", \\\"32\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"6\\\", \\\"32\\\", \\\"1\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"6\\\", \\\"32\\\", \\\"2\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"6\\\", \\\"32\\\", \\\"3\\\", \\\"0\\\", \\\"0\\\"], [\\\"7\\\", \\\"0\\\", \\\"0\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"7\\\", \\\"0\\\", \\\"1\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"7\\\", \\\"0\\\", \\\"2\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"7\\\", \\\"0\\\", \\\"3\\\", \\\"`4363988038922010624`\\\", \\\"0\\\"], [\\\"7\\\", \\\"16\\\", \\\"0\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"7\\\", \\\"16\\\", \\\"1\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"7\\\", \\\"16\\\", \\\"2\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"7\\\", \\\"16\\\", \\\"3\\\", \\\"`13809901909563096008`\\\", \\\"0\\\"], [\\\"7\\\", \\\"32\\\", \\\"0\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"7\\\", \\\"32\\\", \\\"1\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"7\\\", \\\"32\\\", \\\"2\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"7\\\", \\\"32\\\", \\\"3\\\", \\\"`4582026273080949728`\\\", \\\"0\\\"], [\\\"8\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"0\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"0\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"0\\\", \\\"3\\\", \\\"`4607182418800017407`\\\", \\\"1\\\"], [\\\"8\\\", \\\"16\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"16\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"16\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"16\\\", \\\"3\\\", \\\"`4607455607927041241`\\\", \\\"1\\\"], [\\\"8\\\", \\\"32\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"32\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"32\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"8\\\", \\\"32\\\", \\\"3\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"9\\\", \\\"0\\\", \\\"0\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"9\\\", \\\"0\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"9\\\", \\\"0\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"9\\\", \\\"0\\\", \\\"3\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"9\\\", \\\"16\\\", \\\"0\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"9\\\", \\\"16\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"9\\\", \\\"16\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"9\\\", \\\"16\\\", \\\"3\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"9\\\", \\\"32\\\", \\\"0\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"9\\\", \\\"32\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"9\\\", \\\"32\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"9\\\", \\\"32\\\", \\\"3\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"10\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"10\\\", \\\"0\\\", \\\"1\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"10\\\", \\\"0\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"10\\\", \\\"0\\\", \\\"3\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"10\\\", \\\"16\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"10\\\", \\\"16\\\", \\\"1\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"10\\\", \\\"16\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"10\\\", \\\"16\\\", \\\"3\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"10\\\", \\\"32\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"10\\\", \\\"32\\\", \\\"1\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"10\\\", \\\"32\\\", \\\"2\\\", \\\"0\\\", \\\"0\\\"], [\\\"10\\\", \\\"32\\\", \\\"3\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"11\\\", \\\"0\\\", \\\"0\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"11\\\", \\\"0\\\", \\\"1\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"11\\\", \\\"0\\\", \\\"2\\\", \\\"`4363988038922010624`\\\", \\\"0\\\"], [\\\"11\\\", \\\"0\\\", \\\"3\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"11\\\", \\\"16\\\", \\\"0\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"11\\\", \\\"16\\\", \\\"1\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"11\\\", \\\"16\\\", \\\"2\\\", \\\"`13809901909563096008`\\\", \\\"0\\\"], [\\\"11\\\", \\\"16\\\", \\\"3\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"11\\\", \\\"32\\\", \\\"0\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"11\\\", \\\"32\\\", \\\"1\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"11\\\", \\\"32\\\", \\\"2\\\", \\\"`4582026273080949728`\\\", \\\"0\\\"], [\\\"11\\\", \\\"32\\\", \\\"3\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"12\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"12\\\", \\\"0\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"12\\\", \\\"0\\\", \\\"2\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"12\\\", \\\"0\\\", \\\"3\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"12\\\", \\\"16\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"12\\\", \\\"16\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"12\\\", \\\"16\\\", \\\"2\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"12\\\", \\\"16\\\", \\\"3\\\", \\\"`4606932665594999352`\\\", \\\"1\\\"], [\\\"12\\\", \\\"32\\\", \\\"0\\\", \\\"0\\\", \\\"0\\\"], [\\\"12\\\", \\\"32\\\", \\\"1\\\", \\\"0\\\", \\\"0\\\"], [\\\"12\\\", \\\"32\\\", \\\"2\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"12\\\", \\\"32\\\", \\\"3\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"13\\\", \\\"0\\\", \\\"0\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"13\\\", \\\"0\\\", \\\"1\\\", \\\"`4363988038922010624`\\\", \\\"0\\\"], [\\\"13\\\", \\\"0\\\", \\\"2\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"13\\\", \\\"0\\\", \\\"3\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"13\\\", \\\"16\\\", \\\"0\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"13\\\", \\\"16\\\", \\\"1\\\", \\\"`13809901909563096008`\\\", \\\"0\\\"], [\\\"13\\\", \\\"16\\\", \\\"2\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"13\\\", \\\"16\\\", \\\"3\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"13\\\", \\\"32\\\", \\\"0\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"13\\\", \\\"32\\\", \\\"1\\\", \\\"`4582026273080949728`\\\", \\\"0\\\"], [\\\"13\\\", \\\"32\\\", \\\"2\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"13\\\", \\\"32\\\", \\\"3\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"14\\\", \\\"0\\\", \\\"0\\\", \\\"`4363988038922010624`\\\", \\\"0\\\"], [\\\"14\\\", \\\"0\\\", \\\"1\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"14\\\", \\\"0\\\", \\\"2\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"14\\\", \\\"0\\\", \\\"3\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"14\\\", \\\"16\\\", \\\"0\\\", \\\"`13809901909563096008`\\\", \\\"0\\\"], [\\\"14\\\", \\\"16\\\", \\\"1\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"14\\\", \\\"16\\\", \\\"2\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"14\\\", \\\"16\\\", \\\"3\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"14\\\", \\\"32\\\", \\\"0\\\", \\\"`4582026273080949728`\\\", \\\"0\\\"], [\\\"14\\\", \\\"32\\\", \\\"1\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"14\\\", \\\"32\\\", \\\"2\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"14\\\", \\\"32\\\", \\\"3\\\", \\\"`4607131698459765782`\\\", \\\"1\\\"], [\\\"15\\\", \\\"0\\\", \\\"0\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"15\\\", \\\"0\\\", \\\"1\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"15\\\", \\\"0\\\", \\\"2\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"15\\\", \\\"0\\\", \\\"3\\\", \\\"`4607182418800017406`\\\", \\\"1\\\"], [\\\"15\\\", \\\"16\\\", \\\"0\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"15\\\", \\\"16\\\", \\\"1\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"15\\\", \\\"16\\\", \\\"2\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"15\\\", \\\"16\\\", \\\"3\\\", \\\"`4607256575062274811`\\\", \\\"1\\\"], [\\\"15\\\", \\\"32\\\", \\\"0\\\", \\\"`4607131698459765783`\\\", \\\"1\\\"], [\\\"15\\\", \\\"32\\\", \\\"1\\\", \\\"`4607131698459765783`\\\", \\\"1\\\"], [\\\"15\\\", \\\"32\\\", \\\"2\\\", \\\"`4607131698459765783`\\\", \\\"1\\\"], [\\\"15\\\", \\\"32\\\", \\\"3\\\", \\\"`4607131698459765783`\\\", \\\"1\\\"]]\",\"RawJSON\"],{2}]; pdata=Map[ToExpression,ImportString[\"[[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"0\\\",\\\"0\\\",\\\"1\\\",\\\"`4604501455107875508`\\\",\\\"`4604006292388348526`\\\",\\\"`13827564486381299962`\\\",\\\"`4592515476300579104`\\\",\\\"`4586435532919473824`\\\",\\\"`4592459401482133428`\\\",\\\"`4592491317554476096`\\\",\\\"0\\\",\\\"0\\\",\\\"0\\\",\\\"0\\\",\\\"0\\\",\\\"176\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"1\\\",\\\"0\\\",\\\"1\\\",\\\"`13817914591435043083`\\\",\\\"`4605759689421741472`\\\",\\\"`4598767319363154830`\\\",\\\"`4606579213809052890`\\\",\\\"`4594841375216474640`\\\",\\\"`4592289013406803596`\\\",\\\"`4590664792533511328`\\\",\\\"1\\\",\\\"0\\\",\\\"0\\\",\\\"0\\\",\\\"0\\\",\\\"160\\\",\\\"160\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"2\\\",\\\"0\\\",\\\"1\\\",\\\"`13823609157215485678`\\\",\\\"`13823049056916539211`\\\",\\\"`4600131072245175563`\\\",\\\"`4605582479200798864`\\\",\\\"`4606440854920169066`\\\",\\\"`4605527774723354166`\\\",\\\"`4605483408154406864`\\\",\\\"1\\\",\\\"1\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"160\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"3\\\",\\\"0\\\",\\\"1\\\",\\\"`13828362110037712311`\\\",\\\"`4604927770993481258`\\\",\\\"`4604911278194282317`\\\",\\\"`4606818526023291686`\\\",\\\"`4606245683186297319`\\\",\\\"`4592295988766581212`\\\",\\\"`4592232794940718596`\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"0\\\",\\\"0\\\",\\\"176\\\",\\\"160\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"4\\\",\\\"0\\\",\\\"1\\\",\\\"`4605744052264255021`\\\",\\\"`13825948663682575455`\\\",\\\"`4602293955133082658`\\\",\\\"`4591164953479281296`\\\",\\\"`4603172899432296494`\\\",\\\"`4606730178046334837`\\\",\\\"`4591407915448635556`\\\",\\\"0\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"1\\\",\\\"192\\\",\\\"160\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"5\\\",\\\"0\\\",\\\"1\\\",\\\"`4604765733558100019`\\\",\\\"`4604621706907322253`\\\",\\\"`4605099810460452721`\\\",\\\"`4606234066729471488`\\\",\\\"`4592246942935608144`\\\",\\\"`4606223745215779772`\\\",\\\"`4585994063362614472`\\\",\\\"1\\\",\\\"0\\\",\\\"1\\\",\\\"0\\\",\\\"0\\\",\\\"176\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"6\\\",\\\"0\\\",\\\"1\\\",\\\"`4604476704591312167`\\\",\\\"`13828466335908007163`\\\",\\\"`4605176154429039604`\\\",\\\"`4592214589219538688`\\\",\\\"`4606224262109327975`\\\",\\\"`4606815275236113778`\\\",\\\"`4592257533914895452`\\\",\\\"0\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"0\\\",\\\"160\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"7\\\",\\\"0\\\",\\\"1\\\",\\\"`13818695720992596869`\\\",\\\"`4594702108498668873`\\\",\\\"`4605876356295450054`\\\",\\\"`4606523163316217827`\\\",\\\"`4606311807211138622`\\\",\\\"`4605975824029266120`\\\",\\\"`4591451572518727508`\\\",\\\"1\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"0\\\",\\\"144\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"8\\\",\\\"0\\\",\\\"1\\\",\\\"`13821582171640159863`\\\",\\\"`13824834646797304594`\\\",\\\"`13829127514726502598`\\\",\\\"`4590448671645091096`\\\",\\\"`4597887763545824188`\\\",\\\"`4592639089289310060`\\\",\\\"`4606660619408565060`\\\",\\\"0\\\",\\\"0\\\",\\\"0\\\",\\\"1\\\",\\\"0\\\",\\\"160\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"9\\\",\\\"0\\\",\\\"1\\\",\\\"`13828228097539504147`\\\",\\\"`4604769527570577375`\\\",\\\"`13828248068311853222`\\\",\\\"`4606245203429011067`\\\",\\\"`4592361272874944100`\\\",\\\"`4585981469388496088`\\\",\\\"`4606240868962331535`\\\",\\\"1\\\",\\\"0\\\",\\\"0\\\",\\\"1\\\",\\\"0\\\",\\\"176\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"10\\\",\\\"0\\\",\\\"1\\\",\\\"`13828445009895244906`\\\",\\\"`13828356535489017770`\\\",\\\"`13828146597261284465`\\\",\\\"`4592226725984536976`\\\",\\\"`4606236948773308248`\\\",\\\"`4592271916920769332`\\\",\\\"`4606817966763389268`\\\",\\\"0\\\",\\\"1\\\",\\\"0\\\",\\\"1\\\",\\\"0\\\",\\\"160\\\",\\\"160\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"11\\\",\\\"0\\\",\\\"1\\\",\\\"`13829230831249322284`\\\",\\\"`4598790650957648547`\\\",\\\"`13821552341514374576`\\\",\\\"`4606361819674535530`\\\",\\\"`4605430776588464958`\\\",\\\"`4589159825181000112`\\\",\\\"`4606303407499055308`\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"1\\\",\\\"0\\\",\\\"160\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"12\\\",\\\"0\\\",\\\"1\\\",\\\"`4604656300067996872`\\\",\\\"`13828585902995221769`\\\",\\\"`13827890964661054128`\\\",\\\"`4586021398710256408`\\\",\\\"`4592194597141890296`\\\",\\\"`4606216743285190723`\\\",\\\"`4606224061364164954`\\\",\\\"0\\\",\\\"0\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"144\\\",\\\"160\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"13\\\",\\\"0\\\",\\\"1\\\",\\\"`4584218783311018596`\\\",\\\"`13813406265373095830`\\\",\\\"`4582739054139257514`\\\",\\\"`4599693125055927557`\\\",\\\"`4602925591241588828`\\\",\\\"`4604220600436613342`\\\",\\\"`4602692158976001361`\\\",\\\"0\\\",\\\"1\\\",\\\"1\\\",\\\"1\\\",\\\"1\\\",\\\"160\\\",\\\"176\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"14\\\",\\\"0\\\",\\\"1\\\",\\\"`13821885019521812773`\\\",\\\"`13829251241399845956`\\\",\\\"`4594914557121894999`\\\",\\\"`4594503322738847278`\\\",\\\"`4606549536670047078`\\\",\\\"`4606251468256986310`\\\",\\\"`4606405446075698140`\\\",\\\"0\\\",\\\"1\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"160\\\",\\\"160\\\",\\\"0\\\"],[\\\"17\\\",\\\"1\\\",\\\"0\\\",\\\"15\\\",\\\"0\\\",\\\"1\\\",\\\"`13828246417769266595`\\\",\\\"`13827918076445647683`\\\",\\\"`4604678110634751051`\\\",\\\"`4606202686350557481`\\\",\\\"`4606798130158785926`\\\",\\\"`4606233073742493114`\\\",\\\"`4606214772811587174`\\\",\\\"1\\\",\\\"1\\\",\\\"1\\\",\\\"1\\\",\\\"0\\\",\\\"176\\\",\\\"160\\\",\\\"0\\\"]]\\n\",\"RawJSON\"],{2}];\nngrad=fromBits/@gdata[[All,3]]; nupdate=fromBits/@gdata[[All,4]];\ngerr=Max[Abs[ngrad-grad]]; uerr=Max[Abs[nupdate-(p0-grad/10)]];\nhw=Nest[KroneckerProduct[{{1,1},{1,-1}},#]&,{{1}},3]; he=hw[[All,{2,3,5,8}]]/Sqrt[8];\nferr[r_] := Module[{xx,hh,expected},xx=Reverse[IntegerDigits[r[[1]],2,4]]; hh=xx.Transpose[he]; If[r[[2]]!=0,hh=Round[r[[2]] hh]/r[[2]]]; expected=hh.he; Abs[fromBits[r[[4]]]-expected[[r[[3]]+1]]]];\nfe=Max[ferr/@fdata]; predictions=And@@Map[(#[[5]]==Reverse[IntegerDigits[#[[1]],2,4]][[#[[3]]+1]])&,fdata];\ns={{1,1,1,0},{1,0,0,1},{0,1,1,1}}; sh=s.Transpose[he];\nqcurve=Table[{q,N[Max[Abs[Flatten[(Round[q sh]/q).he-s]]]]},{q,{1,2,4,8,16,32,64}}];\ncoords=Map[(fromBits/@#[[7;;9]])&,pdata];\nqplot=ExportString[ListLinePlot[qcurve,AxesLabel->{\"quantization denominator\",\"max feature error\"},PlotRange->All,ImageSize->480],\"SVG\"];\npplot=ExportString[Graphics[MapThread[{Hue[(#1[[3]]+1)/2],PointSize[.018],Point[#1[[1;;2]]],Text[#2,#1[[1;;2]],{-1,-1}]}&,{N[coords],pdata[[All,4]]}],Axes->True,AxesLabel->{\"message coordinate 1\",\"message coordinate 2\"},PlotLabel->\"Actual learned 3D messages: hue = coordinate 3; seed 17 parity fit\",ImageSize->480],\"SVG\"];\nExportString[<|\"status\"->If[gerr<10^-12&&uerr<10^-12&&fe<10^-12&&predictions,\"PASS\",\"FAIL\"],\"scope\"->\"EXERCISED independent comparison of native binary64 carriers with exact Wolfram oracle\",\"gradientCount\"->Length[gdata],\"gradientMaxError\"->N[gerr,18],\"updateMaxError\"->N[uerr,18],\"fixedFeatureCount\"->Length[fdata],\"fixedMaxError\"->N[fe,18],\"fixedPredictionsCorrect\"->predictions,\"quantizationPlotSVG\"->qplot,\"learnedMessagePlotSVG\"->pplot|>,\"RawJSON\"]\n"}, "result": {"text": "ToExpression::sntx: Invalid syntax in or before \";\\n ^\".\"\\n\"\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= $Failed", "details": {"serverName": "wolfram", "mcpToolName": "WolframLanguageEvaluator", "rawContent": [{"type": "text", "text": "ToExpression::sntx: Invalid syntax in or before \";\\n ^\".\"\\n\"\nGeneral::messages: Messages were generated which may indicate errors.\n\nOut[1]= $Failed"}], "provider": "native", "providerName": "OMP"}}}