hive-not-swarm
aien-dev/hive-not-swarm
Brought by drakestapleton
hive-not-swarm / sources / wolfram_verification_receipt.json
| 1 | { |
| 2 | "tool": "mcp__codex_apps__wolfram_wolframlanguageevaluator", |
| 3 | "date_utc": "2026-10-29", |
| 4 | "arguments": { |
| 5 | "code": "ClearAll[n,s,a,b,c,r0,r];\nt=s+a/n+b (n-1)+c n (n-1)/2+r0+r n;\nrules={s->10,a->120,b->4/5,c->3/20,r0->3,r->1/2};\nsymbolic={D[t,n],D[t,{n,2}],Expand[n^2 D[t,n]],FullSimplify[(t/.n->n+1)-t],FullSimplify[D[t,{n,2}]>0,Assumptions->{a>0,c>=0,n>0}]};\nrows=Table[{n,t/.rules,3+n/2,1-(99/100)^n},{n,1,16}];\nfeasible=Select[rows,#[[3]]<=6&&#[[4]]<=2/25&];\n<|\"symbolic\"->symbolic,\"continuous_stationary_n\"->(n/.FindRoot[(D[t,n]/.rules)==0,{n,7}]),\"feasible_rows\"->feasible,\"feasible_optimum\"->First[MinimalBy[feasible,#[[2]]&]],\"unconstrained_integer_optimum\"->First[MinimalBy[rows,#[[2]]&]],\"risk_at_six\"->N[1-(99/100)^6,16],\"speed_ratio\"->N[(t/.rules/.n->1)/(t/.rules/.n->6),16]|>", |
| 6 | "timeConstraint": 60 |
| 7 | }, |
| 8 | "result": { |
| 9 | "content": [ |
| 10 | { |
| 11 | "type": "text", |
| 12 | "text": "Out[1]= <|\"symbolic\" -> {b + (c*(-1 + n))/2 - a/n^2 + (c*n)/2 + r, c + (2*a)/n^3, -a + b*n^2 - (c*n^2)/2 + c*n^3 + n^2*r, b + c*n - a/(n + n^2) + r, True}, \"continuous_stationary_n\" -> 7.212402677185584, \"feasible_rows\" -> {{1, 267/2, 7/2, 1/100}, {2, 1499/20, 4, 199/10000}, {3, 1131/20, 9/2, 29701/1000000}, {4, 483/10, 5, 3940399/100000000}, {5, 221/5, 11/2, 490099501/10000000000}, {6, 169/4, 6, 58519850599/1000000000000}}, \"feasible_optimum\" -> {6, 169/4, 6, 58519850599/1000000000000}, \"unconstrained_integer_optimum\" -> {7, 5823/140, 13/2, 6793465209301/100000000000000}, \"risk_at_six\" -> 0.058519850599`16., \"speed_ratio\" -> 3.15976331360946745562130177514792899408`16.|>" |
| 13 | } |
| 14 | ], |
| 15 | "structuredContent": null, |
| 16 | "isError": false |
| 17 | } |
| 18 | } |