
Time bar (total: 3.3s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 9 to 8 computations (11.1% saved)
| 534.0ms | 8 256× | 0 | valid |
ival-mult: 165.0ms (73% of total)ival-sub: 41.0ms (18.1% of total)exact: 9.0ms (4% of total)ival-true: 6.0ms (2.7% of total)ival-assert: 3.0ms (1.3% of total)adjust: 2.0ms (0.9% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 24.0ms | 512× | 0 | valid |
Compiled 47 to 22 computations (53.2% saved)
ival-mult: 9.0ms (70.3% of total)ival-sub: 2.0ms (15.6% of total)exact: 1.0ms (7.8% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 23 | 15 |
| 2 | 73 | 15 |
| 3 | 212 | 15 |
| 4 | 710 | 14 |
| 5 | 3488 | 14 |
| 0 | 6 | 7 |
| 0 | 9 | 7 |
| 1 | 19 | 7 |
| 2 | 56 | 7 |
| 3 | 202 | 7 |
| 4 | 660 | 7 |
| 5 | 4036 | 7 |
| 0 | 8535 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(abs x)
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
Compiled 7 to 6 computations (14.3% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| cost-diff | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 18 |
| 0 | 9 | 18 |
| 1 | 19 | 18 |
| 2 | 56 | 18 |
| 3 | 202 | 18 |
| 4 | 660 | 18 |
| 5 | 4036 | 18 |
| 0 | 8535 | 17 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 19.0ms | 256× | 0 | valid |
Compiled 20 to 8 computations (60% saved)
ival-mult: 12.0ms (89.5% of total)ival-sub: 1.0ms (7.5% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1)) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
| 1.0ms | x | @ | -inf | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
| 1.0ms | x | @ | 0 | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 74 |
| 1 | 34 | 74 |
| 2 | 106 | 74 |
| 3 | 344 | 74 |
| 4 | 1299 | 74 |
| 5 | 7036 | 74 |
| 0 | 8079 | 69 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1)) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1)) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (- (* (* x x) 2) 1) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 34 | 15 |
| 0 | 234 | 14 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (+.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)) #s(literal 1 binary64)) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)))) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 3 binary64)) (+.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal 1 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))))) |
(-.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(+.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal -1 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64))) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) (*.f64 x x))) |
(*.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 1 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64))) |
(*.f64 x (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 x x (*.f64 x x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
Compiled 706 to 169 computations (76.1% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 63 | 3 | 66 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 64 | 3 | 67 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
| ▶ | 52.4% | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ▶ | 48.1% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 28 to 23 computations (17.9% saved)
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| cost-diff | 0 | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 45 |
| 0 | 18 | 45 |
| 1 | 33 | 45 |
| 2 | 79 | 45 |
| 3 | 278 | 43 |
| 4 | 848 | 43 |
| 5 | 3815 | 43 |
| 0 | 8162 | 43 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#s(literal -1 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) | |
| accuracy | 0.0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| accuracy | 30.448329528599132 | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| accuracy | 33.22723364818535 | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| 18.0ms | 256× | 0 | valid |
Compiled 40 to 12 computations (70% saved)
ival-mult: 6.0ms (63.9% of total)ival-sub: 1.0ms (10.6% of total)ival-add: 1.0ms (10.6% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1)) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 -1)) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* 2 x) x) -1) (* 2 x)) |
| 1.0ms | x | @ | inf | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* 2 x) x) -1) (* 2 x)) |
| 1.0ms | x | @ | 0 | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* 2 x) x) -1) (* 2 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 137 |
| 1 | 47 | 137 |
| 2 | 130 | 137 |
| 3 | 440 | 137 |
| 4 | 1516 | 137 |
| 5 | 7488 | 137 |
| 0 | 8475 | 127 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1)) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 -1)) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 -1)) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (- (* (* x x) 2) 1) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64))) |
#s(approx (* (* x x) 2) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (* (* x x) 2) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 -1)) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (- (* (* x x) 2) 1) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (* 2 x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (- (* (* x x) 2) 1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
#s(approx (+ (* (* 2 x) x) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 39 |
| 0 | 18 | 39 |
| 1 | 65 | 37 |
| 0 | 368 | 37 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal -1 binary64)) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 x #s(literal 1 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64))) |
(*.f64 x (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) x (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 x x (*.f64 x x)) |
(+.f64 (*.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 #s(literal 1 binary64) (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal 1 binary64))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(neg.f64 (*.f64 x (neg.f64 x))) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64))) (neg.f64 (+.f64 (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))))) |
(/.f64 (neg.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64)))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (+.f64 (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)))) |
(/.f64 (fma.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) #s(literal 8 binary64) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) |
(fma.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal -1 binary64)) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal -2 binary64)) #s(literal -1 binary64) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64)) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(fma.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 (*.f64 x x) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(fma.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 3 binary64)) (+.f64 (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal 1 binary64)) (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))))) |
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)) x)) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (*.f64 x x)) #s(literal 2 binary64))) |
(-.f64 #s(literal -1 binary64) (*.f64 #s(literal -2 binary64) (*.f64 x x))) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64)))) (/.f64 #s(literal -1 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 x x) #s(literal -2 binary64))))) |
(+.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal -1 binary64)) |
(+.f64 #s(literal -1 binary64) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 x x)) (-.f64 x x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x)))) |
(fma.f64 #s(literal 1 binary64) x (*.f64 #s(literal 1 binary64) x)) |
(fma.f64 x #s(literal 1 binary64) (*.f64 x #s(literal 1 binary64))) |
(+.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 #s(literal 1 binary64) x)) |
(+.f64 (*.f64 x #s(literal 1 binary64)) (*.f64 x #s(literal 1 binary64))) |
(+.f64 x x) |
Compiled 1 275 to 228 computations (82.1% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 89 | 1 | 90 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 1 | 3 |
| Done | 0 | 0 | 0 |
| Total | 91 | 2 | 93 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
| ✓ | 48.1% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 15 to 12 computations (20% saved)
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x x) | |
| cost-diff | 0 | (fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 11 |
| 0 | 7 | 11 |
| 1 | 11 | 11 |
| 2 | 24 | 11 |
| 3 | 63 | 11 |
| 4 | 207 | 11 |
| 5 | 432 | 11 |
| 6 | 1509 | 11 |
| 7 | 4800 | 11 |
| 0 | 8147 | 11 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
(+.f64 x x) |
x |
#s(literal -1 binary64) |
| Outputs |
|---|
(fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
#s(literal -1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 (+.f64 x x) x #s(literal -1 binary64)) | |
| accuracy | 0.0 | (+.f64 x x) |
| 10.0ms | 256× | 0 | valid |
Compiled 14 to 7 computations (50% saved)
ival-add: 3.0ms (61.6% of total)ival-mult: 2.0ms (41.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 -1)) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((+ (* (+ x x) x) -1) (+ x x)) |
| 1.0ms | x | @ | inf | ((+ (* (+ x x) x) -1) (+ x x)) |
| 0.0ms | x | @ | 0 | ((+ (* (+ x x) x) -1) (+ x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 63 |
| 1 | 30 | 63 |
| 2 | 67 | 63 |
| 3 | 248 | 63 |
| 4 | 1109 | 63 |
| 5 | 6139 | 63 |
| 0 | 8479 | 58 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 -1)) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
| Outputs |
|---|
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 -1)) |
#s(approx (+ (* (+ x x) x) -1) #s(literal -1 binary64)) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (- (* 2 (pow x 2)) 1))) |
#s(approx (+ (* (+ x x) x) -1) (fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (* 2 (pow x 2)))) |
#s(approx (+ (* (+ x x) x) -1) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
#s(approx (+ (* (+ x x) x) -1) #s(hole binary64 (* (pow x 2) (- 2 (/ 1 (pow x 2)))))) |
#s(approx (+ (* (+ x x) x) -1) (*.f64 (*.f64 (-.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x x))) x) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 9 |
| 0 | 7 | 9 |
| 1 | 33 | 8 |
| 0 | 270 | 7 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
(+.f64 x x) |
| Outputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) #s(literal 1 binary64)) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))))) |
(/.f64 (+.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)))) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 (*.f64 #s(literal 2 binary64) x)) x)) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 #s(literal -1 binary64) (-.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(+.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 x (*.f64 #s(literal 2 binary64) x)) |
(/.f64 (*.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(+.f64 x x) |
Compiled 462 to 107 computations (76.8% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 1 | 40 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 39 | 3 | 42 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
| ▶ | 50.9% | (fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
| ✓ | 48.1% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 19 to 16 computations (15.8% saved)
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 0 | 6 | 7 |
| 1 | 10 | 7 |
| 2 | 25 | 7 |
| 3 | 59 | 7 |
| 4 | 144 | 7 |
| 5 | 535 | 7 |
| 6 | 2849 | 7 |
| 0 | 8090 | 7 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
x |
#s(literal 2 binary64) |
#s(literal -1 binary64) |
| Outputs |
|---|
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
x |
#s(literal 2 binary64) |
#s(literal -1 binary64) |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
| 9.0ms | 256× | 0 | valid |
Compiled 10 to 7 computations (30% saved)
ival-mult: 2.0ms (49.9% of total)ival-add: 1.0ms (25% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (+ (* x 2) -1) #s(hole binary64 -1)) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((+ (* x 2) -1)) |
| 0.0ms | x | @ | inf | ((+ (* x 2) -1)) |
| 0.0ms | x | @ | 0 | ((+ (* x 2) -1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 49 |
| 1 | 32 | 49 |
| 2 | 68 | 49 |
| 3 | 133 | 49 |
| 4 | 509 | 49 |
| 5 | 2800 | 49 |
| 6 | 7327 | 49 |
| 0 | 8145 | 41 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ (* x 2) -1) #s(hole binary64 -1)) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
| Outputs |
|---|
#s(approx (+ (* x 2) -1) #s(hole binary64 -1)) |
#s(approx (+ (* x 2) -1) #s(literal -1 binary64)) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (- (* 2 x) 1))) |
#s(approx (+ (* x 2) -1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* x 2) -1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* x (- 2 (/ 1 x))))) |
#s(approx (+ (* x 2) -1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
#s(approx (+ (* x 2) -1) #s(hole binary64 (* -1 (* x (- (/ 1 x) 2))))) |
#s(approx (+ (* x 2) -1) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 4 |
| 0 | 6 | 4 |
| 1 | 23 | 4 |
| 0 | 179 | 4 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
| Outputs |
|---|
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64))) (-.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x))) |
(/.f64 (neg.f64 (fma.f64 (*.f64 x x) #s(literal 4 binary64) #s(literal -1 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 (*.f64 x x) #s(literal 4 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x #s(literal -2 binary64)))))) |
(/.f64 (fma.f64 (*.f64 x x) #s(literal 4 binary64) #s(literal -1 binary64)) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (*.f64 x #s(literal -2 binary64))))) |
(/.f64 (fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x #s(literal -2 binary64))))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)))) |
(-.f64 #s(literal -1 binary64) (*.f64 #s(literal -2 binary64) x)) |
(-.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) #s(literal 2 binary64))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x #s(literal -2 binary64))))) (/.f64 #s(literal -1 binary64) (fma.f64 (*.f64 x x) #s(literal 4 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x #s(literal -2 binary64)))))) |
(+.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(+.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x)) |
Compiled 196 to 55 computations (71.9% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 16 | 1 | 17 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 2 | 2 |
| Total | 17 | 3 | 20 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
| ✓ | 48.1% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| 4.8% | #s(approx (+ (* x 2) -1) (*.f64 #s(literal 2 binary64) x)) |
Compiled 78 to 43 computations (44.9% saved)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (+ (* x 2) -1) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
(fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
4 calls:
| 4.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 3.0ms | x |
| 2.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 x x) |
| 100.0% | 1 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 100.0% | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 100.0% | 1 | x |
Compiled 16 to 13 computations (18.8% saved)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (+ (* x 2) -1) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
| Outputs |
|---|
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
4 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 50.9% | 1 | (*.f64 x x) |
| 50.9% | 1 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 50.9% | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 50.9% | 1 | x |
Compiled 16 to 13 computations (18.8% saved)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (+ (* x 2) -1) (*.f64 #s(literal 2 binary64) x)) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (+ (* x 2) -1) (*.f64 #s(literal 2 binary64) x)) |
4 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.3% | 2 | (*.f64 x x) |
| 51.3% | 2 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 51.3% | 2 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 51.3% | 2 | x |
Compiled 16 to 13 computations (18.8% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
4 calls:
| 3.0ms | x |
| 1.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 1.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 48.1% | 1 | (*.f64 x x) |
| 48.1% | 1 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 48.1% | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 48.1% | 1 | x |
Compiled 16 to 13 computations (18.8% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 0.441337560598375 | 1678764.7643587661 |
| 6.0ms | 144× | 0 | valid |
Compiled 172 to 172 computations (0% saved)
ival-mult: 2.0ms (69% of total)ival-sub: 1.0ms (34.5% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 41 |
| 1 | 29 | 41 |
| 2 | 69 | 41 |
| 3 | 236 | 41 |
| 4 | 1207 | 41 |
| 5 | 5022 | 41 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(if (<=.f64 x #s(literal 3242591731706757/4503599627370496 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (+ (* x 2) -1) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
(fma.f64 (+.f64 x x) x #s(literal -1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(if (<=.f64 x #s(literal 3242591731706757/4503599627370496 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (+ (* x 2) -1) (*.f64 #s(literal 2 binary64) x))) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| 1× | fuel |
Compiled 41 to 20 computations (51.2% saved)
(abs x)
Compiled 108 to 60 computations (44.4% saved)
Loading profile data...