
Time bar (total: 1.4s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 4 |
| 62.5% | 62.4% | 37.5% | 0.1% | 0% | 0% | 0% | 5 |
| 66.7% | 62.4% | 31.2% | 0.1% | 0% | 6.2% | 0% | 6 |
| 75.9% | 68.7% | 21.9% | 0.1% | 0% | 9.4% | 0% | 7 |
| 80% | 68.7% | 17.2% | 0.1% | 0% | 14% | 0% | 8 |
| 86% | 71.8% | 11.7% | 0.1% | 0% | 16.4% | 0% | 9 |
| 88.9% | 71.8% | 9% | 0.1% | 0% | 19.1% | 0% | 10 |
| 92.4% | 73.4% | 6% | 0.1% | 0% | 20.5% | 0% | 11 |
| 94.1% | 73.4% | 4.6% | 0.1% | 0% | 22% | 0% | 12 |
Compiled 12 to 7 computations (41.7% saved)
| 351.0ms | 8 256× | 0 | valid |
| 14.0ms | 292× | 0 | invalid |
ival-mult: 79.0ms (52.5% of total)ival-expm1: 65.0ms (43.2% of total)adjust: 2.0ms (1.3% of total)ival->: 2.0ms (1.3% of total)ival-assert: 2.0ms (1.3% of total)exact: 1.0ms (0.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 131 | 0 | - | 0 | - | (-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | (exp.f64 (*.f64 a x)) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 a x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) | cancellation | 131 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 131 | 0 |
| - | 0 | 125 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 131 | 0 | 0 |
| - | 0 | 0 | 125 |
| number | freq |
|---|---|
| 0 | 125 |
| 1 | 131 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 27.0ms | 512× | 0 | valid |
Compiled 42 to 22 computations (47.6% saved)
ival-mult: 5.0ms (38.9% of total)ival-exp: 4.0ms (31.2% of total)ival-expm1: 3.0ms (23.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)Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 42 |
| 1 | 45 | 42 |
| 2 | 81 | 42 |
| 3 | 219 | 42 |
| 4 | 977 | 42 |
| 0 | 6 | 6 |
| 0 | 9 | 6 |
| 1 | 17 | 6 |
| 2 | 35 | 6 |
| 3 | 84 | 6 |
| 4 | 297 | 6 |
| 5 | 2733 | 6 |
| 0 | 8456 | 4 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
(expm1.f64 (-.f64 (*.f64 x a) #s(literal 0 binary64))) |
(sort a x)
Compiled 6 to 6 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 52.8% | (-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
Compiled 6 to 6 computations (0% saved)
| Inputs |
|---|
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
(exp.f64 (*.f64 a x)) |
(*.f64 a x) |
a |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a x))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3)))))))))) |
#s(approx (exp (* a x)) #s(hole binary64 1)) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a x)))) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* 1/2 (* a (pow x 2)))))))) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2))))))))) |
#s(approx (* a x) #s(hole binary64 (* a x))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (- (exp (* a x)) 1))) |
#s(approx (exp (* a x)) #s(hole binary64 (exp (* a x)))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x)))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3)))))))))) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* 1/2 (* (pow a 2) x))))))) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2))))))))) |
#s(approx x #s(hole binary64 x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | 0 | ((- (exp (* a x)) 1) (exp (* a x)) (* a x) a x 1) |
| 1.0ms | a | @ | -inf | ((- (exp (* a x)) 1) (exp (* a x)) (* a x) a x 1) |
| 1.0ms | a | @ | inf | ((- (exp (* a x)) 1) (exp (* a x)) (* a x) a x 1) |
| 1.0ms | x | @ | -inf | ((- (exp (* a x)) 1) (exp (* a x)) (* a x) a x 1) |
| 1.0ms | x | @ | 0 | ((- (exp (* a x)) 1) (exp (* a x)) (* a x) a x 1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 84 | 321 |
| 0 | 87 | 321 |
| 1 | 479 | 321 |
| 0 | 4482 | 278 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
(exp.f64 (*.f64 a x)) |
(*.f64 a x) |
a |
x |
#s(literal 1 binary64) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a x))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3)))))))))) |
#s(approx (exp (* a x)) #s(hole binary64 1)) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a x)))) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* 1/2 (* a (pow x 2)))))))) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2))))))))) |
#s(approx (* a x) #s(hole binary64 (* a x))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (- (exp (* a x)) 1))) |
#s(approx (exp (* a x)) #s(hole binary64 (exp (* a x)))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x)))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3)))))))))) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* 1/2 (* (pow a 2) x))))))) |
#s(approx (exp (* a x)) #s(hole binary64 (+ 1 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2))))))))) |
#s(approx x #s(hole binary64 x)) |
| Outputs |
|---|
(/.f64 (neg.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a)))) (neg.f64 (/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)))))) |
(/.f64 (neg.f64 (expm1.f64 (*.f64 (*.f64 x a) #s(literal 3 binary64)))) (neg.f64 (fma.f64 (neg.f64 (pow.f64 (exp.f64 x) a)) (neg.f64 (pow.f64 (exp.f64 x) a)) (/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))))))) |
(/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))))) |
(/.f64 (expm1.f64 (*.f64 (*.f64 x a) #s(literal 3 binary64))) (fma.f64 (neg.f64 (pow.f64 (exp.f64 x) a)) (neg.f64 (pow.f64 (exp.f64 x) a)) (/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)))))) |
(fma.f64 (pow.f64 (exp.f64 a) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 a) (/.f64 x #s(literal 2 binary64))) #s(literal -1 binary64)) |
(fma.f64 (pow.f64 (exp.f64 x) a) #s(literal 1 binary64) #s(literal -1 binary64)) |
(fma.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) a) #s(literal -1 binary64)) |
(expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
(expm1.f64 (*.f64 (log.f64 (exp.f64 a)) x)) |
(expm1.f64 (*.f64 x a)) |
(-.f64 (/.f64 (pow.f64 (exp.f64 a) (*.f64 #s(literal 2 binary64) x)) (/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))))) (/.f64 #s(literal 1 binary64) (/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)))))) |
(-.f64 (/.f64 (pow.f64 (exp.f64 a) (*.f64 x #s(literal 3 binary64))) (fma.f64 (neg.f64 (pow.f64 (exp.f64 x) a)) (neg.f64 (pow.f64 (exp.f64 x) a)) (/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)))))) (/.f64 #s(literal 1 binary64) (fma.f64 (neg.f64 (pow.f64 (exp.f64 x) a)) (neg.f64 (pow.f64 (exp.f64 x) a)) (/.f64 (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) (*.f64 x a))) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))))))) |
(-.f64 (pow.f64 (exp.f64 x) a) #s(literal 1 binary64)) |
(+.f64 (cosh.f64 (*.f64 (neg.f64 a) x)) (-.f64 (sinh.f64 (*.f64 x a)) #s(literal 1 binary64))) |
(+.f64 (pow.f64 (exp.f64 x) a) #s(literal -1 binary64)) |
(*.f64 (pow.f64 (exp.f64 a) (/.f64 x #s(literal 2 binary64))) (pow.f64 (exp.f64 a) (/.f64 x #s(literal 2 binary64)))) |
(*.f64 (pow.f64 (exp.f64 x) a) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 x) a)) |
(pow.f64 (exp.f64 x) a) |
(pow.f64 (exp.f64 a) x) |
(/.f64 (*.f64 (pow.f64 (exp.f64 x) a) #s(literal 2 binary64)) #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (*.f64 (neg.f64 a) x)) (cosh.f64 (*.f64 (neg.f64 a) x))) (*.f64 (sinh.f64 (*.f64 x a)) (sinh.f64 (*.f64 x a)))) (-.f64 (cosh.f64 (*.f64 (neg.f64 a) x)) (sinh.f64 (*.f64 x a)))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (*.f64 (neg.f64 a) x)) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (*.f64 x a)) #s(literal 3 binary64))) (+.f64 (*.f64 (cosh.f64 (*.f64 (neg.f64 a) x)) (cosh.f64 (*.f64 (neg.f64 a) x))) (-.f64 (*.f64 (sinh.f64 (*.f64 x a)) (sinh.f64 (*.f64 x a))) (*.f64 (cosh.f64 (*.f64 (neg.f64 a) x)) (sinh.f64 (*.f64 x a)))))) |
(exp.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (exp.f64 a)) x)) |
(exp.f64 (*.f64 x a)) |
(+.f64 (sinh.f64 (*.f64 x a)) (cosh.f64 (*.f64 (neg.f64 a) x))) |
(+.f64 (cosh.f64 (*.f64 (neg.f64 a) x)) (sinh.f64 (*.f64 x a))) |
(*.f64 (*.f64 #s(literal 1 binary64) x) a) |
(*.f64 (*.f64 #s(literal 1 binary64) a) x) |
(*.f64 (*.f64 x a) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 x a)) |
(*.f64 x a) |
(*.f64 a x) |
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x a)) #s(literal 2 binary64)) |
a |
x |
#s(literal 1 binary64) |
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 (*.f64 x x) x) x) a) #s(literal 1/24 binary64) (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/6 binary64))) a (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a)) |
#s(approx (exp (* a x)) #s(literal 1 binary64)) |
#s(approx (exp (* a x)) (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 1 binary64))) |
#s(approx (exp (* a x)) (fma.f64 (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x) #s(literal 1 binary64) #s(literal 1 binary64))) |
#s(approx (exp (* a x)) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a) #s(literal 1 binary64) #s(literal 1 binary64))) |
#s(approx (* a x) (*.f64 x a)) |
#s(approx a a) |
#s(approx (- (exp (* a x)) 1) (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)))) |
#s(approx (exp (* a x)) (pow.f64 (exp.f64 x) a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 (*.f64 a a) a) a) x) #s(literal 1/24 binary64) (*.f64 (*.f64 (*.f64 a a) a) #s(literal 1/6 binary64))) x (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x)) |
#s(approx (exp (* a x)) (fma.f64 (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x) #s(literal 1 binary64) #s(literal 1 binary64))) |
#s(approx (exp (* a x)) (fma.f64 (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x) #s(literal 1 binary64) #s(literal 1 binary64))) |
#s(approx x x) |
Compiled 865 to 183 computations (78.8% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 52 | 2 | 54 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 53 | 2 | 55 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
| ▶ | 66.3% | #s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
Compiled 17 to 15 computations (11.8% saved)
| Inputs |
|---|
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
(*.f64 x a) |
x |
a |
(expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
(fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)) |
#s(literal 1 binary64) |
#s(literal 0 binary64) |
| Outputs |
|---|
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a x))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3)))))))))) |
#s(approx (* x a) #s(hole binary64 (* a x))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* a x))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2))))))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3)))))))))) |
#s(approx (+ (* (* x a) 1) 0) #s(hole binary64 (* a x))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (- (exp (* a x)) 1))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (- (exp (* a x)) 1))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x)))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3)))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x)))))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3)))))))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | -inf | ((- (exp (* a x)) 1) (* x a) x a (- (exp (+ (* (* x a) 1) 0)) 1) (+ (* (* x a) 1) 0) 1 0) |
| 1.0ms | x | @ | -inf | ((- (exp (* a x)) 1) (* x a) x a (- (exp (+ (* (* x a) 1) 0)) 1) (+ (* (* x a) 1) 0) 1 0) |
| 0.0ms | a | @ | inf | ((- (exp (* a x)) 1) (* x a) x a (- (exp (+ (* (* x a) 1) 0)) 1) (+ (* (* x a) 1) 0) 1 0) |
| 0.0ms | x | @ | inf | ((- (exp (* a x)) 1) (* x a) x a (- (exp (+ (* (* x a) 1) 0)) 1) (+ (* (* x a) 1) 0) 1 0) |
| 0.0ms | a | @ | 0 | ((- (exp (* a x)) 1) (* x a) x a (- (exp (+ (* (* x a) 1) 0)) 1) (+ (* (* x a) 1) 0) 1 0) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 88 | 419 |
| 0 | 94 | 364 |
| 0 | 470 | 340 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
(*.f64 x a) |
x |
a |
(expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
(fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)) |
#s(literal 1 binary64) |
#s(literal 0 binary64) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a x))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3)))))))))) |
#s(approx (* x a) #s(hole binary64 (* a x))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* a x))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2))))))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3)))))))))) |
#s(approx (+ (* (* x a) 1) 0) #s(hole binary64 (* a x))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (- (exp (* a x)) 1))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (- (exp (* a x)) 1))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x)))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))) |
#s(approx (- (exp (* a x)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3)))))))))) |
#s(approx x #s(hole binary64 x)) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x)))))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))) |
#s(approx (- (exp (+ (* (* x a) 1) 0)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3)))))))))) |
| Outputs |
|---|
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
(*.f64 (*.f64 x a) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 x a)) |
(*.f64 x (*.f64 a #s(literal 1 binary64))) |
(*.f64 x a) |
(*.f64 a x) |
(/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x a) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (*.f64 x a) (*.f64 x a) (-.f64 #s(literal 0 binary64) (*.f64 (*.f64 x a) #s(literal 0 binary64))))) |
(fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x a) #s(literal 0 binary64)) |
(fma.f64 x (*.f64 a #s(literal 1 binary64)) #s(literal 0 binary64)) |
(fma.f64 x a #s(literal 0 binary64)) |
(fma.f64 a x #s(literal 0 binary64)) |
(+.f64 (*.f64 x a) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (*.f64 x a)) |
x |
a |
(/.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 a) x) (pow.f64 (exp.f64 a) x)) #s(literal 1 binary64)) (fma.f64 (pow.f64 (exp.f64 a) x) #s(literal 1 binary64) #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (exp.f64 a) x) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (pow.f64 (exp.f64 a) x) (pow.f64 (exp.f64 a) x) (+.f64 #s(literal 1 binary64) (pow.f64 (exp.f64 a) x)))) |
(expm1.f64 (*.f64 x a)) |
(-.f64 (pow.f64 (exp.f64 a) x) #s(literal 1 binary64)) |
(*.f64 (*.f64 x a) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 x a)) |
(*.f64 x (*.f64 a #s(literal 1 binary64))) |
(*.f64 x a) |
(*.f64 a x) |
(/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) |
(/.f64 (+.f64 (pow.f64 (*.f64 x a) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (*.f64 x a) (*.f64 x a) (-.f64 #s(literal 0 binary64) (*.f64 (*.f64 x a) #s(literal 0 binary64))))) |
(fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x a) #s(literal 0 binary64)) |
(fma.f64 x (*.f64 a #s(literal 1 binary64)) #s(literal 0 binary64)) |
(fma.f64 x a #s(literal 0 binary64)) |
(fma.f64 a x #s(literal 0 binary64)) |
(+.f64 (*.f64 x a) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (*.f64 x a)) |
#s(literal 1 binary64) |
#s(literal 0 binary64) |
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 x x) a) #s(literal 1/2 binary64) x) a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) a) #s(literal 1/24 binary64) (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/6 binary64))) a (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a)) |
#s(approx (* x a) (*.f64 x a)) |
#s(approx a a) |
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 x x) a) #s(literal 1/2 binary64) x) a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) a) #s(literal 1/24 binary64) (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/6 binary64))) a (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a)) |
#s(approx (* x a) (*.f64 x a)) |
#s(approx (- (exp (* a x)) 1) (expm1.f64 (*.f64 x a))) |
#s(approx (- (exp (* a x)) 1) (expm1.f64 (*.f64 x a))) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 (pow.f64 a #s(literal 4 binary64)) x) #s(literal 1/24 binary64) (*.f64 (*.f64 (*.f64 a a) a) #s(literal 1/6 binary64))) x (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x)) |
#s(approx x x) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x)) |
#s(approx (- (exp (* a x)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 (pow.f64 a #s(literal 4 binary64)) x) #s(literal 1/24 binary64) (*.f64 (*.f64 (*.f64 a a) a) #s(literal 1/6 binary64))) x (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x)) |
Compiled 683 to 146 computations (78.6% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 51 | 1 | 52 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 0 | 0 |
| Total | 51 | 3 | 54 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 59.5% | (expm1.f64 (fma.f64 (/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) #s(literal 1 binary64) #s(literal 0 binary64))) |
| ✓ | 100.0% | (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
| ✓ | 66.3% | #s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
Compiled 36 to 26 computations (27.8% saved)
| Inputs |
|---|
(expm1.f64 (fma.f64 (/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) #s(literal 1 binary64) #s(literal 0 binary64))) |
(fma.f64 (/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) #s(literal 1 binary64) #s(literal 0 binary64)) |
(/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) |
(-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) |
(*.f64 (*.f64 x a) (*.f64 x a)) |
(*.f64 x a) |
x |
a |
#s(literal 0 binary64) |
(-.f64 (*.f64 x a) #s(literal 0 binary64)) |
#s(literal 1 binary64) |
| Outputs |
|---|
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* a x))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2))))))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3)))))))))) |
#s(approx (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0) #s(hole binary64 (* a x))) |
#s(approx (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) #s(hole binary64 (* a x))) |
#s(approx (- (* (* x a) (* x a)) 0) #s(hole binary64 (* (pow a 2) (pow x 2)))) |
#s(approx (* (* x a) (* x a)) #s(hole binary64 (* (pow a 2) (pow x 2)))) |
#s(approx (* x a) #s(hole binary64 (* a x))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- (* x a) 0) #s(hole binary64 (* a x))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (- (exp (* a x)) 1))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x)))))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3)))))))))) |
#s(approx x #s(hole binary64 x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 19.0ms | a | @ | 0 | ((- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0) (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) (- (* (* x a) (* x a)) 0) (* (* x a) (* x a)) (* x a) x a 0 (- (* x a) 0) 1) |
| 1.0ms | a | @ | inf | ((- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0) (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) (- (* (* x a) (* x a)) 0) (* (* x a) (* x a)) (* x a) x a 0 (- (* x a) 0) 1) |
| 1.0ms | a | @ | -inf | ((- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0) (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) (- (* (* x a) (* x a)) 0) (* (* x a) (* x a)) (* x a) x a 0 (- (* x a) 0) 1) |
| 1.0ms | x | @ | -inf | ((- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0) (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) (- (* (* x a) (* x a)) 0) (* (* x a) (* x a)) (* x a) x a 0 (- (* x a) 0) 1) |
| 1.0ms | x | @ | inf | ((- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0) (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) (- (* (* x a) (* x a)) 0) (* (* x a) (* x a)) (* x a) x a 0 (- (* x a) 0) 1) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 92 | 458 |
| 0 | 107 | 327 |
| 0 | 521 | 313 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(expm1.f64 (fma.f64 (/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) #s(literal 1 binary64) #s(literal 0 binary64))) |
(fma.f64 (/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) #s(literal 1 binary64) #s(literal 0 binary64)) |
(/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) |
(-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) |
(*.f64 (*.f64 x a) (*.f64 x a)) |
(*.f64 x a) |
x |
a |
#s(literal 0 binary64) |
(-.f64 (*.f64 x a) #s(literal 0 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* a x))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* a (+ x (* 1/2 (* a (pow x 2))))))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/6 (* a (pow x 3))) (* 1/2 (pow x 2)))))))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* a (+ x (* a (+ (* 1/2 (pow x 2)) (* a (+ (* 1/24 (* a (pow x 4))) (* 1/6 (pow x 3)))))))))) |
#s(approx (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0) #s(hole binary64 (* a x))) |
#s(approx (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) #s(hole binary64 (* a x))) |
#s(approx (- (* (* x a) (* x a)) 0) #s(hole binary64 (* (pow a 2) (pow x 2)))) |
#s(approx (* (* x a) (* x a)) #s(hole binary64 (* (pow a 2) (pow x 2)))) |
#s(approx (* x a) #s(hole binary64 (* a x))) |
#s(approx a #s(hole binary64 a)) |
#s(approx (- (* x a) 0) #s(hole binary64 (* a x))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (- (exp (* a x)) 1))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* x (+ a (* 1/2 (* (pow a 2) x)))))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/6 (* (pow a 3) x)) (* 1/2 (pow a 2)))))))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) #s(hole binary64 (* x (+ a (* x (+ (* 1/2 (pow a 2)) (* x (+ (* 1/24 (* (pow a 4) x)) (* 1/6 (pow a 3)))))))))) |
#s(approx x #s(hole binary64 x)) |
| Outputs |
|---|
(/.f64 (-.f64 (*.f64 (exp.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) (exp.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)))) #s(literal 1 binary64)) (fma.f64 (exp.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) #s(literal 1 binary64) #s(literal 1 binary64))) |
(/.f64 (-.f64 (pow.f64 (exp.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) #s(literal 3 binary64)) #s(literal 1 binary64)) (fma.f64 (exp.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) (exp.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) (+.f64 #s(literal 1 binary64) (exp.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)))))) |
(expm1.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) |
(-.f64 (exp.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) #s(literal 1 binary64)) |
(*.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) |
(/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) |
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) #s(literal 0 binary64)) (-.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 0 binary64))) |
(/.f64 (+.f64 (pow.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 3 binary64)) #s(literal 0 binary64)) (+.f64 (*.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) (-.f64 #s(literal 0 binary64) (*.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 0 binary64))))) |
(/.f64 (neg.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64))) (neg.f64 (*.f64 a x))) |
(/.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (*.f64 a x)) |
(fma.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 1 binary64) #s(literal 0 binary64)) |
(fma.f64 #s(literal 1 binary64) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 0 binary64)) |
(-.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) (/.f64 #s(literal 0 binary64) (*.f64 a x))) |
(+.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) |
(*.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) |
(/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) |
(/.f64 (-.f64 (*.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) #s(literal 0 binary64)) (-.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 0 binary64))) |
(/.f64 (+.f64 (pow.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 3 binary64)) #s(literal 0 binary64)) (+.f64 (*.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) (-.f64 #s(literal 0 binary64) (*.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 0 binary64))))) |
(/.f64 (neg.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64))) (neg.f64 (*.f64 a x))) |
(/.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (*.f64 a x)) |
(fma.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 1 binary64) #s(literal 0 binary64)) |
(fma.f64 #s(literal 1 binary64) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 0 binary64)) |
(-.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) (/.f64 #s(literal 0 binary64) (*.f64 a x))) |
(+.f64 (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x)) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (/.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 1 binary64)) (*.f64 a x))) |
(*.f64 (*.f64 (*.f64 a x) x) a) |
(*.f64 (neg.f64 (*.f64 a x)) (neg.f64 (*.f64 a x))) |
(*.f64 (fabs.f64 (*.f64 a x)) (fabs.f64 (*.f64 a x))) |
(*.f64 (*.f64 a a) (*.f64 x x)) |
(*.f64 (*.f64 x x) (*.f64 a a)) |
(*.f64 (*.f64 a x) (*.f64 a x)) |
(*.f64 x (*.f64 a (*.f64 a x))) |
(pow.f64 (*.f64 a x) #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (pow.f64 (*.f64 a x) #s(literal 2 binary64))) #s(literal 0 binary64)) (fma.f64 (*.f64 a a) (*.f64 x x) #s(literal 0 binary64))) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (+.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 0 binary64))))) |
(-.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(*.f64 (*.f64 (*.f64 a x) x) a) |
(*.f64 (neg.f64 (*.f64 a x)) (neg.f64 (*.f64 a x))) |
(*.f64 (fabs.f64 (*.f64 a x)) (fabs.f64 (*.f64 a x))) |
(*.f64 (*.f64 a a) (*.f64 x x)) |
(*.f64 (*.f64 x x) (*.f64 a a)) |
(*.f64 (*.f64 a x) (*.f64 a x)) |
(*.f64 x (*.f64 a (*.f64 a x))) |
(pow.f64 (*.f64 a x) #s(literal 2 binary64)) |
(/.f64 (-.f64 (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (pow.f64 (*.f64 a x) #s(literal 2 binary64))) #s(literal 0 binary64)) (fma.f64 (*.f64 a a) (*.f64 x x) #s(literal 0 binary64))) |
(/.f64 (-.f64 (pow.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (+.f64 #s(literal 0 binary64) (*.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 0 binary64))))) |
(-.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) #s(literal 0 binary64)) |
(*.f64 a x) |
(*.f64 x a) |
(/.f64 (-.f64 (pow.f64 (*.f64 a x) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (*.f64 (*.f64 a x) x) a (+.f64 #s(literal 0 binary64) (*.f64 (*.f64 a x) #s(literal 0 binary64))))) |
(/.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (fma.f64 a x #s(literal 0 binary64))) |
(-.f64 (*.f64 a x) #s(literal 0 binary64)) |
x |
a |
#s(literal 0 binary64) |
(*.f64 a x) |
(*.f64 x a) |
(/.f64 (-.f64 (pow.f64 (*.f64 a x) #s(literal 3 binary64)) #s(literal 0 binary64)) (fma.f64 (*.f64 (*.f64 a x) x) a (+.f64 #s(literal 0 binary64) (*.f64 (*.f64 a x) #s(literal 0 binary64))))) |
(/.f64 (pow.f64 (*.f64 a x) #s(literal 2 binary64)) (fma.f64 a x #s(literal 0 binary64))) |
(-.f64 (*.f64 a x) #s(literal 0 binary64)) |
#s(literal 1 binary64) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (*.f64 a x)) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 x x) a) #s(literal 1/2 binary64) x) a)) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) a) #s(literal 1/6 binary64) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a)) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) a) #s(literal 1/24 binary64) (*.f64 (*.f64 (*.f64 x x) x) #s(literal 1/6 binary64))) a (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) a x) a)) |
#s(approx (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) (*.f64 a x)) |
#s(approx (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) (*.f64 a x)) |
#s(approx (- (* (* x a) (* x a)) 0) (pow.f64 (*.f64 a x) #s(literal 2 binary64))) |
#s(approx (- (* (* x a) (* x a)) 0) (pow.f64 (*.f64 a x) #s(literal 2 binary64))) |
#s(approx (- (* x a) 0) (*.f64 a x)) |
#s(approx a a) |
#s(approx (- (* x a) 0) (*.f64 a x)) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (expm1.f64 (*.f64 a x))) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (*.f64 (fma.f64 (*.f64 (*.f64 a a) x) #s(literal 1/2 binary64) a) x)) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (*.f64 (fma.f64 (fma.f64 (*.f64 (*.f64 (*.f64 a a) a) x) #s(literal 1/6 binary64) (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x)) |
#s(approx (- (exp (+ (* (/ (- (* (* x a) (* x a)) 0) (- (* x a) 0)) 1) 0)) 1) (*.f64 (fma.f64 (fma.f64 (fma.f64 (*.f64 (pow.f64 a #s(literal 4 binary64)) x) #s(literal 1/24 binary64) (*.f64 (*.f64 (*.f64 a a) a) #s(literal 1/6 binary64))) x (*.f64 (*.f64 a a) #s(literal 1/2 binary64))) x a) x)) |
#s(approx x x) |
Compiled 1 692 to 291 computations (82.8% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 71 | 0 | 71 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 71 | 3 | 74 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 59.5% | (expm1.f64 (fma.f64 (/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) #s(literal 1 binary64) #s(literal 0 binary64))) |
| ✓ | 100.0% | (expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
| ✓ | 66.3% | #s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
Compiled 78 to 47 computations (39.7% saved)
| Inputs |
|---|
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
(expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
(expm1.f64 (fma.f64 (/.f64 (-.f64 (*.f64 (*.f64 x a) (*.f64 x a)) #s(literal 0 binary64)) (-.f64 (*.f64 x a) #s(literal 0 binary64))) #s(literal 1 binary64) #s(literal 0 binary64))) |
(-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
| Outputs |
|---|
(expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
5 calls:
| 2.0ms | x |
| 2.0ms | a |
| 2.0ms | (*.f64 a x) |
| 1.0ms | (-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
| 1.0ms | (exp.f64 (*.f64 a x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 a x) |
| 100.0% | 1 | (exp.f64 (*.f64 a x)) |
| 100.0% | 1 | (-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
| 100.0% | 1 | a |
| 100.0% | 1 | x |
Compiled 15 to 17 computations (-13.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
| Outputs |
|---|
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
5 calls:
| 1.0ms | a |
| 1.0ms | x |
| 1.0ms | (*.f64 a x) |
| 1.0ms | (-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
| 1.0ms | (exp.f64 (*.f64 a x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 66.3% | 1 | (*.f64 a x) |
| 66.3% | 1 | (exp.f64 (*.f64 a x)) |
| 66.3% | 1 | (-.f64 (exp.f64 (*.f64 a x)) #s(literal 1 binary64)) |
| 66.3% | 1 | a |
| 66.3% | 1 | x |
Compiled 15 to 17 computations (-13.3% saved)
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 17 |
| 1 | 18 | 17 |
| 2 | 36 | 17 |
| 3 | 88 | 17 |
| 4 | 307 | 17 |
| 5 | 2578 | 17 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
| Outputs |
|---|
(expm1.f64 (fma.f64 (*.f64 x a) #s(literal 1 binary64) #s(literal 0 binary64))) |
#s(approx (- (exp (* a x)) 1) (*.f64 x a)) |
| 1× | done |
Compiled 17 to 12 computations (29.4% saved)
(sort a x)
Compiled 60 to 50 computations (16.7% saved)
Loading profile data...