
Time bar (total: 5.0s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 15 to 9 computations (40% saved)
| 1.3s | 2 780× | 2 | valid |
| 885.0ms | 4 645× | 1 | valid |
| 609.0ms | 7 492× | 0 | exit |
| 43.0ms | 579× | 0 | valid |
ival-exp: 1.5s (65.5% of total)ival-div: 199.0ms (8.8% of total)adjust: 184.0ms (8.1% of total)ival-sub: 147.0ms (6.5% of total)ival-add: 123.0ms (5.4% of total)ival-neg: 106.0ms (4.7% of total)ival-true: 14.0ms (0.6% of total)ival-assert: 7.0ms (0.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 3 | 0 | - | 0 | - | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0 | 0 | - | 0 | - | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0 | 0 | - | 0 | - | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0 | 0 | - | 0 | - | (exp.f64 x) |
| 0 | 1 | (574.16931023239) | 0 | - | (exp.f64 (neg.f64 x)) |
| 0 | 0 | - | 0 | - | (neg.f64 x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
-.f64 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | cancellation | 3 | 0 |
exp.f64 | (exp.f64 (neg.f64 x)) | sensitivity | 1 | 0 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 3 | 0 |
| - | 1 | 0 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 3 | 0 | 0 |
| - | 1 | 0 | 0 |
| number | freq |
|---|---|
| 1 | 4 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 1.0ms | 6× | 1 | valid |
| 0.0ms | 2× | 0 | valid |
Compiled 116 to 32 computations (72.4% saved)
ival-div: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-exp: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-sub: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)ival-neg: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 1 | 32 | 27 |
| 2 | 80 | 26 |
| 3 | 199 | 26 |
| 4 | 468 | 26 |
| 5 | 1130 | 26 |
| 6 | 1547 | 26 |
| 7 | 1585 | 26 |
| 8 | 1604 | 26 |
| 9 | 1623 | 26 |
| 10 | 1657 | 26 |
| 11 | 1669 | 26 |
| 0 | 7 | 13 |
| 0 | 13 | 13 |
| 1 | 25 | 13 |
| 2 | 42 | 13 |
| 3 | 67 | 13 |
| 4 | 122 | 13 |
| 5 | 276 | 13 |
| 6 | 462 | 13 |
| 7 | 682 | 13 |
| 8 | 905 | 13 |
| 9 | 1058 | 13 |
| 10 | 1186 | 13 |
| 11 | 1233 | 13 |
| 0 | 1233 | 13 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(negabs x)
Compiled 13 to 7 computations (46.2% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 27.9% | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 13 to 7 computations (46.2% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (exp.f64 (neg.f64 x)) | |
| cost-diff | 0 | (exp.f64 x) | |
| cost-diff | 0 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | |
| cost-diff | 0 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 33 |
| 0 | 13 | 33 |
| 1 | 25 | 33 |
| 2 | 42 | 33 |
| 3 | 67 | 33 |
| 4 | 122 | 33 |
| 5 | 276 | 33 |
| 6 | 462 | 33 |
| 7 | 682 | 33 |
| 8 | 905 | 33 |
| 9 | 1058 | 33 |
| 10 | 1186 | 33 |
| 11 | 1233 | 33 |
| 0 | 1233 | 33 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp.f64 x) |
x |
(exp.f64 (neg.f64 x)) |
(neg.f64 x) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp.f64 x) |
x |
(exp.f64 (neg.f64 x)) |
(neg.f64 x) |
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (neg.f64 x) | |
| accuracy | 0 | (exp.f64 (neg.f64 x)) | |
| accuracy | 0 | (exp.f64 x) | |
| accuracy | 46.140319582840846 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 1.0ms | 3× | 1 | valid |
| 0.0ms | 1× | 0 | valid |
Compiled 68 to 16 computations (76.5% saved)
ival-div: 0.0ms (0% of total)adjust: 0.0ms (0% of total)ival-add: 0.0ms (0% of total)ival-exp: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-sub: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)ival-neg: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ()) |
#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ()) |
#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ()) |
#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ()) |
#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* 1/3 (pow x 2)))) (taylor 0 x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2)))))) (taylor 0 x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2)))))))) (taylor 0 x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 x) (taylor 0 x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) (taylor 0 x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (- (* 1/2 x) 1))) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1))) (taylor 0 x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor 0 x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (neg x))) (taylor inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (neg x))) (taylor inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (neg x))) (taylor inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (neg x))) (taylor inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp (neg x)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (neg x)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (neg x)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (neg x)) (taylor inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) (patch (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (* -1 x))) (taylor -inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (* -1 x))) (taylor -inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (* -1 x))) (taylor -inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (exp x) (exp (* -1 x))) (taylor -inf x) (#s(alt (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor -inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor -inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor -inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp x) (taylor -inf x) (#s(alt (exp.f64 x) (patch (exp.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (exp (* -1 x)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (* -1 x)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (* -1 x)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (exp (* -1 x)) (taylor -inf x) (#s(alt (exp.f64 (neg.f64 x)) (patch (exp.f64 (neg.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (neg.f64 x) (patch (neg.f64 x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (- (exp x) (exp (neg x))) (exp x) (exp (neg x)) (neg x)) |
| 1.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (- (exp x) (exp (neg x))) (exp x) (exp (neg x)) (neg x)) |
| 1.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (- (exp x) (exp (neg x))) (exp x) (exp (neg x)) (neg x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 77 | 363 |
| 1 | 220 | 362 |
| 2 | 490 | 356 |
| 3 | 1296 | 356 |
| 4 | 2173 | 356 |
| 5 | 3648 | 356 |
| 6 | 4347 | 356 |
| 7 | 5852 | 356 |
| 8 | 7977 | 356 |
| 0 | 8013 | 334 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(* 2 x) |
(* x (+ 2 (* 1/3 (pow x 2)))) |
(* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2)))))) |
(* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2)))))))) |
1 |
(+ 1 x) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
1 |
(+ 1 (* -1 x)) |
(+ 1 (* x (- (* 1/2 x) 1))) |
(+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1))) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(- (exp x) (exp (neg x))) |
(- (exp x) (exp (neg x))) |
(- (exp x) (exp (neg x))) |
(- (exp x) (exp (neg x))) |
(exp x) |
(exp x) |
(exp x) |
(exp x) |
(exp (neg x)) |
(exp (neg x)) |
(exp (neg x)) |
(exp (neg x)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(- (exp x) (exp (* -1 x))) |
(- (exp x) (exp (* -1 x))) |
(- (exp x) (exp (* -1 x))) |
(- (exp x) (exp (* -1 x))) |
(exp x) |
(exp x) |
(exp x) |
(exp x) |
(exp (* -1 x)) |
(exp (* -1 x)) |
(exp (* -1 x)) |
(exp (* -1 x)) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
(* -1 x) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 2/15 binary64) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (*.f64 x x) #s(literal -1/3 binary64)) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (+ 2 (* 1/3 (pow x 2)))) |
(*.f64 (fma.f64 #s(literal 1/3 binary64) (*.f64 x x) #s(literal 2 binary64)) x) |
(* x (+ 2 (* (pow x 2) (+ 1/3 (* 1/60 (pow x 2)))))) |
(*.f64 (fma.f64 (fma.f64 #s(literal 1/60 binary64) (*.f64 x x) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 2 binary64)) x) |
(* x (+ 2 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 1/60 (* 1/2520 (pow x 2)))))))) |
(*.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/2520 binary64) (*.f64 x x) #s(literal 1/60 binary64)) (*.f64 x x) #s(literal 1/3 binary64)) (*.f64 x x) #s(literal 2 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 x) |
(-.f64 x #s(literal -1 binary64)) |
(+ 1 (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (+ 1 (* x (+ 1/2 (* 1/6 x)))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x #s(literal 1 binary64)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
(+ 1 (* x (- (* 1/2 x) 1))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal -1 binary64)) x #s(literal 1 binary64)) |
(+ 1 (* x (- (* x (+ 1/2 (* -1/6 x))) 1))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/6 binary64) x #s(literal 1/2 binary64)) x #s(literal -1 binary64)) x #s(literal 1 binary64)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(- (exp x) (exp (neg x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (neg x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (neg x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (neg x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp (neg x)) |
(exp.f64 (neg.f64 x)) |
(exp (neg x)) |
(exp.f64 (neg.f64 x)) |
(exp (neg x)) |
(exp.f64 (neg.f64 x)) |
(exp (neg x)) |
(exp.f64 (neg.f64 x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(- (exp x) (exp (* -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (* -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (* -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(- (exp x) (exp (* -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp x) |
(exp.f64 x) |
(exp (* -1 x)) |
(exp.f64 (neg.f64 x)) |
(exp (* -1 x)) |
(exp.f64 (neg.f64 x)) |
(exp (* -1 x)) |
(exp.f64 (neg.f64 x)) |
(exp (* -1 x)) |
(exp.f64 (neg.f64 x)) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
(* -1 x) |
(neg.f64 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 26 |
| 0 | 13 | 13 |
| 1 | 55 | 13 |
| 2 | 424 | 13 |
| 3 | 7080 | 13 |
| 0 | 8062 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(exp.f64 x) |
(exp.f64 (neg.f64 x)) |
(neg.f64 x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 14 612 to 1 569 computations (89.3% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 673 | 1 | 674 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 674 | 1 | 675 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (tanh.f64 x) |
Compiled 2 to 2 computations (0% saved)
| 1× | egg-herbie |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (tanh.f64 x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 2 | 3 |
| 0 | 3 | 3 |
| 1 | 22 | 3 |
| 2 | 52 | 3 |
| 3 | 77 | 3 |
| 4 | 126 | 3 |
| 5 | 218 | 3 |
| 6 | 442 | 3 |
| 7 | 793 | 3 |
| 8 | 1441 | 3 |
| 9 | 3931 | 3 |
| 10 | 6887 | 3 |
| 0 | 8050 | 3 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(tanh.f64 x) |
x |
| Outputs |
|---|
(tanh.f64 x) |
x |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (tanh.f64 x) |
| 2.0ms | 4× | 0 | valid |
Compiled 8 to 6 computations (25% saved)
ival-true: 0.0ms (0% of total)ival-tanh: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) (taylor 0 x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((tanh x)) |
| 1.0ms | x | @ | -inf | ((tanh x)) |
| 0.0ms | x | @ | 0 | ((tanh x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 150 |
| 1 | 74 | 150 |
| 2 | 165 | 144 |
| 3 | 460 | 144 |
| 4 | 948 | 144 |
| 5 | 1536 | 144 |
| 6 | 1900 | 144 |
| 7 | 2634 | 144 |
| 8 | 3715 | 144 |
| 9 | 4807 | 144 |
| 10 | 5959 | 144 |
| 11 | 6900 | 144 |
| 12 | 7007 | 144 |
| 13 | 7028 | 144 |
| 14 | 7028 | 144 |
| 15 | 7099 | 144 |
| 16 | 7108 | 144 |
| 17 | 7108 | 144 |
| 18 | 7108 | 144 |
| 19 | 7606 | 144 |
| 20 | 7822 | 144 |
| 21 | 7822 | 144 |
| 22 | 7822 | 144 |
| 23 | 7822 | 144 |
| 24 | 7822 | 144 |
| 25 | 7822 | 144 |
| 26 | 7848 | 144 |
| 0 | 7848 | 138 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
| Outputs |
|---|
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 2/15 binary64) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 2/15 (* -17/315 (pow x 2)))) 1/3)))) |
(fma.f64 (pow.f64 x #s(literal 7 binary64)) #s(literal -17/315 binary64) (fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 2/15 binary64) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 2 | 2 |
| 0 | 3 | 2 |
| 1 | 22 | 2 |
| 2 | 122 | 2 |
| 3 | 997 | 2 |
| 0 | 9128 | 2 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(tanh.f64 x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 12 878 to 1 076 computations (91.6% saved)
1 alts after pruning (0 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 461 | 0 | 461 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 461 | 1 | 462 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (tanh.f64 x) |
Compiled 17 to 10 computations (41.2% saved)
Compiled 13 to 7 computations (46.2% saved)
1 calls:
| 0.0ms | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Loading profile data...