
Time bar (total: 2.4s)
| 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)
| 369.0ms | 8 220× | 0 | valid |
| 1.0ms | 9× | 3 | valid |
| 1.0ms | 11× | 2 | valid |
| 1.0ms | 16× | 1 | valid |
ival-sub: 90.0ms (57.4% of total)ival-mult: 53.0ms (33.8% of total)ival-true: 6.0ms (3.8% of total)exact: 4.0ms (2.6% of total)ival-assert: 3.0ms (1.9% of total)adjust: 1.0ms (0.6% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | y |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 0 | 0 | - | 0 | - | #s(literal 500 binary64) |
| 0 | 0 | - | 0 | - | (-.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 |
| 27.0ms | 510× | 0 | valid |
| 0.0ms | 2× | 3 | valid |
Compiled 31 to 19 computations (38.7% saved)
ival-mult: 8.0ms (51.3% of total)ival-sub: 7.0ms (44.9% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| 1× | egg-herbie |
| 240× | lower-fma.f64 |
| 240× | lower-fma.f32 |
| 144× | lower-*.f32 |
| 142× | lower-*.f64 |
| 64× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 29 |
| 1 | 38 | 25 |
| 2 | 107 | 25 |
| 3 | 298 | 25 |
| 4 | 397 | 25 |
| 5 | 424 | 25 |
| 6 | 433 | 25 |
| 0 | 5 | 5 |
| 0 | 7 | 5 |
| 1 | 10 | 5 |
| 2 | 21 | 5 |
| 3 | 39 | 5 |
| 4 | 61 | 5 |
| 5 | 86 | 5 |
| 6 | 142 | 5 |
| 7 | 211 | 5 |
| 8 | 288 | 5 |
| 9 | 330 | 5 |
| 10 | 362 | 5 |
| 0 | 362 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| Outputs |
|---|
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
Compiled 5 to 5 computations (0% saved)
Compiled 0 to 2 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
Compiled 5 to 5 computations (0% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 x y) | |
| cost-diff | 0 | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 240× | lower-fma.f64 |
| 240× | lower-fma.f32 |
| 144× | lower-*.f32 |
| 142× | lower-*.f64 |
| 64× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 11 |
| 0 | 7 | 11 |
| 1 | 10 | 11 |
| 2 | 21 | 11 |
| 3 | 39 | 11 |
| 4 | 61 | 11 |
| 5 | 86 | 11 |
| 6 | 142 | 11 |
| 7 | 211 | 11 |
| 8 | 288 | 11 |
| 9 | 330 | 11 |
| 10 | 362 | 11 |
| 0 | 362 | 11 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
#s(literal 500 binary64) |
(-.f64 x y) |
x |
y |
| Outputs |
|---|
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
#s(literal 500 binary64) |
(-.f64 x y) |
x |
y |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 x y) | |
| accuracy | 0.0234375 | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 54.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 3 | valid |
Compiled 13 to 7 computations (46.2% saved)
ival-mult: 2.0ms (54.2% of total)ival-sub: 2.0ms (54.2% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ()) |
#s(alt (-.f64 x y) (patch (-.f64 x y) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 500 x) (taylor 0 y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.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 (* -500 y) (taylor inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.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 (* -500 y) (taylor -inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.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 (* -500 y) (taylor 0 x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.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 (* 500 x) (taylor inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.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 (* 500 x) (taylor -inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.f64 x y)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (*.f64 #s(literal 500 binary64) (-.f64 x y)) (patch (*.f64 #s(literal 500 binary64) (-.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 | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((* 500 (- x y)) (- x y)) |
| 0.0ms | y | @ | inf | ((* 500 (- x y)) (- x y)) |
| 0.0ms | y | @ | -inf | ((* 500 (- x y)) (- x y)) |
| 0.0ms | y | @ | 0 | ((* 500 (- x y)) (- x y)) |
| 0.0ms | x | @ | inf | ((* 500 (- x y)) (- x y)) |
| 1× | egg-herbie |
| 26 396× | lower-fma.f64 |
| 26 396× | lower-fma.f32 |
| 3 260× | lower-+.f64 |
| 3 260× | lower-+.f32 |
| 2 160× | lower-*.f64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 207 |
| 1 | 118 | 207 |
| 2 | 316 | 207 |
| 3 | 849 | 171 |
| 4 | 1746 | 171 |
| 5 | 2886 | 171 |
| 6 | 3982 | 171 |
| 7 | 4668 | 171 |
| 8 | 5018 | 171 |
| 9 | 5127 | 171 |
| 10 | 5826 | 171 |
| 11 | 7614 | 171 |
| 0 | 8080 | 171 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 500 x) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
x |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(+ x (* -1 y)) |
(* -500 y) |
(* y (- (* 500 (/ x y)) 500)) |
(* y (- (* 500 (/ x y)) 500)) |
(* y (- (* 500 (/ x y)) 500)) |
(* -1 y) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* y (- (/ x y) 1)) |
(* -500 y) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 y) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -1 (* y (+ 1 (* -1 (/ x y))))) |
(* -500 y) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(* -1 y) |
(- x y) |
(- x y) |
(- x y) |
(* 500 x) |
(* x (+ 500 (* -500 (/ y x)))) |
(* x (+ 500 (* -500 (/ y x)))) |
(* x (+ 500 (* -500 (/ y x)))) |
x |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(* x (+ 1 (* -1 (/ y x)))) |
(* 500 x) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
x |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
(* -1 (* x (- (/ y x) 1))) |
| Outputs |
|---|
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
x |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(+ x (* -1 y)) |
(-.f64 x y) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* -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) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* -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) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* -1 y) |
(neg.f64 y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(- x y) |
(-.f64 x y) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
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) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 y x) #s(literal -500 binary64)) |
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) |
| 5 754× | lower-fma.f64 |
| 5 754× | lower-fma.f32 |
| 3 256× | lower-*.f32 |
| 3 254× | lower-*.f64 |
| 3 212× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 23 | 8 |
| 2 | 154 | 8 |
| 3 | 1501 | 8 |
| 0 | 9456 | 8 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(*.f64 #s(literal 500 binary64) (-.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> |
Compiled 6 893 to 835 computations (87.9% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 293 | 3 | 296 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 293 | 4 | 297 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
| ✓ | 100.0% | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| ▶ | 45.7% | #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
| ▶ | 56.0% | #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
Compiled 19 to 21 computations (-10.5% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x #s(literal 500 binary64)) | |
| cost-diff | 192 | (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) | |
| cost-diff | 0 | (*.f64 y #s(literal -500 binary64)) | |
| cost-diff | 0 | #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) | |
| cost-diff | 0 | (*.f64 x #s(literal 500 binary64)) | |
| cost-diff | 0 | #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
| 240× | lower-fma.f32 |
| 238× | lower-fma.f64 |
| 144× | lower-*.f32 |
| 140× | lower-*.f64 |
| 64× | lower-+.f64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 41 |
| 0 | 14 | 41 |
| 1 | 20 | 41 |
| 2 | 29 | 40 |
| 3 | 43 | 40 |
| 4 | 63 | 40 |
| 5 | 88 | 40 |
| 6 | 144 | 40 |
| 7 | 213 | 40 |
| 8 | 290 | 40 |
| 9 | 332 | 40 |
| 10 | 362 | 40 |
| 0 | 362 | 40 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
(*.f64 x #s(literal 500 binary64)) |
x |
#s(literal 500 binary64) |
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
(*.f64 y #s(literal -500 binary64)) |
y |
#s(literal -500 binary64) |
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
y |
#s(literal -500 binary64) |
(*.f64 x #s(literal 500 binary64)) |
x |
#s(literal 500 binary64) |
| Outputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
(*.f64 x #s(literal 500 binary64)) |
x |
#s(literal 500 binary64) |
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
#s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y)) |
(*.f64 y #s(literal -500 binary64)) |
(*.f64 #s(literal -500 binary64) y) |
y |
#s(literal -500 binary64) |
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
y |
#s(literal -500 binary64) |
(*.f64 x #s(literal 500 binary64)) |
x |
#s(literal 500 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x #s(literal 500 binary64)) | |
| accuracy | 0.00390625 | (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) | |
| accuracy | 0 | (*.f64 y #s(literal -500 binary64)) | |
| accuracy | 34.74492574280458 | #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) | |
| accuracy | 0 | (*.f64 x #s(literal 500 binary64)) | |
| accuracy | 28.147719157564072 | #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
| 18.0ms | 255× | 0 | valid |
| 0.0ms | 1× | 3 | valid |
Compiled 36 to 11 computations (69.4% saved)
ival-mult: 6.0ms (66.9% of total)ival-sub: 2.0ms (22.3% of total)ival-add: 1.0ms (11.2% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ()) |
#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt (* 500 x) (taylor 0 y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor 0 y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor 0 y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor inf y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* y (- (* 500 (/ x y)) 500)) (taylor inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor -inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor -inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor -inf y) (#s(alt (*.f64 y #s(literal -500 binary64)) (patch (*.f64 y #s(literal -500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* y (+ 500 (* -500 (/ x y))))) (taylor -inf y) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor 0 x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor 0 x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -500 y) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (+ (* -500 y) (* 500 x)) (taylor 0 x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 500 (* -500 (/ y x)))) (taylor inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor -inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 500 binary64)) (patch (*.f64 x #s(literal 500 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor -inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) (patch #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 500 x) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (* 500 (/ y x)) 500))) (taylor -inf x) (#s(alt (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) (patch (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) #<representation binary64>) () ())) ()) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | y | @ | inf | ((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* y -500) (* x 500))) |
| 1.0ms | y | @ | 0 | ((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* y -500) (* x 500))) |
| 1.0ms | y | @ | -inf | ((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* y -500) (* x 500))) |
| 0.0ms | x | @ | -inf | ((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* y -500) (* x 500))) |
| 0.0ms | x | @ | inf | ((* 500 (- x y)) (* x 500) (* 500 (- x y)) (* y -500) (+ (* y -500) (* x 500))) |
| 1× | egg-herbie |
| 3 814× | lower-*.f64 |
| 3 814× | lower-*.f32 |
| 3 734× | lower-fma.f64 |
| 3 734× | lower-fma.f32 |
| 2 184× | lower-/.f32 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 504 |
| 1 | 64 | 504 |
| 2 | 169 | 504 |
| 3 | 357 | 450 |
| 4 | 704 | 396 |
| 5 | 2126 | 396 |
| 6 | 3860 | 396 |
| 7 | 5096 | 396 |
| 8 | 5712 | 396 |
| 9 | 6117 | 396 |
| 10 | 6501 | 396 |
| 11 | 6901 | 396 |
| 12 | 7957 | 396 |
| 0 | 8074 | 396 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
(* 500 x) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(* 500 x) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(* -500 y) |
(* -500 y) |
(* -500 y) |
(* -500 y) |
(* 500 x) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(* -500 y) |
(* y (- (* 500 (/ x y)) 500)) |
(* y (- (* 500 (/ x y)) 500)) |
(* y (- (* 500 (/ x y)) 500)) |
(* -500 y) |
(* y (- (* 500 (/ x y)) 500)) |
(* y (- (* 500 (/ x y)) 500)) |
(* y (- (* 500 (/ x y)) 500)) |
(* -500 y) |
(* -500 y) |
(* -500 y) |
(* -500 y) |
(* -500 y) |
(* y (- (* 500 (/ x y)) 500)) |
(* y (- (* 500 (/ x y)) 500)) |
(* y (- (* 500 (/ x y)) 500)) |
(* -500 y) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -500 y) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -500 y) |
(* -500 y) |
(* -500 y) |
(* -500 y) |
(* -500 y) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(* -500 y) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(* 500 x) |
(* 500 x) |
(* 500 x) |
(* 500 x) |
(* -500 y) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(* -500 y) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(+ (* -500 y) (* 500 x)) |
(* 500 x) |
(* x (+ 500 (* -500 (/ y x)))) |
(* x (+ 500 (* -500 (/ y x)))) |
(* x (+ 500 (* -500 (/ y x)))) |
(* 500 x) |
(* 500 x) |
(* 500 x) |
(* 500 x) |
(* 500 x) |
(* x (+ 500 (* -500 (/ y x)))) |
(* x (+ 500 (* -500 (/ y x)))) |
(* x (+ 500 (* -500 (/ y x)))) |
(* 500 x) |
(* x (+ 500 (* -500 (/ y x)))) |
(* x (+ 500 (* -500 (/ y x)))) |
(* x (+ 500 (* -500 (/ y x)))) |
(* 500 x) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* 500 x) |
(* 500 x) |
(* 500 x) |
(* 500 x) |
(* 500 x) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* 500 x) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
| Outputs |
|---|
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* y (- (* 500 (/ x y)) 500)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* y (+ 500 (* -500 (/ x y))))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -500 y) |
(*.f64 y #s(literal -500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(+ (* -500 y) (* 500 x)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* x (+ 500 (* -500 (/ y x)))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* 500 x) |
(*.f64 x #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(* -1 (* x (- (* 500 (/ y x)) 500))) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
| 5 502× | lower-fma.f32 |
| 5 500× | lower-fma.f64 |
| 4 514× | lower-*.f32 |
| 4 510× | lower-*.f64 |
| 4 150× | lower-/.f64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 30 |
| 0 | 14 | 30 |
| 1 | 45 | 30 |
| 2 | 325 | 29 |
| 3 | 3274 | 29 |
| 0 | 9093 | 29 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
(*.f64 x #s(literal 500 binary64)) |
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
(*.f64 y #s(literal -500 binary64)) |
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 5 248 to 563 computations (89.3% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 302 | 0 | 302 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 1 | 1 |
| Total | 302 | 4 | 306 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
| ✓ | 100.0% | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| ✓ | 45.7% | #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
| ✓ | 56.0% | #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
Compiled 38 to 32 computations (15.8% saved)
| Inputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
| Outputs |
|---|
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
4 calls:
| 4.0ms | y |
| 2.0ms | x |
| 2.0ms | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 2.0ms | (-.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 100.0% | 1 | (-.f64 x y) |
Compiled 10 to 12 computations (-20% saved)
| Inputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| Outputs |
|---|
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
4 calls:
| 2.0ms | x |
| 2.0ms | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 2.0ms | (-.f64 x y) |
| 2.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | y |
| 100.0% | 1 | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 100.0% | 1 | (-.f64 x y) |
Compiled 10 to 12 computations (-20% saved)
| Inputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
| Outputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
#s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) |
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
4 calls:
| 2.0ms | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 2.0ms | x |
| 2.0ms | (-.f64 x y) |
| 1.0ms | y |
| Accuracy | Segments | Branch |
|---|---|---|
| 81.9% | 3 | x |
| 75.6% | 3 | y |
| 66.3% | 6 | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 66.3% | 6 | (-.f64 x y) |
Compiled 10 to 12 computations (-20% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
| Outputs |
|---|
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
4 calls:
| 6.0ms | x |
| 1.0ms | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 1.0ms | y |
| 1.0ms | (-.f64 x y) |
| Accuracy | Segments | Branch |
|---|---|---|
| 56.0% | 1 | (*.f64 #s(literal 500 binary64) (-.f64 x y)) |
| 56.0% | 1 | (-.f64 x y) |
| 56.0% | 1 | y |
| 56.0% | 1 | x |
Compiled 10 to 12 computations (-20% saved)
| 2× | binary-search |
| 1× | narrow-enough |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 6.0ms | 1.4871345746348427e-97 | 1.060165868370096e-96 |
| 9.0ms | -32530.942236274448 | -1.708323790204963 |
| 7.0ms | 224× | 0 | valid |
Compiled 120 to 178 computations (-48.3% saved)
ival-sub: 1.0ms (33.3% of total)ival-mult: 1.0ms (33.3% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 8× | *-commutative-binary64-*.f64 |
| 4× | +-commutative-binary64-+.f64 |
| 4× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 2× | neg-sub0-binary64--.f64-neg.f64 |
| 2× | neg-mul-1-binary64-*.f64-neg.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 55 |
| 1 | 24 | 55 |
| 2 | 29 | 55 |
| 3 | 31 | 55 |
| 4 | 32 | 55 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
(if (<=.f64 x #s(literal -400 binary64)) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (if (<=.f64 x #s(literal 2404907604760405/2404907604760405225358828131112281116032698930082119547604265954848982041717359046106827774346003151904701415424 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))))) |
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
| Outputs |
|---|
(fma.f64 y #s(literal -500 binary64) (*.f64 x #s(literal 500 binary64))) |
(fma.f64 y #s(literal -500 binary64) (*.f64 #s(literal 500 binary64) x)) |
(*.f64 #s(literal 500 binary64) (-.f64 x y)) |
(*.f64 (-.f64 x y) #s(literal 500 binary64)) |
(if (<=.f64 x #s(literal -400 binary64)) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) (if (<=.f64 x #s(literal 2404907604760405/2404907604760405225358828131112281116032698930082119547604265954848982041717359046106827774346003151904701415424 binary64)) #s(approx (* 500 (- x y)) (*.f64 y #s(literal -500 binary64))) #s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))))) |
(if (<=.f64 x #s(literal -400 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) (if (<=.f64 x #s(literal 2404907604760405/2404907604760405225358828131112281116032698930082119547604265954848982041717359046106827774346003151904701415424 binary64)) #s(approx (* 500 (- x y)) (*.f64 #s(literal -500 binary64) y)) #s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)))) |
#s(approx (* 500 (- x y)) (*.f64 x #s(literal 500 binary64))) |
#s(approx (* 500 (- x y)) (*.f64 #s(literal 500 binary64) x)) |
| 26 396× | lower-fma.f64 |
| 26 396× | lower-fma.f32 |
| 5 754× | lower-fma.f64 |
| 5 754× | lower-fma.f32 |
| 3 260× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 8 |
| 0 | 7 | 8 |
| 1 | 23 | 8 |
| 2 | 154 | 8 |
| 3 | 1501 | 8 |
| 0 | 9456 | 8 |
| 0 | 40 | 207 |
| 1 | 118 | 207 |
| 2 | 316 | 207 |
| 3 | 849 | 171 |
| 4 | 1746 | 171 |
| 5 | 2886 | 171 |
| 6 | 3982 | 171 |
| 7 | 4668 | 171 |
| 8 | 5018 | 171 |
| 9 | 5127 | 171 |
| 10 | 5826 | 171 |
| 11 | 7614 | 171 |
| 0 | 8080 | 171 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
Compiled 55 to 37 computations (32.7% saved)
Compiled 80 to 44 computations (45% saved)
Loading profile data...