
Time bar (total: 3.9s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 2 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 3 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 4 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 5 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 6 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 7 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 8 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 9 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 10 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 11 |
| 100% | 99.9% | 0% | 0% | 0% | 0% | 0% | 12 |
Compiled 7 to 6 computations (14.3% saved)
| 415.0ms | 8 256× | 0 | valid |
ival-sub: 122.0ms (58.2% of total)ival-div: 73.0ms (34.8% of total)ival-true: 6.0ms (2.9% of total)exact: 5.0ms (2.4% of total)ival-assert: 3.0ms (1.4% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| 0 | 0 | - | 0 | - | (-.f64 #s(literal 1 binary64) x) |
| 0 | 0 | - | 0 | - | #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 |
| 38.0ms | 512× | 0 | valid |
Compiled 39 to 20 computations (48.7% saved)
ival-div: 5.0ms (58.4% of total)ival-sub: 3.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)| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 15 |
| 1 | 20 | 11 |
| 2 | 47 | 10 |
| 3 | 100 | 10 |
| 4 | 195 | 10 |
| 5 | 284 | 10 |
| 6 | 295 | 10 |
| 7 | 309 | 10 |
| 8 | 322 | 10 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 10 | 5 |
| 2 | 14 | 5 |
| 3 | 19 | 5 |
| 4 | 26 | 5 |
| 5 | 36 | 5 |
| 6 | 51 | 5 |
| 7 | 74 | 5 |
| 8 | 96 | 5 |
| 9 | 104 | 5 |
| 10 | 106 | 5 |
| 0 | 106 | 5 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) x) | |
| cost-diff | 0 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 10 | 10 |
| 2 | 14 | 10 |
| 3 | 19 | 10 |
| 4 | 26 | 10 |
| 5 | 36 | 10 |
| 6 | 51 | 10 |
| 7 | 74 | 10 |
| 8 | 96 | 10 |
| 9 | 104 | 10 |
| 10 | 106 | 10 |
| 0 | 106 | 10 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
x |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
| Outputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
x |
(-.f64 #s(literal 1 binary64) x) |
#s(literal 1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (-.f64 #s(literal 1 binary64) x) | |
| accuracy | 0.0078125 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| 8.0ms | 256× | 0 | valid |
Compiled 22 to 10 computations (54.5% saved)
ival-div: 2.0ms (54.1% of total)ival-sub: 1.0ms (27% 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 #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((/ x (- 1 x)) (- 1 x)) |
| 0.0ms | x | @ | inf | ((/ x (- 1 x)) (- 1 x)) |
| 0.0ms | x | @ | 0 | ((/ x (- 1 x)) (- 1 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 135 |
| 1 | 93 | 120 |
| 2 | 220 | 114 |
| 3 | 545 | 112 |
| 4 | 1047 | 112 |
| 5 | 1955 | 112 |
| 6 | 3384 | 112 |
| 7 | 4540 | 112 |
| 8 | 4656 | 112 |
| 9 | 4656 | 112 |
| 10 | 4818 | 112 |
| 11 | 4893 | 112 |
| 12 | 4893 | 112 |
| 0 | 4893 | 109 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
x |
(* x (+ 1 x)) |
(* x (+ 1 (* x (+ 1 x)))) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
1 |
(+ 1 (* -1 x)) |
(+ 1 (* -1 x)) |
(+ 1 (* -1 x)) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(* -1 x) |
(* x (- (/ 1 x) 1)) |
(* x (- (/ 1 x) 1)) |
(* x (- (/ 1 x) 1)) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(* -1 x) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
(* -1 (* x (- 1 (/ 1 x)))) |
| Outputs |
|---|
x |
(fma.f64 x x x) |
(fma.f64 (fma.f64 x x x) x x) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal -1 binary64) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)) |
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64))) |
(neg.f64 x) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) x) |
#s(literal -1 binary64) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)) |
(*.f64 (-.f64 (/.f64 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64))) |
(neg.f64 x) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) x) |
(-.f64 #s(literal 1 binary64) x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 29 | 8 |
| 2 | 183 | 8 |
| 3 | 1612 | 8 |
| 0 | 9347 | 8 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal 1 binary64) 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 10 317 to 1 292 computations (87.5% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 444 | 4 | 448 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 444 | 5 | 449 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 76.5% | (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) |
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ▶ | 50.2% | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
| ▶ | 49.2% | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
| ▶ | 51.0% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 46 to 30 computations (34.8% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (fma.f64 x x x) | |
| cost-diff | 0 | (neg.f64 (fma.f64 x x x)) | |
| cost-diff | 128 | (+.f64 #s(literal -1 binary64) (*.f64 x x)) | |
| cost-diff | 704 | (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) | |
| cost-diff | 0 | (fma.f64 x x x) | |
| cost-diff | 0 | (fma.f64 (fma.f64 x x x) x x) | |
| cost-diff | 0 | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) | |
| cost-diff | 0 | (fma.f64 x x x) | |
| cost-diff | 0 | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) | |
| cost-diff | 0 | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 78 |
| 0 | 21 | 78 |
| 1 | 39 | 78 |
| 2 | 86 | 78 |
| 3 | 213 | 72 |
| 4 | 502 | 72 |
| 5 | 1704 | 72 |
| 6 | 6009 | 72 |
| 0 | 8070 | 71 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
(fma.f64 x x x) |
x |
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
(fma.f64 (fma.f64 x x x) x x) |
(fma.f64 x x x) |
x |
(/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) |
(neg.f64 (fma.f64 x x x)) |
(fma.f64 x x x) |
x |
(+.f64 #s(literal -1 binary64) (*.f64 x x)) |
#s(literal -1 binary64) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
#s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
(fma.f64 x x x) |
x |
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
(fma.f64 (fma.f64 x x x) x x) |
(fma.f64 x x x) |
x |
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(fma.f64 x x x) |
x |
(fma.f64 x x #s(literal -1 binary64)) |
#s(literal -1 binary64) |
(*.f64 x x) |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0 | (neg.f64 (fma.f64 x x x)) | |
| accuracy | 0.0078125 | (+.f64 #s(literal -1 binary64) (*.f64 x x)) | |
| accuracy | 14.914279192440134 | (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) | |
| accuracy | 0 | (fma.f64 x x x) | |
| accuracy | 0.04296875 | (fma.f64 (fma.f64 x x x) x x) | |
| accuracy | 31.893350482985575 | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) | |
| accuracy | 0 | (fma.f64 x x x) | |
| accuracy | 32.541947824765295 | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) | |
| accuracy | 31.37954679484949 | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
| 29.0ms | 256× | 0 | valid |
Compiled 150 to 28 computations (81.3% saved)
ival-div: 3.0ms (22.8% of total)ival-add: 3.0ms (22.8% of total)ival-mult: 3.0ms (22.8% of total)ival-sub: 2.0ms (15.2% of total)ival-neg: 1.0ms (7.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 #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (+.f64 #s(literal -1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (neg.f64 (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x) (/ x (- 1 x)) (+ (* (+ (* x x) x) x) x) (/ (neg (+ (* x x) x)) (+ -1 (* x x))) (+ -1 (* x x)) (neg (+ (* x x) x)) (* x x)) |
| 1.0ms | x | @ | -inf | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x) (/ x (- 1 x)) (+ (* (+ (* x x) x) x) x) (/ (neg (+ (* x x) x)) (+ -1 (* x x))) (+ -1 (* x x)) (neg (+ (* x x) x)) (* x x)) |
| 1.0ms | x | @ | 0 | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x) (/ x (- 1 x)) (+ (* (+ (* x x) x) x) x) (/ (neg (+ (* x x) x)) (+ -1 (* x x))) (+ -1 (* x x)) (neg (+ (* x x) x)) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 41 | 664 |
| 1 | 129 | 640 |
| 2 | 366 | 603 |
| 3 | 1145 | 595 |
| 4 | 2989 | 595 |
| 5 | 6208 | 595 |
| 0 | 8133 | 542 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 x)) |
(* x (+ 1 (* x (+ 1 x)))) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
x |
(* x (+ 1 x)) |
(* x (+ 1 (* x (+ 1 x)))) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
x |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
x |
(* x (+ 1 x)) |
(* x (+ 1 (* x (+ 1 x)))) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
x |
(* x (+ 1 x)) |
(* x (+ 1 (* x (+ 1 x)))) |
(* x (+ 1 (* x (+ 1 x)))) |
x |
(* x (+ 1 x)) |
(* x (+ 1 (* x (+ 1 x)))) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
-1 |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(- (pow x 2) 1) |
(* -1 x) |
(* x (- (* -1 x) 1)) |
(* x (- (* -1 x) 1)) |
(* x (- (* -1 x) 1)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2))))) |
(* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2))))) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* -1 (pow x 2)) |
(* -1 (* (pow x 2) (+ 1 (/ 1 x)))) |
(* -1 (* (pow x 2) (+ 1 (/ 1 x)))) |
(* -1 (* (pow x 2) (+ 1 (/ 1 x)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(pow x 3) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1))) |
(* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1))) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(pow x 2) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* (pow x 2) (- 1 (/ 1 (pow x 2)))) |
(* -1 (pow x 2)) |
(* -1 (* (pow x 2) (+ 1 (/ 1 x)))) |
(* -1 (* (pow x 2) (+ 1 (/ 1 x)))) |
(* -1 (* (pow x 2) (+ 1 (/ 1 x)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
x |
(fma.f64 x x x) |
(fma.f64 (fma.f64 x x x) x x) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
x |
(fma.f64 x x x) |
(fma.f64 (fma.f64 x x x) x x) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
x |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
x |
(fma.f64 x x x) |
(fma.f64 (fma.f64 x x x) x x) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
x |
(fma.f64 x x x) |
(fma.f64 (fma.f64 x x x) x x) |
(fma.f64 (fma.f64 x x x) x x) |
x |
(fma.f64 x x x) |
(fma.f64 (fma.f64 x x x) x x) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
#s(literal -1 binary64) |
(fma.f64 x x #s(literal -1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(neg.f64 x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
#s(literal -1 binary64) |
(/.f64 (-.f64 #s(literal -1 binary64) x) x) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) |
#s(literal -1 binary64) |
(/.f64 (-.f64 #s(literal -1 binary64) x) x) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) |
(*.f64 x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
#s(literal -1 binary64) |
(/.f64 (-.f64 #s(literal -1 binary64) x) x) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 3 binary64)) |
(*.f64 (fma.f64 x x x) x) |
(fma.f64 (fma.f64 x x x) x x) |
(fma.f64 (fma.f64 x x x) x x) |
#s(literal -1 binary64) |
(/.f64 (-.f64 #s(literal -1 binary64) x) x) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) |
(*.f64 x x) |
(fma.f64 x x #s(literal -1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(*.f64 (neg.f64 x) x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
#s(literal -1 binary64) |
(/.f64 (-.f64 #s(literal -1 binary64) x) x) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) |
#s(literal -1 binary64) |
(/.f64 (-.f64 #s(literal -1 binary64) x) x) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) |
(*.f64 x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
#s(literal -1 binary64) |
(/.f64 (-.f64 #s(literal -1 binary64) x) x) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) |
(pow.f64 x #s(literal 3 binary64)) |
(*.f64 (fma.f64 x x x) x) |
(fma.f64 (fma.f64 x x x) x x) |
(fma.f64 (fma.f64 x x x) x x) |
#s(literal -1 binary64) |
(/.f64 (-.f64 #s(literal -1 binary64) x) x) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(-.f64 (/.f64 (fma.f64 (-.f64 #s(literal -1 binary64) x) x #s(literal -1 binary64)) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) |
(*.f64 x x) |
(fma.f64 x x #s(literal -1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(fma.f64 x x #s(literal -1 binary64)) |
(*.f64 (neg.f64 x) x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 (-.f64 #s(literal -1 binary64) x) x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 65 |
| 0 | 21 | 65 |
| 1 | 96 | 59 |
| 2 | 702 | 59 |
| 0 | 8322 | 58 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
(fma.f64 x x x) |
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
(fma.f64 (fma.f64 x x x) x x) |
(/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) |
(+.f64 #s(literal -1 binary64) (*.f64 x x)) |
(neg.f64 (fma.f64 x x x)) |
(*.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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 26 989 to 2 671 computations (90.1% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 217 | 2 | 1 219 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 1 | 1 |
| Total | 1 218 | 6 | 1 224 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 76.5% | (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 50.2% | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
| ✓ | 49.2% | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
| ▶ | 3.3% | #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
| ✓ | 51.0% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 60 to 38 computations (36.7% saved)
| 1× | egg-herbie |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) | |
| cost-diff | 0 | (fma.f64 x x x) | |
| cost-diff | 704 | (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) | |
| cost-diff | 0 | (*.f64 x x) | |
| cost-diff | 0 | #s(approx (+ (* x x) x) (*.f64 x x)) | |
| cost-diff | 0 | #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
Useful iterations: 6 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 50 |
| 0 | 16 | 50 |
| 1 | 27 | 50 |
| 2 | 39 | 50 |
| 3 | 58 | 50 |
| 4 | 84 | 50 |
| 5 | 154 | 50 |
| 6 | 393 | 45 |
| 7 | 1504 | 45 |
| 8 | 3406 | 45 |
| 9 | 6793 | 45 |
| 0 | 8068 | 45 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
#s(approx (+ (* x x) x) (*.f64 x x)) |
(*.f64 x x) |
x |
(/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 x x x) |
x |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal 1 binary64) |
(*.f64 x x) |
| Outputs |
|---|
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
#s(approx (+ (* x x) x) (*.f64 x x)) |
(*.f64 x x) |
x |
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
(fma.f64 x x x) |
x |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal 1 binary64) |
(*.f64 x x) |
Found 7 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x x x) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 0.0078125 | (-.f64 #s(literal 1 binary64) (*.f64 x x)) | |
| accuracy | 14.914279192440134 | (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) | |
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 30.803765894392036 | #s(approx (+ (* x x) x) (*.f64 x x)) | |
| accuracy | 32.541947824765295 | #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
| 16.0ms | 256× | 0 | valid |
Compiled 94 to 23 computations (75.5% saved)
ival-sub: 3.0ms (32.7% of total)ival-div: 3.0ms (32.7% of total)ival-mult: 2.0ms (21.8% of total)ival-add: 1.0ms (10.9% 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 #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ()) |
#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor 0 x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt #<batchref> (taylor -inf x) (#s(alt #<batchref> (patch (-.f64 #s(literal 1 binary64) (*.f64 x x)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((/ x (- 1 x)) (+ (* x x) x) (* x x) (/ (+ (* x x) x) (- 1 (* x x))) (+ (* x x) x) (- 1 (* x x))) |
| 1.0ms | x | @ | -inf | ((/ x (- 1 x)) (+ (* x x) x) (* x x) (/ (+ (* x x) x) (- 1 (* x x))) (+ (* x x) x) (- 1 (* x x))) |
| 0.0ms | x | @ | 0 | ((/ x (- 1 x)) (+ (* x x) x) (* x x) (/ (+ (* x x) x) (- 1 (* x x))) (+ (* x x) x) (- 1 (* x x))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 31 | 391 |
| 1 | 92 | 370 |
| 2 | 220 | 358 |
| 3 | 532 | 354 |
| 4 | 1394 | 354 |
| 5 | 4307 | 354 |
| 6 | 7825 | 354 |
| 0 | 8157 | 326 |
| 1× | iter limit |
| 1× | node limit |
| Inputs |
|---|
x |
(* x (+ 1 x)) |
(* x (+ 1 (* x (+ 1 x)))) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
x |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
x |
(* x (+ 1 x)) |
(* x (+ 1 (* x (+ 1 x)))) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
x |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
(* x (+ 1 x)) |
1 |
(+ 1 (* -1 (pow x 2))) |
(+ 1 (* -1 (pow x 2))) |
(+ 1 (* -1 (pow x 2))) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* -1 (pow x 2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
-1 |
(* -1 (+ 1 (/ 1 x))) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(pow x 2) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(* -1 (pow x 2)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
(* (pow x 2) (- (/ 1 (pow x 2)) 1)) |
| Outputs |
|---|
x |
(fma.f64 x x x) |
(fma.f64 (fma.f64 x x x) x x) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
x |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
x |
(fma.f64 x x x) |
(fma.f64 (fma.f64 x x x) x x) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
x |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
#s(literal 1 binary64) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal -1 binary64) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(*.f64 x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
#s(literal -1 binary64) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(*.f64 x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(*.f64 (neg.f64 x) x) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
#s(literal -1 binary64) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(*.f64 x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
(*.f64 x x) |
#s(literal -1 binary64) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(*.f64 x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(fma.f64 x x x) |
(*.f64 (neg.f64 x) x) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
(-.f64 #s(literal 1 binary64) (*.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 44 |
| 0 | 16 | 44 |
| 1 | 71 | 39 |
| 2 | 509 | 39 |
| 3 | 5819 | 39 |
| 0 | 9500 | 38 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
#s(approx (+ (* x x) x) (*.f64 x x)) |
(*.f64 x x) |
(/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(fma.f64 x x x) |
(-.f64 #s(literal 1 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> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 12 500 to 1 393 computations (88.9% saved)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 674 | 0 | 674 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 4 | 4 |
| Total | 674 | 6 | 680 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 76.5% | (/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 50.2% | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
| ✓ | 49.2% | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
| ✓ | 3.3% | #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
| ✓ | 51.0% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 131 to 61 computations (53.4% saved)
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
#s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
(/.f64 (fma.f64 x x x) (-.f64 #s(literal 1 binary64) (*.f64 x x))) |
(/.f64 (neg.f64 (fma.f64 x x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) |
| Outputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
2 calls:
| 3.0ms | x |
| 2.0ms | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 6 to 5 computations (16.7% saved)
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
#s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
| Outputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 98.0% | 3 | x |
| 98.0% | 2 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 6 to 5 computations (16.7% saved)
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
#s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
| Outputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
1 calls:
| 2.0ms | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.7% | 2 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 5 to 4 computations (20% saved)
Total -31.5b remaining (-100.2%)
Threshold costs -31.5b (-100.2%)
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
2 calls:
| 4.0ms | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| 2.0ms | x |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.0% | 1 | x |
| 51.0% | 1 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 6 to 5 computations (16.7% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -0.9999999770258328 | -0.04486257597375225 |
Compiled 8 to 8 computations (0% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -0.9999999770258328 | -0.04486257597375225 |
Compiled 8 to 8 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 65 |
| 1 | 21 | 65 |
| 2 | 24 | 65 |
| 3 | 26 | 65 |
| 4 | 27 | 65 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))) |
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (fma.f64 x x x))) |
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
| Outputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x))) |
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -1/2 binary64)) #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #s(approx (/ x (- 1 x)) (fma.f64 x x x))) |
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 135 |
| 1 | 93 | 120 |
| 2 | 220 | 114 |
| 3 | 545 | 112 |
| 4 | 1047 | 112 |
| 5 | 1955 | 112 |
| 6 | 3384 | 112 |
| 7 | 4540 | 112 |
| 8 | 4656 | 112 |
| 9 | 4656 | 112 |
| 10 | 4818 | 112 |
| 11 | 4893 | 112 |
| 12 | 4893 | 112 |
| 0 | 4893 | 109 |
| 1× | done |
| 1× | iter limit |
| 1× | saturated |
Compiled 79 to 28 computations (64.6% saved)
Compiled 140 to 42 computations (70% saved)
Loading profile data...