
Time bar (total: 1.2s)
| 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 7 to 6 computations (14.3% saved)
| 220.0ms | 8 256× | 0 | valid |
ival-add: 41.0ms (45.8% of total)ival-sub: 36.0ms (40.3% of total)ival-true: 5.0ms (5.6% of total)exact: 5.0ms (5.6% of total)ival-assert: 3.0ms (3.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 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 |
| 15.0ms | 512× | 0 | valid |
Compiled 29 to 16 computations (44.8% saved)
ival-add: 3.0ms (52.9% of total)ival-sub: 2.0ms (35.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 |
| 176× | lower-fma.f64 |
| 176× | lower-fma.f32 |
| 80× | lower-*.f64 |
| 80× | lower-*.f32 |
| 60× | lower-+.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 22 | 11 |
| 2 | 72 | 10 |
| 3 | 174 | 10 |
| 4 | 252 | 10 |
| 5 | 265 | 10 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 15 | 5 |
| 2 | 19 | 5 |
| 3 | 24 | 5 |
| 4 | 28 | 5 |
| 5 | 37 | 5 |
| 6 | 66 | 5 |
| 7 | 148 | 5 |
| 8 | 232 | 5 |
| 9 | 246 | 5 |
| 10 | 248 | 5 |
| 0 | 248 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -128 | (+.f64 x x) | |
| cost-diff | 128 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 176× | lower-fma.f64 |
| 176× | lower-fma.f32 |
| 80× | lower-*.f64 |
| 80× | lower-*.f32 |
| 60× | lower-+.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 15 | 10 |
| 2 | 19 | 10 |
| 3 | 24 | 10 |
| 4 | 28 | 10 |
| 5 | 37 | 10 |
| 6 | 66 | 10 |
| 7 | 148 | 10 |
| 8 | 232 | 10 |
| 9 | 246 | 10 |
| 10 | 248 | 10 |
| 0 | 248 | 9 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(+.f64 x x) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
#s(literal 1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) | |
| accuracy | 0 | (+.f64 x x) |
| 7.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-sub: 1.0ms (37.7% of total)ival-add: 1.0ms (37.7% 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 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 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 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt (-.f64 (+.f64 x x) #s(literal 1 binary64)) (patch (-.f64 (+.f64 x x) #s(literal 1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | ((- (+ x x) 1) (+ x x)) |
| 1.0ms | x | @ | inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (+ x x)) |
| 1× | egg-herbie |
| 120× | lower-fma.f64 |
| 120× | lower-fma.f32 |
| 84× | lower-*.f64 |
| 84× | lower-*.f32 |
| 56× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 88 |
| 1 | 28 | 88 |
| 2 | 63 | 88 |
| 3 | 118 | 88 |
| 4 | 132 | 88 |
| 5 | 186 | 88 |
| 6 | 227 | 88 |
| 7 | 252 | 88 |
| 8 | 267 | 88 |
| 9 | 273 | 88 |
| 10 | 274 | 88 |
| 0 | 274 | 79 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-1 |
(- (* 2 x) 1) |
(- (* 2 x) 1) |
(- (* 2 x) 1) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* x (- 2 (/ 1 x))) |
(* x (- 2 (/ 1 x))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* -1 (* x (- (/ 1 x) 2))) |
(* -1 (* x (- (/ 1 x) 2))) |
(* -1 (* x (- (/ 1 x) 2))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
| 218× | lower-fma.f64 |
| 218× | lower-fma.f32 |
| 96× | lower-*.f64 |
| 96× | lower-*.f32 |
| 90× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 36 | 8 |
| 0 | 303 | 7 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(+.f64 x x) |
| Outputs |
|---|
(*.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
(*.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(*.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))))) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))) (-.f64 x (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))) (*.f64 x (-.f64 x #s(literal 1 binary64)))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) x (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)))) |
(fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x #s(literal -1 binary64)) |
(fma.f64 #s(literal 4 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(fma.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(fma.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64)) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 0 binary64))) #s(literal -1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(expm1.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(-.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))))) |
(-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(+.f64 (-.f64 x #s(literal 1 binary64)) x) |
(+.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(+.f64 x (-.f64 x #s(literal 1 binary64))) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x) |
(*.f64 #s(literal 4 binary64) (*.f64 x x)) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64))) |
(*.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 0 binary64)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))))) |
(/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(+.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x)) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(+.f64 x x) |
Compiled 836 to 170 computations (79.7% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 91 | 2 | 93 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 91 | 3 | 94 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ▶ | 52.4% | #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) |
| ▶ | 49.0% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 11 to 11 computations (0% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x #s(literal 2 binary64)) | |
| cost-diff | 0 | #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) | |
| cost-diff | 0 | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| 176× | lower-fma.f64 |
| 176× | lower-fma.f32 |
| 80× | lower-*.f32 |
| 78× | lower-*.f64 |
| 60× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 22 |
| 0 | 10 | 22 |
| 1 | 18 | 22 |
| 2 | 21 | 22 |
| 3 | 26 | 22 |
| 4 | 30 | 22 |
| 5 | 39 | 22 |
| 6 | 68 | 22 |
| 7 | 150 | 22 |
| 8 | 234 | 22 |
| 9 | 248 | 22 |
| 10 | 250 | 22 |
| 0 | 250 | 20 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
x |
#s(literal 2 binary64) |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x #s(literal 2 binary64)) | |
| accuracy | 30.43299150883854 | #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) | |
| accuracy | 32.664584868573435 | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| 10.0ms | 256× | 0 | valid |
Compiled 18 to 9 computations (50% saved)
ival-sub: 1.0ms (22.6% of total)ival-add: 1.0ms (22.6% of total)ival-mult: 1.0ms (22.6% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ()) |
#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ()) |
#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) #s(literal -1 binary64)) (patch #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) (patch #s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (*.f64 x #s(literal 2 binary64)) (patch (*.f64 x #s(literal 2 binary64)) #<representation:binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((- (+ x x) 1) (- (+ x x) 1) (* x 2)) |
| 0.0ms | x | @ | inf | ((- (+ x x) 1) (- (+ x x) 1) (* x 2)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (- (+ x x) 1) (* x 2)) |
| 1× | egg-herbie |
| 120× | lower-fma.f64 |
| 120× | lower-fma.f32 |
| 84× | lower-*.f64 |
| 84× | lower-*.f32 |
| 56× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 140 |
| 1 | 28 | 140 |
| 2 | 63 | 140 |
| 3 | 118 | 140 |
| 4 | 132 | 140 |
| 5 | 186 | 140 |
| 6 | 227 | 140 |
| 7 | 252 | 140 |
| 8 | 267 | 140 |
| 9 | 273 | 140 |
| 10 | 274 | 140 |
| 0 | 274 | 122 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-1 |
(- (* 2 x) 1) |
(- (* 2 x) 1) |
(- (* 2 x) 1) |
-1 |
(- (* 2 x) 1) |
(- (* 2 x) 1) |
(- (* 2 x) 1) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* x (- 2 (/ 1 x))) |
(* x (- 2 (/ 1 x))) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* x (- 2 (/ 1 x))) |
(* x (- 2 (/ 1 x))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* -1 (* x (- (/ 1 x) 2))) |
(* -1 (* x (- (/ 1 x) 2))) |
(* -1 (* x (- (/ 1 x) 2))) |
(* 2 x) |
(* -1 (* x (- (/ 1 x) 2))) |
(* -1 (* x (- (/ 1 x) 2))) |
(* -1 (* x (- (/ 1 x) 2))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
-1 |
#s(literal -1 binary64) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
| 274× | lower-fma.f64 |
| 274× | lower-fma.f32 |
| 106× | lower-*.f32 |
| 104× | lower-*.f64 |
| 90× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 19 |
| 0 | 10 | 19 |
| 1 | 39 | 19 |
| 0 | 313 | 17 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 2 binary64)) |
(*.f64 #s(literal 4 binary64) (*.f64 x x)) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64))) |
(*.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
(*.f64 (*.f64 x x) #s(literal 4 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 8 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))) |
(*.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 0 binary64)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))))) |
(/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(+.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x)) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(+.f64 x x) |
Compiled 544 to 122 computations (77.6% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 76 | 1 | 77 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 1 | 1 |
| Total | 77 | 3 | 80 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ▶ | 52.4% | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| ✓ | 49.0% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 11 to 10 computations (9.1% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -128 | (+.f64 x x) | |
| cost-diff | 0 | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| 176× | lower-fma.f64 |
| 176× | lower-fma.f32 |
| 80× | lower-*.f64 |
| 80× | lower-*.f32 |
| 60× | lower--.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 7 | 13 |
| 1 | 16 | 13 |
| 2 | 20 | 13 |
| 3 | 25 | 13 |
| 4 | 29 | 13 |
| 5 | 38 | 13 |
| 6 | 67 | 13 |
| 7 | 150 | 13 |
| 8 | 234 | 13 |
| 9 | 248 | 13 |
| 10 | 250 | 13 |
| 0 | 250 | 12 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
(+.f64 x x) |
x |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (+.f64 x x) | |
| accuracy | 30.43299150883854 | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| 7.0ms | 256× | 0 | valid |
Compiled 11 to 6 computations (45.5% saved)
ival-sub: 1.0ms (35.8% of total)ival-add: 1.0ms (35.8% 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) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ()) |
#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ()) |
| Outputs |
|---|
#s(alt -1 (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (- (* 2 x) 1) (taylor 0 x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor 0 x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* x (- 2 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* -1 (* x (- (/ 1 x) 2))) (taylor -inf x) (#s(alt #s(approx (- (+ x x) 1) (+.f64 x x)) (patch #s(approx (- (+ x x) 1) (+.f64 x x)) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
#s(alt (* 2 x) (taylor -inf x) (#s(alt (+.f64 x x) (patch (+.f64 x x) #<representation:binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | -inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (+ x x)) |
| 1× | egg-herbie |
| 120× | lower-fma.f64 |
| 120× | lower-fma.f32 |
| 84× | lower-*.f64 |
| 84× | lower-*.f32 |
| 56× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 88 |
| 1 | 28 | 88 |
| 2 | 63 | 88 |
| 3 | 118 | 88 |
| 4 | 132 | 88 |
| 5 | 186 | 88 |
| 6 | 227 | 88 |
| 7 | 252 | 88 |
| 8 | 267 | 88 |
| 9 | 273 | 88 |
| 10 | 274 | 88 |
| 0 | 274 | 79 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-1 |
(- (* 2 x) 1) |
(- (* 2 x) 1) |
(- (* 2 x) 1) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* x (- 2 (/ 1 x))) |
(* x (- 2 (/ 1 x))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* -1 (* x (- (/ 1 x) 2))) |
(* -1 (* x (- (/ 1 x) 2))) |
(* -1 (* x (- (/ 1 x) 2))) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(- (* 2 x) 1) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* x (- 2 (/ 1 x))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
| 218× | lower-fma.f64 |
| 218× | lower-fma.f32 |
| 96× | lower-*.f64 |
| 96× | lower-*.f32 |
| 90× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 12 |
| 0 | 7 | 12 |
| 1 | 37 | 12 |
| 0 | 305 | 11 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x) |
(*.f64 #s(literal 4 binary64) (*.f64 x x)) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64))) |
(*.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 0 binary64)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))))) |
(/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(+.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x)) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(+.f64 x x) |
Compiled 459 to 113 computations (75.4% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 60 | 0 | 60 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 60 | 3 | 63 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ✓ | 52.4% | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| ✓ | 49.0% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 26 to 20 computations (23.1% saved)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) |
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
3 calls:
| 2.0ms | (+.f64 x x) |
| 2.0ms | x |
| 2.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 100.0% | 1 | (+.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 x #s(literal 2 binary64))) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
3 calls:
| 36.0ms | x |
| 2.0ms | (+.f64 x x) |
| 2.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.7% | 3 | x |
| 97.7% | 3 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 97.7% | 3 | (+.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
3 calls:
| 1.0ms | (+.f64 x x) |
| 1.0ms | x |
| 1.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 49.0% | 1 | x |
| 49.0% | 1 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 49.0% | 1 | (+.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 0.006155563875458783 | 962625596724.6235 |
| 0.0ms | -1.663380122944856 | -3.328159993178703e-5 |
Compiled 8 to 8 computations (0% saved)
| 1× | egg-herbie |
| 4× | sub-neg-binary64-neg.f64-+.f64--.f64 |
| 2× | *-rgt-identity-binary64-*.f64 |
| 2× | mul-1-neg-binary64-neg.f64-*.f64 |
| 2× | 1-exp-binary32-exp.f32 |
| 2× | *-commutative-binary64-*.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 49 |
| 1 | 19 | 49 |
| 2 | 22 | 49 |
| 3 | 27 | 49 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(if (<=.f64 (+.f64 x x) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)) (if (<=.f64 (+.f64 x x) #s(literal 5764607523034235/576460752303423488 binary64)) #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)))) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(if (<=.f64 (+.f64 x x) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)) (if (<=.f64 (+.f64 x x) #s(literal 5764607523034235/576460752303423488 binary64)) #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)))) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| 274× | lower-fma.f64 |
| 274× | lower-fma.f32 |
| 120× | lower-fma.f64 |
| 120× | lower-fma.f32 |
| 106× | lower-*.f32 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 88 |
| 1 | 28 | 88 |
| 2 | 63 | 88 |
| 3 | 118 | 88 |
| 4 | 132 | 88 |
| 5 | 186 | 88 |
| 6 | 227 | 88 |
| 7 | 252 | 88 |
| 8 | 267 | 88 |
| 9 | 273 | 88 |
| 10 | 274 | 88 |
| 0 | 274 | 79 |
| 0 | 9 | 19 |
| 0 | 10 | 19 |
| 1 | 39 | 19 |
| 0 | 313 | 17 |
| 1× | done |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | iter limit |
| 1× | saturated |
Compiled 38 to 23 computations (39.5% saved)
Compiled 68 to 32 computations (52.9% saved)
Loading profile data...