
Time bar (total: 2.6s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 9 to 8 computations (11.1% saved)
| 513.0ms | 8 256× | 0 | valid |
ival-mult: 153.0ms (61.2% of total)ival-sub: 80.0ms (32% of total)exact: 8.0ms (3.2% of total)ival-true: 6.0ms (2.4% of total)ival-assert: 3.0ms (1.2% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 0 | 0 | - | 0 | - | (*.f64 x 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 |
| 21.0ms | 512× | 0 | valid |
Compiled 47 to 22 computations (53.2% saved)
ival-mult: 7.0ms (68.9% of total)ival-sub: 2.0ms (19.7% of total)exact: 1.0ms (9.8% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 40× | associate-*r* |
| 36× | distribute-lft-neg-in |
| 30× | associate-*l* |
| 28× | distribute-rgt-neg-in |
| 24× | distribute-lft-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 25 | 15 |
| 2 | 72 | 14 |
| 3 | 178 | 14 |
| 4 | 255 | 14 |
| 5 | 280 | 14 |
| 6 | 284 | 14 |
| 0 | 6 | 7 |
| 0 | 9 | 7 |
| 1 | 17 | 7 |
| 2 | 21 | 7 |
| 0 | 21 | 6 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(abs x)
Compiled 7 to 6 computations (14.3% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
Compiled 7 to 6 computations (14.3% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| cost-diff | 128 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 14× | lower-*.f32 |
| 10× | lower-*.f64 |
| 8× | lower-fma.f64 |
| 8× | lower-fma.f32 |
| 6× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 18 |
| 0 | 9 | 18 |
| 1 | 17 | 18 |
| 2 | 21 | 18 |
| 0 | 21 | 17 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal 1 binary64) |
| Outputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal 1 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 11.0ms | 256× | 0 | valid |
Compiled 20 to 8 computations (60% saved)
ival-mult: 3.0ms (52.6% of total)ival-sub: 2.0ms (35.1% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) (patch (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
| 1.0ms | x | @ | -inf | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
| 1.0ms | x | @ | 0 | ((- (* (* x x) 2) 1) (* (* x x) 2) (* x x)) |
| 1× | egg-herbie |
| 4 322× | lower-*.f64 |
| 4 322× | lower-*.f32 |
| 2 742× | lower-fma.f64 |
| 2 742× | lower-fma.f32 |
| 1 600× | div-sub |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 170 |
| 1 | 19 | 170 |
| 2 | 40 | 170 |
| 3 | 85 | 170 |
| 4 | 201 | 170 |
| 5 | 342 | 170 |
| 6 | 835 | 170 |
| 7 | 2313 | 170 |
| 8 | 3232 | 170 |
| 9 | 5538 | 170 |
| 0 | 8305 | 161 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
| 12 208× | lower-fma.f64 |
| 12 208× | lower-fma.f32 |
| 3 996× | lower-*.f32 |
| 3 992× | lower-*.f64 |
| 3 976× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 31 | 15 |
| 2 | 173 | 15 |
| 3 | 1563 | 15 |
| 0 | 8539 | 14 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 7 299 to 642 computations (91.2% saved)
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 277 | 3 | 280 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 278 | 3 | 281 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
| ▶ | 46.0% | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ▶ | 53.7% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 14 to 13 computations (7.1% saved)
| 1× | egg-herbie |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| cost-diff | 0 | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| 14× | lower-*.f32 |
| 10× | lower-*.f64 |
| 8× | lower-fma.f32 |
| 6× | *-commutative |
| 6× | lower-fma.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 45 |
| 0 | 15 | 43 |
| 1 | 22 | 43 |
| 2 | 25 | 43 |
| 0 | 25 | 43 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x #s(literal -1 binary64)) |
(*.f64 x x) |
x |
#s(literal 2 binary64) |
#s(literal -1 binary64) |
Found 6 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) | |
| accuracy | 34.582528324185496 | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) | |
| accuracy | 29.65032844680504 | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| 13.0ms | 256× | 0 | valid |
Compiled 40 to 10 computations (75% saved)
ival-mult: 3.0ms (48.6% of total)ival-sub: 1.0ms (16.2% of total)ival-add: 1.0ms (16.2% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ()) |
#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor 0 x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* 2 (pow x 2)) 1) (taylor 0 x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) (patch #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) (patch #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (*.f64 (*.f64 x x) #s(literal 2 binary64)) (patch (*.f64 (*.f64 x x) #s(literal 2 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (* 2 (pow x 2)) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (- 2 (/ 1 (pow x 2)))) (taylor -inf x) (#s(alt (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) (patch (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* x x) 2) -1)) |
| 1.0ms | x | @ | -inf | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* x x) 2) -1)) |
| 0.0ms | x | @ | 0 | ((- (* (* x x) 2) 1) (- (* (* x x) 2) 1) (* (* x x) 2) (* x x) (+ (* (* x x) 2) -1)) |
| 1× | egg-herbie |
| 4 322× | lower-*.f64 |
| 4 322× | lower-*.f32 |
| 2 742× | lower-fma.f64 |
| 2 742× | lower-fma.f32 |
| 1 600× | div-sub |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 318 |
| 1 | 19 | 318 |
| 2 | 40 | 318 |
| 3 | 85 | 318 |
| 4 | 201 | 318 |
| 5 | 342 | 318 |
| 6 | 835 | 318 |
| 7 | 2313 | 318 |
| 8 | 3232 | 318 |
| 9 | 5538 | 318 |
| 0 | 8305 | 291 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
-1 |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
-1 |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
-1 |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(- (* 2 (pow x 2)) 1) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(* 2 (pow x 2)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
-1 |
#s(literal -1 binary64) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 (pow x 2)) 1) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(* (pow x 2) (- 2 (/ 1 (pow x 2)))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
| 10 184× | lower-fma.f32 |
| 10 182× | lower-fma.f64 |
| 3 586× | lower-*.f32 |
| 3 582× | lower-*.f64 |
| 2 994× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 36 |
| 0 | 15 | 34 |
| 1 | 45 | 34 |
| 2 | 249 | 34 |
| 3 | 2365 | 34 |
| 0 | 9306 | 34 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x x) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 7 217 to 737 computations (89.8% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 370 | 0 | 370 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 3 | 3 |
| Done | 0 | 0 | 0 |
| Total | 370 | 3 | 373 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
| ✓ | 46.0% | #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| ✓ | 53.7% | #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
Compiled 35 to 23 computations (34.3% saved)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Outputs |
|---|
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
4 calls:
| 4.0ms | (*.f64 x x) |
| 2.0ms | x |
| 2.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 2.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 100.0% | 1 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 16 to 13 computations (18.8% saved)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
#s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64))) |
4 calls:
| 3.0ms | x |
| 1.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 1.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.8% | 2 | x |
| 97.8% | 2 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 97.8% | 2 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 97.8% | 2 | (*.f64 x x) |
Compiled 16 to 13 computations (18.8% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
4 calls:
| 1.0ms | x |
| 1.0ms | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 1.0ms | (*.f64 x x) |
| 1.0ms | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 53.7% | 1 | x |
| 53.7% | 1 | (-.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 1 binary64)) |
| 53.7% | 1 | (*.f64 (*.f64 x x) #s(literal 2 binary64)) |
| 53.7% | 1 | (*.f64 x x) |
Compiled 16 to 13 computations (18.8% saved)
| 1× | binary-search |
| 1× | narrow-enough |
| Time | Left | Right |
|---|---|---|
| 9.0ms | 0.11284686238773584 | 31356.306601387903 |
| 5.0ms | 144× | 0 | valid |
Compiled 64 to 91 computations (-42.2% saved)
ival-sub: 1.0ms (48.9% of total)ival-mult: 1.0ms (48.9% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| 1× | egg-herbie |
| 2× | 1-exp-binary32-exp.f32 |
| 2× | *-commutative-binary64-*.f64 |
| 2× | 1-exp-binary64-exp.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 43 |
| 1 | 19 | 43 |
| 1× | saturated |
| Inputs |
|---|
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(if (<=.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
(fma.f64 (*.f64 x x) #s(literal 2 binary64) #s(literal -1 binary64)) |
(if (<=.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (- (* (* x x) 2) 1) (*.f64 (*.f64 x x) #s(literal 2 binary64)))) |
(if (<=.f64 (*.f64 x x) #s(literal 1/2 binary64)) #s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) #s(approx (- (* (* x x) 2) 1) (*.f64 #s(literal 2 binary64) (*.f64 x x)))) |
#s(approx (- (* (* x x) 2) 1) #s(literal -1 binary64)) |
| 12 208× | lower-fma.f64 |
| 12 208× | lower-fma.f32 |
| 4 322× | lower-*.f64 |
| 4 322× | lower-*.f32 |
| 3 996× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 170 |
| 1 | 19 | 170 |
| 2 | 40 | 170 |
| 3 | 85 | 170 |
| 4 | 201 | 170 |
| 5 | 342 | 170 |
| 6 | 835 | 170 |
| 7 | 2313 | 170 |
| 8 | 3232 | 170 |
| 9 | 5538 | 170 |
| 0 | 8305 | 161 |
| 0 | 6 | 15 |
| 0 | 9 | 15 |
| 1 | 31 | 15 |
| 2 | 173 | 15 |
| 3 | 1563 | 15 |
| 0 | 8539 | 14 |
| 1× | done |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | node limit |
Compiled 42 to 27 computations (35.7% saved)
(abs x)
Compiled 70 to 44 computations (37.1% saved)
Loading profile data...