
Time bar (total: 3.8s)
| 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)
| 462.0ms | 8 256× | 0 | valid |
ival-div: 143.0ms (67.5% of total)ival-sub: 56.0ms (26.4% of total)ival-true: 5.0ms (2.4% of total)exact: 4.0ms (1.9% 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 |
| 17.0ms | 512× | 0 | valid |
Compiled 39 to 20 computations (48.7% saved)
ival-div: 4.0ms (53.4% of total)ival-sub: 3.0ms (40.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 | 196 | 10 |
| 5 | 285 | 10 |
| 6 | 296 | 10 |
| 7 | 310 | 10 |
| 8 | 323 | 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 x (-.f64 #s(literal 1 binary64) x)) | |
| accuracy | 0 | (-.f64 #s(literal 1 binary64) x) |
| 11.0ms | 256× | 0 | valid |
Compiled 22 to 10 computations (54.5% saved)
ival-sub: 2.0ms (46.3% of total)ival-div: 2.0ms (46.3% 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 | |
|---|---|---|---|---|
| 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 | 554 | 112 |
| 4 | 1071 | 112 |
| 5 | 1985 | 112 |
| 6 | 3580 | 112 |
| 7 | 4781 | 112 |
| 8 | 4898 | 112 |
| 9 | 4898 | 112 |
| 10 | 5060 | 112 |
| 11 | 5135 | 112 |
| 12 | 5135 | 112 |
| 0 | 5135 | 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 | 1611 | 8 |
| 0 | 9270 | 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> |
Compiled 10 160 to 1 279 computations (87.4% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 438 | 4 | 442 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 438 | 5 | 443 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ▶ | 49.8% | (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) |
| ▶ | 49.6% | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
| ▶ | 48.8% | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) |
| ▶ | 51.8% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 24 to 18 computations (25% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- 1 x) #s(literal 1 binary64)) | |
| cost-diff | 0 | (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) | |
| 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 | 12 | 62 |
| 0 | 17 | 62 |
| 1 | 28 | 62 |
| 2 | 46 | 62 |
| 3 | 84 | 62 |
| 4 | 99 | 62 |
| 5 | 146 | 62 |
| 6 | 180 | 62 |
| 7 | 300 | 62 |
| 8 | 527 | 62 |
| 9 | 682 | 62 |
| 10 | 866 | 62 |
| 11 | 1115 | 62 |
| 12 | 1227 | 62 |
| 13 | 1368 | 62 |
| 14 | 1458 | 62 |
| 15 | 1467 | 62 |
| 16 | 1471 | 62 |
| 17 | 1477 | 62 |
| 18 | 1480 | 62 |
| 0 | 1480 | 62 |
| 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 |
#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 #s(approx (- 1 x) #s(literal 1 binary64))) |
x |
#s(approx (- 1 x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
| 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 #s(approx (- 1 x) #s(literal 1 binary64))) |
x |
#s(approx (- 1 x) #s(literal 1 binary64)) |
#s(literal 1 binary64) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0 | (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) | |
| accuracy | 32.13948367783099 | #s(approx (- 1 x) #s(literal 1 binary64)) | |
| accuracy | 0 | (fma.f64 x x x) | |
| accuracy | 0.05078125 | (fma.f64 (fma.f64 x x x) x x) | |
| accuracy | 32.22626899327181 | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) | |
| accuracy | 0 | (fma.f64 x x x) | |
| accuracy | 32.75321569717385 | #s(approx (/ x (- 1 x)) (fma.f64 x x x)) | |
| accuracy | 30.86594071995975 | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
| 46.0ms | 256× | 0 | valid |
Compiled 90 to 21 computations (76.7% saved)
ival-mult: 3.0ms (31.9% of total)ival-sub: 2.0ms (21.3% of total)ival-div: 2.0ms (21.3% of total)ival-add: 2.0ms (21.3% 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>) () ()) |
#s(alt #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ()) |
#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ()) |
#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ()) |
#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<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 x (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 x)))) (taylor 0 x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x 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 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 x)))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 x)))) (taylor 0 x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt x (taylor 0 x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 x)) (taylor 0 x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 x)))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* x (+ 1 (* x (+ 1 (* x (+ 1 x)))))) (taylor 0 x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt 1 (taylor 0 x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (+ 1 (* -1 x)) (taylor 0 x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<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)) (fma.f64 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x 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 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x 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 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor inf x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2))))) (taylor inf x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor inf x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor inf x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor inf x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 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 (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor inf x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* x (- (/ 1 x) 1)) (taylor inf x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<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>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x 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 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x 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 (fma.f64 x x x) x x)) (patch #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) #<representation binary64>) () ())) ()) |
#s(alt (pow x 3) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* (pow x 3) (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1))) (taylor -inf x) (#s(alt (fma.f64 (fma.f64 x x x) x x) (patch (fma.f64 (fma.f64 x x x) x x) #<representation binary64>) () ())) ()) |
#s(alt -1 (taylor -inf x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (+ 1 (/ 1 x))) (taylor -inf x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1) (taylor -inf x) (#s(alt (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 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 (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) (patch (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) #<representation binary64>) () ())) ()) |
#s(alt (* -1 x) (taylor -inf x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
#s(alt (* -1 (* x (- 1 (/ 1 x)))) (taylor -inf x) (#s(alt #s(approx (- 1 x) #s(literal 1 binary64)) (patch #s(approx (- 1 x) #s(literal 1 binary64)) #<representation binary64>) () ())) ()) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | -inf | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x) (/ x (- 1 x)) (+ (* (+ (* x x) x) x) x) (/ x (- 1 x)) (- 1 x)) |
| 1.0ms | x | @ | inf | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x) (/ x (- 1 x)) (+ (* (+ (* x x) x) x) x) (/ x (- 1 x)) (- 1 x)) |
| 0.0ms | x | @ | 0 | ((/ x (- 1 x)) (/ x (- 1 x)) (+ (* x x) x) (/ x (- 1 x)) (+ (* (+ (* x x) x) x) x) (/ x (- 1 x)) (- 1 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 553 |
| 1 | 126 | 520 |
| 2 | 343 | 492 |
| 3 | 1081 | 484 |
| 4 | 3620 | 484 |
| 5 | 7313 | 484 |
| 0 | 8240 | 448 |
| 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 |
(+ 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 |
(* -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))) |
(* -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 |
(* -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) |
(* -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))) |
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) |
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)))) |
(fma.f64 (fma.f64 x x x) x x) |
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 (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) |
(- (* -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 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (/.f64 (-.f64 x #s(literal -1 binary64)) x)) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) |
(- (* -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 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (/.f64 (-.f64 x #s(literal -1 binary64)) x)) |
(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 (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) |
(- (* -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 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (/.f64 (-.f64 x #s(literal -1 binary64)) x)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2))))) |
(fma.f64 (fma.f64 x x x) x x) |
(* (pow x 3) (+ 1 (+ (/ 1 x) (/ 1 (pow x 2))))) |
(fma.f64 (fma.f64 x x x) x x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) |
(- (* -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 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (/.f64 (-.f64 x #s(literal -1 binary64)) x)) |
(* -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 (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) |
(- (* -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 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (/.f64 (-.f64 x #s(literal -1 binary64)) x)) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) |
(- (* -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 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (/.f64 (-.f64 x #s(literal -1 binary64)) x)) |
(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 (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) |
(- (* -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 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (/.f64 (-.f64 x #s(literal -1 binary64)) x)) |
(pow x 3) |
(pow.f64 x #s(literal 3 binary64)) |
(* (pow x 3) (+ 1 (/ 1 x))) |
(*.f64 (fma.f64 x x x) x) |
(* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1))) |
(fma.f64 (fma.f64 x x x) x x) |
(* -1 (* (pow x 3) (- (* -1 (/ (+ 1 (/ 1 x)) x)) 1))) |
(fma.f64 (fma.f64 x x x) x x) |
-1 |
#s(literal -1 binary64) |
(* -1 (+ 1 (/ 1 x))) |
(-.f64 (/.f64 #s(literal -1 binary64) x) #s(literal 1 binary64)) |
(- (* -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 (/.f64 #s(literal -1 binary64) x) x) #s(literal 1 binary64)) (/.f64 (-.f64 x #s(literal -1 binary64)) x)) |
(* -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 | 12 | 53 |
| 0 | 17 | 53 |
| 1 | 74 | 53 |
| 2 | 492 | 53 |
| 3 | 5310 | 53 |
| 0 | 9953 | 53 |
| 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 x #s(approx (- 1 x) #s(literal 1 binary64))) |
#s(approx (- 1 x) #s(literal 1 binary64)) |
| Outputs |
|---|
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<batchref> |
#<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 9 868 to 1 337 computations (86.5% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 606 | 1 | 607 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 4 | 4 |
| Done | 0 | 1 | 1 |
| Total | 606 | 6 | 612 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 49.8% | (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) |
| ✓ | 49.6% | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
| ✓ | 48.8% | #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.8% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 29 to 22 computations (24.1% 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 | 301 | 28 |
| 10 | 329 | 28 |
| 11 | 360 | 28 |
| 12 | 438 | 28 |
| 13 | 527 | 28 |
| 14 | 533 | 28 |
| 0 | 533 | 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 | 30.214233200121175 | #s(approx (+ (* x x) x) (*.f64 x x)) | |
| accuracy | 32.75321569717385 | #s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
| 12.0ms | 256× | 0 | valid |
Compiled 29 to 12 computations (58.6% saved)
ival-div: 2.0ms (31% of total)ival-mult: 2.0ms (31% of total)ival-sub: 1.0ms (15.5% of total)ival-add: 1.0ms (15.5% 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 | 470 | 168 |
| 4 | 1274 | 168 |
| 5 | 4066 | 168 |
| 6 | 7215 | 168 |
| 0 | 8118 | 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 | 3038 | 27 |
| 0 | 10717 | 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)
6 alts after pruning (0 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 53 | 0 | 53 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 53 | 6 | 59 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| ✓ | 49.8% | (/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) |
| ✓ | 49.6% | #s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
| ✓ | 48.8% | #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.8% | #s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
Compiled 58 to 37 computations (36.2% 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 #s(approx (- 1 x) #s(literal 1 binary64))) |
#s(approx (/ x (- 1 x)) (fma.f64 (fma.f64 x x x) x x)) |
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Outputs |
|---|
(/.f64 x (-.f64 #s(literal 1 binary64) x)) |
2 calls:
| 4.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)) |
(/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) |
#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.3% | 3 | x |
| 98.3% | 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)) |
(/.f64 x #s(approx (- 1 x) #s(literal 1 binary64))) |
| 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 |
|---|---|---|
| 98.3% | 2 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 5 to 4 computations (20% saved)
| 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)) |
#s(approx (/ x (- 1 x)) #s(approx (+ (* x x) x) (*.f64 x x))) |
2 calls:
| 2.0ms | x |
| 1.0ms | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.8% | 1 | x |
| 53.3% | 2 | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
Compiled 6 to 5 computations (16.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (/ x (- 1 x)) #s(literal -1 binary64)) |
2 calls:
| 1.0ms | x |
| 1.0ms | (/.f64 x (-.f64 #s(literal 1 binary64) x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 51.8% | 1 | x |
| 51.8% | 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.9999741483737434 | -0.4290413539502696 |
Compiled 8 to 8 computations (0% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -0.9999741483737434 | -0.4290413539502696 |
Compiled 8 to 8 computations (0% saved)
| 1× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | -7.477958117084419e-149 | -4.238737238842957e-155 |
Compiled 8 to 8 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 95 |
| 1 | 33 | 95 |
| 2 | 42 | 95 |
| 3 | 56 | 95 |
| 4 | 68 | 95 |
| 5 | 107 | 95 |
| 6 | 187 | 95 |
| 7 | 433 | 95 |
| 8 | 3548 | 95 |
| 9 | 7459 | 95 |
| 1× | node limit |
| 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))) |
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -5758609657015291/115172193140305827399949785796761135587064246228529065807379342658863042065190089480167441564259605943037975312218134915154131611020654072038617988630148194691448832 binary64)) #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)) #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))) |
(if (<=.f64 (/.f64 x (-.f64 #s(literal 1 binary64) x)) #s(literal -5758609657015291/115172193140305827399949785796761135587064246228529065807379342658863042065190089480167441564259605943037975312218134915154131611020654072038617988630148194691448832 binary64)) #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)) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 553 |
| 1 | 126 | 520 |
| 2 | 343 | 492 |
| 3 | 1081 | 484 |
| 4 | 3620 | 484 |
| 5 | 7313 | 484 |
| 0 | 8240 | 448 |
| 0 | 33 | 135 |
| 1 | 93 | 120 |
| 2 | 220 | 114 |
| 3 | 554 | 112 |
| 4 | 1071 | 112 |
| 5 | 1985 | 112 |
| 6 | 3580 | 112 |
| 7 | 4781 | 112 |
| 8 | 4898 | 112 |
| 9 | 4898 | 112 |
| 10 | 5060 | 112 |
| 11 | 5135 | 112 |
| 12 | 5135 | 112 |
| 0 | 5135 | 109 |
| 1× | done |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | node limit |
Compiled 74 to 36 computations (51.4% saved)
Compiled 120 to 48 computations (60% saved)
Loading profile data...