
Time bar (total: 7.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 888× | 2 | valid |
| 956.0ms | 4 804× | 1 | valid |
| 888.0ms | 7 927× | 0 | exit |
| 36.0ms | 564× | 0 | valid |
ival-exp: 1.8s (70.1% of total)adjust: 184.0ms (7.4% of total)ival-div: 182.0ms (7.3% of total)ival-sub: 147.0ms (5.9% of total)ival-add: 140.0ms (5.6% of total)ival-neg: 76.0ms (3% of total)ival-true: 13.0ms (0.5% of total)ival-assert: 7.0ms (0.3% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 251 | 0 | - | 0 | - | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 3 | 0 | - | 0 | - | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| 0 | 0 | - | 0 | - | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0 | 0 | - | 0 | - | (exp.f64 x) |
| 0 | 0 | - | 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 | 251 | 0 |
/.f64 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) | o/o | 3 | 0 |
| ↳ | (exp.f64 x) | overflow | 1 | |
| ↳ | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | overflow | 3 | |
| ↳ | (exp.f64 (neg.f64 x)) | overflow | 2 | |
| ↳ | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | overflow | 3 | |
| ↳ | (exp.f64 x) | overflow | 1 | |
| ↳ | (exp.f64 (neg.f64 x)) | overflow | 2 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 254 | 0 |
| - | 0 | 2 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 254 | 0 | 0 |
| - | 0 | 0 | 2 |
| number | freq |
|---|---|
| 0 | 2 |
| 1 | 254 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 82.0ms | 202× | 2 | valid |
| 53.0ms | 286× | 1 | valid |
| 2.0ms | 24× | 0 | valid |
Compiled 83 to 25 computations (69.9% saved)
ival-exp: 75.0ms (67.6% of total)adjust: 12.0ms (10.8% of total)ival-div: 8.0ms (7.2% of total)ival-add: 8.0ms (7.2% of total)ival-sub: 6.0ms (5.4% of total)ival-neg: 3.0ms (2.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 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 |
|---|---|---|
| ▶ | 8.6% | (/.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 | (exp.f64 x) | |
| accuracy | 0.00390625 | (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) | |
| accuracy | 0.7343832531524757 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) | |
| accuracy | 57.77461652084721 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 45.0ms | 101× | 2 | valid |
| 25.0ms | 143× | 1 | valid |
| 1.0ms | 12× | 0 | valid |
Compiled 35 to 9 computations (74.3% saved)
ival-exp: 41.0ms (69.8% of total)adjust: 6.0ms (10.2% of total)ival-div: 4.0ms (6.8% of total)ival-sub: 4.0ms (6.8% of total)ival-add: 3.0ms (5.1% of total)ival-neg: 1.0ms (1.7% of total)ival-assert: 0.0ms (0% of total)ival-true: 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 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (patch (+.f64 (exp.f64 x) (exp.f64 (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 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 (+ 2 (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 (+ 2 (* (pow x 2) (+ 1 (* 1/12 (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 (+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (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 (/ (- (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 (+ (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) (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 (+ (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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((/ (- (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)))) |
| 1.0ms | x | @ | inf | ((/ (- (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)))) |
| 1.0ms | x | @ | -inf | ((/ (- (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)))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 90 | 425 |
| 1 | 259 | 424 |
| 2 | 604 | 414 |
| 3 | 1672 | 414 |
| 4 | 2645 | 414 |
| 5 | 4176 | 414 |
| 6 | 4889 | 414 |
| 7 | 6516 | 414 |
| 0 | 8145 | 386 |
| 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))) |
2 |
(+ 2 (pow x 2)) |
(+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2))))) |
(+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2))))))) |
(/ (- (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)) |
(+ (exp x) (exp (neg x))) |
(+ (exp x) (exp (neg x))) |
(+ (exp x) (exp (neg x))) |
(+ (exp x) (exp (neg 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)) |
(+ (exp x) (exp (* -1 x))) |
(+ (exp x) (exp (* -1 x))) |
(+ (exp x) (exp (* -1 x))) |
(+ (exp x) (exp (* -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)) |
2 |
#s(literal 2 binary64) |
(+ 2 (pow x 2)) |
(fma.f64 x x #s(literal 2 binary64)) |
(+ 2 (* (pow x 2) (+ 1 (* 1/12 (pow x 2))))) |
(fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/12 binary64) x) x #s(literal 2 binary64)) |
(+ 2 (* (pow x 2) (+ 1 (* (pow x 2) (+ 1/12 (* 1/360 (pow x 2))))))) |
(fma.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 1/360 binary64) (fma.f64 (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/12 binary64) x) x #s(literal 2 binary64))) |
(/ (- (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)) |
(+ (exp x) (exp (neg x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (neg x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (neg x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (neg 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))) (+ (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)) |
(+ (exp x) (exp (* -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (* -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (* -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
(+ (exp x) (exp (* -1 x))) |
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 30 |
| 0 | 13 | 15 |
| 1 | 55 | 15 |
| 2 | 424 | 15 |
| 3 | 7080 | 15 |
| 0 | 8062 | 15 |
| 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)) |
(+.f64 (exp.f64 x) (exp.f64 (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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 17 243 to 1 765 computations (89.8% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 744 | 3 | 747 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 745 | 3 | 748 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 98.8% | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ▶ | 100.0% | (tanh.f64 x) |
| ▶ | 98.4% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
Compiled 14 to 12 computations (14.3% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (cosh.f64 x) | |
| cost-diff | 0 | (sinh.f64 x) | |
| cost-diff | 7104 | (/.f64 (sinh.f64 x) (cosh.f64 x)) | |
| cost-diff | 0 | (tanh.f64 x) | |
| cost-diff | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| cost-diff | 0 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 45 |
| 0 | 23 | 31 |
| 1 | 54 | 31 |
| 2 | 103 | 31 |
| 3 | 168 | 31 |
| 4 | 326 | 31 |
| 5 | 751 | 31 |
| 6 | 2203 | 31 |
| 7 | 4611 | 31 |
| 0 | 8146 | 31 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
#s(literal -1/3 binary64) |
(tanh.f64 x) |
x |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(sinh.f64 x) |
x |
(cosh.f64 x) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3 binary64)) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(fma.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3 binary64)) x) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
#s(literal -1/3 binary64) |
(tanh.f64 x) |
x |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(tanh.f64 x) |
(sinh.f64 x) |
x |
(cosh.f64 x) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (cosh.f64 x) | |
| accuracy | 0.00390625 | (sinh.f64 x) | |
| accuracy | 0.7343832531524757 | (/.f64 (sinh.f64 x) (cosh.f64 x)) | |
| accuracy | 0.01171875 | (tanh.f64 x) | |
| accuracy | 0 | (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) | |
| accuracy | 0 | (pow.f64 x #s(literal 3 binary64)) | |
| accuracy | 1.0097682273362625 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
| 96.0ms | 101× | 2 | valid |
| 53.0ms | 143× | 1 | valid |
| 2.0ms | 12× | 0 | valid |
Compiled 41 to 18 computations (56.1% saved)
ival-exp: 50.0ms (46.6% of total)ival-add: 21.0ms (19.6% of total)adjust: 12.0ms (11.2% of total)ival-div: 6.0ms (5.6% of total)const: 4.0ms (3.7% of total)ival-sub: 3.0ms (2.8% of total)ival-pow: 3.0ms (2.8% of total)ival-cosh: 2.0ms (1.9% of total)ival-mult: 2.0ms (1.9% of total)ival-tanh: 1.0ms (0.9% of total)ival-sinh: 1.0ms (0.9% of total)ival-neg: 1.0ms (0.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ()) |
#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ()) |
#s(alt (tanh.f64 x) (patch (tanh.f64 x) #<representation binary64>) () ()) |
#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ()) |
#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ()) |
#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) 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 #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#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 x (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.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 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* 1/6 (pow x 2)))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) (taylor 0 x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 (pow x 2))) (taylor 0 x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) (taylor 0 x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) (taylor 0 x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<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 (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) (patch (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (pow.f64 x #s(literal 3 binary64)) (patch (pow.f64 x #s(literal 3 binary64)) #<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 (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (/ 1 (exp x))) (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (/.f64 (sinh.f64 x) (cosh.f64 x)) (patch (/.f64 (sinh.f64 x) (cosh.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (- (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (sinh.f64 x) (patch (sinh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (+ (exp x) (/ 1 (exp x)))) (taylor -inf x) (#s(alt (cosh.f64 x) (patch (cosh.f64 x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 5.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x)) |
| 4.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x)) |
| 2.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (pow x 3) -1/3) x) (pow x 3) (tanh x) (/ (sinh x) (cosh x)) (sinh x) (cosh x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 792 |
| 1 | 234 | 750 |
| 2 | 589 | 750 |
| 3 | 1668 | 750 |
| 4 | 3191 | 750 |
| 5 | 6186 | 750 |
| 0 | 9246 | 711 |
| 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)))) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
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)))) |
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)))) |
x |
(* x (+ 1 (* 1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) |
1 |
(+ 1 (* 1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(/ (- (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)))) |
(* -1/3 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 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)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp 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)))) |
(* -1/3 (pow x 3)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 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)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(* 1/2 (+ (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 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) |
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 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
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) |
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) |
x |
(* x (+ 1 (* 1/6 (pow x 2)))) |
(fma.f64 #s(literal 1/6 binary64) (pow.f64 x #s(literal 3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* 1/120 (pow x 2)))))) |
(fma.f64 (fma.f64 #s(literal 1/120 binary64) (*.f64 x x) #s(literal 1/6 binary64)) (pow.f64 x #s(literal 3 binary64)) x) |
(* x (+ 1 (* (pow x 2) (+ 1/6 (* (pow x 2) (+ 1/120 (* 1/5040 (pow x 2)))))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/5040 binary64) (*.f64 x x) #s(literal 1/120 binary64)) (*.f64 x x) #s(literal 1/6 binary64)) (pow.f64 x #s(literal 3 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 (pow x 2))) |
(fma.f64 #s(literal 1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* 1/24 (pow x 2))))) |
(fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (+ 1/2 (* (pow x 2) (+ 1/24 (* 1/720 (pow x 2))))))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal 1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(/ (- (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))) |
(* -1/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(/ (- (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))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (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))) (+ (exp x) (exp (* -1 x)))) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(* -1/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(/ (- (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))) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (- (exp x) (/ 1 (exp x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) #s(literal 1/2 binary64)) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
(* 1/2 (+ (exp x) (/ 1 (exp x)))) |
(fma.f64 (exp.f64 x) #s(literal 1/2 binary64) (/.f64 #s(literal 1/2 binary64) (exp.f64 x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 40 |
| 0 | 23 | 26 |
| 1 | 103 | 26 |
| 2 | 713 | 26 |
| 0 | 8937 | 26 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow.f64 x #s(literal 3 binary64)) |
(tanh.f64 x) |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(sinh.f64 x) |
(cosh.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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 19 857 to 1 356 computations (93.2% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 912 | 1 | 913 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 0 | 0 |
| Total | 913 | 3 | 916 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.8% | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ✓ | 100.0% | (tanh.f64 x) |
| ▶ | 98.4% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
Compiled 16 to 12 computations (25% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -5824 | (*.f64 (*.f64 x x) x) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) | |
| cost-diff | 0 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 40 |
| 0 | 16 | 40 |
| 1 | 33 | 34 |
| 2 | 61 | 34 |
| 3 | 90 | 34 |
| 4 | 147 | 34 |
| 5 | 309 | 34 |
| 6 | 522 | 34 |
| 7 | 818 | 34 |
| 8 | 1218 | 34 |
| 9 | 2292 | 34 |
| 10 | 4523 | 34 |
| 11 | 6020 | 34 |
| 0 | 8010 | 34 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
(fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) |
(*.f64 (*.f64 x x) x) |
(*.f64 x x) |
x |
#s(literal -1/3 binary64) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3 binary64)) x)) |
(fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) |
(fma.f64 #s(literal -1/3 binary64) (pow.f64 x #s(literal 3 binary64)) x) |
(*.f64 (*.f64 x x) x) |
(pow.f64 x #s(literal 3 binary64)) |
(*.f64 x x) |
x |
#s(literal -1/3 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.06640625 | (*.f64 (*.f64 x x) x) | |
| accuracy | 1.0097682273362625 | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
| 79.0ms | 143× | 1 | valid |
| 46.0ms | 101× | 2 | valid |
| 1.0ms | 12× | 0 | valid |
Compiled 34 to 14 computations (58.8% saved)
ival-exp: 79.0ms (68.7% of total)adjust: 10.0ms (8.7% of total)ival-mult: 9.0ms (7.8% of total)ival-add: 5.0ms (4.4% of total)ival-div: 4.0ms (3.5% of total)const: 4.0ms (3.5% of total)ival-sub: 3.0ms (2.6% of total)ival-neg: 1.0ms (0.9% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* (pow x 2) (- (* 2/15 (pow x 2)) 1/3)))) (taylor 0 x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) 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 #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1/3 (pow x 2)))) (taylor 0 x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (taylor inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) (taylor inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- (exp x) (exp (* -1 x))) (+ (exp x) (exp (* -1 x)))) (taylor -inf x) (#s(alt #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) (patch #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1/3 (pow x 3)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) (patch (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) x) (patch (*.f64 (*.f64 x x) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (* x x) x) -1/3) x) (* x x) (* (* x x) x)) |
| 1.0ms | x | @ | inf | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (* x x) x) -1/3) x) (* x x) (* (* x x) x)) |
| 1.0ms | x | @ | 0 | ((/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (+ (* (* (* x x) x) -1/3) x) (* x x) (* (* x x) x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 44 | 314 |
| 1 | 113 | 290 |
| 2 | 260 | 290 |
| 3 | 788 | 290 |
| 4 | 2025 | 290 |
| 5 | 4578 | 290 |
| 0 | 8137 | 275 |
| 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)))) |
x |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(/ (- (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)))) |
(* -1/3 (pow x 3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(/ (- (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)))) |
(* -1/3 (pow x 3)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
| 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 5 binary64)) (fma.f64 #s(literal -17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
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 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* x (+ 1 (* -1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(/ (- (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))) |
(* -1/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* (pow x 3) (- (/ 1 (pow x 2)) 1/3)) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(/ (- (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))) |
(* -1/3 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64)) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(* -1 (* (pow x 3) (- 1/3 (/ 1 (pow x 2))))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 38 |
| 0 | 16 | 21 |
| 1 | 75 | 21 |
| 2 | 588 | 21 |
| 0 | 8555 | 21 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
(fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x) |
(*.f64 x x) |
(*.f64 (*.f64 x x) 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> |
Compiled 2 518 to 360 computations (85.7% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 133 | 0 | 133 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 133 | 3 | 136 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 98.8% | (/.f64 (sinh.f64 x) (cosh.f64 x)) |
| ✓ | 100.0% | (tanh.f64 x) |
| ✓ | 98.4% | #s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
Compiled 52 to 32 computations (38.5% saved)
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
(tanh.f64 x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/3 binary64) x)) |
(/.f64 (sinh.f64 x) (cosh.f64 x)) |
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Outputs |
|---|
(tanh.f64 x) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 14 to 8 computations (42.9% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
| Outputs |
|---|
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.4% | 1 | x |
| 98.4% | 1 | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
Compiled 14 to 8 computations (42.9% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 24 |
| 1 | 14 | 24 |
| 1× | saturated |
| Inputs |
|---|
(tanh.f64 x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
| Outputs |
|---|
(tanh.f64 x) |
#s(approx (/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x)))) (fma.f64 (*.f64 (*.f64 x x) x) #s(literal -1/3 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 30 |
| 0 | 13 | 15 |
| 1 | 55 | 15 |
| 2 | 424 | 15 |
| 3 | 7080 | 15 |
| 0 | 8062 | 15 |
| 0 | 16 | 40 |
| 0 | 23 | 26 |
| 1 | 103 | 26 |
| 2 | 713 | 26 |
| 0 | 8937 | 26 |
| 0 | 90 | 425 |
| 1 | 259 | 424 |
| 2 | 604 | 414 |
| 3 | 1672 | 414 |
| 4 | 2645 | 414 |
| 5 | 4176 | 414 |
| 6 | 4889 | 414 |
| 7 | 6516 | 414 |
| 0 | 8145 | 386 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 39 to 26 computations (33.3% saved)
(negabs x)
Compiled 52 to 32 computations (38.5% saved)
Loading profile data...