
Time bar (total: 4.9s)
| 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 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 0% | 0% | 50% | 0% | 0% | 50% | 0% | 3 |
| 33.3% | 12.5% | 25% | 0% | 0% | 62.5% | 0% | 4 |
| 60% | 18.7% | 12.5% | 0% | 0% | 68.7% | 0% | 5 |
| 77.8% | 21.9% | 6.2% | 0% | 0% | 71.8% | 0% | 6 |
| 88.2% | 23.4% | 3.1% | 0% | 0% | 73.4% | 0% | 7 |
| 93.9% | 24.2% | 1.6% | 0% | 0% | 74.2% | 0% | 8 |
| 96.9% | 24.6% | 0.8% | 0% | 0% | 74.6% | 0% | 9 |
| 98.4% | 24.8% | 0.4% | 0% | 0% | 74.8% | 0% | 10 |
| 99.2% | 24.9% | 0.2% | 0% | 0% | 74.9% | 0% | 11 |
| 99.6% | 24.9% | 0.1% | 0% | 0% | 74.9% | 0% | 12 |
Compiled 9 to 8 computations (11.1% saved)
| 656.0ms | 8 256× | 0 | valid |
| 1.0ms | 21× | 0 | invalid |
ival-log: 109.0ms (39.7% of total)ival-div: 70.0ms (25.5% of total)ival-sub: 49.0ms (17.8% of total)ival-neg: 35.0ms (12.7% of total)ival-true: 5.0ms (1.8% of total)exact: 5.0ms (1.8% of total)ival-assert: 3.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 1 | 0 | - | 0 | - | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 0 | 0 | - | 0 | - | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | (/.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
log.f64 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) | oflow-rescue | 1 | 0 |
| ↳ | (/.f64 #s(literal 1 binary64) x) | overflow | 1 | |
| ↳ | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) | overflow | 1 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 1 | 0 |
| - | 0 | 255 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 255 |
| number | freq |
|---|---|
| 0 | 255 |
| 1 | 1 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 36.0ms | 512× | 0 | valid |
Compiled 57 to 22 computations (61.4% saved)
ival-sub: 10.0ms (41.8% of total)ival-log: 6.0ms (25.1% of total)ival-div: 4.0ms (16.7% of total)ival-neg: 2.0ms (8.4% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 21 | 13 |
| 2 | 39 | 13 |
| 3 | 62 | 13 |
| 4 | 74 | 13 |
| 5 | 83 | 13 |
| 6 | 91 | 13 |
| 7 | 100 | 13 |
| 8 | 103 | 13 |
| 0 | 6 | 7 |
| 0 | 10 | 7 |
| 1 | 17 | 7 |
| 2 | 20 | 7 |
| 3 | 22 | 7 |
| 4 | 24 | 7 |
| 5 | 28 | 7 |
| 6 | 33 | 7 |
| 0 | 33 | 7 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| Outputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 99.6% | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (/.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) | |
| cost-diff | 0 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) | |
| cost-diff | 0 | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 23 |
| 0 | 10 | 23 |
| 1 | 17 | 23 |
| 2 | 20 | 23 |
| 3 | 22 | 23 |
| 4 | 24 | 23 |
| 5 | 28 | 23 |
| 6 | 33 | 23 |
| 0 | 33 | 23 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
| Outputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
(/.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
x |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 #s(literal 1 binary64) x) | |
| accuracy | 0 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) | |
| accuracy | 0 | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) | |
| accuracy | 0.24604184757289127 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 16.0ms | 256× | 0 | valid |
Compiled 25 to 8 computations (68% saved)
ival-div: 4.0ms (42.7% of total)ival-log: 3.0ms (32% of total)ival-sub: 1.0ms (10.7% of total)ival-neg: 1.0ms (10.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ()) |
#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (log x) (taylor 0 x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1 (log x))) (taylor 0 x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) (taylor 0 x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) (taylor 0 x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log x)) (taylor 0 x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 x) (* -1 (log x))) (taylor 0 x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (log x)) (* x (- (* -1/2 x) 1))) (taylor 0 x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1))) (taylor 0 x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (* -1 x)) x) (taylor 0 x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (* -1 x)) x) (taylor 0 x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ 1 (* -1 x)) x) (taylor 0 x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor 0 x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor inf x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor inf x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor inf x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) (taylor inf x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (log -1) (taylor inf x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (log -1) (/ 1 x)) (taylor inf x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))) (taylor inf x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x)) (taylor inf x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) 1) (taylor inf x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) 1) (taylor inf x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) 1) (taylor inf x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor -inf x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor -inf x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor -inf x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) (taylor -inf x) (#s(alt (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) (patch (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (log -1) (taylor -inf x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (log -1) (/ 1 x)) (taylor -inf x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))) (taylor -inf x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))) (taylor -inf x) (#s(alt (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) (patch (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) 1) (taylor -inf x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) 1) (taylor -inf x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) 1) (taylor -inf x) (#s(alt (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) (patch (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (/ 1 x) (taylor -inf x) (#s(alt (/.f64 #s(literal 1 binary64) x) (patch (/.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | ((neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ 1 x)) |
| 1.0ms | x | @ | -inf | ((neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ 1 x)) |
| 0.0ms | x | @ | inf | ((neg (log (- (/ 1 x) 1))) (log (- (/ 1 x) 1)) (- (/ 1 x) 1) (/ 1 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 75 | 313 |
| 1 | 190 | 292 |
| 2 | 397 | 290 |
| 3 | 968 | 280 |
| 4 | 1971 | 278 |
| 5 | 4221 | 278 |
| 6 | 5618 | 278 |
| 7 | 5789 | 278 |
| 8 | 5802 | 278 |
| 9 | 5802 | 278 |
| 10 | 5802 | 278 |
| 11 | 5977 | 278 |
| 12 | 6010 | 278 |
| 13 | 6010 | 278 |
| 0 | 6010 | 270 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(log x) |
(- x (* -1 (log x))) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(* -1 (log x)) |
(+ (* -1 x) (* -1 (log x))) |
(+ (* -1 (log x)) (* x (- (* -1/2 x) 1))) |
(+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1))) |
(/ 1 x) |
(/ (+ 1 (* -1 x)) x) |
(/ (+ 1 (* -1 x)) x) |
(/ (+ 1 (* -1 x)) x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(log -1) |
(- (log -1) (/ 1 x)) |
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))) |
(- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x)) |
-1 |
(- (/ 1 x) 1) |
(- (/ 1 x) 1) |
(- (/ 1 x) 1) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(log -1) |
(- (log -1) (/ 1 x)) |
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))) |
(+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))) |
-1 |
(- (/ 1 x) 1) |
(- (/ 1 x) 1) |
(- (/ 1 x) 1) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
(/ 1 x) |
| Outputs |
|---|
(log x) |
(log.f64 x) |
(- x (* -1 (log x))) |
(+.f64 (log.f64 x) x) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)) |
(* -1 (log x)) |
(neg.f64 (log.f64 x)) |
(+ (* -1 x) (* -1 (log x))) |
(neg.f64 (+.f64 (log.f64 x) x)) |
(+ (* -1 (log x)) (* x (- (* -1/2 x) 1))) |
(neg.f64 (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
(+ (* -1 (log x)) (* x (- (* x (- (* -1/3 x) 1/2)) 1))) |
(neg.f64 (fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x))) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ (+ 1 (* -1 x)) x) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(/ (+ 1 (* -1 x)) x) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(/ (+ 1 (* -1 x)) x) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal -1/2 binary64)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(log -1) |
(log.f64 #s(literal -1 binary64)) |
(- (log -1) (/ 1 x)) |
(-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x)) |
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x)) |
(- (+ (log -1) (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) (pow x 2)))) (/ 1 x)) |
(+.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/3 binary64) x) #s(literal 1/2 binary64)) x) #s(literal 1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
-1 |
#s(literal -1 binary64) |
(- (/ 1 x) 1) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(- (/ 1 x) 1) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(- (/ 1 x) 1) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal -1/2 binary64)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(log -1) |
(log.f64 #s(literal -1 binary64)) |
(- (log -1) (/ 1 x)) |
(-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) x)) |
(+ (log -1) (* -1 (/ (+ 1 (* 1/2 (/ 1 x))) x))) |
(-.f64 (log.f64 #s(literal -1 binary64)) (/.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) x) #s(literal -1 binary64)) x)) |
(+ (log -1) (* -1 (/ (+ 1 (+ (/ 1/3 (pow x 2)) (* 1/2 (/ 1 x)))) x))) |
(+.f64 (/.f64 (-.f64 (/.f64 (-.f64 (/.f64 #s(literal -1/3 binary64) x) #s(literal 1/2 binary64)) x) #s(literal 1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
-1 |
#s(literal -1 binary64) |
(- (/ 1 x) 1) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(- (/ 1 x) 1) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(- (/ 1 x) 1) |
(/.f64 (-.f64 #s(literal 1 binary64) x) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
(/ 1 x) |
(/.f64 #s(literal 1 binary64) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 21 |
| 0 | 10 | 21 |
| 1 | 38 | 21 |
| 2 | 236 | 21 |
| 3 | 2504 | 21 |
| 0 | 9279 | 18 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
(log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
(-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
(/.f64 #s(literal 1 binary64) 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> |
Compiled 7 945 to 1 337 computations (83.2% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 390 | 3 | 393 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 390 | 4 | 394 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| ▶ | 99.4% | #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
| ▶ | 99.0% | #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
| ▶ | 97.6% | #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
Compiled 24 to 20 computations (16.7% saved)
| 1× | egg-herbie |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (log.f64 x) | |
| cost-diff | 0 | (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) | |
| cost-diff | 0 | (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) | |
| cost-diff | 0 | #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) | |
| cost-diff | 0 | (log.f64 x) | |
| cost-diff | 0 | (+.f64 (log.f64 x) x) | |
| cost-diff | 0 | #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) | |
| cost-diff | 0 | (log.f64 x) | |
| cost-diff | 0 | #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 65 |
| 0 | 20 | 65 |
| 1 | 32 | 65 |
| 2 | 43 | 65 |
| 3 | 64 | 65 |
| 4 | 85 | 65 |
| 5 | 89 | 65 |
| 6 | 94 | 65 |
| 0 | 94 | 65 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
(log.f64 x) |
x |
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
(+.f64 (log.f64 x) x) |
(log.f64 x) |
x |
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(literal 1 binary64) |
(log.f64 x) |
| Outputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
(log.f64 x) |
x |
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
(+.f64 (log.f64 x) x) |
(log.f64 x) |
x |
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
#s(literal 1/2 binary64) |
x |
#s(literal 1 binary64) |
(log.f64 x) |
Found 9 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) | |
| accuracy | 0 | (log.f64 x) | |
| accuracy | 0.01953125 | (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) | |
| accuracy | 0.36869435957107505 | #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) | |
| accuracy | 0 | (log.f64 x) | |
| accuracy | 0.02734375 | (+.f64 (log.f64 x) x) | |
| accuracy | 0.6229341001787052 | #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) | |
| accuracy | 0 | (log.f64 x) | |
| accuracy | 1.5116498211795955 | #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
| 37.0ms | 256× | 0 | valid |
Compiled 53 to 15 computations (71.7% saved)
ival-log: 8.0ms (41.5% of total)ival-add: 3.0ms (15.6% of total)ival-mult: 3.0ms (15.6% of total)ival-div: 2.0ms (10.4% of total)ival-sub: 1.0ms (5.2% of total)ival-neg: 1.0ms (5.2% 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 (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ()) |
#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ()) |
#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ()) |
#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ()) |
#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ()) |
#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (log x)) (taylor 0 x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (log x)) (taylor 0 x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (+ x (log x)) (taylor 0 x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (log x)) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (log x) (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (log x) (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* 1/2 x)) (taylor 0 x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log (/ 1 x))) (taylor inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log (/ 1 x))) (taylor inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log (/ 1 x))) (taylor inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log (/ 1 x))) (taylor inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) (taylor inf x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) (taylor inf x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) (taylor inf x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1) (* -1 (log (/ -1 x)))) (taylor -inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1) (* -1 (log (/ -1 x)))) (taylor -inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1) (* -1 (log (/ -1 x)))) (taylor -inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (+ (log -1) (* -1 (log (/ -1 x)))) (taylor -inf x) (#s(alt (log.f64 x) (patch (log.f64 x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) (patch #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) (taylor -inf x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) (taylor -inf x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) (taylor -inf x) (#s(alt (+.f64 (log.f64 x) x) (patch (+.f64 (log.f64 x) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) (patch (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1/2 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) (patch (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 38.0ms | x | @ | -inf | ((neg (log (- (/ 1 x) 1))) (log x) (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (+ (* 1/2 x) 1)) |
| 26.0ms | x | @ | 0 | ((neg (log (- (/ 1 x) 1))) (log x) (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (+ (* 1/2 x) 1)) |
| 12.0ms | x | @ | inf | ((neg (log (- (/ 1 x) 1))) (log x) (neg (log (- (/ 1 x) 1))) (+ (log x) x) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (+ (* 1/2 x) 1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 72 | 632 |
| 1 | 215 | 597 |
| 2 | 503 | 586 |
| 3 | 1977 | 563 |
| 4 | 6337 | 554 |
| 0 | 8278 | 516 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log x) |
(- x (* -1 (log x))) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(log x) |
(log x) |
(log x) |
(log x) |
(log x) |
(- x (* -1 (log x))) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(log x) |
(+ x (log x)) |
(+ x (log x)) |
(+ x (log x)) |
(log x) |
(- x (* -1 (log x))) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(log x) |
(+ x (log x)) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
1 |
(+ 1 (* 1/2 x)) |
(+ 1 (* 1/2 x)) |
(+ 1 (* 1/2 x)) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(* -1 (log (/ 1 x))) |
(* -1 (log (/ 1 x))) |
(* -1 (log (/ 1 x))) |
(* -1 (log (/ 1 x))) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
x |
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) |
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) |
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(* 1/2 x) |
(* x (+ 1/2 (/ 1 x))) |
(* x (+ 1/2 (/ 1 x))) |
(* x (+ 1/2 (/ 1 x))) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
x |
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) |
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) |
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(* 1/2 x) |
(* x (+ 1/2 (/ 1 x))) |
(* x (+ 1/2 (/ 1 x))) |
(* x (+ 1/2 (/ 1 x))) |
| Outputs |
|---|
(log x) |
(log.f64 x) |
(- x (* -1 (log x))) |
(+.f64 (log.f64 x) x) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)) |
(log x) |
(log.f64 x) |
(log x) |
(log.f64 x) |
(log x) |
(log.f64 x) |
(log x) |
(log.f64 x) |
(log x) |
(log.f64 x) |
(- x (* -1 (log x))) |
(+.f64 (log.f64 x) x) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)) |
(log x) |
(log.f64 x) |
(+ x (log x)) |
(+.f64 (log.f64 x) x) |
(+ x (log x)) |
(+.f64 (log.f64 x) x) |
(+ x (log x)) |
(+.f64 (log.f64 x) x) |
(log x) |
(log.f64 x) |
(- x (* -1 (log x))) |
(+.f64 (log.f64 x) x) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)) |
(log x) |
(log.f64 x) |
(+ x (log x)) |
(+.f64 (log.f64 x) x) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
1 |
#s(literal 1 binary64) |
(+ 1 (* 1/2 x)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
(+ 1 (* 1/2 x)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
(+ 1 (* 1/2 x)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(-.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (log.f64 #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) x)) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(* -1 (log (/ 1 x))) |
(log.f64 x) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(-.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (log.f64 #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) x)) |
x |
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) |
(+.f64 (log.f64 x) x) |
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) |
(+.f64 (log.f64 x) x) |
(* x (+ 1 (* -1 (/ (log (/ 1 x)) x)))) |
(+.f64 (log.f64 x) x) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(-.f64 (-.f64 (+.f64 (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1/2 binary64) (*.f64 x x))) (log.f64 #s(literal -1 binary64))) (/.f64 #s(literal -1 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (/ 1 x))) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
(* x (+ 1/2 (/ 1 x))) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
(* x (+ 1/2 (/ 1 x))) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) |
(+ (log -1) (* -1 (log (/ -1 x)))) |
(+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
x |
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) |
(+.f64 (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) x) |
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) |
(+.f64 (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) x) |
(* -1 (* x (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1))) |
(+.f64 (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64))) x) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 (+.f64 (/.f64 #s(literal 1/3 binary64) x) #s(literal 1/2 binary64)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* x (+ 1/2 (/ 1 x))) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
(* x (+ 1/2 (/ 1 x))) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
(* x (+ 1/2 (/ 1 x))) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 56 |
| 0 | 20 | 56 |
| 1 | 85 | 56 |
| 2 | 617 | 56 |
| 3 | 7384 | 56 |
| 0 | 8908 | 53 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
(log.f64 x) |
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
(+.f64 (log.f64 x) x) |
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) |
| 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> |
Compiled 7 709 to 1 044 computations (86.5% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 385 | 1 | 386 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 385 | 5 | 390 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| ✓ | 99.4% | #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
| ✓ | 99.0% | #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
| ✓ | 97.6% | #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
| ▶ | 2.6% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
Compiled 31 to 26 computations (16.1% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 50 |
| 0 | 18 | 50 |
| 1 | 32 | 50 |
| 2 | 44 | 50 |
| 3 | 56 | 50 |
| 4 | 79 | 50 |
| 5 | 83 | 50 |
| 6 | 88 | 50 |
| 0 | 88 | 46 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 x x) |
x |
#s(literal 1/2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.00390625 | (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) | |
| accuracy | 0.36869435957107505 | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) | |
| accuracy | 62.32757535768558 | #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
| 41.0ms | 256× | 0 | valid |
Compiled 29 to 16 computations (44.8% saved)
ival-mult: 21.0ms (60.8% of total)ival-log: 6.0ms (17.4% of total)ival-div: 2.0ms (5.8% of total)ival-add: 2.0ms (5.8% of total)ival-sub: 1.0ms (2.9% of total)ival-neg: 1.0ms (2.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 (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (log x)) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log x) (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log x) (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<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 (* -1 (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<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 (* -1 (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 1/2 binary64)) #<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>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 8.0ms | x | @ | -inf | ((neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (* x x) 1/2) (* x x)) |
| 1.0ms | x | @ | 0 | ((neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (* x x) 1/2) (* x x)) |
| 1.0ms | x | @ | inf | ((neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (* x x) 1/2) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 64 | 328 |
| 1 | 181 | 316 |
| 2 | 435 | 309 |
| 3 | 1194 | 304 |
| 4 | 4312 | 298 |
| 0 | 8209 | 279 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log x) |
(- x (* -1 (log x))) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(log x) |
(+ x (log x)) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
(log x) |
(log.f64 x) |
(- x (* -1 (log x))) |
(+.f64 (log.f64 x) x) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)) |
(log x) |
(log.f64 x) |
(+ x (log x)) |
(+.f64 (log.f64 x) x) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 3 binary64))) (log.f64 #s(literal -1 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal -1 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/3 binary64) x)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 48 |
| 0 | 18 | 48 |
| 1 | 77 | 48 |
| 2 | 525 | 48 |
| 3 | 6183 | 48 |
| 0 | 8270 | 43 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(*.f64 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> |
Compiled 684 to 181 computations (73.5% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 77 | 2 | 79 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 4 | 4 |
| Total | 78 | 6 | 84 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| ✓ | 99.4% | #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
| ✓ | 99.0% | #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
| ✓ | 97.6% | #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
| ▶ | 2.6% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
| ▶ | 2.6% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
Compiled 41 to 35 computations (14.6% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) | |
| cost-diff | 0 | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) | |
| cost-diff | 1216 | (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) | |
| cost-diff | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| cost-diff | 0 | (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) | |
| cost-diff | 0 | #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) | |
| cost-diff | 0 | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 118 |
| 0 | 29 | 109 |
| 1 | 51 | 109 |
| 2 | 93 | 106 |
| 3 | 186 | 106 |
| 4 | 497 | 106 |
| 5 | 803 | 106 |
| 6 | 965 | 106 |
| 7 | 1071 | 106 |
| 8 | 1098 | 106 |
| 9 | 1103 | 106 |
| 0 | 1103 | 98 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) x) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) |
(/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) |
(neg.f64 x) |
x |
(/.f64 #s(literal -1 binary64) x) |
#s(literal -1 binary64) |
#s(literal 1/2 binary64) |
| Outputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) x) |
(*.f64 #s(literal 1/2 binary64) x) |
#s(literal 1/2 binary64) |
x |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) |
(*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) x) |
(/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) |
(*.f64 x x) |
(neg.f64 x) |
x |
(/.f64 #s(literal -1 binary64) x) |
#s(literal -1 binary64) |
#s(literal 1/2 binary64) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.00390625 | (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) | |
| accuracy | 0.14453125 | (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) | |
| accuracy | 0.36869435957107505 | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) | |
| accuracy | 62.32757535768558 | #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) | |
| accuracy | 0 | (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) | |
| accuracy | 0 | (*.f64 #s(literal 1/2 binary64) x) | |
| accuracy | 0.36869435957107505 | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) | |
| accuracy | 62.32757535768558 | #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) |
| 91.0ms | 256× | 0 | valid |
Compiled 68 to 20 computations (70.6% saved)
ival-neg: 15.0ms (33.6% of total)ival-div: 14.0ms (31.3% of total)ival-mult: 6.0ms (13.4% of total)ival-log: 6.0ms (13.4% of total)ival-add: 2.0ms (4.5% of total)ival-sub: 1.0ms (2.2% 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 (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ()) |
#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ()) |
#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ()) |
#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (log x)) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (log x) (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (+ (log x) (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor 0 x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- x (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) (taylor 0 x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (log x) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ x (log x)) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log x) (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (log x) (* x (+ 1 (* 1/2 x)))) (taylor 0 x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) (taylor inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) (taylor inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) (patch (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 1/2 binary64) x) (patch (*.f64 #s(literal 1/2 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) (patch (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (/ 1 x) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) (taylor -inf x) (#s(alt #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) (patch #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) (taylor -inf x) (#s(alt #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) (patch #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) (patch (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | inf | ((neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (* 1/2 x) x) (* 1/2 x) (/ (neg x) (/ -1 x)) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (/ (neg x) (/ -1 x)) 1/2)) |
| 1.0ms | x | @ | -inf | ((neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (* 1/2 x) x) (* 1/2 x) (/ (neg x) (/ -1 x)) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (/ (neg x) (/ -1 x)) 1/2)) |
| 1.0ms | x | @ | 0 | ((neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (* 1/2 x) x) (* 1/2 x) (/ (neg x) (/ -1 x)) (neg (log (- (/ 1 x) 1))) (+ (* (+ (* 1/2 x) 1) x) (log x)) (* (/ (neg x) (/ -1 x)) 1/2)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 64 | 656 |
| 1 | 181 | 632 |
| 2 | 435 | 618 |
| 3 | 1194 | 608 |
| 4 | 4312 | 596 |
| 0 | 8209 | 558 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(log x) |
(- x (* -1 (log x))) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(log x) |
(+ x (log x)) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(log x) |
(- x (* -1 (log x))) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(log x) |
(+ x (log x)) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(* 1/2 x) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* -1 (log -1)) |
(- (/ 1 x) (log -1)) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(* 1/2 (pow x 2)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
(* 1/2 (pow x 2)) |
| Outputs |
|---|
(log x) |
(log.f64 x) |
(- x (* -1 (log x))) |
(+.f64 (log.f64 x) x) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)) |
(log x) |
(log.f64 x) |
(+ x (log x)) |
(+.f64 (log.f64 x) x) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 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) |
(log x) |
(log.f64 x) |
(- x (* -1 (log x))) |
(+.f64 (log.f64 x) x) |
(- (* x (+ 1 (* 1/2 x))) (* -1 (log x))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(- (* x (+ 1 (* x (+ 1/2 (* 1/3 x))))) (* -1 (log x))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal 1/3 binary64) x #s(literal 1/2 binary64)) x #s(literal 1 binary64)) x (log.f64 x)) |
(log x) |
(log.f64 x) |
(+ x (log x)) |
(+.f64 (log.f64 x) x) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(+ (log x) (* x (+ 1 (* 1/2 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 3 binary64))) (log.f64 #s(literal -1 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal -1 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 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) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (+ (/ 1 x) (* 1/3 (/ 1 (pow x 3))))) (log -1)) |
(-.f64 (-.f64 (-.f64 (/.f64 #s(literal 1/3 binary64) (pow.f64 x #s(literal 3 binary64))) (log.f64 #s(literal -1 binary64))) (/.f64 #s(literal -1/2 binary64) (*.f64 x x))) (/.f64 #s(literal -1 binary64) x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* (pow x 2) (+ 1/2 (+ (* -1 (/ (log (/ 1 x)) (pow x 2))) (/ 1 x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/3 binary64) x)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 binary64) x) |
(* 1/2 x) |
(*.f64 #s(literal 1/2 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) |
(* -1 (log -1)) |
(neg.f64 (log.f64 #s(literal -1 binary64))) |
(- (/ 1 x) (log -1)) |
(-.f64 (/.f64 #s(literal 1 binary64) x) (log.f64 #s(literal -1 binary64))) |
(- (+ (/ 1/2 (pow x 2)) (/ 1 x)) (log -1)) |
(-.f64 (-.f64 (/.f64 #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 #s(literal -1 binary64) x)) (log.f64 #s(literal -1 binary64))) |
(- (* -1 (/ (- (* -1 (/ (+ 1/2 (* 1/3 (/ 1 x))) x)) 1) x)) (log -1)) |
(-.f64 (/.f64 (-.f64 (/.f64 (-.f64 #s(literal 1/2 binary64) (/.f64 #s(literal -1/3 binary64) x)) x) #s(literal -1 binary64)) x) (log.f64 #s(literal -1 binary64))) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* (pow x 2) (+ 1/2 (/ 1 x))) |
(*.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))) |
(* (pow x 2) (+ 1/2 (* -1 (/ (- (* -1 (/ (+ (log -1) (* -1 (log (/ -1 x)))) x)) 1) x)))) |
(fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (+.f64 (log.f64 (neg.f64 x)) (log.f64 #s(literal -1 binary64)))) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
(* 1/2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 108 |
| 0 | 29 | 99 |
| 1 | 105 | 96 |
| 2 | 655 | 96 |
| 3 | 6937 | 96 |
| 0 | 8639 | 86 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) |
(*.f64 (*.f64 #s(literal 1/2 binary64) x) x) |
(*.f64 #s(literal 1/2 binary64) x) |
(/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
#s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64))) |
(*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)) |
| 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> |
Compiled 2 796 to 628 computations (77.5% saved)
10 alts after pruning (5 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 263 | 5 | 268 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 4 | 4 |
| Total | 264 | 10 | 274 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 99.6% | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| ✓ | 99.4% | #s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
| ✓ | 99.0% | #s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
| ✓ | 97.6% | #s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
| 2.6% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) | |
| 2.6% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1 binary64) x)))) | |
| 1.3% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) x)) (*.f64 x x)) #s(literal 1/2 binary64)))) | |
| 2.6% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (neg.f64 x)) x) #s(literal 1/2 binary64)))) | |
| 2.6% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x)) x))) | |
| ✓ | 2.6% | #s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
Compiled 199 to 123 computations (38.2% saved)
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1 binary64) x)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (neg.f64 x)) x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) x)) (*.f64 x x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| Outputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
5 calls:
| 7.0ms | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 4.0ms | (/.f64 #s(literal 1 binary64) x) |
| 4.0ms | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 4.0ms | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 4.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.6% | 1 | x |
| 99.6% | 1 | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 99.6% | 1 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 99.6% | 1 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 99.6% | 1 | (/.f64 #s(literal 1 binary64) x) |
Compiled 22 to 19 computations (13.6% saved)
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1 binary64) x)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (neg.f64 x)) x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) x)) (*.f64 x x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
| Outputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
5 calls:
| 7.0ms | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 4.0ms | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 4.0ms | (/.f64 #s(literal 1 binary64) x) |
| 4.0ms | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 4.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 1 | x |
| 99.4% | 1 | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 99.4% | 1 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 99.4% | 1 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 99.4% | 1 | (/.f64 #s(literal 1 binary64) x) |
Compiled 22 to 19 computations (13.6% saved)
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1 binary64) x)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (neg.f64 x)) x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) x)) (*.f64 x x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
| Outputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
5 calls:
| 6.0ms | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 4.0ms | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 4.0ms | (/.f64 #s(literal 1 binary64) x) |
| 4.0ms | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 4.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.0% | 1 | x |
| 99.0% | 1 | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 99.0% | 1 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 99.0% | 1 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 99.0% | 1 | (/.f64 #s(literal 1 binary64) x) |
Compiled 22 to 19 computations (13.6% saved)
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1 binary64) x)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (neg.f64 x)) x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) x)) (*.f64 x x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
| Outputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
5 calls:
| 5.0ms | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 3.0ms | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 3.0ms | (/.f64 #s(literal 1 binary64) x) |
| 3.0ms | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 3.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.6% | 1 | x |
| 97.6% | 1 | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 97.6% | 1 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 97.6% | 1 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 97.6% | 1 | (/.f64 #s(literal 1 binary64) x) |
Compiled 22 to 19 computations (13.6% saved)
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1 binary64) x)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (neg.f64 x) (/.f64 #s(literal -1 binary64) x)) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (neg.f64 x)) x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 x) x)) (*.f64 x x)) #s(literal 1/2 binary64)))) |
| Outputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) |
5 calls:
| 5.0ms | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 3.0ms | x |
| 3.0ms | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 3.0ms | (/.f64 #s(literal 1 binary64) x) |
| 3.0ms | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 2.6% | 1 | x |
| 2.6% | 1 | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 2.6% | 1 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 2.6% | 1 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 2.6% | 1 | (/.f64 #s(literal 1 binary64) x) |
Compiled 22 to 19 computations (13.6% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 x x) #s(literal 1/2 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (/.f64 #s(literal -1/2 binary64) (/.f64 #s(literal -1 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 #s(literal -1/2 binary64) x) (/.f64 #s(literal -1 binary64) x)))) |
| Outputs |
|---|
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
5 calls:
| 2.0ms | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 2.0ms | (/.f64 #s(literal 1 binary64) x) |
| 2.0ms | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 2.0ms | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 2.6% | 1 | x |
| 2.6% | 1 | (neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
| 2.6% | 1 | (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))) |
| 2.6% | 1 | (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)) |
| 2.6% | 1 | (/.f64 #s(literal 1 binary64) x) |
Compiled 22 to 19 computations (13.6% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 98 |
| 1 | 53 | 98 |
| 2 | 66 | 98 |
| 3 | 86 | 98 |
| 4 | 116 | 98 |
| 5 | 153 | 98 |
| 6 | 171 | 98 |
| 7 | 181 | 98 |
| 8 | 182 | 98 |
| 1× | saturated |
| Inputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
| Outputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1 binary64)))) |
#s(approx (neg (log (- (/ 1 x) 1))) (fma.f64 (fma.f64 #s(literal 1/2 binary64) x #s(literal 1 binary64)) x (log.f64 x))) |
#s(approx (neg (log (- (/ 1 x) 1))) (+.f64 (log.f64 x) x)) |
#s(approx (neg (log (- (/ 1 x) 1))) (log.f64 x)) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 (neg.f64 x) x) (*.f64 #s(literal -1/2 binary64) x)) x))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (/.f64 (*.f64 (*.f64 x x) (*.f64 #s(literal -1/2 binary64) x)) (neg.f64 x)))) |
#s(approx (neg (log (- (/ 1 x) 1))) #s(approx (+ (* (+ (* 1/2 x) 1) x) (log x)) (*.f64 (*.f64 #s(literal 1/2 binary64) x) x))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 72 | 632 |
| 1 | 215 | 597 |
| 2 | 503 | 586 |
| 3 | 1977 | 563 |
| 4 | 6337 | 554 |
| 0 | 8278 | 516 |
| 0 | 16 | 48 |
| 0 | 18 | 48 |
| 1 | 77 | 48 |
| 2 | 525 | 48 |
| 3 | 6183 | 48 |
| 0 | 8270 | 43 |
| 0 | 75 | 313 |
| 1 | 190 | 292 |
| 2 | 397 | 290 |
| 3 | 968 | 280 |
| 4 | 1971 | 278 |
| 5 | 4221 | 278 |
| 6 | 5618 | 278 |
| 7 | 5789 | 278 |
| 8 | 5802 | 278 |
| 9 | 5802 | 278 |
| 10 | 5802 | 278 |
| 11 | 5977 | 278 |
| 12 | 6010 | 278 |
| 13 | 6010 | 278 |
| 0 | 6010 | 270 |
| 0 | 23 | 108 |
| 0 | 29 | 99 |
| 1 | 105 | 96 |
| 2 | 655 | 96 |
| 3 | 6937 | 96 |
| 0 | 8639 | 86 |
| 1× | fuel |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 94 to 69 computations (26.6% saved)
Compiled 100 to 64 computations (36% saved)
Loading profile data...