
Time bar (total: 3.1s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 100% | 99.9% | 0% | 0.1% | 0% | 0% | 0% | 1 |
Compiled 8 to 8 computations (0% saved)
| 386.0ms | 8 256× | 0 | valid |
ival-sub: 60.0ms (33.7% of total)ival-div: 58.0ms (32.6% of total)ival-fabs: 46.0ms (25.8% of total)ival-true: 6.0ms (3.4% of total)exact: 5.0ms (2.8% of total)ival-assert: 3.0ms (1.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | a |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (fabs.f64 (-.f64 a b)) |
| 0 | 0 | - | 0 | - | (-.f64 a b) |
| 0 | 0 | - | 0 | - | b |
| 0 | 0 | - | 0 | - | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 24.0ms | 512× | 0 | valid |
Compiled 42 to 22 computations (47.6% saved)
ival-sub: 3.0ms (29.9% of total)ival-div: 3.0ms (29.9% of total)ival-fabs: 3.0ms (29.9% 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 | 16 | 34 |
| 1 | 44 | 30 |
| 2 | 85 | 30 |
| 3 | 154 | 30 |
| 4 | 209 | 30 |
| 5 | 236 | 30 |
| 6 | 253 | 30 |
| 7 | 263 | 30 |
| 0 | 6 | 6 |
| 0 | 9 | 6 |
| 1 | 13 | 6 |
| 2 | 20 | 6 |
| 3 | 28 | 6 |
| 4 | 47 | 6 |
| 5 | 96 | 6 |
| 6 | 149 | 6 |
| 7 | 171 | 6 |
| 8 | 183 | 6 |
| 9 | 186 | 6 |
| 0 | 186 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Outputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
(sort a b)
Compiled 6 to 6 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
Compiled 6 to 6 computations (0% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 a b) | |
| cost-diff | 0 | (fabs.f64 (-.f64 a b)) | |
| cost-diff | 384 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 0 | 9 | 16 |
| 1 | 13 | 16 |
| 2 | 20 | 16 |
| 3 | 28 | 16 |
| 4 | 47 | 16 |
| 5 | 96 | 16 |
| 6 | 149 | 16 |
| 7 | 171 | 16 |
| 8 | 183 | 16 |
| 9 | 186 | 16 |
| 0 | 186 | 16 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
a |
b |
#s(literal 2 binary64) |
| Outputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 b a))) |
(fabs.f64 (-.f64 a b)) |
(fabs.f64 (-.f64 b a)) |
(-.f64 a b) |
a |
b |
#s(literal 2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) | |
| accuracy | 0 | (-.f64 a b) | |
| accuracy | 0 | (fabs.f64 (-.f64 a b)) |
| 16.0ms | 256× | 0 | valid |
Compiled 18 to 8 computations (55.6% saved)
ival-sub: 2.0ms (40.5% of total)ival-div: 2.0ms (40.5% of total)ival-fabs: 1.0ms (20.2% 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 (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ()) |
#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 (fabs (- a b))) (taylor 0 b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor 0 b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor 0 b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor 0 b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor 0 b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor 0 b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor 0 b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor 0 b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt a (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (+ a (* -1 b)) (taylor 0 b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor inf b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor inf b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor inf b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor inf b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor inf b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor inf b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor inf b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor inf b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* b (- (/ a b) 1)) (taylor inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ a (* -1 b)))) (taylor -inf b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ a (* -1 b)))) (taylor -inf b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ a (* -1 b)))) (taylor -inf b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ a (* -1 b)))) (taylor -inf b) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ a (* -1 b))) (taylor -inf b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ a (* -1 b))) (taylor -inf b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ a (* -1 b))) (taylor -inf b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ a (* -1 b))) (taylor -inf b) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (+ 1 (* -1 (/ a b))))) (taylor -inf b) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor 0 a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor 0 a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor 0 a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor 0 a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor 0 a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor 0 a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor 0 a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor 0 a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (- a b) (taylor 0 a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor inf a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor inf a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor inf a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- a b))) (taylor inf a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor inf a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor inf a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor inf a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- a b)) (taylor inf a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt a (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* a (+ 1 (* -1 (/ b a)))) (taylor inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ b (* -1 a))))) (taylor -inf a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ b (* -1 a))))) (taylor -inf a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ b (* -1 a))))) (taylor -inf a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ b (* -1 a))))) (taylor -inf a) (#s(alt (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) (patch (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ b (* -1 a)))) (taylor -inf a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ b (* -1 a)))) (taylor -inf a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ b (* -1 a)))) (taylor -inf a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ b (* -1 a)))) (taylor -inf a) (#s(alt (fabs.f64 (-.f64 a b)) (patch (fabs.f64 (-.f64 a b)) #<representation binary64>) () ())) ()) |
#s(alt a (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (- (/ b a) 1))) (taylor -inf a) (#s(alt (-.f64 a b) (patch (-.f64 a b) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 1.0ms | b | @ | inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 1.0ms | a | @ | -inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 0.0ms | b | @ | -inf | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 0.0ms | b | @ | 0 | ((/ (fabs (- a b)) 2) (fabs (- a b)) (- a b)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 303 |
| 1 | 83 | 303 |
| 2 | 191 | 303 |
| 3 | 550 | 303 |
| 4 | 1643 | 303 |
| 5 | 2492 | 303 |
| 6 | 3376 | 303 |
| 7 | 4963 | 303 |
| 8 | 5472 | 303 |
| 9 | 5848 | 303 |
| 10 | 6369 | 303 |
| 11 | 7037 | 303 |
| 12 | 7792 | 303 |
| 0 | 8020 | 303 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(fabs (- a b)) |
(fabs (- a b)) |
(fabs (- a b)) |
(fabs (- a b)) |
a |
(+ a (* -1 b)) |
(+ a (* -1 b)) |
(+ a (* -1 b)) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(fabs (- a b)) |
(fabs (- a b)) |
(fabs (- a b)) |
(fabs (- a b)) |
(* -1 b) |
(* b (- (/ a b) 1)) |
(* b (- (/ a b) 1)) |
(* b (- (/ a b) 1)) |
(* 1/2 (fabs (+ a (* -1 b)))) |
(* 1/2 (fabs (+ a (* -1 b)))) |
(* 1/2 (fabs (+ a (* -1 b)))) |
(* 1/2 (fabs (+ a (* -1 b)))) |
(fabs (+ a (* -1 b))) |
(fabs (+ a (* -1 b))) |
(fabs (+ a (* -1 b))) |
(fabs (+ a (* -1 b))) |
(* -1 b) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(fabs (- a b)) |
(fabs (- a b)) |
(fabs (- a b)) |
(fabs (- a b)) |
(* -1 b) |
(- a b) |
(- a b) |
(- a b) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(* 1/2 (fabs (- a b))) |
(fabs (- a b)) |
(fabs (- a b)) |
(fabs (- a b)) |
(fabs (- a b)) |
a |
(* a (+ 1 (* -1 (/ b a)))) |
(* a (+ 1 (* -1 (/ b a)))) |
(* a (+ 1 (* -1 (/ b a)))) |
(* 1/2 (fabs (neg (+ b (* -1 a))))) |
(* 1/2 (fabs (neg (+ b (* -1 a))))) |
(* 1/2 (fabs (neg (+ b (* -1 a))))) |
(* 1/2 (fabs (neg (+ b (* -1 a))))) |
(fabs (neg (+ b (* -1 a)))) |
(fabs (neg (+ b (* -1 a)))) |
(fabs (neg (+ b (* -1 a)))) |
(fabs (neg (+ b (* -1 a)))) |
a |
(* -1 (* a (- (/ b a) 1))) |
(* -1 (* a (- (/ b a) 1))) |
(* -1 (* a (- (/ b a) 1))) |
| Outputs |
|---|
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
a |
(+ a (* -1 b)) |
(-.f64 a b) |
(+ a (* -1 b)) |
(-.f64 a b) |
(+ a (* -1 b)) |
(-.f64 a b) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(* -1 b) |
(neg.f64 b) |
(* b (- (/ a b) 1)) |
(-.f64 a b) |
(* b (- (/ a b) 1)) |
(-.f64 a b) |
(* b (- (/ a b) 1)) |
(-.f64 a b) |
(* 1/2 (fabs (+ a (* -1 b)))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ a (* -1 b)))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ a (* -1 b)))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ a (* -1 b)))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs (+ a (* -1 b))) |
(fabs.f64 (-.f64 a b)) |
(fabs (+ a (* -1 b))) |
(fabs.f64 (-.f64 a b)) |
(fabs (+ a (* -1 b))) |
(fabs.f64 (-.f64 a b)) |
(fabs (+ a (* -1 b))) |
(fabs.f64 (-.f64 a b)) |
(* -1 b) |
(neg.f64 b) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(-.f64 a b) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(-.f64 a b) |
(* -1 (* b (+ 1 (* -1 (/ a b))))) |
(-.f64 a b) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(* -1 b) |
(neg.f64 b) |
(- a b) |
(-.f64 a b) |
(- a b) |
(-.f64 a b) |
(- a b) |
(-.f64 a b) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- a b))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
(fabs (- a b)) |
(fabs.f64 (-.f64 a b)) |
a |
(* a (+ 1 (* -1 (/ b a)))) |
(-.f64 a b) |
(* a (+ 1 (* -1 (/ b a)))) |
(-.f64 a b) |
(* a (+ 1 (* -1 (/ b a)))) |
(-.f64 a b) |
(* 1/2 (fabs (neg (+ b (* -1 a))))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ b (* -1 a))))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ b (* -1 a))))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ b (* -1 a))))) |
(*.f64 (fabs.f64 (-.f64 a b)) #s(literal 1/2 binary64)) |
(fabs (neg (+ b (* -1 a)))) |
(fabs.f64 (-.f64 a b)) |
(fabs (neg (+ b (* -1 a)))) |
(fabs.f64 (-.f64 a b)) |
(fabs (neg (+ b (* -1 a)))) |
(fabs.f64 (-.f64 a b)) |
(fabs (neg (+ b (* -1 a)))) |
(fabs.f64 (-.f64 a b)) |
a |
(* -1 (* a (- (/ b a) 1))) |
(-.f64 a b) |
(* -1 (* a (- (/ b a) 1))) |
(-.f64 a b) |
(* -1 (* a (- (/ b a) 1))) |
(-.f64 a b) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 9 | 13 |
| 1 | 38 | 13 |
| 2 | 204 | 13 |
| 3 | 1796 | 13 |
| 0 | 8632 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 a b) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 9 939 to 1 448 computations (85.4% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 422 | 1 | 423 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 423 | 1 | 424 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
Compiled 6 to 6 computations (0% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 b a) | |
| cost-diff | 0 | (fabs.f64 (-.f64 b a)) | |
| cost-diff | 0 | (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 0 | 9 | 16 |
| 1 | 14 | 16 |
| 2 | 21 | 16 |
| 3 | 29 | 16 |
| 4 | 48 | 16 |
| 5 | 95 | 16 |
| 6 | 149 | 16 |
| 7 | 172 | 16 |
| 8 | 182 | 16 |
| 0 | 182 | 16 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 b a)) |
(-.f64 b a) |
b |
a |
#s(literal 1/2 binary64) |
| Outputs |
|---|
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))) |
(fabs.f64 (-.f64 b a)) |
(fabs.f64 (-.f64 a b)) |
(-.f64 b a) |
b |
a |
#s(literal 1/2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 b a) | |
| accuracy | 0 | (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) | |
| accuracy | 0 | (fabs.f64 (-.f64 b a)) |
| 12.0ms | 256× | 0 | valid |
Compiled 18 to 8 computations (55.6% saved)
ival-sub: 2.0ms (35.9% of total)ival-mult: 2.0ms (35.9% of total)ival-fabs: 1.0ms (18% 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 (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ()) |
#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor 0 b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt b (taylor inf b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt b (taylor -inf b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt b (taylor 0 a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor inf a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 (-.f64 b a)) (patch (fabs.f64 (-.f64 b a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor -inf a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt (-.f64 b a) (patch (-.f64 b a) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | a | @ | inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 0.0ms | b | @ | -inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 0.0ms | a | @ | -inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 0.0ms | b | @ | inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 0.0ms | b | @ | 0 | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 303 |
| 1 | 83 | 303 |
| 2 | 191 | 303 |
| 3 | 548 | 303 |
| 4 | 1608 | 303 |
| 5 | 2447 | 303 |
| 6 | 3328 | 303 |
| 7 | 4914 | 303 |
| 8 | 5422 | 303 |
| 9 | 5798 | 303 |
| 10 | 6319 | 303 |
| 11 | 6978 | 303 |
| 12 | 7739 | 303 |
| 0 | 8116 | 303 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(* -1 a) |
(- b a) |
(- b a) |
(- b a) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
b |
(* b (+ 1 (* -1 (/ a b)))) |
(* b (+ 1 (* -1 (/ a b)))) |
(* b (+ 1 (* -1 (/ a b)))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
b |
(* -1 (* b (- (/ a b) 1))) |
(* -1 (* b (- (/ a b) 1))) |
(* -1 (* b (- (/ a b) 1))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
b |
(+ b (* -1 a)) |
(+ b (* -1 a)) |
(+ b (* -1 a)) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(* -1 a) |
(* a (- (/ b a) 1)) |
(* a (- (/ b a) 1)) |
(* a (- (/ b a) 1)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(* -1 a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
| Outputs |
|---|
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(- b a) |
(-.f64 b a) |
(- b a) |
(-.f64 b a) |
(- b a) |
(-.f64 b a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
b |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
b |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
b |
(+ b (* -1 a)) |
(-.f64 b a) |
(+ b (* -1 a)) |
(-.f64 b a) |
(+ b (* -1 a)) |
(-.f64 b a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 9 | 13 |
| 1 | 29 | 13 |
| 2 | 174 | 13 |
| 3 | 1648 | 13 |
| 0 | 8436 | 13 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs.f64 (-.f64 b a)) |
(-.f64 b a) |
| 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> |
Compiled 9 216 to 1 325 computations (85.6% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 372 | 1 | 373 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 372 | 2 | 374 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
| ▶ | 55.4% | (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
Compiled 12 to 13 computations (-8.3% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 a) | |
| cost-diff | 0 | #s(approx (- b a) (neg.f64 a)) | |
| cost-diff | 0 | (fabs.f64 #s(approx (- b a) (neg.f64 a))) | |
| cost-diff | 0 | (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 26 |
| 0 | 11 | 26 |
| 1 | 17 | 26 |
| 2 | 22 | 26 |
| 3 | 29 | 26 |
| 4 | 38 | 26 |
| 5 | 55 | 26 |
| 6 | 82 | 26 |
| 7 | 110 | 26 |
| 8 | 153 | 26 |
| 9 | 168 | 26 |
| 10 | 176 | 26 |
| 0 | 176 | 26 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(literal 1/2 binary64) |
| Outputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) (neg.f64 a)))) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
a |
#s(literal 1/2 binary64) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) | |
| accuracy | 0 | (neg.f64 a) | |
| accuracy | 0 | (fabs.f64 #s(approx (- b a) (neg.f64 a))) | |
| accuracy | 29.060694958676567 | #s(approx (- b a) (neg.f64 a)) |
| 12.0ms | 256× | 0 | valid |
Compiled 19 to 9 computations (52.6% saved)
ival-sub: 1.0ms (17.5% of total)ival-fabs: 1.0ms (17.5% of total)ival-mult: 1.0ms (17.5% of total)ival-neg: 1.0ms (17.5% 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 (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ()) |
#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ()) |
#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor 0 b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt b (taylor inf b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt b (taylor -inf b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt b (taylor 0 a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor 0 a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor 0 a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor 0 a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor 0 a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor inf a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor inf a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor inf a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor inf a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor inf a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 #s(approx (- b a) (neg.f64 a))) (patch (fabs.f64 #s(approx (- b a) (neg.f64 a))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor -inf a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt #s(approx (- b a) (neg.f64 a)) (patch #s(approx (- b a) (neg.f64 a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor -inf a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor -inf a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor -inf a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor -inf a) (#s(alt (neg.f64 a) (patch (neg.f64 a) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | a | @ | inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a)) |
| 0.0ms | a | @ | -inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a)) |
| 0.0ms | b | @ | inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a)) |
| 0.0ms | b | @ | -inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a)) |
| 0.0ms | b | @ | 0 | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a) (neg a)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 327 |
| 1 | 83 | 327 |
| 2 | 191 | 327 |
| 3 | 548 | 327 |
| 4 | 1608 | 327 |
| 5 | 2447 | 327 |
| 6 | 3328 | 327 |
| 7 | 4914 | 327 |
| 8 | 5422 | 327 |
| 9 | 5798 | 327 |
| 10 | 6319 | 327 |
| 11 | 6978 | 327 |
| 12 | 7739 | 327 |
| 0 | 8116 | 327 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(* -1 a) |
(- b a) |
(- b a) |
(- b a) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
b |
(* b (+ 1 (* -1 (/ a b)))) |
(* b (+ 1 (* -1 (/ a b)))) |
(* b (+ 1 (* -1 (/ a b)))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
b |
(* -1 (* b (- (/ a b) 1))) |
(* -1 (* b (- (/ a b) 1))) |
(* -1 (* b (- (/ a b) 1))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
b |
(+ b (* -1 a)) |
(+ b (* -1 a)) |
(+ b (* -1 a)) |
(* -1 a) |
(* -1 a) |
(* -1 a) |
(* -1 a) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(* -1 a) |
(* a (- (/ b a) 1)) |
(* a (- (/ b a) 1)) |
(* a (- (/ b a) 1)) |
(* -1 a) |
(* -1 a) |
(* -1 a) |
(* -1 a) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(* -1 a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(* -1 a) |
(* -1 a) |
(* -1 a) |
(* -1 a) |
| Outputs |
|---|
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(- b a) |
(-.f64 b a) |
(- b a) |
(-.f64 b a) |
(- b a) |
(-.f64 b a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
b |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
b |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
b |
(+ b (* -1 a)) |
(-.f64 b a) |
(+ b (* -1 a)) |
(-.f64 b a) |
(+ b (* -1 a)) |
(-.f64 b a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
(* -1 a) |
(neg.f64 a) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 24 |
| 0 | 11 | 24 |
| 1 | 32 | 24 |
| 2 | 163 | 24 |
| 3 | 1576 | 20 |
| 0 | 9747 | 20 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- b a) (neg.f64 a))) |
#s(approx (- b a) (neg.f64 a)) |
(neg.f64 a) |
| 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> |
Compiled 1 045 to 225 computations (78.5% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 132 | 1 | 133 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 133 | 2 | 135 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
| ▶ | 55.4% | (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
Compiled 11 to 12 computations (-9.1% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- b a) a) | |
| cost-diff | 0 | (fabs.f64 #s(approx (- b a) a)) | |
| cost-diff | 0 | (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 21 |
| 0 | 9 | 21 |
| 1 | 12 | 21 |
| 2 | 17 | 21 |
| 3 | 23 | 21 |
| 4 | 32 | 21 |
| 5 | 47 | 21 |
| 6 | 80 | 21 |
| 7 | 105 | 21 |
| 8 | 147 | 21 |
| 9 | 162 | 21 |
| 10 | 170 | 21 |
| 0 | 170 | 21 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- b a) a)) |
#s(approx (- b a) a) |
a |
#s(literal 1/2 binary64) |
| Outputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 #s(approx (- b a) a))) |
(fabs.f64 #s(approx (- b a) a)) |
#s(approx (- b a) a) |
a |
#s(literal 1/2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) | |
| accuracy | 0 | (fabs.f64 #s(approx (- b a) a)) | |
| accuracy | 62.51322158842232 | #s(approx (- b a) a) |
| 13.0ms | 256× | 0 | valid |
Compiled 17 to 8 computations (52.9% saved)
ival-mult: 3.0ms (42.2% of total)ival-sub: 1.0ms (14.1% of total)ival-true: 1.0ms (14.1% of total)ival-fabs: 1.0ms (14.1% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ()) |
#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ()) |
#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor 0 b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (- b a) (taylor 0 b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt b (taylor inf b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* b (+ 1 (* -1 (/ a b)))) (taylor inf b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (neg (+ a (* -1 b))))) (taylor -inf b) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ a (* -1 b)))) (taylor -inf b) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt b (taylor -inf b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* b (- (/ a b) 1))) (taylor -inf b) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor 0 a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor 0 a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt b (taylor 0 a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (+ b (* -1 a)) (taylor 0 a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (- b a))) (taylor inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- b a)) (taylor inf a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor inf a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* a (- (/ b a) 1)) (taylor inf a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 1/2 (fabs (+ b (* -1 a)))) (taylor -inf a) (#s(alt (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) (patch (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ b (* -1 a))) (taylor -inf a) (#s(alt (fabs.f64 #s(approx (- b a) a)) (patch (fabs.f64 #s(approx (- b a) a)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 a) (taylor -inf a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* a (+ 1 (* -1 (/ b a))))) (taylor -inf a) (#s(alt #s(approx (- b a) a) (patch #s(approx (- b a) a) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | b | @ | inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 0.0ms | b | @ | -inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 0.0ms | a | @ | inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 0.0ms | b | @ | 0 | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 0.0ms | a | @ | -inf | ((* (fabs (- b a)) 1/2) (fabs (- b a)) (- b a)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 303 |
| 1 | 83 | 303 |
| 2 | 191 | 303 |
| 3 | 548 | 303 |
| 4 | 1608 | 303 |
| 5 | 2447 | 303 |
| 6 | 3328 | 303 |
| 7 | 4914 | 303 |
| 8 | 5422 | 303 |
| 9 | 5798 | 303 |
| 10 | 6319 | 303 |
| 11 | 6978 | 303 |
| 12 | 7739 | 303 |
| 0 | 8116 | 303 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(* -1 a) |
(- b a) |
(- b a) |
(- b a) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
b |
(* b (+ 1 (* -1 (/ a b)))) |
(* b (+ 1 (* -1 (/ a b)))) |
(* b (+ 1 (* -1 (/ a b)))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
(fabs (neg (+ a (* -1 b)))) |
b |
(* -1 (* b (- (/ a b) 1))) |
(* -1 (* b (- (/ a b) 1))) |
(* -1 (* b (- (/ a b) 1))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
b |
(+ b (* -1 a)) |
(+ b (* -1 a)) |
(+ b (* -1 a)) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(* 1/2 (fabs (- b a))) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(fabs (- b a)) |
(* -1 a) |
(* a (- (/ b a) 1)) |
(* a (- (/ b a) 1)) |
(* a (- (/ b a) 1)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(fabs (+ b (* -1 a))) |
(* -1 a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
| Outputs |
|---|
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(- b a) |
(-.f64 b a) |
(- b a) |
(-.f64 b a) |
(- b a) |
(-.f64 b a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
b |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* b (+ 1 (* -1 (/ a b)))) |
(-.f64 b a) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (neg (+ a (* -1 b))))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
(fabs (neg (+ a (* -1 b)))) |
(fabs.f64 (-.f64 b a)) |
b |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* -1 (* b (- (/ a b) 1))) |
(-.f64 b a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
b |
(+ b (* -1 a)) |
(-.f64 b a) |
(+ b (* -1 a)) |
(-.f64 b a) |
(+ b (* -1 a)) |
(-.f64 b a) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (- b a))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(fabs (- b a)) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* a (- (/ b a) 1)) |
(-.f64 b a) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(* 1/2 (fabs (+ b (* -1 a)))) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(fabs (+ b (* -1 a))) |
(fabs.f64 (-.f64 b a)) |
(* -1 a) |
(neg.f64 a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
(* -1 (* a (+ 1 (* -1 (/ b a))))) |
(-.f64 b a) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 19 |
| 0 | 9 | 19 |
| 1 | 27 | 19 |
| 2 | 148 | 19 |
| 3 | 1375 | 19 |
| 0 | 9694 | 19 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
(fabs.f64 #s(approx (- b a) a)) |
#s(approx (- b a) a) |
| 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> |
Compiled 770 to 121 computations (84.3% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 99 | 0 | 99 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 99 | 2 | 101 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
| ✓ | 55.4% | (*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
Compiled 34 to 29 computations (14.7% saved)
| Inputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| Outputs |
|---|
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
5 calls:
| 2.0ms | (-.f64 a b) |
| 2.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 2.0ms | (fabs.f64 (-.f64 a b)) |
| 2.0ms | b |
| 2.0ms | a |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | a |
| 100.0% | 1 | b |
| 100.0% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 100.0% | 1 | (fabs.f64 (-.f64 a b)) |
| 100.0% | 1 | (-.f64 a b) |
Compiled 15 to 17 computations (-13.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
(*.f64 (fabs.f64 #s(approx (- b a) (neg.f64 a))) #s(literal 1/2 binary64)) |
| Outputs |
|---|
(*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
5 calls:
| 20.0ms | a |
| 2.0ms | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 2.0ms | (fabs.f64 (-.f64 a b)) |
| 1.0ms | (-.f64 a b) |
| 1.0ms | b |
| Accuracy | Segments | Branch |
|---|---|---|
| 55.4% | 1 | a |
| 55.4% | 1 | b |
| 55.4% | 1 | (/.f64 (fabs.f64 (-.f64 a b)) #s(literal 2 binary64)) |
| 55.4% | 1 | (fabs.f64 (-.f64 a b)) |
| 55.4% | 1 | (-.f64 a b) |
Compiled 15 to 17 computations (-13.3% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 14 |
| 1 | 16 | 14 |
| 2 | 23 | 14 |
| 3 | 28 | 14 |
| 4 | 31 | 14 |
| 5 | 32 | 14 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
| Outputs |
|---|
(*.f64 (fabs.f64 (-.f64 b a)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (fabs.f64 (-.f64 a b))) |
(*.f64 (fabs.f64 #s(approx (- b a) a)) #s(literal 1/2 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 303 |
| 1 | 83 | 303 |
| 2 | 191 | 303 |
| 3 | 548 | 303 |
| 4 | 1608 | 303 |
| 5 | 2447 | 303 |
| 6 | 3328 | 303 |
| 7 | 4914 | 303 |
| 8 | 5422 | 303 |
| 9 | 5798 | 303 |
| 10 | 6319 | 303 |
| 11 | 6978 | 303 |
| 12 | 7739 | 303 |
| 0 | 8116 | 303 |
| 0 | 8 | 24 |
| 0 | 11 | 24 |
| 1 | 32 | 24 |
| 2 | 163 | 24 |
| 3 | 1576 | 20 |
| 0 | 9747 | 20 |
| 0 | 6 | 13 |
| 0 | 9 | 13 |
| 1 | 38 | 13 |
| 2 | 204 | 13 |
| 3 | 1796 | 13 |
| 0 | 8632 | 13 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 46 to 42 computations (8.7% saved)
(sort a b)
Compiled 58 to 54 computations (6.9% saved)
Loading profile data...