
Time bar (total: 4.8s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 8 to 7 computations (12.5% saved)
| 727.0ms | 8 256× | 0 | valid |
ival-exp: 199.0ms (49% of total)ival-mult: 196.0ms (48.3% of total)ival-true: 5.0ms (1.2% of total)adjust: 3.0ms (0.7% of total)ival-assert: 3.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (exp.f64 (*.f64 y y)) |
| 0 | 0 | - | 0 | - | (*.f64 y y) |
| 0 | 0 | - | 0 | - | (*.f64 x (exp.f64 (*.f64 y y))) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 75.0ms | 512× | 0 | valid |
Compiled 40 to 19 computations (52.5% saved)
ival-mult: 58.0ms (91.9% of total)ival-exp: 4.0ms (6.3% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 32 |
| 1 | 58 | 32 |
| 2 | 171 | 32 |
| 3 | 409 | 32 |
| 4 | 1265 | 32 |
| 0 | 5 | 6 |
| 0 | 8 | 6 |
| 1 | 18 | 6 |
| 2 | 52 | 6 |
| 3 | 151 | 6 |
| 4 | 429 | 6 |
| 5 | 2656 | 6 |
| 0 | 8918 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
| Outputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
(*.f64 (pow.f64 (exp.f64 y) y) x) |
(abs y)
(negabs x)
Compiled 6 to 5 computations (16.7% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 x (exp.f64 (*.f64 y y))) |
Compiled 6 to 5 computations (16.7% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | (exp.f64 (*.f64 y y)) | |
| cost-diff | 0 | (*.f64 x (exp.f64 (*.f64 y y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 15 |
| 0 | 8 | 15 |
| 1 | 18 | 15 |
| 2 | 52 | 15 |
| 3 | 151 | 15 |
| 4 | 429 | 15 |
| 5 | 2656 | 15 |
| 0 | 8918 | 15 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
x |
(exp.f64 (*.f64 y y)) |
(*.f64 y y) |
y |
| Outputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
(*.f64 (pow.f64 (exp.f64 y) y) x) |
x |
(exp.f64 (*.f64 y y)) |
(pow.f64 (exp.f64 y) y) |
(*.f64 y y) |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 0.0 | (*.f64 x (exp.f64 (*.f64 y y))) | |
| accuracy | 0.0 | (exp.f64 (*.f64 y y)) |
| 11.0ms | 256× | 0 | valid |
Compiled 17 to 7 computations (58.8% saved)
ival-mult: 3.0ms (55.1% of total)ival-exp: 2.0ms (36.7% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
(exp.f64 (*.f64 y y)) |
(*.f64 y y) |
| Outputs |
|---|
(* x (exp (pow y 2))) |
x |
(+ x (* x (pow y 2))) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
1 |
(+ 1 (pow y 2)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(pow y 2) |
(exp (pow y 2)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | 0 | ((* x (exp (* y y))) (exp (* y y)) (* y y)) |
| 1.0ms | x | @ | 0 | ((* x (exp (* y y))) (exp (* y y)) (* y y)) |
| 1.0ms | y | @ | inf | ((* x (exp (* y y))) (exp (* y y)) (* y y)) |
| 1.0ms | x | @ | inf | ((* x (exp (* y y))) (exp (* y y)) (* y y)) |
| 1.0ms | x | @ | -inf | ((* x (exp (* y y))) (exp (* y y)) (* y y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 97 |
| 1 | 127 | 97 |
| 2 | 501 | 91 |
| 3 | 2275 | 89 |
| 4 | 5951 | 89 |
| 0 | 8092 | 77 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* x (exp (pow y 2))) |
x |
(+ x (* x (pow y 2))) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
1 |
(+ 1 (pow y 2)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(pow y 2) |
(exp (pow y 2)) |
| Outputs |
|---|
(* x (exp (pow y 2))) |
(*.f64 (pow.f64 (exp.f64 y) y) x) |
x |
(+ x (* x (pow y 2))) |
(*.f64 (fma.f64 y y #s(literal 1 binary64)) x) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(*.f64 x (fma.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1 binary64)))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
(fma.f64 (*.f64 y x) y (fma.f64 (*.f64 (pow.f64 y #s(literal 4 binary64)) x) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) x)) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow y 2)) |
(fma.f64 y y #s(literal 1 binary64)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(fma.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1 binary64))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (fma.f64 y y #s(literal 1 binary64))) |
(pow y 2) |
(*.f64 y y) |
(exp (pow y 2)) |
(pow.f64 (exp.f64 y) y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 13 |
| 0 | 8 | 13 |
| 1 | 20 | 13 |
| 2 | 83 | 13 |
| 0 | 549 | 13 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
(exp.f64 (*.f64 y y)) |
(*.f64 y y) |
| Outputs |
|---|
(*.f64 (*.f64 x (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64)))) (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64)))) |
(*.f64 (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64))) (*.f64 (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64))) x)) |
(*.f64 (pow.f64 (exp.f64 y) y) x) |
(*.f64 x (pow.f64 (exp.f64 y) y)) |
(/.f64 (*.f64 #s(literal 1 binary64) x) (pow.f64 (exp.f64 y) y)) |
(/.f64 (*.f64 (+.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 3 binary64))) x) (-.f64 #s(literal 1 binary64) (*.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y))))) |
(/.f64 (*.f64 x #s(literal 1 binary64)) (pow.f64 (exp.f64 y) y)) |
(/.f64 (*.f64 x (+.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 3 binary64)))) (-.f64 #s(literal 1 binary64) (*.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y))))) |
(/.f64 (-.f64 (*.f64 (*.f64 (cosh.f64 (*.f64 y y)) x) (*.f64 (cosh.f64 (*.f64 y y)) x)) (*.f64 (*.f64 (sinh.f64 (*.f64 y y)) x) (*.f64 (sinh.f64 (*.f64 y y)) x))) (*.f64 (pow.f64 (exp.f64 y) y) x)) |
(/.f64 (+.f64 (pow.f64 (*.f64 (cosh.f64 (*.f64 y y)) x) #s(literal 3 binary64)) (pow.f64 (*.f64 (sinh.f64 (*.f64 y y)) x) #s(literal 3 binary64))) (fma.f64 (*.f64 (cosh.f64 (*.f64 y y)) x) (*.f64 (cosh.f64 (*.f64 y y)) x) (-.f64 (*.f64 (*.f64 (sinh.f64 (*.f64 y y)) x) (*.f64 (sinh.f64 (*.f64 y y)) x)) (*.f64 (*.f64 (cosh.f64 (*.f64 y y)) x) (*.f64 (sinh.f64 (*.f64 y y)) x))))) |
(fma.f64 (sinh.f64 (*.f64 y y)) x (*.f64 (cosh.f64 (*.f64 y y)) x)) |
(fma.f64 (cosh.f64 (*.f64 y y)) x (*.f64 (sinh.f64 (*.f64 y y)) x)) |
(fma.f64 x (sinh.f64 (*.f64 y y)) (*.f64 (cosh.f64 (*.f64 y y)) x)) |
(fma.f64 x (cosh.f64 (*.f64 y y)) (*.f64 (sinh.f64 (*.f64 y y)) x)) |
(-.f64 (*.f64 (cosh.f64 (*.f64 y y)) x) (*.f64 (neg.f64 x) (sinh.f64 (*.f64 y y)))) |
(-.f64 (*.f64 (cosh.f64 (*.f64 y y)) x) (*.f64 (sinh.f64 (*.f64 y y)) x)) |
(+.f64 (*.f64 (sinh.f64 (*.f64 y y)) x) (*.f64 (cosh.f64 (*.f64 y y)) x)) |
(+.f64 (*.f64 (cosh.f64 (*.f64 y y)) x) (*.f64 (sinh.f64 (*.f64 y y)) x)) |
(*.f64 (pow.f64 (exp.f64 (neg.f64 y)) (/.f64 (neg.f64 y) #s(literal 2 binary64))) (pow.f64 (exp.f64 (neg.f64 y)) (/.f64 (neg.f64 y) #s(literal 2 binary64)))) |
(*.f64 (neg.f64 (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64)))) (neg.f64 (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64))))) |
(*.f64 (fabs.f64 (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64)))) (fabs.f64 (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64))))) |
(*.f64 (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64))) (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64)))) |
(pow.f64 (*.f64 (exp.f64 y) (exp.f64 y)) (/.f64 y #s(literal 2 binary64))) |
(pow.f64 (pow.f64 (exp.f64 y) (/.f64 y #s(literal 2 binary64))) #s(literal 2 binary64)) |
(pow.f64 (exp.f64 (neg.f64 y)) (neg.f64 y)) |
(pow.f64 (exp.f64 y) (*.f64 #s(literal 2 binary64) (/.f64 y #s(literal 2 binary64)))) |
(pow.f64 (exp.f64 y) (+.f64 (/.f64 y #s(literal 2 binary64)) (/.f64 y #s(literal 2 binary64)))) |
(pow.f64 (exp.f64 y) y) |
(/.f64 (-.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 2 binary64)) (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 2 binary64))) (-.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 3 binary64))) (+.f64 (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 2 binary64)) (+.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 2 binary64)) (*.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y)))))) |
(/.f64 (fma.f64 #s(literal 2 binary64) (sinh.f64 (*.f64 y y)) (*.f64 #s(literal 2 binary64) (cosh.f64 (*.f64 y y)))) #s(literal 2 binary64)) |
(/.f64 (fma.f64 #s(literal 2 binary64) (cosh.f64 (*.f64 y y)) (*.f64 #s(literal 2 binary64) (sinh.f64 (*.f64 y y)))) #s(literal 2 binary64)) |
(/.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (exp.f64 y) y))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 3 binary64)))) (neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y)))))) |
(/.f64 (-.f64 (*.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 (*.f64 y y))) #s(literal 2 binary64)) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 (*.f64 y y))))) #s(literal 4 binary64)) |
(/.f64 (fma.f64 (*.f64 #s(literal 2 binary64) (sinh.f64 (*.f64 y y))) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (cosh.f64 (*.f64 y y))))) #s(literal 4 binary64)) |
(/.f64 (fma.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 (*.f64 y y))) #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) (sinh.f64 (*.f64 y y))))) #s(literal 4 binary64)) |
(/.f64 (-.f64 (*.f64 #s(literal 2 binary64) (cosh.f64 (*.f64 y y))) (*.f64 #s(literal 2 binary64) (sinh.f64 (*.f64 y y)))) #s(literal 2 binary64)) |
(/.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 (neg.f64 y)) y)) |
(/.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 y) y)) |
(/.f64 (+.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 3 binary64))) (+.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 2 binary64)) (-.f64 (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 2 binary64)) (*.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y)))))) |
(/.f64 (+.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 3 binary64)) (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 3 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y))))) |
(-.f64 (/.f64 (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 2 binary64)) (pow.f64 (exp.f64 y) y)) (/.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 2 binary64)) (pow.f64 (exp.f64 y) y))) |
(-.f64 (cosh.f64 (*.f64 y y)) (sinh.f64 (*.f64 y y))) |
(exp.f64 (*.f64 (log.f64 (exp.f64 (neg.f64 y))) (neg.f64 y))) |
(exp.f64 (*.f64 y y)) |
(+.f64 (/.f64 (pow.f64 (cosh.f64 (*.f64 y y)) #s(literal 3 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y))))) (/.f64 (pow.f64 (sinh.f64 (*.f64 y y)) #s(literal 3 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y)))))) |
(+.f64 (sinh.f64 (*.f64 y y)) (cosh.f64 (*.f64 y y))) |
(+.f64 (cosh.f64 (*.f64 y y)) (sinh.f64 (*.f64 y y))) |
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (neg.f64 y) y) |
(*.f64 y (neg.f64 y)) |
(*.f64 y y) |
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 y y) #s(literal 1 binary64)) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(neg.f64 (*.f64 y y)) |
(sqrt.f64 (*.f64 (*.f64 y y) (*.f64 y y))) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (*.f64 (log.f64 (neg.f64 y)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))) |
Compiled 1 107 to 238 computations (78.5% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 72 | 2 | 74 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 72 | 3 | 75 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 x (exp.f64 (*.f64 y y))) |
| ▶ | 80.3% | (*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
| ▶ | 52.5% | (*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
Compiled 25 to 20 computations (20% saved)
| 1× | egg-herbie |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 y y #s(literal 1 binary64)) | |
| cost-diff | 0 | #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) | |
| cost-diff | 0 | (*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) | |
| cost-diff | 0 | #s(approx (exp (* y y)) #s(literal 1 binary64)) | |
| cost-diff | 0 | (*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 43 |
| 0 | 13 | 43 |
| 1 | 27 | 43 |
| 2 | 64 | 43 |
| 3 | 163 | 43 |
| 4 | 420 | 43 |
| 5 | 3183 | 43 |
| 0 | 8302 | 43 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
x |
#s(approx (exp (* y y)) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
x |
#s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) |
(fma.f64 y y #s(literal 1 binary64)) |
y |
#s(literal 1 binary64) |
| Outputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 #s(approx (exp (* y y)) #s(literal 1 binary64)) x) |
x |
#s(approx (exp (* y y)) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
(*.f64 #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) x) |
x |
#s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) |
(fma.f64 y y #s(literal 1 binary64)) |
y |
#s(literal 1 binary64) |
Found 5 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (fma.f64 y y #s(literal 1 binary64)) | |
| accuracy | 0.0 | (*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) | |
| accuracy | 16.03070851434563 | #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) | |
| accuracy | 0.0 | (*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) | |
| accuracy | 30.684923979567408 | #s(approx (exp (* y y)) #s(literal 1 binary64)) |
| 14.0ms | 256× | 0 | valid |
Compiled 32 to 9 computations (71.9% saved)
ival-mult: 3.0ms (43.3% of total)ival-exp: 2.0ms (28.8% of total)ival-add: 1.0ms (14.4% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
#s(approx (exp (* y y)) #s(literal 1 binary64)) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
#s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) |
(fma.f64 y y #s(literal 1 binary64)) |
| Outputs |
|---|
(* x (exp (pow y 2))) |
x |
(+ x (* x (pow y 2))) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
1 |
(+ 1 (pow y 2)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(exp (pow y 2)) |
(pow y 2) |
(* (pow y 2) (+ 1 (/ 1 (pow y 2)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((* x (exp (* y y))) (exp (* y y)) (* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1)) |
| 0.0ms | x | @ | 0 | ((* x (exp (* y y))) (exp (* y y)) (* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1)) |
| 0.0ms | y | @ | inf | ((* x (exp (* y y))) (exp (* y y)) (* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1)) |
| 0.0ms | y | @ | -inf | ((* x (exp (* y y))) (exp (* y y)) (* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1)) |
| 0.0ms | x | @ | inf | ((* x (exp (* y y))) (exp (* y y)) (* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 102 |
| 1 | 136 | 102 |
| 2 | 531 | 96 |
| 3 | 2760 | 94 |
| 0 | 8470 | 81 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* x (exp (pow y 2))) |
x |
(+ x (* x (pow y 2))) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
1 |
(+ 1 (pow y 2)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(exp (pow y 2)) |
(pow y 2) |
(* (pow y 2) (+ 1 (/ 1 (pow y 2)))) |
| Outputs |
|---|
(* x (exp (pow y 2))) |
(*.f64 (pow.f64 (exp.f64 y) y) x) |
x |
(+ x (* x (pow y 2))) |
(*.f64 (fma.f64 y y #s(literal 1 binary64)) x) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(*.f64 x (fma.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1 binary64)))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
(fma.f64 (*.f64 y x) y (fma.f64 (*.f64 (pow.f64 y #s(literal 4 binary64)) x) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) x)) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow y 2)) |
(fma.f64 y y #s(literal 1 binary64)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(fma.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1 binary64))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (fma.f64 y y #s(literal 1 binary64))) |
(exp (pow y 2)) |
(pow.f64 (exp.f64 y) y) |
(pow y 2) |
(*.f64 y y) |
(* (pow y 2) (+ 1 (/ 1 (pow y 2)))) |
(fma.f64 y y #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 38 |
| 0 | 13 | 38 |
| 1 | 43 | 38 |
| 0 | 275 | 38 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
#s(approx (exp (* y y)) #s(literal 1 binary64)) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
#s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) |
(fma.f64 y y #s(literal 1 binary64)) |
| Outputs |
|---|
(*.f64 #s(approx (exp (* y y)) #s(literal 1 binary64)) x) |
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
#s(approx (exp (* y y)) #s(literal 1 binary64)) |
(*.f64 #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) x) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
#s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64))) |
(/.f64 (-.f64 #s(literal 1 binary64) (pow.f64 y #s(literal 4 binary64))) (-.f64 #s(literal 1 binary64) (*.f64 y y))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1 binary64))) (neg.f64 (fma.f64 y y #s(literal -1 binary64)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1 binary64)) (fma.f64 y y #s(literal -1 binary64))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 y y)))) |
(/.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) #s(literal -1 binary64)) (-.f64 (+.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 y y))) |
(fma.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 (fabs.f64 y) #s(literal 1 binary64)) (*.f64 (fabs.f64 y) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (neg.f64 y) (neg.f64 y) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 y) (*.f64 (fabs.f64 y) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 (fabs.f64 y) (fabs.f64 y) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 y y) #s(literal 1 binary64)) |
(fma.f64 (*.f64 y y) #s(literal 1 binary64) #s(literal 1 binary64)) |
(fma.f64 y (*.f64 y #s(literal 1 binary64)) #s(literal 1 binary64)) |
(fma.f64 y y #s(literal 1 binary64)) |
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 y y #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 y y #s(literal -1 binary64)))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y))) |
(-.f64 #s(literal 1 binary64) (*.f64 (neg.f64 y) y)) |
(-.f64 #s(literal 1 binary64) (*.f64 y (neg.f64 y))) |
(-.f64 (*.f64 y y) #s(literal -1 binary64)) |
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 y y))) (/.f64 #s(literal 1 binary64) (-.f64 (+.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1 binary64)) (*.f64 y y)))) |
(+.f64 #s(literal 1 binary64) (*.f64 y y)) |
(+.f64 (*.f64 y y) #s(literal 1 binary64)) |
Compiled 690 to 168 computations (75.7% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 1 | 45 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 44 | 4 | 48 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 x (exp.f64 (*.f64 y y))) |
| ✓ | 80.3% | (*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
| ▶ | 31.8% | (*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
| ✓ | 52.5% | (*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
Compiled 41 to 30 computations (26.8% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | #s(approx (+ (* y y) 1) (*.f64 y y)) | |
| cost-diff | 0 | #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) | |
| cost-diff | 0 | (*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 44 |
| 0 | 12 | 44 |
| 1 | 25 | 44 |
| 2 | 62 | 44 |
| 3 | 161 | 44 |
| 4 | 418 | 44 |
| 5 | 3191 | 44 |
| 0 | 8304 | 41 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
x |
#s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) |
#s(approx (+ (* y y) 1) (*.f64 y y)) |
(*.f64 y y) |
y |
| Outputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
(*.f64 #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) x) |
x |
#s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) |
#s(approx (+ (* y y) 1) (*.f64 y y)) |
(*.f64 y y) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 y y) | |
| accuracy | 0.0 | (*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) | |
| accuracy | 16.03070851434563 | #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) | |
| accuracy | 31.685101403218763 | #s(approx (+ (* y y) 1) (*.f64 y y)) |
| 23.0ms | 256× | 0 | valid |
Compiled 22 to 9 computations (59.1% saved)
ival-mult: 3.0ms (42.4% of total)ival-exp: 2.0ms (28.3% of total)ival-add: 1.0ms (14.1% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
#s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) |
#s(approx (+ (* y y) 1) (*.f64 y y)) |
(*.f64 y y) |
| Outputs |
|---|
(* x (exp (pow y 2))) |
x |
(+ x (* x (pow y 2))) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
1 |
(+ 1 (pow y 2)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(pow y 2) |
(exp (pow y 2)) |
(* (pow y 2) (+ 1 (/ 1 (pow y 2)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1) (* y y)) |
| 0.0ms | x | @ | -inf | ((* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1) (* y y)) |
| 0.0ms | y | @ | -inf | ((* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1) (* y y)) |
| 0.0ms | x | @ | 0 | ((* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1) (* y y)) |
| 0.0ms | x | @ | inf | ((* x (exp (* y y))) (exp (* y y)) (+ (* y y) 1) (* y y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 102 |
| 1 | 136 | 102 |
| 2 | 531 | 96 |
| 3 | 2758 | 94 |
| 0 | 8445 | 81 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* x (exp (pow y 2))) |
x |
(+ x (* x (pow y 2))) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
1 |
(+ 1 (pow y 2)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(pow y 2) |
(exp (pow y 2)) |
(* (pow y 2) (+ 1 (/ 1 (pow y 2)))) |
| Outputs |
|---|
(* x (exp (pow y 2))) |
(*.f64 (pow.f64 (exp.f64 y) y) x) |
x |
(+ x (* x (pow y 2))) |
(*.f64 (fma.f64 y y #s(literal 1 binary64)) x) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(*.f64 x (fma.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1 binary64)))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
(fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (pow y 2)) |
(fma.f64 y y #s(literal 1 binary64)) |
(+ 1 (* (pow y 2) (+ 1 (* 1/2 (pow y 2))))) |
(fma.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1 binary64))) |
(+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) |
(fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (fma.f64 y y #s(literal 1 binary64))) |
(pow y 2) |
(*.f64 y y) |
(exp (pow y 2)) |
(pow.f64 (exp.f64 y) y) |
(* (pow y 2) (+ 1 (/ 1 (pow y 2)))) |
(fma.f64 y y #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 42 |
| 0 | 12 | 42 |
| 1 | 41 | 42 |
| 0 | 273 | 39 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
#s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) |
#s(approx (+ (* y y) 1) (*.f64 y y)) |
(*.f64 y y) |
| Outputs |
|---|
(*.f64 #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) x) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
#s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))) |
#s(approx (+ (* y y) 1) (*.f64 y y)) |
(*.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(*.f64 (*.f64 (fabs.f64 y) #s(literal 1 binary64)) (*.f64 (fabs.f64 y) #s(literal 1 binary64))) |
(*.f64 (*.f64 y #s(literal 1 binary64)) (*.f64 y #s(literal 1 binary64))) |
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y))) |
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y))) |
(*.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (*.f64 (fabs.f64 y) #s(literal 1 binary64))) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 #s(literal 1 binary64) (*.f64 y y)) |
(*.f64 (*.f64 y y) #s(literal 1 binary64)) |
(*.f64 y (*.f64 y #s(literal 1 binary64))) |
(*.f64 y y) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 y) #s(literal 2 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 y) y)) |
(neg.f64 (*.f64 y (neg.f64 y))) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
Compiled 648 to 148 computations (77.2% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 36 | 1 | 37 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 36 | 5 | 41 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 x (exp.f64 (*.f64 y y))) |
| ✓ | 80.3% | (*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
| ✓ | 31.8% | (*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
| ✓ | 52.5% | (*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
| ▶ | 89.8% | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
Compiled 66 to 44 computations (33.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 y y) | |
| cost-diff | 0 | (*.f64 (*.f64 y y) x) | |
| cost-diff | 0 | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) | |
| cost-diff | 2 | (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 73 |
| 0 | 22 | 73 |
| 1 | 55 | 73 |
| 2 | 239 | 73 |
| 3 | 1540 | 73 |
| 4 | 7747 | 73 |
| 0 | 8007 | 69 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
(fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) |
(*.f64 (*.f64 y y) x) |
(*.f64 y y) |
y |
x |
(fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) |
#s(literal 1/6 binary64) |
#s(literal 1/2 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (*.f64 (fma.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y #s(literal 1 binary64)) x)) |
(fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) |
(*.f64 (fma.f64 (fma.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y #s(literal 1 binary64)) x) |
(*.f64 (*.f64 y y) x) |
(*.f64 y y) |
y |
x |
(fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) |
(fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) |
#s(literal 1/6 binary64) |
#s(literal 1/2 binary64) |
#s(literal 1 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.08984375 | (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) | |
| accuracy | 0.51315508041112 | (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) | |
| accuracy | 6.810918807143414 | (*.f64 (*.f64 y y) x) | |
| accuracy | 6.9758057695096545 | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
| 28.0ms | 256× | 0 | valid |
Compiled 62 to 17 computations (72.6% saved)
ival-mult: 10.0ms (51.2% of total)const: 4.0ms (20.5% of total)ival-add: 3.0ms (15.4% of total)ival-exp: 2.0ms (10.2% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
(*.f64 (*.f64 y y) x) |
(*.f64 y y) |
(fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) |
| Outputs |
|---|
(* x (+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2)))))))) |
(* x (exp (pow y 2))) |
(* x (pow y 2)) |
(* -1 (* x (- (* -1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) 1))) |
x |
(+ x (* x (pow y 2))) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
(pow y 2) |
1/2 |
(+ 1/2 (* 1/6 (pow y 2))) |
(* 1/6 (* x (pow y 6))) |
(* (pow y 6) (+ (* 1/6 x) (* 1/2 (/ x (pow y 2))))) |
(* (pow y 6) (+ (* 1/6 x) (+ (* 1/2 (/ x (pow y 2))) (/ x (pow y 4))))) |
(* (pow y 6) (+ (* 1/6 x) (+ (* 1/2 (/ x (pow y 2))) (+ (/ x (pow y 4)) (/ x (pow y 6)))))) |
(* 1/6 (pow y 2)) |
(* (pow y 2) (+ 1/6 (* 1/2 (/ 1 (pow y 2))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 16.0ms | y | @ | -inf | ((+ (* (* (* y y) x) (+ (* (+ (* 1/6 (* y y)) 1/2) (* y y)) 1)) x) (* x (exp (* y y))) (* (* y y) x) (* y y) (+ (* 1/6 (* y y)) 1/2)) |
| 2.0ms | x | @ | 0 | ((+ (* (* (* y y) x) (+ (* (+ (* 1/6 (* y y)) 1/2) (* y y)) 1)) x) (* x (exp (* y y))) (* (* y y) x) (* y y) (+ (* 1/6 (* y y)) 1/2)) |
| 2.0ms | x | @ | -inf | ((+ (* (* (* y y) x) (+ (* (+ (* 1/6 (* y y)) 1/2) (* y y)) 1)) x) (* x (exp (* y y))) (* (* y y) x) (* y y) (+ (* 1/6 (* y y)) 1/2)) |
| 2.0ms | x | @ | inf | ((+ (* (* (* y y) x) (+ (* (+ (* 1/6 (* y y)) 1/2) (* y y)) 1)) x) (* x (exp (* y y))) (* (* y y) x) (* y y) (+ (* 1/6 (* y y)) 1/2)) |
| 1.0ms | y | @ | inf | ((+ (* (* (* y y) x) (+ (* (+ (* 1/6 (* y y)) 1/2) (* y y)) 1)) x) (* x (exp (* y y))) (* (* y y) x) (* y y) (+ (* 1/6 (* y y)) 1/2)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 58 | 190 |
| 1 | 200 | 190 |
| 2 | 809 | 178 |
| 3 | 3875 | 176 |
| 0 | 8090 | 160 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* x (+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2)))))))) |
(* x (exp (pow y 2))) |
(* x (pow y 2)) |
(* -1 (* x (- (* -1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) 1))) |
x |
(+ x (* x (pow y 2))) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
(pow y 2) |
1/2 |
(+ 1/2 (* 1/6 (pow y 2))) |
(* 1/6 (* x (pow y 6))) |
(* (pow y 6) (+ (* 1/6 x) (* 1/2 (/ x (pow y 2))))) |
(* (pow y 6) (+ (* 1/6 x) (+ (* 1/2 (/ x (pow y 2))) (/ x (pow y 4))))) |
(* (pow y 6) (+ (* 1/6 x) (+ (* 1/2 (/ x (pow y 2))) (+ (/ x (pow y 4)) (/ x (pow y 6)))))) |
(* 1/6 (pow y 2)) |
(* (pow y 2) (+ 1/6 (* 1/2 (/ 1 (pow y 2))))) |
| Outputs |
|---|
(* x (+ 1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2)))))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (fma.f64 y y #s(literal 1 binary64))) x) |
(* x (exp (pow y 2))) |
(*.f64 (pow.f64 (exp.f64 y) y) x) |
(* x (pow y 2)) |
(*.f64 (*.f64 y y) x) |
(* -1 (* x (- (* -1 (* (pow y 2) (+ 1 (* (pow y 2) (+ 1/2 (* 1/6 (pow y 2))))))) 1))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (fma.f64 y y #s(literal 1 binary64))) x) |
x |
(+ x (* x (pow y 2))) |
(fma.f64 (*.f64 y y) x x) |
(+ x (* (pow y 2) (+ x (* 1/2 (* x (pow y 2)))))) |
(*.f64 x (fma.f64 (pow.f64 y #s(literal 4 binary64)) #s(literal 1/2 binary64) (fma.f64 y y #s(literal 1 binary64)))) |
(+ x (* (pow y 2) (+ x (* (pow y 2) (+ (* 1/6 (* x (pow y 2))) (* 1/2 x)))))) |
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (fma.f64 y y #s(literal 1 binary64))) x) |
(pow y 2) |
(*.f64 y y) |
1/2 |
#s(literal 1/2 binary64) |
(+ 1/2 (* 1/6 (pow y 2))) |
(fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) |
(* 1/6 (* x (pow y 6))) |
(*.f64 (*.f64 (pow.f64 y #s(literal 6 binary64)) x) #s(literal 1/6 binary64)) |
(* (pow y 6) (+ (* 1/6 x) (* 1/2 (/ x (pow y 2))))) |
(*.f64 (*.f64 x (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 y y)) #s(literal -1/6 binary64))) (pow.f64 y #s(literal 6 binary64))) |
(* (pow y 6) (+ (* 1/6 x) (+ (* 1/2 (/ x (pow y 2))) (/ x (pow y 4))))) |
(*.f64 (fma.f64 x (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 y y)) #s(literal -1/6 binary64)) (/.f64 x (pow.f64 y #s(literal 4 binary64)))) (pow.f64 y #s(literal 6 binary64))) |
(* (pow y 6) (+ (* 1/6 x) (+ (* 1/2 (/ x (pow y 2))) (+ (/ x (pow y 4)) (/ x (pow y 6)))))) |
(*.f64 (fma.f64 x (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 y y)) #s(literal -1/6 binary64)) (+.f64 (/.f64 x (pow.f64 y #s(literal 6 binary64))) (/.f64 x (pow.f64 y #s(literal 4 binary64))))) (pow.f64 y #s(literal 6 binary64))) |
(* 1/6 (pow y 2)) |
(*.f64 #s(literal 1/6 binary64) (*.f64 y y)) |
(* (pow y 2) (+ 1/6 (* 1/2 (/ 1 (pow y 2))))) |
(fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 57 |
| 0 | 22 | 57 |
| 1 | 97 | 57 |
| 0 | 801 | 57 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
(*.f64 (*.f64 y y) x) |
(*.f64 y y) |
(fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64))) (-.f64 x (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64)) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) x))) |
(/.f64 (neg.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 3 binary64)))) (neg.f64 (fma.f64 x (-.f64 x (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y))) (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64)) (*.f64 x x)) (-.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) x)) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 (*.f64 x (*.f64 y y)) x))))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 3 binary64))) (fma.f64 x (-.f64 x (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y))) (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64)))) |
(fma.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y) y) (*.f64 x y) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 y y)) (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y)) y (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 y y)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64))) (*.f64 y y) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 y y)) (*.f64 y y)) (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 y y)) x x) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y) x) |
(fma.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y) (*.f64 y y)) x (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y) x) (*.f64 y y) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) (*.f64 y y) x) |
(fma.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) (*.f64 y (*.f64 x (*.f64 y y))) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x) |
(fma.f64 (fabs.f64 y) (*.f64 (fabs.f64 y) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x) |
(fma.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y) (*.f64 x (*.f64 y y)) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 x (*.f64 y y)) x) |
(fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 (*.f64 y y) (*.f64 x (*.f64 y y))) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 x (*.f64 y y)) (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 x (*.f64 y y)) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) |
(fma.f64 x (*.f64 (*.f64 y y) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64))) x) |
(fma.f64 x (*.f64 (*.f64 y y) (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y)) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 y y) (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 x (*.f64 y y))) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 y y) (*.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y)) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 (*.f64 y y) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x) x) |
(fma.f64 y (*.f64 (*.f64 x y) (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y)) (fma.f64 (*.f64 x y) y x)) |
(fma.f64 y (*.f64 (*.f64 x y) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64))) x) |
(fma.f64 y (*.f64 y (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x) |
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) x)) (/.f64 (*.f64 x x) (-.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) x))) |
(-.f64 x (*.f64 (neg.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64))) (*.f64 x (*.f64 y y)))) |
(-.f64 x (*.f64 (neg.f64 (*.f64 x (*.f64 y y))) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)))) |
(-.f64 x (*.f64 (neg.f64 (*.f64 y y)) (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x))) |
(+.f64 (+.f64 x (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) (*.f64 y (*.f64 x (*.f64 y y))))) (*.f64 x (*.f64 y y))) |
(+.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y))) (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64)))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x (-.f64 x (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y))) (pow.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) #s(literal 2 binary64))))) |
(+.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) (*.f64 y (*.f64 x (*.f64 y y)))) (fma.f64 (*.f64 x y) y x)) |
(+.f64 (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y)) x) |
(+.f64 x (*.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) y) (*.f64 x y))) |
#s(approx (* x (exp (* y y))) (fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 x (*.f64 y y)) x)) |
(*.f64 (*.f64 x (neg.f64 y)) (neg.f64 y)) |
(*.f64 (*.f64 x (fabs.f64 y)) (fabs.f64 y)) |
(*.f64 (*.f64 #s(literal 1 binary64) (*.f64 y y)) x) |
(*.f64 (*.f64 #s(literal 1 binary64) y) (*.f64 x y)) |
(*.f64 (*.f64 #s(literal 1 binary64) x) (*.f64 y y)) |
(*.f64 (*.f64 x y) y) |
(*.f64 (neg.f64 y) (*.f64 (neg.f64 y) x)) |
(*.f64 (fabs.f64 y) (*.f64 (fabs.f64 y) x)) |
(*.f64 #s(literal 1 binary64) (*.f64 x (*.f64 y y))) |
(*.f64 (*.f64 x (*.f64 y y)) #s(literal 1 binary64)) |
(*.f64 x (*.f64 (*.f64 y y) #s(literal 1 binary64))) |
(*.f64 x (*.f64 y y)) |
(*.f64 (*.f64 y y) (*.f64 x #s(literal 1 binary64))) |
(*.f64 (*.f64 y y) x) |
(*.f64 y (*.f64 (*.f64 x y) #s(literal 1 binary64))) |
(*.f64 y (*.f64 x y)) |
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64))) |
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y))) |
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y))) |
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y))) |
(*.f64 (neg.f64 y) (neg.f64 y)) |
(*.f64 (fabs.f64 y) (fabs.f64 y)) |
(*.f64 y y) |
(pow.f64 (neg.f64 y) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 y) #s(literal 2 binary64)) |
(pow.f64 y #s(literal 2 binary64)) |
(neg.f64 (*.f64 (neg.f64 y) y)) |
(neg.f64 (*.f64 y (neg.f64 y))) |
(fabs.f64 (*.f64 y y)) |
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) |
(/.f64 (-.f64 #s(literal 1/4 binary64) (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64))) (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) (*.f64 y y)))) |
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (-.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 1/2 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 (*.f64 y y) #s(literal 3 binary64)) #s(literal 1/8 binary64))) (neg.f64 (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 y y) #s(literal 1/12 binary64))))) |
(/.f64 (-.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (-.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 1/2 binary64))) |
(/.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 (*.f64 y y) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (+.f64 #s(literal 1/4 binary64) (-.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64)) (*.f64 (*.f64 y y) #s(literal 1/12 binary64))))) |
(/.f64 (fma.f64 #s(literal 1/216 binary64) (pow.f64 (*.f64 y y) #s(literal 3 binary64)) #s(literal 1/8 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 y y) #s(literal 1/12 binary64)))) |
(fma.f64 (*.f64 #s(literal 1/6 binary64) (neg.f64 y)) (neg.f64 y) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 #s(literal 1/6 binary64) (fabs.f64 y)) (fabs.f64 y) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 #s(literal 1/6 binary64) y) y #s(literal 1/2 binary64)) |
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1/6 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 (fabs.f64 y) (*.f64 (fabs.f64 y) #s(literal 1/6 binary64)) #s(literal 1/2 binary64)) |
(fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) |
(fma.f64 (*.f64 y y) #s(literal 1/6 binary64) #s(literal 1/2 binary64)) |
(fma.f64 y (*.f64 #s(literal 1/6 binary64) y) #s(literal 1/2 binary64)) |
(-.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64)) (-.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 1/2 binary64))) (/.f64 #s(literal 1/4 binary64) (-.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 1/2 binary64)))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 #s(literal 1/6 binary64) y)) y)) |
(-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1/6 binary64) (*.f64 y y))) |
(-.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 (*.f64 y y)) #s(literal 1/6 binary64))) |
(+.f64 (/.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 3 binary64)) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 y y) #s(literal 1/12 binary64)))) (/.f64 #s(literal 1/8 binary64) (-.f64 (+.f64 (pow.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 2 binary64)) #s(literal 1/4 binary64)) (*.f64 (*.f64 y y) #s(literal 1/12 binary64))))) |
(+.f64 (*.f64 #s(literal 1/6 binary64) (*.f64 y y)) #s(literal 1/2 binary64)) |
(+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) |
Compiled 4 223 to 550 computations (87% saved)
12 alts after pruning (7 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 128 | 7 | 135 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 4 | 4 |
| Total | 128 | 12 | 140 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 x (exp.f64 (*.f64 y y))) |
| ✓ | 80.3% | (*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
| ✓ | 31.8% | (*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
| ✓ | 52.5% | (*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
| 91.3% | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 y y)) x x)) | |
| 89.1% | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) (*.f64 y (*.f64 x (*.f64 y y))) (fma.f64 (*.f64 x y) y x))) | |
| 89.8% | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y) x) (*.f64 y y) (fma.f64 (*.f64 x y) y x))) | |
| ✓ | 89.8% | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
| 89.6% | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) (*.f64 y y) #s(literal 1 binary64)) x)) | |
| 87.1% | #s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) | |
| 89.8% | #s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 (*.f64 x y) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64))) x)) | |
| 89.8% | #s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 y (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x)) |
Compiled 518 to 215 computations (58.5% saved)
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 y (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 (*.f64 x y) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64))) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 y y)) x x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y) x) (*.f64 y y) (fma.f64 (*.f64 x y) y x))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) (*.f64 y (*.f64 x (*.f64 y y))) (fma.f64 (*.f64 x y) y x))) |
(*.f64 x (exp.f64 (*.f64 y y))) |
| Outputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
5 calls:
| 4.0ms | x |
| 4.0ms | y |
| 3.0ms | (*.f64 x (exp.f64 (*.f64 y y))) |
| 3.0ms | (*.f64 y y) |
| 2.0ms | (exp.f64 (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 y y) |
| 100.0% | 1 | (exp.f64 (*.f64 y y)) |
| 100.0% | 1 | (*.f64 x (exp.f64 (*.f64 y y))) |
| 100.0% | 1 | x |
| 100.0% | 1 | y |
Compiled 15 to 16 computations (-6.7% saved)
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 y (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 (*.f64 x y) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64))) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 y y)) x x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) y) x) (*.f64 y y) (fma.f64 (*.f64 x y) y x))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) y) (*.f64 y (*.f64 x (*.f64 y y))) (fma.f64 (*.f64 x y) y x))) |
| Outputs |
|---|
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 y y)) x x)) |
5 calls:
| 8.0ms | x |
| 3.0ms | y |
| 3.0ms | (*.f64 x (exp.f64 (*.f64 y y))) |
| 3.0ms | (*.f64 y y) |
| 2.0ms | (exp.f64 (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 91.3% | 1 | (*.f64 y y) |
| 91.3% | 1 | (exp.f64 (*.f64 y y)) |
| 91.3% | 1 | (*.f64 x (exp.f64 (*.f64 y y))) |
| 91.3% | 1 | x |
| 91.3% | 1 | y |
Compiled 15 to 16 computations (-6.7% saved)
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 y (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 (*.f64 x y) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64))) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
| Outputs |
|---|
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 y (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x)) |
5 calls:
| 3.0ms | y |
| 3.0ms | x |
| 3.0ms | (*.f64 x (exp.f64 (*.f64 y y))) |
| 2.0ms | (*.f64 y y) |
| 2.0ms | (exp.f64 (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 89.8% | 1 | (exp.f64 (*.f64 y y)) |
| 89.8% | 1 | (*.f64 x (exp.f64 (*.f64 y y))) |
| 89.8% | 1 | x |
| 89.8% | 1 | (*.f64 y y) |
| 89.8% | 1 | y |
Compiled 15 to 16 computations (-6.7% saved)
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) (*.f64 y y) #s(literal 1 binary64)) x)) |
| Outputs |
|---|
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) (*.f64 y y) #s(literal 1 binary64)) x)) |
5 calls:
| 62.0ms | x |
| 2.0ms | y |
| 2.0ms | (*.f64 x (exp.f64 (*.f64 y y))) |
| 2.0ms | (*.f64 y y) |
| 1.0ms | (exp.f64 (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 89.6% | 1 | (*.f64 y y) |
| 89.6% | 1 | (exp.f64 (*.f64 y y)) |
| 89.6% | 1 | (*.f64 x (exp.f64 (*.f64 y y))) |
| 89.6% | 1 | y |
| 89.6% | 1 | x |
Compiled 15 to 16 computations (-6.7% saved)
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
| Outputs |
|---|
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
5 calls:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (*.f64 x (exp.f64 (*.f64 y y))) |
| 2.0ms | (*.f64 y y) |
| 1.0ms | (exp.f64 (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 87.1% | 1 | (*.f64 y y) |
| 87.1% | 1 | (exp.f64 (*.f64 y y)) |
| 87.1% | 1 | (*.f64 x (exp.f64 (*.f64 y y))) |
| 87.1% | 1 | y |
| 87.1% | 1 | x |
Compiled 15 to 16 computations (-6.7% saved)
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
| Outputs |
|---|
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
5 calls:
| 55.0ms | (exp.f64 (*.f64 y y)) |
| 2.0ms | x |
| 1.0ms | y |
| 1.0ms | (*.f64 x (exp.f64 (*.f64 y y))) |
| 1.0ms | (*.f64 y y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 80.3% | 1 | (exp.f64 (*.f64 y y)) |
| 80.3% | 1 | (*.f64 x (exp.f64 (*.f64 y y))) |
| 80.3% | 1 | (*.f64 y y) |
| 80.3% | 1 | x |
| 80.3% | 1 | y |
Compiled 15 to 16 computations (-6.7% saved)
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
| Outputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
(*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y)))) |
5 calls:
| 1.0ms | y |
| 1.0ms | x |
| 1.0ms | (*.f64 x (exp.f64 (*.f64 y y))) |
| 1.0ms | (*.f64 y y) |
| 1.0ms | (exp.f64 (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.5% | 1 | x |
| 79.9% | 2 | (exp.f64 (*.f64 y y)) |
| 79.9% | 2 | (*.f64 x (exp.f64 (*.f64 y y))) |
| 79.9% | 2 | (*.f64 y y) |
| 79.9% | 2 | y |
Compiled 15 to 16 computations (-6.7% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
4 calls:
| 1.0ms | y |
| 1.0ms | (*.f64 x (exp.f64 (*.f64 y y))) |
| 1.0ms | (*.f64 y y) |
| 1.0ms | (exp.f64 (*.f64 y y)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.5% | 1 | (exp.f64 (*.f64 y y)) |
| 52.5% | 1 | (*.f64 x (exp.f64 (*.f64 y y))) |
| 52.5% | 1 | (*.f64 y y) |
| 52.5% | 1 | y |
Compiled 14 to 14 computations (0% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 12.0ms | 0.0672391358542806 | 6983.981251520031 |
| 7.0ms | 144× | 0 | valid |
Compiled 225 to 181 computations (19.6% saved)
ival-mult: 2.0ms (55.8% of total)ival-exp: 1.0ms (27.9% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 43 | 163 |
| 1 | 60 | 163 |
| 2 | 122 | 163 |
| 3 | 298 | 163 |
| 4 | 692 | 163 |
| 5 | 3700 | 163 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 y y)) x x)) |
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 y (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
(if (<=.f64 y #s(literal 1 binary64)) (*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) (*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))))) |
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
| Outputs |
|---|
(*.f64 x (exp.f64 (*.f64 y y))) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) (*.f64 y y)) x x)) |
#s(approx (* x (exp (* y y))) (fma.f64 y (*.f64 y (*.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) (*.f64 y y) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) (*.f64 #s(literal 1/6 binary64) (*.f64 y y))) (*.f64 y y) #s(literal 1 binary64)) x)) |
#s(approx (* x (exp (* y y))) (fma.f64 (*.f64 (*.f64 y y) x) (fma.f64 #s(approx (+ (* 1/6 (* y y)) 1/2) #s(literal 1/2 binary64)) (*.f64 y y) #s(literal 1 binary64)) x)) |
(*.f64 x #s(approx (exp (* y y)) (fma.f64 y y #s(literal 1 binary64)))) |
(if (<=.f64 y #s(literal 1 binary64)) (*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) (*.f64 x #s(approx (exp (* y y)) #s(approx (+ (* y y) 1) (*.f64 y y))))) |
(*.f64 x #s(approx (exp (* y y)) #s(literal 1 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 36 | 102 |
| 1 | 136 | 102 |
| 2 | 531 | 96 |
| 3 | 2760 | 94 |
| 0 | 8470 | 81 |
| 0 | 58 | 190 |
| 1 | 200 | 190 |
| 2 | 809 | 178 |
| 3 | 3875 | 176 |
| 0 | 8090 | 160 |
| 0 | 14 | 57 |
| 0 | 22 | 57 |
| 1 | 97 | 57 |
| 0 | 801 | 57 |
| 0 | 33 | 97 |
| 1 | 127 | 97 |
| 2 | 501 | 91 |
| 3 | 2275 | 89 |
| 4 | 5951 | 89 |
| 0 | 8092 | 77 |
| 0 | 36 | 102 |
| 1 | 136 | 102 |
| 2 | 531 | 96 |
| 3 | 2758 | 94 |
| 0 | 8445 | 81 |
| 1× | fuel |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 163 to 46 computations (71.8% saved)
(negabs x)
(abs y)
Compiled 398 to 152 computations (61.8% saved)
Loading profile data...