
Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 9 to 7 computations (22.2% saved)
| 299.0ms | 8 256× | 0 | valid |
ival-mult!: 77.0ms (51% of total)ival-div!: 50.0ms (33.1% of total)ival-add!: 23.0ms (15.2% of total)adjust: 1.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 68 | 0 | - | 0 | - | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
/.f64 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) | n/o | 68 | 0 |
| ↳ | (*.f64 x x) | overflow | 68 | |
| ↳ | (+.f64 (*.f64 x x) #s(literal 1 binary64)) | overflow | 68 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 68 | 0 |
| - | 0 | 188 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 68 | 0 | 0 |
| - | 0 | 0 | 188 |
| number | freq |
|---|---|
| 0 | 188 |
| 1 | 68 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 43.0ms | 512× | 0 | valid |
Compiled 45 to 19 computations (57.8% saved)
ival-mult!: 3.0ms (43.6% of total)ival-div!: 2.0ms (29.1% of total)ival-add!: 1.0ms (14.5% of total)adjust: 0.0ms (0% of total)Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 22 |
| 1 | 28 | 22 |
| 2 | 62 | 21 |
| 3 | 91 | 21 |
| 4 | 164 | 21 |
| 5 | 408 | 21 |
| 6 | 2768 | 21 |
| 7 | 6481 | 21 |
| 1× | node-limit |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 75.2% | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
(negabs x)
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
x |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 x)) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ (* x x) 1) #s(hole binary64 1)) |
#s(approx (+ (* x x) 1) #s(hole binary64 (+ 1 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ 1 x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- 1 (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x))) |
#s(approx (+ (* x x) 1) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) 1) #s(hole binary64 (* (pow x 2) (+ 1 (/ 1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) 1) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ x (+ (* x x) 1)) x (+ (* x x) 1) (* x x) 1) |
| 1.0ms | x | @ | -inf | ((/ x (+ (* x x) 1)) x (+ (* x x) 1) (* x x) 1) |
| 1.0ms | x | @ | 0 | ((/ x (+ (* x x) 1)) x (+ (* x x) 1) (* x x) 1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 68 | 302 |
| 0 | 72 | 267 |
| 1 | 361 | 257 |
| 0 | 3689 | 234 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
x |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 x x) |
#s(literal 1 binary64) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 x)) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (+ (* x x) 1) #s(hole binary64 1)) |
#s(approx (+ (* x x) 1) #s(hole binary64 (+ 1 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ 1 x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- 1 (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x))) |
#s(approx (+ (* x x) 1) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) 1) #s(hole binary64 (* (pow x 2) (+ 1 (/ 1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) 1) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)))) |
| Outputs |
|---|
(*.f64 (/.f64 x (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64))) |
(*.f64 (/.f64 x (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(*.f64 (/.f64 x (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) |
(*.f64 (/.f64 x (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fma.f64 (neg.f64 x) x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 x) (fma.f64 (neg.f64 x) x #s(literal -1 binary64))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(neg.f64 (/.f64 (neg.f64 x) (fma.f64 x x #s(literal 1 binary64)))) |
(neg.f64 (/.f64 x (fma.f64 (neg.f64 x) x #s(literal -1 binary64)))) |
x |
(*.f64 (/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64)))) |
(*.f64 (/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)) x) x) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)) (*.f64 x x)) |
(*.f64 (*.f64 x x) (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64))) |
(*.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))) |
(*.f64 x (*.f64 x (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 1 binary64)) (*.f64 x x)) (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64)))) |
(/.f64 (*.f64 (*.f64 x x) (+.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 1 binary64))) (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (neg.f64 (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -4 binary64))) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64)))) |
(/.f64 (*.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -4 binary64)))) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal -1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal 1 binary64)) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (pow.f64 x #s(literal -2 binary64))) (*.f64 x x))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 (neg.f64 x) x) (pow.f64 x #s(literal -2 binary64)))) |
(-.f64 (*.f64 x x) #s(literal -1 binary64)) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))) |
(+.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(*.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 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
#s(literal 1 binary64) |
#s(approx (/ x (+ (* x x) 1)) x) |
#s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 x (pow.f64 x #s(literal 3 binary64))) x #s(literal -1 binary64)) x)) |
#s(approx x x) |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
#s(approx (+ (* x x) 1) (fma.f64 x x #s(literal 1 binary64))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64))) x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -6 binary64))) x)) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
#s(approx (+ (* x x) 1) (fma.f64 x x #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (neg.f64 x))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -4 binary64))) (neg.f64 x))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (+.f64 (pow.f64 x #s(literal -6 binary64)) (pow.f64 x #s(literal -2 binary64))) (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64))) (neg.f64 x))) |
Compiled 1 388 to 341 computations (75.4% saved)
4 alts after pruning (4 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 110 | 4 | 114 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 111 | 4 | 115 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 75.2% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ▶ | 26.6% | (/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| ▶ | 51.5% | #s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
| ▶ | 51.7% | #s(approx (/ x (+ (* x x) 1)) x) |
Compiled 37 to 25 computations (32.4% saved)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) x) |
x |
#s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
(pow.f64 x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(fma.f64 x x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 x)) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (pow x -1) #s(hole binary64 (/ 1 x))) |
#s(approx (+ (* x x) 1) #s(hole binary64 1)) |
#s(approx (+ (* x x) 1) #s(hole binary64 (+ 1 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ 1 x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- 1 (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x))) |
#s(approx (+ (* x x) 1) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) 1) #s(hole binary64 (* (pow x 2) (+ 1 (/ 1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) 1) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ x (+ (* x x) 1)) x (/ x (+ (* x x) 1)) (pow x -1) -1 (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (/ x (+ (* x x) 1)) (+ (* x x) 1) 1) |
| 1.0ms | x | @ | inf | ((/ x (+ (* x x) 1)) x (/ x (+ (* x x) 1)) (pow x -1) -1 (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (/ x (+ (* x x) 1)) (+ (* x x) 1) 1) |
| 1.0ms | x | @ | 0 | ((/ x (+ (* x x) 1)) x (/ x (+ (* x x) 1)) (pow x -1) -1 (/ x (+ (* x x) 1)) (+ (* x x) 1) (* x x) (/ x (+ (* x x) 1)) (+ (* x x) 1) 1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 74 | 332 |
| 0 | 79 | 295 |
| 1 | 375 | 285 |
| 0 | 3727 | 281 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) x) |
x |
#s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
(pow.f64 x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 x x) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(fma.f64 x x #s(literal 1 binary64)) |
#s(literal 1 binary64) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 x)) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (pow x -1) #s(hole binary64 (/ 1 x))) |
#s(approx (+ (* x x) 1) #s(hole binary64 1)) |
#s(approx (+ (* x x) 1) #s(hole binary64 (+ 1 (pow x 2)))) |
#s(approx (* x x) #s(hole binary64 (pow x 2))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ 1 x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- 1 (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x))) |
#s(approx (+ (* x x) 1) #s(hole binary64 (pow x 2))) |
#s(approx (+ (* x x) 1) #s(hole binary64 (* (pow x 2) (+ 1 (/ 1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) 1) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)))) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) x) |
x |
#s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
(*.f64 (neg.f64 (pow.f64 x #s(literal -1/2 binary64))) (neg.f64 (pow.f64 x #s(literal -1/2 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 x #s(literal -1/2 binary64))) (fabs.f64 (pow.f64 x #s(literal -1/2 binary64)))) |
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64))) |
(*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal -1 binary64)) |
(pow.f64 (pow.f64 x #s(literal -1/2 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal -1/2 binary64)) |
(pow.f64 x #s(literal -1 binary64)) |
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x)) |
(/.f64 #s(literal -1 binary64) (neg.f64 x)) |
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x))) |
(/.f64 #s(literal 1 binary64) x) |
(neg.f64 (/.f64 #s(literal -1 binary64) x)) |
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal -1 binary64)))) |
#s(literal -1 binary64) |
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
(/.f64 (neg.f64 x) (neg.f64 #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
(neg.f64 (/.f64 (neg.f64 x) #s(approx (+ (* x x) 1) (*.f64 x x)))) |
(neg.f64 (/.f64 x (neg.f64 #s(approx (+ (* x x) 1) (*.f64 x x))))) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x))) |
(*.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(*.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 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x))) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 (*.f64 x x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 x x)) |
(*.f64 x x) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))) |
(*.f64 (/.f64 x (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (fma.f64 x x #s(literal -1 binary64))) |
(*.f64 (/.f64 x (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(*.f64 (/.f64 x (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) |
(*.f64 (/.f64 x (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fma.f64 (neg.f64 x) x #s(literal -1 binary64)))) |
(/.f64 (neg.f64 x) (fma.f64 (neg.f64 x) x #s(literal -1 binary64))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(neg.f64 (/.f64 (neg.f64 x) (fma.f64 x x #s(literal 1 binary64)))) |
(neg.f64 (/.f64 x (fma.f64 (neg.f64 x) x #s(literal -1 binary64)))) |
(*.f64 (/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(*.f64 (/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal 1 binary64)))) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)) x) x) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)))) |
(*.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)) (*.f64 x x)) |
(*.f64 (*.f64 x x) (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64))) |
(*.f64 (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))) |
(*.f64 x (*.f64 x (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal -1 binary64)))) |
(/.f64 (*.f64 (+.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 1 binary64)) (*.f64 x x)) (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64)))) |
(/.f64 (*.f64 (*.f64 x x) (+.f64 (pow.f64 x #s(literal -6 binary64)) #s(literal 1 binary64))) (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64)))) |
(/.f64 (-.f64 #s(literal 1 binary64) (neg.f64 (pow.f64 x #s(literal 6 binary64)))) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64)) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(/.f64 (neg.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
(/.f64 (*.f64 (*.f64 x x) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -4 binary64)))) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64)))) |
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -4 binary64))) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64)))) |
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 x x #s(literal -1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal 4 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (*.f64 #s(literal 1 binary64) (fabs.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 #s(literal 1 binary64) (fabs.f64 x)) (fabs.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 (fabs.f64 x) #s(literal 1 binary64)) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal 1 binary64)) |
(fma.f64 (*.f64 x x) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(fma.f64 x x #s(literal 1 binary64)) |
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 x x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64)))) |
(-.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 x x)))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (pow.f64 x #s(literal -2 binary64))) (*.f64 x x))) |
(-.f64 (*.f64 x x) (*.f64 (*.f64 (neg.f64 x) x) (pow.f64 x #s(literal -2 binary64)))) |
(-.f64 (*.f64 x x) #s(literal -1 binary64)) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 x x)))) |
(+.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (fma.f64 (fma.f64 x x #s(literal -1 binary64)) (*.f64 x x) #s(literal 1 binary64)))) |
(+.f64 (*.f64 x x) #s(literal 1 binary64)) |
(+.f64 #s(literal 1 binary64) (*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))) |
(+.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal 1 binary64) |
#s(approx (/ x (+ (* x x) 1)) x) |
#s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 x (pow.f64 x #s(literal 3 binary64))) x #s(literal -1 binary64)) x)) |
#s(approx x x) |
#s(approx (pow x -1) (pow.f64 x #s(literal -1 binary64))) |
#s(approx (+ (* x x) 1) #s(literal 1 binary64)) |
#s(approx (+ (* x x) 1) (fma.f64 x x #s(literal 1 binary64))) |
#s(approx (* x x) (*.f64 x x)) |
#s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64))) x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -6 binary64))) x)) |
#s(approx (+ (* x x) 1) (*.f64 x x)) |
#s(approx (+ (* x x) 1) (fma.f64 x x #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (neg.f64 x))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -4 binary64))) (neg.f64 x))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (+.f64 (pow.f64 x #s(literal -6 binary64)) (pow.f64 x #s(literal -2 binary64))) (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64))) (neg.f64 x))) |
Compiled 1 930 to 401 computations (79.2% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 146 | 1 | 147 |
| Fresh | 0 | 0 | 0 |
| Picked | 2 | 2 | 4 |
| Done | 0 | 0 | 0 |
| Total | 148 | 3 | 151 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 75.2% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ▶ | 51.5% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| ✓ | 51.7% | #s(approx (/ x (+ (* x x) 1)) x) |
Compiled 26 to 18 computations (30.8% saved)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 x)) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))))) |
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ 1 x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- 1 (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) 1) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((/ x (+ (* x x) 1)) (/ 1 x) 1 x) |
| 0.0ms | x | @ | inf | ((/ x (+ (* x x) 1)) (/ 1 x) 1 x) |
| 0.0ms | x | @ | 0 | ((/ x (+ (* x x) 1)) (/ 1 x) 1 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 60 | 257 |
| 0 | 60 | 228 |
| 1 | 329 | 218 |
| 0 | 3437 | 202 |
| 1× | iter-limit |
| 1× | iter-limit |
| 1× | node-limit |
| 1× | iter-limit |
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 x)) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* -1 (pow x 2)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (pow x 2) 1)))))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1 (* -1 (pow x 2)))) 1)))))) |
#s(approx (/ 1 x) #s(hole binary64 (/ 1 x))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ 1 x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- 1 (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (/ 1 (pow x 2))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (/ (- (+ 1 (/ 1 (pow x 4))) (+ (/ 1 (pow x 2)) (/ 1 (pow x 6)))) x))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) 1) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (/ 1 (pow x 2)) (+ 1 (/ 1 (pow x 4)))) x)))) |
#s(approx (/ x (+ (* x x) 1)) #s(hole binary64 (* -1 (/ (- (+ (/ 1 (pow x 2)) (/ 1 (pow x 6))) (+ 1 (/ 1 (pow x 4)))) x)))) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
(*.f64 (pow.f64 x #s(literal -1/2 binary64)) (pow.f64 x #s(literal -1/2 binary64))) |
(*.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -1 binary64))) |
(pow.f64 x #s(literal -1 binary64)) |
(/.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x)) |
(/.f64 #s(literal -1 binary64) (neg.f64 x)) |
(/.f64 #s(literal 1 binary64) (neg.f64 (neg.f64 x))) |
(/.f64 #s(literal 1 binary64) x) |
(neg.f64 (/.f64 #s(literal -1 binary64) x)) |
(neg.f64 (/.f64 #s(literal 1 binary64) (neg.f64 x))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal -1 binary64))) |
#s(literal 1 binary64) |
x |
#s(approx (/ x (+ (* x x) 1)) x) |
#s(approx (/ x (+ (* x x) 1)) (-.f64 x (pow.f64 x #s(literal 3 binary64)))) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal -1 binary64)) x)) |
#s(approx (/ x (+ (* x x) 1)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (-.f64 x (pow.f64 x #s(literal 3 binary64))) x #s(literal -1 binary64)) x)) |
#s(approx (/ 1 x) (pow.f64 x #s(literal -1 binary64))) |
#s(approx x x) |
#s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 x #s(literal -2 binary64))) x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64))) x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64)) (pow.f64 x #s(literal -2 binary64))) (pow.f64 x #s(literal -6 binary64))) x)) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (neg.f64 x))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (-.f64 (pow.f64 x #s(literal -2 binary64)) #s(literal 1 binary64)) (pow.f64 x #s(literal -4 binary64))) (neg.f64 x))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 (-.f64 (+.f64 (pow.f64 x #s(literal -6 binary64)) (pow.f64 x #s(literal -2 binary64))) (-.f64 (pow.f64 x #s(literal -4 binary64)) #s(literal -1 binary64))) (neg.f64 x))) |
Compiled 364 to 80 computations (78% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 25 | 0 | 25 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 25 | 3 | 28 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 75.2% | (/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
| ✓ | 51.5% | #s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
| ✓ | 51.7% | #s(approx (/ x (+ (* x x) 1)) x) |
Compiled 81 to 37 computations (54.3% saved)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) x) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
(/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (pow.f64 x #s(literal -1 binary64))) |
| Outputs |
|---|
(/.f64 x (fma.f64 x x #s(literal 1 binary64))) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
2 calls:
| 4.0ms | x |
| 2.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.9% | 2 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 100.0% | 2 | x |
Compiled 8 to 6 computations (25% saved)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) x) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
(/.f64 x #s(approx (+ (* x x) 1) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) x) |
#s(approx (/ x (+ (* x x) 1)) (/.f64 #s(literal 1 binary64) x)) |
2 calls:
| 2.0ms | x |
| 1.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 82.7% | 3 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 99.7% | 2 | x |
Compiled 8 to 6 computations (25% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ x (+ (* x x) 1)) x) |
| Outputs |
|---|
#s(approx (/ x (+ (* x x) 1)) x) |
2 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.7% | 1 | (/.f64 x (+.f64 (*.f64 x x) #s(literal 1 binary64))) |
| 51.7% | 1 | x |
Compiled 8 to 6 computations (25% saved)
| 1× | binary-search |
| 1× | predicate-same |
| Time | Left | Right |
|---|---|---|
| 2.0ms | 15314.113861797294 | 19456251587.778053 |
| 1.0ms | 32× | 0 | valid |
Compiled 44 to 37 computations (15.9% saved)
adjust: 0.0ms (0% of total)ival-add!: 0.0ms (0% of total)ival-mult!: 0.0ms (0% of total)ival-div!: 0.0ms (0% of total)| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 11.0ms | 4.285695385528806e-5 | 15314.113861797294 |
| 6.0ms | 144× | 0 | valid |
Compiled 190 to 153 computations (19.5% saved)
ival-mult!: 3.0ms (82.9% of total)ival-div!: 1.0ms (27.6% of total)adjust: 0.0ms (0% of total)ival-add!: 0.0ms (0% of total)| 1× | done |
Compiled 54 to 16 computations (70.4% saved)
(negabs x)
Compiled 244 to 112 computations (54.1% saved)
Loading profile data...