
Time bar (total: 3.2s)
| 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 11 to 7 computations (36.4% saved)
| 279.0ms | 1 591× | 2 | valid |
| 203.0ms | 2 422× | 1 | valid |
| 148.0ms | 4 243× | 0 | valid |
adjust: 129.0ms (33.7% of total)ival-mult: 96.0ms (25.1% of total)ival-add: 81.0ms (21.1% of total)ival-sub: 64.0ms (16.7% of total)ival-true: 5.0ms (1.3% of total)exact: 5.0ms (1.3% of total)ival-assert: 3.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 123 | 0 | - | 0 | - | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (+.f64 x #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) | cancellation | 123 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 123 | 0 |
| - | 0 | 133 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 123 | 0 | 0 |
| - | 0 | 0 | 133 |
| number | freq |
|---|---|
| 0 | 133 |
| 1 | 123 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 22.0ms | 152× | 1 | valid |
| 12.0ms | 88× | 2 | valid |
| 11.0ms | 272× | 0 | valid |
Compiled 55 to 19 computations (65.5% saved)
ival-sub: 13.0ms (41.4% of total)adjust: 8.0ms (25.5% of total)ival-add: 5.0ms (15.9% of total)ival-mult: 5.0ms (15.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 23 |
| 1 | 23 | 19 |
| 2 | 95 | 11 |
| 3 | 510 | 10 |
| 4 | 2062 | 10 |
| 0 | 5 | 9 |
| 0 | 8 | 9 |
| 1 | 24 | 7 |
| 2 | 88 | 5 |
| 3 | 409 | 5 |
| 4 | 1781 | 5 |
| 0 | 8239 | 5 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
(*.f64 (-.f64 x #s(literal -2 binary64)) x) |
Compiled 9 to 5 computations (44.4% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 55.7% | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
Compiled 9 to 5 computations (44.4% saved)
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (+.f64 x #s(literal 1 binary64)) | |
| cost-diff | 1 | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) | |
| cost-diff | 3 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 21 |
| 0 | 8 | 21 |
| 1 | 24 | 19 |
| 2 | 88 | 17 |
| 3 | 409 | 17 |
| 4 | 1781 | 17 |
| 0 | 8239 | 16 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
(*.f64 (-.f64 x #s(literal -2 binary64)) x) |
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
(fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64)) |
(+.f64 x #s(literal 1 binary64)) |
(-.f64 x #s(literal -1 binary64)) |
x |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x #s(literal 1 binary64)) | |
| accuracy | 0.0078125 | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) | |
| accuracy | 28.332959113774468 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 7.0ms | 76× | 1 | valid |
| 6.0ms | 44× | 2 | valid |
| 5.0ms | 136× | 0 | valid |
Compiled 23 to 7 computations (69.6% saved)
adjust: 4.0ms (35.9% of total)ival-mult: 3.0ms (26.9% of total)ival-add: 2.0ms (18% of total)ival-sub: 2.0ms (18% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x))))) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))))) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1)) |
| 0.0ms | x | @ | 0 | ((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1)) |
| 0.0ms | x | @ | inf | ((- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (+ x 1)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 160 |
| 1 | 100 | 152 |
| 2 | 305 | 140 |
| 3 | 1332 | 140 |
| 4 | 6540 | 140 |
| 0 | 8255 | 131 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x))))) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))))) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1)) |
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x))))) |
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))) |
#s(approx (+ x 1) #s(hole binary64 1)) |
#s(approx (+ x 1) #s(literal 1 binary64)) |
#s(approx (+ x 1) #s(hole binary64 (+ 1 x))) |
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x 1) (+ x 1)) (*.f64 x x)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))))) |
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))) |
#s(approx (+ x 1) #s(hole binary64 x)) |
#s(approx (+ x 1) x) |
#s(approx (+ x 1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (+ x 1) (-.f64 x #s(literal -1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 19 |
| 0 | 8 | 15 |
| 1 | 50 | 15 |
| 0 | 476 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
(*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
(+.f64 x #s(literal 1 binary64)) |
| Outputs |
|---|
(*.f64 (+.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (-.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(*.f64 (+.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (-.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(*.f64 (+.f64 x #s(literal 0 binary64)) (+.f64 x #s(literal 2 binary64))) |
(*.f64 (+.f64 x #s(literal 2 binary64)) (+.f64 x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) #s(literal 1 binary64))) (neg.f64 (+.f64 (+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64))) |
(/.f64 (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) #s(literal 1 binary64)) (+.f64 (+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal -1 binary64)) |
(fma.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64) #s(literal -1 binary64)) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) |
(fma.f64 #s(literal 1 binary64) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64)) |
(fma.f64 x (-.f64 x #s(literal -1 binary64)) (+.f64 x #s(literal 0 binary64))) |
(expm1.f64 (*.f64 (log1p.f64 x) #s(literal 2 binary64))) |
(-.f64 (/.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64)))) |
(-.f64 (/.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 6 binary64)) (+.f64 (+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)))) (/.f64 #s(literal 1 binary64) (+.f64 (+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 4 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))))) |
(-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(+.f64 (fma.f64 x x x) (+.f64 x #s(literal 0 binary64))) |
(+.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal -1 binary64)) |
(*.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(*.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))))) |
(*.f64 (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (neg.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))))) |
(*.f64 (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64)))) (fabs.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))))) |
(*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal -1 binary64)))) |
(*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) (fabs.f64 (-.f64 x #s(literal -1 binary64)))) |
(*.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) |
(*.f64 #s(literal 1 binary64) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))) |
(pow.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 2 binary64)) |
(pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (-.f64 (*.f64 (fma.f64 x x x) (fma.f64 x x x)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))) (-.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64)))) |
(/.f64 (+.f64 (pow.f64 (fma.f64 x x x) #s(literal 3 binary64)) (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 3 binary64))) (fma.f64 (fma.f64 x x x) (fma.f64 x x x) (-.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64)) (*.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64)))))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (*.f64 (-.f64 x #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (*.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(neg.f64 (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) (-.f64 x #s(literal -1 binary64)))) |
(neg.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (neg.f64 (-.f64 x #s(literal -1 binary64))))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64) (fma.f64 x x x)) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (-.f64 x #s(literal -1 binary64))) |
(fma.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)) (fma.f64 x x x)) |
(fma.f64 x (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) |
(-.f64 (fma.f64 x x x) (*.f64 #s(literal -1 binary64) (-.f64 x #s(literal -1 binary64)))) |
(-.f64 (fma.f64 x x x) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64))) |
(fabs.f64 (pow.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log1p.f64 x) #s(literal 2 binary64))) |
(+.f64 (fma.f64 x x x) (-.f64 x #s(literal -1 binary64))) |
(+.f64 (-.f64 x #s(literal -1 binary64)) (fma.f64 x x x)) |
(*.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) |
(-.f64 x #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(+.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(literal 1 binary64)) |
Compiled 1 599 to 311 computations (80.6% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 110 | 5 | 115 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 111 | 5 | 116 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) |
| ▶ | 3.5% | (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
| ▶ | 100.0% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
| ▶ | 53.6% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
| ▶ | 49.2% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
Compiled 120 to 74 computations (38.3% saved)
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x #s(literal -2 binary64)) | |
| cost-diff | 0 | (*.f64 (-.f64 x #s(literal -2 binary64)) x) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) | |
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) | |
| cost-diff | 0 | #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) | |
| cost-diff | 0 | (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) | |
| cost-diff | 0 | (-.f64 x #s(literal -1 binary64)) | |
| cost-diff | 1 | (fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) | |
| cost-diff | 2 | (+.f64 x #s(literal 0 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 98 |
| 0 | 30 | 95 |
| 1 | 59 | 81 |
| 2 | 201 | 81 |
| 3 | 837 | 81 |
| 4 | 4268 | 81 |
| 0 | 8771 | 79 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) |
(-.f64 x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
(+.f64 x #s(literal 0 binary64)) |
#s(literal 0 binary64) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
(*.f64 (-.f64 x #s(literal -2 binary64)) x) |
(-.f64 x #s(literal -2 binary64)) |
x |
#s(literal -2 binary64) |
| Outputs |
|---|
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) |
(*.f64 (-.f64 x #s(literal -2 binary64)) x) |
(-.f64 x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
(+.f64 x #s(literal 0 binary64)) |
x |
#s(literal 0 binary64) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
(*.f64 (-.f64 x #s(literal -2 binary64)) x) |
(-.f64 x #s(literal -2 binary64)) |
x |
#s(literal -2 binary64) |
Found 12 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 x #s(literal -2 binary64)) | |
| accuracy | 0.0 | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) | |
| accuracy | 0.01171875 | (*.f64 (-.f64 x #s(literal -2 binary64)) x) | |
| accuracy | 0.0 | (*.f64 x x) | |
| accuracy | 29.703338164879497 | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) | |
| accuracy | 0.0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 32.53777428560715 | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) | |
| accuracy | 28.332959113774468 | (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) | |
| accuracy | 32.432820716443395 | #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) | |
| accuracy | 0.0 | (fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) | |
| accuracy | 0.0 | (-.f64 x #s(literal -1 binary64)) | |
| accuracy | 0.0 | (+.f64 x #s(literal 0 binary64)) |
| 23.0ms | 76× | 1 | valid |
| 13.0ms | 136× | 0 | valid |
| 13.0ms | 44× | 2 | valid |
Compiled 83 to 19 computations (77.1% saved)
ival-sub: 10.0ms (30.7% of total)adjust: 9.0ms (27.6% of total)ival-mult: 9.0ms (27.6% of total)ival-add: 4.0ms (12.3% of total)exact: 1.0ms (3.1% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
(+.f64 x #s(literal 0 binary64)) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) |
(-.f64 x #s(literal -1 binary64)) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
(*.f64 (-.f64 x #s(literal -2 binary64)) x) |
(-.f64 x #s(literal -2 binary64)) |
| Outputs |
|---|
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x))))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* (- x -2) x) #s(hole binary64 (* 2 x))) |
#s(approx (* (- x -2) x) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- x -2) #s(hole binary64 2)) |
#s(approx (- x -2) #s(hole binary64 (+ 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))))) |
#s(approx (* (- x -2) x) #s(hole binary64 (pow x 2))) |
#s(approx (* (- x -2) x) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -2) #s(hole binary64 x)) |
#s(approx (- x -2) #s(hole binary64 (* x (+ 1 (* 2 (/ 1 x)))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((+ x 0) (+ (* (- x -1) x) (+ x 0)) (- x -1) (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (- (* (+ x 1) (+ x 1)) 1) (* 2 x) (- (* (+ x 1) (+ x 1)) 1) (* x x) (- (* (+ x 1) (+ x 1)) 1) (* (- x -2) x) (- x -2)) |
| 1.0ms | x | @ | 0 | ((+ x 0) (+ (* (- x -1) x) (+ x 0)) (- x -1) (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (- (* (+ x 1) (+ x 1)) 1) (* 2 x) (- (* (+ x 1) (+ x 1)) 1) (* x x) (- (* (+ x 1) (+ x 1)) 1) (* (- x -2) x) (- x -2)) |
| 1.0ms | x | @ | inf | ((+ x 0) (+ (* (- x -1) x) (+ x 0)) (- x -1) (- (* (+ x 1) (+ x 1)) 1) (* (+ x 1) (+ x 1)) (- (* (+ x 1) (+ x 1)) 1) (* 2 x) (- (* (+ x 1) (+ x 1)) 1) (* x x) (- (* (+ x 1) (+ x 1)) 1) (* (- x -2) x) (- x -2)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 63 | 289 |
| 1 | 140 | 261 |
| 2 | 540 | 261 |
| 3 | 3359 | 261 |
| 0 | 8602 | 252 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x))))) |
#s(approx (* 2 x) #s(hole binary64 (* 2 x))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (* (- x -2) x) #s(hole binary64 (* 2 x))) |
#s(approx (* (- x -2) x) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- x -2) #s(hole binary64 2)) |
#s(approx (- x -2) #s(hole binary64 (+ 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))))) |
#s(approx (* (- x -2) x) #s(hole binary64 (pow x 2))) |
#s(approx (* (- x -2) x) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -2) #s(hole binary64 x)) |
#s(approx (- x -2) #s(hole binary64 (* x (+ 1 (* 2 (/ 1 x)))))) |
| Outputs |
|---|
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (+ x 0) x) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(literal 1 binary64)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 1)) |
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* 2 x)))) |
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (+ 1 (* x (+ 2 x))))) |
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 (-.f64 x #s(literal -2 binary64)) 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) #s(hole binary64 (pow x 2))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (* (- x -2) x) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (* (- x -2) x) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (- x -2) #s(hole binary64 2)) |
#s(approx (- x -2) #s(literal 2 binary64)) |
#s(approx (- x -2) #s(hole binary64 (+ 2 x))) |
#s(approx (- x -2) (-.f64 x #s(literal -2 binary64))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 x x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) x) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 x x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (pow x 2))) |
#s(approx (* (+ x 1) (+ x 1)) (*.f64 x x)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (* (+ x 1) (+ x 1)) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (* (+ x 1) (+ x 1)) #s(hole binary64 (* (pow x 2) (+ 1 (+ (* 2 (/ 1 x)) (/ 1 (pow x 2))))))) |
#s(approx (* (+ x 1) (+ x 1)) (fma.f64 (-.f64 x #s(literal -2 binary64)) x #s(literal 1 binary64))) |
#s(approx (* (- x -2) x) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 x x)) |
#s(approx (* (- x -2) x) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (- x -2) #s(hole binary64 x)) |
#s(approx (- x -2) x) |
#s(approx (- x -2) #s(hole binary64 (* x (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -2) (-.f64 x #s(literal -2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 89 |
| 0 | 30 | 75 |
| 0 | 143 | 75 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 x #s(literal 0 binary64)) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) |
(-.f64 x #s(literal -1 binary64)) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
(*.f64 x x) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
(*.f64 (-.f64 x #s(literal -2 binary64)) x) |
(-.f64 x #s(literal -2 binary64)) |
| Outputs |
|---|
x |
(/.f64 (-.f64 (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) (*.f64 (-.f64 x #s(literal -1 binary64)) x)) (*.f64 x x)) (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(/.f64 (+.f64 (pow.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (fma.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) (*.f64 (-.f64 x #s(literal -1 binary64)) x) (-.f64 (*.f64 x x) (*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x x) |
(fma.f64 x (-.f64 x #s(literal -1 binary64)) x) |
(+.f64 (fma.f64 (-.f64 x #s(literal -1 binary64)) x x) #s(literal 0 binary64)) |
(+.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) x) x) |
(+.f64 x (*.f64 (-.f64 x #s(literal -1 binary64)) x)) |
(/.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)) (+.f64 x #s(literal -1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (+.f64 #s(literal 1 binary64) (*.f64 x #s(literal -1 binary64))))) |
(-.f64 x #s(literal -1 binary64)) |
(/.f64 (-.f64 (*.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64))) #s(literal 1 binary64)) (+.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (*.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64))))) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
(+.f64 x x) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 x #s(literal 2 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
(*.f64 (-.f64 x #s(literal -2 binary64)) x) |
(*.f64 x (-.f64 x #s(literal -2 binary64))) |
(/.f64 (-.f64 (*.f64 x x) #s(literal 4 binary64)) (+.f64 x #s(literal -2 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -8 binary64)) (fma.f64 x x (+.f64 #s(literal 4 binary64) (*.f64 x #s(literal -2 binary64))))) |
(-.f64 x #s(literal -2 binary64)) |
Compiled 695 to 133 computations (80.9% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 2 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 3 | 5 |
| Done | 0 | 0 | 0 |
| Total | 46 | 5 | 51 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
| ✓ | 3.5% | (-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
| ▶ | 49.2% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
| ✓ | 100.0% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
| ✓ | 53.6% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
Compiled 62 to 37 computations (40.3% saved)
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ x 0) x) | |
| cost-diff | 0 | (-.f64 x #s(literal -1 binary64)) | |
| cost-diff | 0 | (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) | |
| cost-diff | 0 | (+.f64 x x) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 37 |
| 0 | 17 | 33 |
| 1 | 38 | 29 |
| 2 | 142 | 29 |
| 3 | 659 | 29 |
| 4 | 3155 | 29 |
| 0 | 8216 | 29 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(+.f64 x x) |
x |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
(-.f64 x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
#s(approx (+ x 0) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
(-.f64 x #s(literal -1 binary64)) |
x |
#s(literal -1 binary64) |
#s(approx (+ x 0) x) |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) | |
| accuracy | 0.0 | (-.f64 x #s(literal -1 binary64)) | |
| accuracy | 0.0 | #s(approx (+ x 0) x) | |
| accuracy | 0.0 | (+.f64 x x) | |
| accuracy | 32.53777428560715 | #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
| 24.0ms | 44× | 2 | valid |
| 10.0ms | 76× | 1 | valid |
| 9.0ms | 136× | 0 | valid |
Compiled 32 to 14 computations (56.3% saved)
adjust: 14.0ms (51.6% of total)ival-add: 5.0ms (18.4% of total)ival-mult: 4.0ms (14.8% of total)ival-sub: 3.0ms (11.1% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(+.f64 x x) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
(-.f64 x #s(literal -1 binary64)) |
#s(approx (+ x 0) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (* (+ x 1) (+ x 1)) 1) (+ x x) (+ (* (- x -1) x) (+ x 0)) (- x -1) (+ x 0)) |
| 1.0ms | x | @ | -inf | ((- (* (+ x 1) (+ x 1)) 1) (+ x x) (+ (* (- x -1) x) (+ x 0)) (- x -1) (+ x 0)) |
| 0.0ms | x | @ | 0 | ((- (* (+ x 1) (+ x 1)) 1) (+ x x) (+ (* (- x -1) x) (+ x 0)) (- x -1) (+ x 0)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 146 |
| 1 | 92 | 114 |
| 2 | 322 | 114 |
| 3 | 1710 | 114 |
| 4 | 7742 | 114 |
| 0 | 8792 | 114 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (+ x x) #s(hole binary64 (* 2 x))) |
#s(approx (+ x x) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(literal 1 binary64)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (+ x 0) x) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) x) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 34 |
| 0 | 17 | 28 |
| 1 | 101 | 22 |
| 0 | 1153 | 22 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(+.f64 x x) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
(-.f64 x #s(literal -1 binary64)) |
#s(approx (+ x 0) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
(/.f64 (-.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 2 binary64)) (pow.f64 (fma.f64 x x x) #s(literal 2 binary64))) (-.f64 #s(approx (+ x 0) x) (fma.f64 x x x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 x x x) #s(literal 2 binary64)) (pow.f64 #s(approx (+ x 0) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (fma.f64 x x x) #s(approx (+ x 0) x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (+ x 0) x) (-.f64 #s(approx (+ x 0) x) (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (fma.f64 x x x) #s(literal 2 binary64)) (pow.f64 #s(approx (+ x 0) x) #s(literal 2 binary64))) (-.f64 (fma.f64 x x x) #s(approx (+ x 0) x))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x x) #s(literal 3 binary64))) (fma.f64 #s(approx (+ x 0) x) #s(approx (+ x 0) x) (-.f64 (pow.f64 (fma.f64 x x x) #s(literal 2 binary64)) (*.f64 (fma.f64 x x x) #s(approx (+ x 0) x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x x) #s(literal 3 binary64))) (fma.f64 #s(approx (+ x 0) x) (-.f64 #s(approx (+ x 0) x) (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) #s(literal 2 binary64)))) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
(fma.f64 x (-.f64 x #s(literal -1 binary64)) #s(approx (+ x 0) x)) |
(-.f64 (/.f64 (pow.f64 (fma.f64 x x x) #s(literal 2 binary64)) (-.f64 (fma.f64 x x x) #s(approx (+ x 0) x))) (/.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 2 binary64)) (-.f64 (fma.f64 x x x) #s(approx (+ x 0) x)))) |
(-.f64 #s(approx (+ x 0) x) (*.f64 (neg.f64 (-.f64 x #s(literal -1 binary64))) x)) |
(-.f64 #s(approx (+ x 0) x) (*.f64 (neg.f64 x) (-.f64 x #s(literal -1 binary64)))) |
(+.f64 (/.f64 (pow.f64 (fma.f64 x x x) #s(literal 3 binary64)) (fma.f64 #s(approx (+ x 0) x) (-.f64 #s(approx (+ x 0) x) (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) #s(literal 2 binary64)))) (/.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 3 binary64)) (fma.f64 #s(approx (+ x 0) x) (-.f64 #s(approx (+ x 0) x) (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) #s(literal 2 binary64))))) |
(+.f64 (fma.f64 x x x) #s(approx (+ x 0) x)) |
(+.f64 #s(approx (+ x 0) x) (fma.f64 x x x)) |
(*.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) #s(literal -1 binary64)) |
(*.f64 #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (-.f64 x #s(literal -1 binary64)))) |
(*.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64))) |
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) #s(literal 1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64))) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))))) |
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (-.f64 x #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) |
(fma.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) #s(literal -1 binary64)) #s(literal -1 binary64) #s(literal 0 binary64)) |
(fma.f64 #s(literal -1 binary64) (*.f64 #s(literal -1 binary64) (-.f64 x #s(literal -1 binary64))) #s(literal 0 binary64)) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 1 binary64) #s(literal 0 binary64)) |
(fma.f64 #s(literal 1 binary64) (-.f64 x #s(literal -1 binary64)) #s(literal 0 binary64)) |
(-.f64 (/.f64 (*.f64 x x) (-.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64)))) (/.f64 #s(literal -1 binary64) (fma.f64 x x (fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))))) |
(-.f64 x #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x (-.f64 #s(literal 1 binary64) x))) (/.f64 #s(literal 1 binary64) (fma.f64 x x (-.f64 #s(literal 1 binary64) x)))) |
(+.f64 #s(literal 0 binary64) (-.f64 x #s(literal -1 binary64))) |
(+.f64 (-.f64 x #s(literal -1 binary64)) #s(literal 0 binary64)) |
(+.f64 #s(literal 1 binary64) x) |
(+.f64 x #s(literal 1 binary64)) |
#s(approx (+ x 0) x) |
Compiled 946 to 156 computations (83.5% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 50 | 2 | 52 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 1 | 2 | 3 |
| Total | 51 | 6 | 57 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
| ▶ | 59.8% | (fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
| ✓ | 49.2% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
| ✓ | 100.0% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
| ✓ | 53.6% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
| ▶ | 3.5% | #s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
Compiled 74 to 45 computations (39.2% saved)
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (+ x 0) x) | |
| cost-diff | 0 | #s(approx (- x -1) x) | |
| cost-diff | 0 | (fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) | |
| cost-diff | 0 | #s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 35 |
| 0 | 15 | 31 |
| 1 | 34 | 27 |
| 2 | 124 | 27 |
| 3 | 609 | 27 |
| 4 | 3040 | 27 |
| 0 | 8218 | 27 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
#s(approx (- x -1) x) |
x |
#s(approx (+ x 0) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
#s(literal 0 binary64) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
#s(approx (- x -1) x) |
x |
#s(approx (+ x 0) x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) | |
| accuracy | 0.0 | #s(approx (+ x 0) x) | |
| accuracy | 30.32362627452048 | #s(approx (- x -1) x) | |
| accuracy | 61.738477358517095 | #s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
| 10.0ms | 76× | 1 | valid |
| 9.0ms | 44× | 2 | valid |
| 8.0ms | 136× | 0 | valid |
Compiled 28 to 13 computations (53.6% saved)
adjust: 7.0ms (36.6% of total)ival-add: 4.0ms (20.9% of total)ival-mult: 4.0ms (20.9% of total)ival-sub: 3.0ms (15.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
#s(approx (- x -1) x) |
#s(approx (+ x 0) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (* (+ x 1) (+ x 1)) 1) (+ (* (- x -1) x) (+ x 0)) (- x -1) (+ x 0)) |
| 0.0ms | x | @ | -inf | ((- (* (+ x 1) (+ x 1)) 1) (+ (* (- x -1) x) (+ x 0)) (- x -1) (+ x 0)) |
| 0.0ms | x | @ | 0 | ((- (* (+ x 1) (+ x 1)) 1) (+ (* (- x -1) x) (+ x 0)) (- x -1) (+ x 0)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 139 |
| 1 | 90 | 107 |
| 2 | 320 | 107 |
| 3 | 1711 | 107 |
| 4 | 7841 | 107 |
| 0 | 8080 | 107 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* 2 x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* x (+ 2 x)))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (- x -1) #s(hole binary64 1)) |
#s(approx (- x -1) #s(literal 1 binary64)) |
#s(approx (- x -1) #s(hole binary64 (+ 1 x))) |
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64))) |
#s(approx (+ x 0) #s(hole binary64 x)) |
#s(approx (+ x 0) x) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (pow x 2))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
#s(approx (+ (* (- x -1) x) (+ x 0)) #s(hole binary64 (* (pow x 2) (+ 1 (* 2 (/ 1 x)))))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
#s(approx (- x -1) #s(hole binary64 x)) |
#s(approx (- x -1) x) |
#s(approx (- x -1) #s(hole binary64 (* x (+ 1 (/ 1 x))))) |
#s(approx (- x -1) (-.f64 x #s(literal -1 binary64))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 33 |
| 0 | 15 | 27 |
| 1 | 92 | 25 |
| 0 | 977 | 25 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
#s(approx (- x -1) x) |
#s(approx (+ x 0) x) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
(/.f64 (-.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 2 binary64)) (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64))) (-.f64 #s(approx (+ x 0) x) (*.f64 #s(approx (- x -1) x) x))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64)) (pow.f64 #s(approx (+ x 0) x) #s(literal 2 binary64)))) (neg.f64 (-.f64 (*.f64 #s(approx (- x -1) x) x) #s(approx (+ x 0) x)))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 #s(approx (+ x 0) x) (-.f64 #s(approx (+ x 0) x) (*.f64 #s(approx (- x -1) x) x)) (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64)) (pow.f64 #s(approx (+ x 0) x) #s(literal 2 binary64))) (-.f64 (*.f64 #s(approx (- x -1) x) x) #s(approx (+ x 0) x))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 3 binary64))) (fma.f64 #s(approx (+ x 0) x) #s(approx (+ x 0) x) (-.f64 (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 #s(approx (- x -1) x) x) #s(approx (+ x 0) x))))) |
(/.f64 (+.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 3 binary64)) (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 3 binary64))) (fma.f64 #s(approx (+ x 0) x) (-.f64 #s(approx (+ x 0) x) (*.f64 #s(approx (- x -1) x) x)) (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64)))) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
(fma.f64 x #s(approx (- x -1) x) #s(approx (+ x 0) x)) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(approx (- x -1) x) x) #s(approx (+ x 0) x))) (/.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 2 binary64)) (-.f64 (*.f64 #s(approx (- x -1) x) x) #s(approx (+ x 0) x)))) |
(-.f64 #s(approx (+ x 0) x) (*.f64 (neg.f64 #s(approx (- x -1) x)) x)) |
(-.f64 #s(approx (+ x 0) x) (*.f64 (neg.f64 x) #s(approx (- x -1) x))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 3 binary64)) (fma.f64 #s(approx (+ x 0) x) (-.f64 #s(approx (+ x 0) x) (*.f64 #s(approx (- x -1) x) x)) (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 #s(approx (+ x 0) x) #s(literal 3 binary64)) (fma.f64 #s(approx (+ x 0) x) (-.f64 #s(approx (+ x 0) x) (*.f64 #s(approx (- x -1) x) x)) (pow.f64 (*.f64 #s(approx (- x -1) x) x) #s(literal 2 binary64))))) |
(+.f64 (*.f64 #s(approx (- x -1) x) x) #s(approx (+ x 0) x)) |
(+.f64 #s(approx (+ x 0) x) (*.f64 #s(approx (- x -1) x) x)) |
#s(approx (- x -1) x) |
#s(approx (+ x 0) x) |
Compiled 541 to 70 computations (87.1% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 22 | 0 | 22 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 22 | 6 | 28 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
| ✓ | 59.8% | (fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
| ✓ | 49.2% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
| ✓ | 100.0% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
| ✓ | 53.6% | #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
| ✓ | 3.5% | #s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
Compiled 189 to 81 computations (57.1% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
(fma.f64 (-.f64 x #s(literal -1 binary64)) x (+.f64 x #s(literal 0 binary64))) |
(-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| Outputs |
|---|
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
4 calls:
| 3.0ms | x |
| 3.0ms | (+.f64 x #s(literal 1 binary64)) |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 2.0ms | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 x #s(literal 1 binary64)) |
| 100.0% | 1 | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| 100.0% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 100.0% | 1 | x |
Compiled 20 to 13 computations (35% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
4 calls:
| 4.0ms | (+.f64 x #s(literal 1 binary64)) |
| 2.0ms | x |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 2.0ms | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (+.f64 x #s(literal 1 binary64)) |
| 100.0% | 1 | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| 100.0% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 100.0% | 1 | x |
Compiled 20 to 13 computations (35% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x)) |
4 calls:
| 2.0ms | x |
| 2.0ms | (+.f64 x #s(literal 1 binary64)) |
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 2.0ms | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.1% | 3 | (+.f64 x #s(literal 1 binary64)) |
| 98.1% | 2 | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| 98.1% | 2 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 98.1% | 3 | x |
Compiled 20 to 13 computations (35% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x)) |
2 calls:
| 2.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 2.0ms | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.0% | 2 | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| 98.0% | 2 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
Compiled 16 to 9 computations (43.8% saved)
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
(-.f64 #s(approx (* (+ x 1) (+ x 1)) #s(literal 1 binary64)) #s(literal 1 binary64)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 #s(literal 2 binary64) x)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
4 calls:
| 2.0ms | x |
| 1.0ms | (+.f64 x #s(literal 1 binary64)) |
| 1.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 1.0ms | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 49.2% | 1 | (+.f64 x #s(literal 1 binary64)) |
| 49.2% | 1 | x |
| 49.2% | 1 | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| 49.2% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
Compiled 20 to 13 computations (35% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
| Outputs |
|---|
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
4 calls:
| 1.0ms | x |
| 1.0ms | (+.f64 x #s(literal 1 binary64)) |
| 1.0ms | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 1.0ms | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.5% | 1 | (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) |
| 3.5% | 1 | (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) |
| 3.5% | 1 | (+.f64 x #s(literal 1 binary64)) |
| 3.5% | 1 | x |
Compiled 20 to 13 computations (35% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.0774539635916742 | 2818254491582.0723 |
Compiled 12 to 9 computations (25% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.0774539635916742 | 2818254491582.0723 |
Compiled 12 to 9 computations (25% saved)
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 120 |
| 1 | 54 | 120 |
| 2 | 145 | 96 |
| 3 | 766 | 96 |
| 4 | 5395 | 96 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
(if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) (fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x))) |
(if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
| Outputs |
|---|
(fma.f64 (-.f64 x #s(literal -1 binary64)) x #s(approx (+ x 0) x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 (-.f64 x #s(literal -2 binary64)) x)) |
(if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) (fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x))) |
(if (<=.f64 (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) (fma.f64 #s(approx (- x -1) x) x #s(approx (+ x 0) x))) |
(if (<=.f64 (-.f64 (*.f64 (+.f64 x #s(literal 1 binary64)) (+.f64 x #s(literal 1 binary64))) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))) |
(if (<=.f64 (-.f64 (*.f64 (-.f64 x #s(literal -1 binary64)) (-.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)) #s(literal 2 binary64)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) #s(approx (- (* (+ x 1) (+ x 1)) 1) (*.f64 x x))) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) (+.f64 x x)) |
#s(approx (- (* (+ x 1) (+ x 1)) 1) #s(literal 0 binary64)) |
| 1× | done |
Compiled 124 to 32 computations (74.2% saved)
Compiled 266 to 74 computations (72.2% saved)
Loading profile data...