
Time bar (total: 3.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 0 |
| 0% | 0% | 99.9% | 0.1% | 0% | 0% | 0% | 1 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0.1% | 0% | 0% | 0% | 3 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 4 |
| 75% | 74.9% | 25% | 0.1% | 0% | 0% | 0% | 5 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 6 |
| 87.5% | 87.4% | 12.5% | 0.1% | 0% | 0% | 0% | 7 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 8 |
| 93.8% | 93.7% | 6.2% | 0.1% | 0% | 0% | 0% | 9 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 10 |
| 96.9% | 96.8% | 3.1% | 0.1% | 0% | 0% | 0% | 11 |
| 98.4% | 98.3% | 1.6% | 0.1% | 0% | 0% | 0% | 12 |
Compiled 7 to 6 computations (14.3% saved)
| 481.0ms | 8 256× | 0 | valid |
ival-div: 84.0ms (54% of total)ival-sub: 62.0ms (39.8% of total)ival-true: 6.0ms (3.9% of total)ival-assert: 3.0ms (1.9% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (-.f64 x y) |
| 0 | 0 | - | 0 | - | (/.f64 (-.f64 x y) x) |
| 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 |
| 20.0ms | 512× | 0 | valid |
Compiled 29 to 16 computations (44.8% saved)
ival-sub: 3.0ms (42.6% of total)ival-div: 3.0ms (42.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 354× | times-frac |
| 232× | div-sub |
| 192× | lower-fma.f64 |
| 192× | lower-fma.f32 |
| 166× | div-sub |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 35 |
| 1 | 44 | 27 |
| 2 | 129 | 25 |
| 3 | 347 | 25 |
| 4 | 825 | 25 |
| 5 | 1162 | 25 |
| 6 | 1200 | 25 |
| 7 | 1228 | 25 |
| 8 | 1283 | 25 |
| 9 | 1303 | 25 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 11 | 5 |
| 2 | 19 | 5 |
| 3 | 32 | 5 |
| 4 | 55 | 5 |
| 5 | 88 | 5 |
| 6 | 129 | 5 |
| 7 | 258 | 5 |
| 8 | 547 | 5 |
| 9 | 610 | 5 |
| 10 | 628 | 5 |
| 11 | 652 | 5 |
| 12 | 653 | 5 |
| 0 | 653 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (-.f64 x y) x) |
| Outputs |
|---|
(/.f64 (-.f64 x y) x) |
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 (-.f64 x y) x) |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | (/.f64 (-.f64 x y) x) |
| 192× | lower-fma.f64 |
| 192× | lower-fma.f32 |
| 166× | div-sub |
| 128× | lower-*.f64 |
| 128× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 11 | 10 |
| 2 | 19 | 10 |
| 3 | 32 | 10 |
| 4 | 55 | 10 |
| 5 | 88 | 10 |
| 6 | 129 | 10 |
| 7 | 258 | 10 |
| 8 | 547 | 10 |
| 9 | 610 | 10 |
| 10 | 628 | 10 |
| 11 | 652 | 10 |
| 12 | 653 | 10 |
| 0 | 653 | 10 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 x y) x) |
(-.f64 x y) |
x |
y |
| Outputs |
|---|
(/.f64 (-.f64 x y) x) |
(-.f64 x y) |
x |
y |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 x y) | |
| accuracy | 0.01953125 | (/.f64 (-.f64 x y) x) |
| 18.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-div: 4.0ms (64% of total)ival-sub: 1.0ms (16% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ()) |
#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt 1 (taylor 0 y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<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 (* -1 (/ y x)) (taylor inf y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<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 (* -1 (/ y x)) (taylor -inf y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<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 (* -1 (/ y x)) (taylor 0 x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<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 1 (taylor inf x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<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 1 (taylor -inf x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 (-.f64 x y) x) (patch (/.f64 (-.f64 x y) x) #<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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (- x y) x) (- x y)) |
| 0.0ms | y | @ | -inf | ((/ (- x y) x) (- x y)) |
| 0.0ms | y | @ | inf | ((/ (- x y) x) (- x y)) |
| 0.0ms | x | @ | inf | ((/ (- x y) x) (- x y)) |
| 0.0ms | y | @ | 0 | ((/ (- x y) x) (- x y)) |
| 1× | egg-herbie |
| 4 562× | lower-fma.f64 |
| 4 562× | lower-fma.f32 |
| 3 310× | lower-*.f64 |
| 3 310× | lower-*.f32 |
| 2 080× | associate-/r/ |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 186 |
| 1 | 78 | 168 |
| 2 | 219 | 168 |
| 3 | 570 | 168 |
| 4 | 1458 | 168 |
| 5 | 2857 | 168 |
| 6 | 3896 | 168 |
| 7 | 4683 | 168 |
| 8 | 5005 | 168 |
| 9 | 5246 | 168 |
| 10 | 7496 | 168 |
| 11 | 7990 | 168 |
| 0 | 8114 | 168 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
x |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(* -1 (/ y x)) |
(* y (- (/ 1 y) (/ 1 x))) |
(* y (- (/ 1 y) (/ 1 x))) |
(* y (- (/ 1 y) (/ 1 x))) |
(* -1 y) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* -1 (/ y x)) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (* y (- (/ 1 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 x)) |
(/ (+ x (* -1 y)) x) |
(/ (+ x (* -1 y)) x) |
(/ (+ x (* -1 y)) x) |
(* -1 y) |
(- x y) |
(- x y) |
(- x y) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
x |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
x |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* -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 x)) |
(/.f64 (neg.f64 y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -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 x)) |
(/.f64 (neg.f64 y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(* -1 y) |
(neg.f64 y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
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) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
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) |
| 4 762× | lower-/.f32 |
| 4 760× | lower-/.f64 |
| 3 702× | lower-*.f64 |
| 3 702× | lower-*.f32 |
| 2 232× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 32 | 8 |
| 2 | 236 | 8 |
| 3 | 2382 | 8 |
| 0 | 8414 | 8 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (-.f64 x y) x) |
(-.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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 10 355 to 1 296 computations (87.5% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 473 | 3 | 476 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 473 | 4 | 477 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (-.f64 x y) x) |
| ▶ | 48.6% | (/.f64 #s(approx (- x y) (neg.f64 y)) x) |
| ▶ | 100.0% | (-.f64 #s(literal 1 binary64) (/.f64 y x)) |
| ▶ | 52.6% | #s(approx (/ (- x y) x) #s(literal 1 binary64)) |
Compiled 17 to 18 computations (-5.9% saved)
| 1× | egg-herbie |
Found 6 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 | (/.f64 #s(approx (- x y) (neg.f64 y)) x) | |
| cost-diff | 0 | (/.f64 y x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (/.f64 y x)) | |
| cost-diff | 0 | #s(approx (/ (- x y) x) #s(literal 1 binary64)) |
| 240× | lower-fma.f64 |
| 240× | lower-fma.f32 |
| 176× | lower-*.f64 |
| 176× | lower-*.f32 |
| 164× | div-sub |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 37 |
| 0 | 15 | 37 |
| 1 | 25 | 37 |
| 2 | 37 | 37 |
| 3 | 57 | 37 |
| 4 | 88 | 37 |
| 5 | 113 | 37 |
| 6 | 148 | 37 |
| 7 | 278 | 37 |
| 8 | 559 | 37 |
| 9 | 659 | 37 |
| 10 | 701 | 37 |
| 11 | 734 | 37 |
| 12 | 759 | 37 |
| 13 | 768 | 37 |
| 0 | 768 | 37 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
#s(literal 1 binary64) |
(/.f64 y x) |
y |
x |
(/.f64 #s(approx (- x y) (neg.f64 y)) x) |
#s(approx (- x y) (neg.f64 y)) |
(neg.f64 y) |
y |
x |
| Outputs |
|---|
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
(/.f64 (-.f64 x y) x) |
#s(literal 1 binary64) |
(/.f64 y x) |
y |
x |
(/.f64 #s(approx (- x y) (neg.f64 y)) x) |
#s(approx (- x y) (neg.f64 y)) |
(neg.f64 y) |
y |
x |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (neg.f64 y) | |
| accuracy | 0.01953125 | (/.f64 #s(approx (- x y) (neg.f64 y)) x) | |
| accuracy | 33.01747900410924 | #s(approx (- x y) (neg.f64 y)) | |
| accuracy | 0 | (/.f64 y x) | |
| accuracy | 0.00390625 | (-.f64 #s(literal 1 binary64) (/.f64 y x)) | |
| accuracy | 30.363619019019737 | #s(approx (/ (- x y) x) #s(literal 1 binary64)) |
| 15.0ms | 256× | 0 | valid |
Compiled 31 to 10 computations (67.7% saved)
ival-div: 3.0ms (40.8% of total)ival-sub: 3.0ms (40.8% of total)ival-neg: 1.0ms (13.6% 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 #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ()) |
#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ()) |
#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<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 1 (taylor 0 y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor 0 y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor 0 y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor 0 y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor 0 y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor 0 y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<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 (* -1 (/ y x)) (taylor inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ y x)) (taylor inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ y x)) (taylor inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (/ 1 y) (/ 1 x))) (taylor inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<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 (* -1 (/ y x)) (taylor -inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ y x)) (taylor -inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor -inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor -inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor -inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor -inf y) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ y x)) (taylor -inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (- (/ 1 x) (/ 1 y)))) (taylor -inf y) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<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 (* -1 (/ y x)) (taylor 0 x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ y x)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- x y) x) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- x y) x) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ (- x y) x) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor 0 x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor 0 x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor 0 x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor 0 x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (/ y x)) (taylor 0 x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (/ (+ x (* -1 y)) x) (taylor 0 x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<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 1 (taylor inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<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 1 (taylor -inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt #s(approx (/ (- x y) x) #s(literal 1 binary64)) (patch #s(approx (/ (- x y) x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) (/.f64 y x)) (patch (-.f64 #s(literal 1 binary64) (/.f64 y x)) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor -inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor -inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor -inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt (/ y x) (taylor -inf x) (#s(alt (/.f64 y x) (patch (/.f64 y x) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor -inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 (/ y x))) (taylor -inf x) (#s(alt (/.f64 #s(approx (- x y) (neg.f64 y)) x) (patch (/.f64 #s(approx (- x y) (neg.f64 y)) x) #<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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y)) |
| 1.0ms | y | @ | inf | ((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y)) |
| 1.0ms | y | @ | -inf | ((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y)) |
| 1.0ms | x | @ | -inf | ((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y)) |
| 1.0ms | y | @ | 0 | ((/ (- x y) x) (- 1 (/ y x)) (/ y x) (/ (- x y) x) (- x y) (neg y)) |
| 1× | egg-herbie |
| 4 508× | lower-fma.f64 |
| 4 508× | lower-fma.f32 |
| 3 466× | lower-*.f64 |
| 3 466× | lower-*.f32 |
| 1 520× | lower-/.f32 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 528 |
| 1 | 81 | 474 |
| 2 | 221 | 474 |
| 3 | 569 | 474 |
| 4 | 1545 | 474 |
| 5 | 3118 | 474 |
| 6 | 4327 | 474 |
| 7 | 5512 | 474 |
| 8 | 6278 | 474 |
| 9 | 6721 | 474 |
| 10 | 7312 | 474 |
| 11 | 7722 | 474 |
| 0 | 8028 | 474 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
x |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 (/ y x)) |
(* y (- (/ 1 y) (/ 1 x))) |
(* y (- (/ 1 y) (/ 1 x))) |
(* y (- (/ 1 y) (/ 1 x))) |
(* -1 (/ y x)) |
(* y (- (/ 1 y) (/ 1 x))) |
(* y (- (/ 1 y) (/ 1 x))) |
(* y (- (/ 1 y) (/ 1 x))) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(* -1 (/ y x)) |
(* y (- (/ 1 y) (/ 1 x))) |
(* y (- (/ 1 y) (/ 1 x))) |
(* y (- (/ 1 y) (/ 1 x))) |
(* -1 y) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 y) |
(* -1 (/ y x)) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (/ y x)) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(* -1 (/ y x)) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(* -1 (* y (- (/ 1 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) |
(* -1 (/ y x)) |
(/ (+ x (* -1 y)) x) |
(/ (+ x (* -1 y)) x) |
(/ (+ x (* -1 y)) x) |
(* -1 (/ y x)) |
(/ (- x y) x) |
(/ (- x y) x) |
(/ (- x y) x) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
(* -1 (/ y x)) |
(/ (+ x (* -1 y)) x) |
(/ (+ x (* -1 y)) x) |
(/ (+ x (* -1 y)) x) |
(* -1 y) |
(- x y) |
(- x y) |
(- x y) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(/ y x) |
(/ y x) |
(/ y x) |
(/ y x) |
1 |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
(+ 1 (* -1 (/ y x))) |
x |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
| Outputs |
|---|
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
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) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* y (- (/ 1 y) (/ 1 x))) |
(/.f64 (-.f64 x y) x) |
(* -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) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -1 (* y (- (/ 1 x) (/ 1 y)))) |
(/.f64 (-.f64 x y) x) |
(* -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) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(/ (- x y) x) |
(/.f64 (-.f64 x y) x) |
(/ (- x y) x) |
(/.f64 (-.f64 x y) x) |
(/ (- x y) x) |
(/.f64 (-.f64 x y) x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(* -1 (/ y x)) |
(/.f64 (neg.f64 y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(/ (+ x (* -1 y)) x) |
(/.f64 (-.f64 x y) x) |
(* -1 y) |
(neg.f64 y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
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) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
(/ y x) |
(/.f64 y x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
(+ 1 (* -1 (/ y x))) |
(/.f64 (-.f64 x y) x) |
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) |
| 3 086× | lower-fma.f64 |
| 3 086× | lower-fma.f32 |
| 2 950× | lower-*.f64 |
| 2 950× | lower-*.f32 |
| 2 914× | lower-/.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 31 |
| 0 | 15 | 31 |
| 1 | 66 | 31 |
| 2 | 471 | 31 |
| 3 | 7597 | 31 |
| 0 | 8545 | 31 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
(/.f64 y x) |
(/.f64 #s(approx (- x y) (neg.f64 y)) x) |
#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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 5 361 to 760 computations (85.8% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 424 | 0 | 424 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 424 | 4 | 428 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 (-.f64 x y) x) |
| ✓ | 48.6% | (/.f64 #s(approx (- x y) (neg.f64 y)) x) |
| ✓ | 100.0% | (-.f64 #s(literal 1 binary64) (/.f64 y x)) |
| ✓ | 52.6% | #s(approx (/ (- x y) x) #s(literal 1 binary64)) |
Compiled 34 to 29 computations (14.7% saved)
| Inputs |
|---|
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
(/.f64 #s(approx (- x y) (neg.f64 y)) x) |
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
(/.f64 (-.f64 x y) x) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
3 calls:
| 2.0ms | x |
| 2.0ms | y |
| 2.0ms | (/.f64 (-.f64 x y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (/.f64 (-.f64 x y) x) |
Compiled 7 to 8 computations (-14.3% saved)
| Inputs |
|---|
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
(/.f64 #s(approx (- x y) (neg.f64 y)) x) |
| Outputs |
|---|
(/.f64 #s(approx (- x y) (neg.f64 y)) x) |
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
(/.f64 #s(approx (- x y) (neg.f64 y)) x) |
3 calls:
| 2.0ms | y |
| 2.0ms | x |
| 1.0ms | (/.f64 (-.f64 x y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 77.3% | 3 | x |
| 75.7% | 3 | y |
| 97.9% | 3 | (/.f64 (-.f64 x y) x) |
Compiled 7 to 8 computations (-14.3% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
| Outputs |
|---|
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
3 calls:
| 1.0ms | x |
| 1.0ms | y |
| 1.0ms | (/.f64 (-.f64 x y) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 52.6% | 1 | y |
| 52.6% | 1 | x |
| 52.6% | 1 | (/.f64 (-.f64 x y) x) |
Compiled 7 to 8 computations (-14.3% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 1.0000000000017697 | 219338.4723861032 |
| 0.0ms | -1.066059207347635 | 0.9999976042271929 |
Compiled 8 to 9 computations (-12.5% saved)
| 1× | egg-herbie |
| 10× | +-commutative-binary64-+.f64 |
| 10× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 6× | *-commutative-binary64-*.f64 |
| 6× | neg-sub0-binary64--.f64-neg.f64 |
| 6× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 51 |
| 1 | 27 | 51 |
| 2 | 36 | 51 |
| 3 | 41 | 51 |
| 4 | 44 | 51 |
| 5 | 45 | 51 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
(if (<=.f64 (/.f64 (-.f64 x y) x) #s(literal -1 binary64)) (/.f64 #s(approx (- x y) (neg.f64 y)) x) (if (<=.f64 (/.f64 (-.f64 x y) x) #s(literal 2 binary64)) #s(approx (/ (- x y) x) #s(literal 1 binary64)) (/.f64 #s(approx (- x y) (neg.f64 y)) x))) |
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 #s(literal 1 binary64) (/.f64 y x)) |
(if (<=.f64 (/.f64 (-.f64 x y) x) #s(literal -1 binary64)) (/.f64 #s(approx (- x y) (neg.f64 y)) x) (if (<=.f64 (/.f64 (-.f64 x y) x) #s(literal 2 binary64)) #s(approx (/ (- x y) x) #s(literal 1 binary64)) (/.f64 #s(approx (- x y) (neg.f64 y)) x))) |
#s(approx (/ (- x y) x) #s(literal 1 binary64)) |
| 4 762× | lower-/.f32 |
| 4 760× | lower-/.f64 |
| 4 562× | lower-fma.f64 |
| 4 562× | lower-fma.f32 |
| 3 702× | lower-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 32 | 8 |
| 2 | 236 | 8 |
| 3 | 2382 | 8 |
| 0 | 8414 | 8 |
| 0 | 29 | 186 |
| 1 | 78 | 168 |
| 2 | 219 | 168 |
| 3 | 570 | 168 |
| 4 | 1458 | 168 |
| 5 | 2857 | 168 |
| 6 | 3896 | 168 |
| 7 | 4683 | 168 |
| 8 | 5005 | 168 |
| 9 | 5246 | 168 |
| 10 | 7496 | 168 |
| 11 | 7990 | 168 |
| 0 | 8114 | 168 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 51 to 34 computations (33.3% saved)
Compiled 90 to 52 computations (42.2% saved)
Loading profile data...