
Time bar (total: 3.4s)
| 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)
| 684.0ms | 8 256× | 0 | valid |
ival-div: 326.0ms (79.4% of total)ival-sub: 71.0ms (17.3% of total)ival-true: 6.0ms (1.5% of total)exact: 4.0ms (1% of total)ival-assert: 3.0ms (0.7% 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 |
| 18.0ms | 512× | 0 | valid |
Compiled 29 to 16 computations (44.8% saved)
ival-div: 4.0ms (49.9% of total)ival-sub: 3.0ms (37.5% 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.00390625 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| 9.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-div: 2.0ms (53.8% of total)ival-sub: 1.0ms (26.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 (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ()) |
#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 x)))) (taylor 0 x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) (taylor 0 x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor inf x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor -inf x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt (/.f64 x (-.f64 #s(literal 1 binary64) x)) (patch (/.f64 x (-.f64 #s(literal 1 binary64) x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt (-.f64 #s(literal 1 binary64) x) (patch (-.f64 #s(literal 1 binary64) x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 26.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 |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 (* x (+ 1 x)))) |
(fma.f64 (fma.f64 x x x) x x) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
(+ 1 (* -1 x)) |
(-.f64 #s(literal 1 binary64) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 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))) |
(* -1 x) |
(neg.f64 x) |
(* x (- (/ 1 x) 1)) |
(-.f64 #s(literal 1 binary64) x) |
(* x (- (/ 1 x) 1)) |
(-.f64 #s(literal 1 binary64) x) |
(* x (- (/ 1 x) 1)) |
(-.f64 #s(literal 1 binary64) x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (-.f64 (/.f64 #s(literal 1 binary64) x) #s(literal -1 binary64)) x)) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(*.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))) |
(* -1 x) |
(neg.f64 x) |
(* -1 (* x (- 1 (/ 1 x)))) |
(-.f64 #s(literal 1 binary64) x) |
(* -1 (* x (- 1 (/ 1 x)))) |
(-.f64 #s(literal 1 binary64) x) |
(* -1 (* x (- 1 (/ 1 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 226 to 1 289 computations (87.4% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 446 | 2 | 448 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 446 | 3 | 449 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ▶ | 47.7% | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
| ▶ | 54.1% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 12 to 10 computations (16.7% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| 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 | 8 | 23 |
| 0 | 10 | 23 |
| 1 | 17 | 23 |
| 2 | 22 | 23 |
| 3 | 33 | 23 |
| 4 | 40 | 23 |
| 5 | 67 | 23 |
| 6 | 97 | 23 |
| 7 | 174 | 23 |
| 8 | 273 | 23 |
| 9 | 298 | 23 |
| 10 | 325 | 23 |
| 11 | 354 | 23 |
| 12 | 434 | 23 |
| 13 | 500 | 23 |
| 14 | 506 | 23 |
| 0 | 506 | 23 |
| 1× | iter limit |
| 1× | saturated |
| 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 |
| 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 |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (fma.f64 x x x) | |
| accuracy | 33.458016203444494 | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) | |
| accuracy | 29.39584968251383 | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
| 14.0ms | 256× | 0 | valid |
Compiled 19 to 9 computations (52.6% saved)
ival-div: 2.0ms (30.5% of total)ival-mult: 2.0ms (30.5% of total)ival-sub: 1.0ms (15.2% of total)ival-add: 1.0ms (15.2% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ()) |
#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 x)))) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 x)))) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) (patch #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 x x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 x x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 x x x) (patch (fma.f64 x x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x)) |
| 0.0ms | x | @ | -inf | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x)) |
| 0.0ms | x | @ | 0 | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 240 |
| 1 | 83 | 228 |
| 2 | 192 | 216 |
| 3 | 471 | 212 |
| 4 | 1273 | 212 |
| 5 | 3937 | 212 |
| 6 | 7129 | 212 |
| 0 | 8035 | 193 |
| 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)) |
-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) (/ 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))) |
| Outputs |
|---|
x |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 (* x (+ 1 x)))) |
(fma.f64 (fma.f64 x x x) x x) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
x |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 (* x (+ 1 x)))) |
(fma.f64 (fma.f64 x x x) x x) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
x |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 x)) |
(fma.f64 x x x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 21 |
| 0 | 10 | 21 |
| 1 | 47 | 21 |
| 2 | 303 | 21 |
| 3 | 3025 | 21 |
| 0 | 10641 | 21 |
| 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) |
| 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> |
Compiled 3 400 to 577 computations (83% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 210 | 1 | 211 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 2 | 2 |
| Done | 0 | 1 | 1 |
| Total | 210 | 4 | 214 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 47.7% | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
| ▶ | 3.4% | #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
| ✓ | 54.1% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 17 to 14 computations (17.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| 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: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 28 |
| 0 | 10 | 28 |
| 1 | 17 | 28 |
| 2 | 23 | 28 |
| 3 | 34 | 28 |
| 4 | 41 | 28 |
| 5 | 68 | 28 |
| 6 | 98 | 28 |
| 7 | 175 | 28 |
| 8 | 274 | 28 |
| 9 | 297 | 28 |
| 10 | 324 | 28 |
| 11 | 353 | 28 |
| 12 | 435 | 28 |
| 13 | 501 | 28 |
| 14 | 506 | 28 |
| 0 | 506 | 26 |
| 1× | iter limit |
| 1× | saturated |
| 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 |
| 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 |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (*.f64 x x) | |
| accuracy | 28.59478542973559 | #s(approx (+ (* x x) x) (*.f64 x x)) | |
| accuracy | 33.458016203444494 | #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
| 42.0ms | 256× | 0 | valid |
Compiled 16 to 8 computations (50% saved)
ival-sub: 31.0ms (85.1% of total)ival-div: 2.0ms (5.5% of total)ival-mult: 2.0ms (5.5% of total)ival-add: 1.0ms (2.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 #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ()) |
#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ()) |
#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ()) |
| Outputs |
|---|
#s(alt x (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 x)))) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor 0 x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) (patch #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 2) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (+ (* x x) x) (*.f64 x x)) (patch #s(approx (+ (* x x) x) (*.f64 x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
#s(alt (pow x 2) (taylor -inf x) (#s(alt (*.f64 x x) (patch (*.f64 x x) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((/ x (- 1 x)) (+ (* x x) x) (* x x)) |
| 0.0ms | x | @ | -inf | ((/ x (- 1 x)) (+ (* x x) x) (* x x)) |
| 0.0ms | x | @ | 0 | ((/ x (- 1 x)) (+ (* x x) x) (* x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 182 |
| 1 | 83 | 176 |
| 2 | 192 | 170 |
| 3 | 473 | 168 |
| 4 | 1275 | 168 |
| 5 | 4018 | 168 |
| 6 | 7206 | 168 |
| 0 | 8103 | 154 |
| 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) |
-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) (/ 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) |
| Outputs |
|---|
x |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 (* x (+ 1 x)))) |
(fma.f64 (fma.f64 x x x) x x) |
(* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) |
(*.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) x) (-.f64 x #s(literal -1 binary64))) |
x |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(* x (+ 1 x)) |
(fma.f64 x x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) (pow x 2))) (+ 1 (/ 1 x))) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) x)) |
(- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) |
(-.f64 #s(literal -1 binary64) (/.f64 (/.f64 (-.f64 x #s(literal -1 binary64)) x) x)) |
(- (* -1 (/ (+ 1 (+ (/ 1 x) (/ 1 (pow x 2)))) x)) 1) |
(*.f64 (/.f64 (-.f64 #s(literal -1 binary64) x) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 1 binary64))) |
(pow x 2) |
(*.f64 x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(* (pow x 2) (+ 1 (/ 1 x))) |
(fma.f64 x x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 27 |
| 0 | 10 | 27 |
| 1 | 47 | 27 |
| 2 | 304 | 27 |
| 3 | 3039 | 27 |
| 0 | 10644 | 25 |
| 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) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
Compiled 360 to 95 computations (73.6% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 0 | 53 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 53 | 4 | 57 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 47.7% | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
| ✓ | 3.4% | #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
| ✓ | 54.1% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 34 to 25 computations (26.5% 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)) |
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
2 calls:
| 2.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)) |
| Outputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
#s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
2 calls:
| 2.0ms | x |
| 2.0ms | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 3 | x |
| 99.7% | 2 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 6 to 5 computations (16.7% saved)
Total -33.4b remaining (-113.7%)
Threshold costs -33.4b (-113.7%)
| 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:
| 2.0ms | x |
| 1.0ms | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 54.1% | 1 | x |
| 54.1% | 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.999999998575359 | -1.3042846197005237e-15 |
Compiled 8 to 8 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 13 | 37 |
| 1 | 18 | 37 |
| 2 | 21 | 37 |
| 3 | 23 | 37 |
| 4 | 24 | 37 |
| 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 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 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 28 to 17 computations (39.3% saved)
Compiled 54 to 30 computations (44.4% saved)
Loading profile data...