
Time bar (total: 2.8s)
| 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 7 to 7 computations (0% saved)
| 442.0ms | 8 256× | 0 | valid |
ival-sub: 125.0ms (45.5% of total)ival-fabs: 72.0ms (26.2% of total)ival-sqrt: 68.0ms (24.8% of total)ival-true: 6.0ms (2.2% of total)ival-assert: 3.0ms (1.1% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (fabs.f64 (-.f64 x y)) |
| 0 | 0 | - | 0 | - | (-.f64 x y) |
| 0 | 0 | - | 0 | - | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 0 | 0 | - | 0 | - | x |
| 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 |
| 22.0ms | 512× | 0 | valid |
Compiled 51 to 24 computations (52.9% saved)
ival-sqrt: 4.0ms (39.3% of total)ival-sub: 3.0ms (29.4% of total)ival-fabs: 3.0ms (29.4% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 31 |
| 1 | 35 | 27 |
| 2 | 72 | 27 |
| 3 | 137 | 27 |
| 4 | 185 | 27 |
| 5 | 197 | 27 |
| 6 | 199 | 27 |
| 0 | 5 | 5 |
| 0 | 8 | 5 |
| 1 | 12 | 5 |
| 2 | 19 | 5 |
| 3 | 27 | 5 |
| 4 | 46 | 5 |
| 5 | 93 | 5 |
| 6 | 144 | 5 |
| 7 | 165 | 5 |
| 8 | 173 | 5 |
| 0 | 173 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sort x y)
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
Compiled 5 to 5 computations (0% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | (fabs.f64 (-.f64 x y)) | |
| cost-diff | 0 | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 14 |
| 0 | 8 | 14 |
| 1 | 12 | 14 |
| 2 | 19 | 14 |
| 3 | 27 | 14 |
| 4 | 46 | 14 |
| 5 | 93 | 14 |
| 6 | 144 | 14 |
| 7 | 165 | 14 |
| 8 | 173 | 14 |
| 0 | 173 | 14 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs.f64 (-.f64 x y)) |
(-.f64 x y) |
x |
y |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(fabs.f64 (-.f64 x y)) |
(fabs.f64 (-.f64 y x)) |
(-.f64 x y) |
x |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 x y) | |
| accuracy | 0 | (sqrt.f64 (fabs.f64 (-.f64 x y))) | |
| accuracy | 0 | (fabs.f64 (-.f64 x y)) |
| 11.0ms | 256× | 0 | valid |
Compiled 30 to 12 computations (60% saved)
ival-sqrt: 2.0ms (39.7% of total)ival-sub: 1.0ms (19.8% of total)ival-fabs: 1.0ms (19.8% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ()) |
#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ()) |
#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 (-.f64 x y))) (patch (sqrt.f64 (fabs.f64 (-.f64 x y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 (-.f64 x y)) (patch (fabs.f64 (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | y | @ | -inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 1.0ms | x | @ | -inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 1.0ms | y | @ | inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 0.0ms | y | @ | 0 | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 0.0ms | x | @ | inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 279 |
| 1 | 79 | 279 |
| 2 | 186 | 279 |
| 3 | 541 | 279 |
| 4 | 1596 | 279 |
| 5 | 2435 | 279 |
| 6 | 3316 | 279 |
| 7 | 4901 | 279 |
| 8 | 5409 | 279 |
| 9 | 5785 | 279 |
| 10 | 6306 | 279 |
| 11 | 6970 | 279 |
| 12 | 7705 | 279 |
| 0 | 8082 | 279 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
x |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(* -1 y) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(* -1 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(* -1 y) |
(- x y) |
(- x y) |
(- x y) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
x |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
| Outputs |
|---|
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
x |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
x |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 12 |
| 0 | 8 | 12 |
| 1 | 29 | 12 |
| 2 | 181 | 12 |
| 3 | 1675 | 12 |
| 0 | 8378 | 12 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs.f64 (-.f64 x y)) |
(-.f64 x y) |
| 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> |
Compiled 9 124 to 1 402 computations (84.6% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 390 | 1 | 391 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 390 | 2 | 392 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| ▶ | 50.9% | (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) |
Compiled 10 to 11 computations (-10% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (neg.f64 y) | |
| cost-diff | 0 | #s(approx (- x y) (neg.f64 y)) | |
| cost-diff | 0 | (fabs.f64 #s(approx (- x y) (neg.f64 y))) | |
| cost-diff | 0 | (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 24 |
| 0 | 10 | 24 |
| 1 | 15 | 24 |
| 2 | 20 | 24 |
| 3 | 27 | 24 |
| 4 | 36 | 24 |
| 5 | 53 | 24 |
| 6 | 79 | 24 |
| 7 | 103 | 24 |
| 8 | 145 | 24 |
| 9 | 160 | 24 |
| 10 | 168 | 24 |
| 0 | 168 | 24 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) |
(fabs.f64 #s(approx (- x y) (neg.f64 y))) |
#s(approx (- x y) (neg.f64 y)) |
(neg.f64 y) |
y |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) |
(fabs.f64 #s(approx (- x y) (neg.f64 y))) |
#s(approx (- x y) (neg.f64 y)) |
(neg.f64 y) |
y |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) | |
| accuracy | 0 | (neg.f64 y) | |
| accuracy | 0 | (fabs.f64 #s(approx (- x y) (neg.f64 y))) | |
| accuracy | 32.38944963047957 | #s(approx (- x y) (neg.f64 y)) |
| 13.0ms | 256× | 0 | valid |
Compiled 32 to 14 computations (56.3% saved)
ival-sqrt: 2.0ms (33.4% of total)ival-sub: 1.0ms (16.7% of total)ival-fabs: 1.0ms (16.7% of total)ival-neg: 1.0ms (16.7% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ()) |
#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ()) |
#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ()) |
#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt (neg.f64 y) (patch (neg.f64 y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) (neg.f64 y))) (patch (fabs.f64 #s(approx (- x y) (neg.f64 y))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) (neg.f64 y)) (patch #s(approx (- x y) (neg.f64 y)) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | y | @ | inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y)) |
| 0.0ms | y | @ | -inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y)) |
| 0.0ms | y | @ | 0 | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y)) |
| 0.0ms | x | @ | -inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y)) |
| 0.0ms | x | @ | inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y) (neg y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 303 |
| 1 | 79 | 303 |
| 2 | 186 | 303 |
| 3 | 541 | 303 |
| 4 | 1596 | 303 |
| 5 | 2435 | 303 |
| 6 | 3316 | 303 |
| 7 | 4901 | 303 |
| 8 | 5409 | 303 |
| 9 | 5785 | 303 |
| 10 | 6306 | 303 |
| 11 | 6970 | 303 |
| 12 | 7705 | 303 |
| 0 | 8082 | 303 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
x |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(* -1 y) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(* -1 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(* -1 y) |
(- x y) |
(- x y) |
(- x y) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
x |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
| Outputs |
|---|
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
x |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(* -1 y) |
(neg.f64 y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
x |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 23 |
| 0 | 10 | 23 |
| 1 | 32 | 23 |
| 2 | 170 | 23 |
| 3 | 1595 | 19 |
| 0 | 9614 | 19 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) |
(fabs.f64 #s(approx (- x y) (neg.f64 y))) |
#s(approx (- x y) (neg.f64 y)) |
(neg.f64 y) |
| 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> |
Compiled 999 to 248 computations (75.2% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 143 | 1 | 144 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 144 | 2 | 146 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| ▶ | 50.9% | (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
Compiled 9 to 10 computations (-11.1% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- x y) y) | |
| cost-diff | 0 | (fabs.f64 #s(approx (- x y) y)) | |
| cost-diff | 0 | (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 19 |
| 0 | 8 | 19 |
| 1 | 10 | 19 |
| 2 | 15 | 19 |
| 3 | 21 | 19 |
| 4 | 30 | 19 |
| 5 | 45 | 19 |
| 6 | 78 | 19 |
| 7 | 105 | 19 |
| 8 | 147 | 19 |
| 9 | 162 | 19 |
| 10 | 170 | 19 |
| 0 | 170 | 19 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
(fabs.f64 #s(approx (- x y) y)) |
#s(approx (- x y) y) |
y |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
(fabs.f64 #s(approx (- x y) y)) |
#s(approx (- x y) y) |
y |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) | |
| accuracy | 0 | (fabs.f64 #s(approx (- x y) y)) | |
| accuracy | 62.62440350207929 | #s(approx (- x y) y) |
| 11.0ms | 256× | 0 | valid |
Compiled 25 to 12 computations (52% saved)
ival-fabs: 2.0ms (38% of total)ival-sqrt: 2.0ms (38% of total)ival-sub: 1.0ms (19% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ()) |
#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ()) |
#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (+ x (* -1 y)) (taylor 0 y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ x y) 1)) (taylor inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (+ x (* -1 y)))) (taylor -inf y) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (+ x (* -1 y))) (taylor -inf y) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor -inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 1 (* -1 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor 0 x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor 0 x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 y) (taylor 0 x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (- x y) (taylor 0 x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (- x y))) (taylor inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (- x y)) (taylor inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* -1 (/ y x)))) (taylor inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (sqrt (fabs (neg (+ y (* -1 x))))) (taylor -inf x) (#s(alt (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) (patch (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt (fabs (neg (+ y (* -1 x)))) (taylor -inf x) (#s(alt (fabs.f64 #s(approx (- x y) y)) (patch (fabs.f64 #s(approx (- x y) y)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor -inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ y x) 1))) (taylor -inf x) (#s(alt #s(approx (- x y) y) (patch #s(approx (- x y) y) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 61.0ms | y | @ | 0 | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 1.0ms | y | @ | -inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 0.0ms | y | @ | inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 0.0ms | x | @ | -inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 0.0ms | x | @ | inf | ((sqrt (fabs (- x y))) (fabs (- x y)) (- x y)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 279 |
| 1 | 79 | 279 |
| 2 | 186 | 279 |
| 3 | 541 | 279 |
| 4 | 1596 | 279 |
| 5 | 2435 | 279 |
| 6 | 3316 | 279 |
| 7 | 4901 | 279 |
| 8 | 5409 | 279 |
| 9 | 5785 | 279 |
| 10 | 6306 | 279 |
| 11 | 6970 | 279 |
| 12 | 7705 | 279 |
| 0 | 8082 | 279 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
x |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(* -1 y) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt (fabs (+ x (* -1 y)))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(fabs (+ x (* -1 y))) |
(* -1 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(* -1 y) |
(- x y) |
(- x y) |
(- x y) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(sqrt (fabs (- x y))) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
(fabs (- x y)) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs (neg (+ y (* -1 x)))) |
x |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
| Outputs |
|---|
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
x |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(* y (- (/ x y) 1)) |
(-.f64 x y) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (+ x (* -1 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(fabs (+ x (* -1 y))) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(-.f64 x y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(* -1 y) |
(neg.f64 y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (- x y))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
(fabs (- x y)) |
(fabs.f64 (-.f64 x y)) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(* x (+ 1 (* -1 (/ y x)))) |
(-.f64 x y) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt (fabs (neg (+ y (* -1 x))))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
(fabs (neg (+ y (* -1 x)))) |
(fabs.f64 (-.f64 x y)) |
x |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
(* -1 (* x (- (/ y x) 1))) |
(-.f64 x y) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 18 |
| 0 | 8 | 18 |
| 1 | 27 | 18 |
| 2 | 155 | 18 |
| 3 | 1398 | 18 |
| 0 | 9745 | 18 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
(fabs.f64 #s(approx (- x y) y)) |
#s(approx (- x y) y) |
| 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> |
Compiled 784 to 149 computations (81% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 112 | 0 | 112 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 112 | 2 | 114 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| ✓ | 50.9% | (sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
Compiled 23 to 22 computations (4.3% saved)
| Inputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) |
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
5 calls:
| 2.0ms | (-.f64 x y) |
| 2.0ms | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 2.0ms | (fabs.f64 (-.f64 x y)) |
| 2.0ms | y |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 100.0% | 1 | (fabs.f64 (-.f64 x y)) |
| 100.0% | 1 | (-.f64 x y) |
Compiled 14 to 16 computations (-14.3% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
(sqrt.f64 (fabs.f64 #s(approx (- x y) (neg.f64 y)))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
5 calls:
| 4.0ms | (-.f64 x y) |
| 2.0ms | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 2.0ms | (fabs.f64 (-.f64 x y)) |
| 2.0ms | x |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 50.9% | 1 | x |
| 50.9% | 1 | y |
| 50.9% | 1 | (sqrt.f64 (fabs.f64 (-.f64 x y))) |
| 50.9% | 1 | (fabs.f64 (-.f64 x y)) |
| 50.9% | 1 | (-.f64 x y) |
Compiled 14 to 16 computations (-14.3% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 12 |
| 1 | 13 | 12 |
| 2 | 20 | 12 |
| 3 | 25 | 12 |
| 4 | 28 | 12 |
| 5 | 29 | 12 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
| Outputs |
|---|
(sqrt.f64 (fabs.f64 (-.f64 x y))) |
(sqrt.f64 (fabs.f64 (-.f64 y x))) |
(sqrt.f64 (fabs.f64 #s(approx (- x y) y))) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 23 |
| 0 | 10 | 23 |
| 1 | 32 | 23 |
| 2 | 170 | 23 |
| 3 | 1595 | 19 |
| 0 | 9614 | 19 |
| 0 | 30 | 279 |
| 1 | 79 | 279 |
| 2 | 186 | 279 |
| 3 | 541 | 279 |
| 4 | 1596 | 279 |
| 5 | 2435 | 279 |
| 6 | 3316 | 279 |
| 7 | 4901 | 279 |
| 8 | 5409 | 279 |
| 9 | 5785 | 279 |
| 10 | 6306 | 279 |
| 11 | 6970 | 279 |
| 12 | 7705 | 279 |
| 0 | 8082 | 279 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 18 to 19 computations (-5.6% saved)
(sort x y)
Compiled 48 to 46 computations (4.2% saved)
Loading profile data...