
Time bar (total: 1.5s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 1 |
Compiled 7 to 6 computations (14.3% saved)
| 273.0ms | 8 256× | 0 | valid |
ival-add: 49.0ms (44.4% of total)ival-sub: 48.0ms (43.5% of total)ival-true: 6.0ms (5.4% of total)exact: 5.0ms (4.5% of total)ival-assert: 3.0ms (2.7% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 0 | 0 | - | 0 | - | (+.f64 x x) |
| 0 | 0 | - | 0 | - | #s(literal 1 binary64) |
| 0 | 0 | - | 0 | - | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 0 | 0 | - | 0 | - | x |
| Predicted + | Predicted - | |
|---|---|---|
| + | 0 | 0 |
| - | 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 256 |
| number | freq |
|---|---|
| 0 | 256 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 0 | 0 | 0 |
| - | 0 | 0 | 1 |
| 23.0ms | 512× | 0 | valid |
Compiled 39 to 20 computations (48.7% saved)
ival-sub: 10.0ms (73.8% of total)ival-add: 3.0ms (22.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 | 13 |
| 1 | 22 | 11 |
| 2 | 72 | 10 |
| 3 | 173 | 10 |
| 4 | 252 | 10 |
| 5 | 265 | 10 |
| 0 | 4 | 5 |
| 0 | 6 | 5 |
| 1 | 15 | 5 |
| 2 | 19 | 5 |
| 3 | 24 | 5 |
| 4 | 28 | 5 |
| 5 | 37 | 5 |
| 6 | 66 | 5 |
| 7 | 148 | 5 |
| 8 | 234 | 5 |
| 9 | 254 | 5 |
| 10 | 257 | 5 |
| 0 | 257 | 4 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
Compiled 5 to 4 computations (20% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -128 | (+.f64 x x) | |
| cost-diff | 128 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 10 |
| 0 | 6 | 10 |
| 1 | 15 | 10 |
| 2 | 19 | 10 |
| 3 | 24 | 10 |
| 4 | 28 | 10 |
| 5 | 37 | 10 |
| 6 | 66 | 10 |
| 7 | 148 | 10 |
| 8 | 234 | 10 |
| 9 | 254 | 10 |
| 10 | 257 | 10 |
| 0 | 257 | 9 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(+.f64 x x) |
x |
#s(literal 1 binary64) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
#s(literal 1 binary64) |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) | |
| accuracy | 0.0 | (+.f64 x x) |
| 25.0ms | 256× | 0 | valid |
Compiled 22 to 10 computations (54.5% saved)
ival-sub: 19.0ms (93.5% of total)ival-add: 1.0ms (4.9% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(+.f64 x x) |
| Outputs |
|---|
-1 |
(- (* 2 x) 1) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 2))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | -inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (+ x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 19 |
| 1 | 28 | 19 |
| 2 | 63 | 19 |
| 3 | 120 | 19 |
| 4 | 134 | 19 |
| 5 | 188 | 19 |
| 6 | 229 | 19 |
| 7 | 254 | 19 |
| 8 | 269 | 19 |
| 9 | 275 | 19 |
| 10 | 276 | 19 |
| 0 | 276 | 16 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-1 |
(- (* 2 x) 1) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 2))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 x) 1) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (- 2 (/ 1 x))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 8 |
| 0 | 6 | 8 |
| 1 | 36 | 8 |
| 0 | 303 | 7 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(+.f64 x x) |
| Outputs |
|---|
(*.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) |
(*.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(*.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))))) |
(/.f64 (-.f64 (*.f64 x x) (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64)))) (-.f64 x (-.f64 x #s(literal 1 binary64)))) |
(/.f64 (+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 (-.f64 x #s(literal 1 binary64)) #s(literal 3 binary64))) (fma.f64 x x (-.f64 (*.f64 (-.f64 x #s(literal 1 binary64)) (-.f64 x #s(literal 1 binary64))) (*.f64 x (-.f64 x #s(literal 1 binary64)))))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(/.f64 (neg.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64))) (neg.f64 (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) x (-.f64 #s(literal 1 binary64) (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64))))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) |
(/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) (fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)))) |
(fma.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x #s(literal -1 binary64)) |
(fma.f64 #s(literal 4 binary64) (*.f64 x x) #s(literal -1 binary64)) |
(fma.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64)) #s(literal -1 binary64)) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(fma.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64)) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 0 binary64))) #s(literal -1 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64) #s(literal -1 binary64)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(fma.f64 x #s(literal 2 binary64) #s(literal -1 binary64)) |
(expm1.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(-.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) |
(-.f64 (/.f64 (*.f64 #s(literal 2 binary64) x) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64)))) (/.f64 #s(literal 1 binary64) (fma.f64 #s(literal 2 binary64) x (fma.f64 #s(literal 2 binary64) x #s(literal 1 binary64))))) |
(-.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(+.f64 (-.f64 x #s(literal 1 binary64)) x) |
(+.f64 #s(literal -1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 (*.f64 #s(literal 2 binary64) x) #s(literal -1 binary64)) |
(+.f64 x (-.f64 x #s(literal 1 binary64))) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x) |
(*.f64 #s(literal 4 binary64) (*.f64 x x)) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64))) |
(*.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 0 binary64)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))))) |
(/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(+.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x)) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(+.f64 x x) |
Compiled 735 to 172 computations (76.6% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 71 | 1 | 72 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 71 | 2 | 73 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ▶ | 50.0% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 12 to 10 computations (16.7% saved)
| 1× | egg-herbie |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 0 | 6 | 8 |
| 1 | 14 | 8 |
| 2 | 18 | 8 |
| 3 | 23 | 8 |
| 4 | 27 | 8 |
| 5 | 36 | 8 |
| 6 | 65 | 8 |
| 7 | 147 | 8 |
| 8 | 232 | 8 |
| 9 | 252 | 8 |
| 10 | 255 | 8 |
| 0 | 255 | 7 |
| 1× | iter limit |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(literal -1 binary64) |
Found 1 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 32.01336851205436 | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| 28.0ms | 256× | 0 | valid |
Compiled 16 to 13 computations (18.8% saved)
ival-sub: 2.0ms (51% of total)ival-add: 1.0ms (25.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(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
-1 |
(- (* 2 x) 1) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 2))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | ((- (+ x x) 1)) |
| 0.0ms | x | @ | -inf | ((- (+ x x) 1)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 19 |
| 1 | 28 | 19 |
| 2 | 63 | 19 |
| 3 | 120 | 19 |
| 4 | 134 | 19 |
| 5 | 188 | 19 |
| 6 | 229 | 19 |
| 7 | 254 | 19 |
| 8 | 269 | 19 |
| 9 | 275 | 19 |
| 10 | 276 | 19 |
| 0 | 276 | 16 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-1 |
(- (* 2 x) 1) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 2))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 x) 1) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (- 2 (/ 1 x))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 7 |
| 0 | 6 | 7 |
| 1 | 35 | 7 |
| 0 | 303 | 6 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | saturated |
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 26 to 11 computations (57.7% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 2 | 1 | 3 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 2 | 3 | 5 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ▶ | 51.3% | #s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
| ✓ | 50.0% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 21 to 17 computations (19% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | #s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 14 |
| 0 | 8 | 14 |
| 1 | 17 | 14 |
| 2 | 20 | 14 |
| 3 | 25 | 14 |
| 4 | 29 | 14 |
| 5 | 38 | 14 |
| 6 | 67 | 14 |
| 7 | 149 | 14 |
| 8 | 234 | 14 |
| 9 | 254 | 14 |
| 10 | 257 | 14 |
| 0 | 257 | 13 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 31.188385524814983 | #s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
| 14.0ms | 256× | 0 | valid |
Compiled 26 to 15 computations (42.3% saved)
ival-sub: 1.0ms (23.2% of total)ival-add: 1.0ms (23.2% of total)ival-mult: 1.0ms (23.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(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
-1 |
(- (* 2 x) 1) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 2))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | ((- (+ x x) 1) (* 2 x)) |
| 0.0ms | x | @ | -inf | ((- (+ x x) 1) (* 2 x)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (* 2 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 19 |
| 1 | 28 | 19 |
| 2 | 63 | 19 |
| 3 | 120 | 19 |
| 4 | 134 | 19 |
| 5 | 188 | 19 |
| 6 | 229 | 19 |
| 7 | 254 | 19 |
| 8 | 269 | 19 |
| 9 | 275 | 19 |
| 10 | 276 | 19 |
| 0 | 276 | 16 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-1 |
(- (* 2 x) 1) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 2))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 x) 1) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (- 2 (/ 1 x))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 0 | 8 | 12 |
| 1 | 38 | 12 |
| 0 | 311 | 11 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 2 binary64)) |
(*.f64 #s(literal 4 binary64) (*.f64 x x)) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64))) |
(*.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
(*.f64 (*.f64 x x) #s(literal 4 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 8 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x (*.f64 #s(literal 2 binary64) (*.f64 #s(literal 2 binary64) x))) |
(*.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 0 binary64)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))))) |
(/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(+.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x)) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(+.f64 x x) |
Compiled 602 to 127 computations (78.9% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 42 | 1 | 43 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 2 | 2 |
| Total | 43 | 3 | 46 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ▶ | 51.3% | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| ✓ | 50.0% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 21 to 16 computations (23.8% saved)
| 1× | egg-herbie |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | -128 | (+.f64 x x) | |
| cost-diff | 0 | #s(approx (- (+ x x) 1) (+.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 0 | 7 | 13 |
| 1 | 16 | 13 |
| 2 | 20 | 13 |
| 3 | 25 | 13 |
| 4 | 29 | 13 |
| 5 | 38 | 13 |
| 6 | 67 | 13 |
| 7 | 150 | 13 |
| 8 | 236 | 13 |
| 9 | 256 | 13 |
| 10 | 259 | 13 |
| 0 | 259 | 12 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
(+.f64 x x) |
x |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(+.f64 x x) |
(*.f64 #s(literal 2 binary64) x) |
x |
Found 2 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (+.f64 x x) | |
| accuracy | 31.188385524814983 | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| 7.0ms | 256× | 0 | valid |
Compiled 24 to 12 computations (50% saved)
ival-sub: 1.0ms (35.5% of total)ival-add: 1.0ms (35.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(approx (- (+ x x) 1) (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
-1 |
(- (* 2 x) 1) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 2))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | inf | ((- (+ x x) 1) (+ x x)) |
| 0.0ms | x | @ | 0 | ((- (+ x x) 1) (+ x x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 19 |
| 1 | 28 | 19 |
| 2 | 63 | 19 |
| 3 | 120 | 19 |
| 4 | 134 | 19 |
| 5 | 188 | 19 |
| 6 | 229 | 19 |
| 7 | 254 | 19 |
| 8 | 269 | 19 |
| 9 | 275 | 19 |
| 10 | 276 | 19 |
| 0 | 276 | 16 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
-1 |
(- (* 2 x) 1) |
(* 2 x) |
(* x (- 2 (/ 1 x))) |
(* -1 (* x (- (/ 1 x) 2))) |
| Outputs |
|---|
-1 |
#s(literal -1 binary64) |
(- (* 2 x) 1) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* x (- 2 (/ 1 x))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
(* -1 (* x (- (/ 1 x) 2))) |
(fma.f64 #s(literal 2 binary64) x #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 12 |
| 0 | 7 | 12 |
| 1 | 37 | 12 |
| 0 | 305 | 11 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
(+.f64 x x) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) x) |
(*.f64 #s(literal 4 binary64) (*.f64 x x)) |
(*.f64 (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64)) (pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3/2 binary64))) |
(*.f64 #s(literal 8 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(*.f64 #s(literal 2 binary64) (*.f64 x #s(literal 1 binary64))) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 x #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 #s(literal 2 binary64) x) #s(literal 3 binary64)) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) x)) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) x)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 1 binary64)) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (neg.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (neg.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 #s(literal 0 binary64) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 #s(literal 0 binary64) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 0 binary64)) (*.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 0 binary64))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 (fma.f64 x x #s(literal 0 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (pow.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) #s(literal 3 binary64)) (pow.f64 (fma.f64 x x #s(literal 0 binary64)) #s(literal 3 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 x x #s(literal 0 binary64)) (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))))) |
(/.f64 #s(literal 1 binary64) (*.f64 #s(literal 2 binary64) x)) |
(fma.f64 (*.f64 #s(literal 2 binary64) x) x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(fma.f64 x (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 3 binary64))) |
(+.f64 (*.f64 x (*.f64 #s(literal 2 binary64) x)) (*.f64 x (*.f64 #s(literal 2 binary64) x))) |
(+.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(+.f64 x x) |
Compiled 554 to 116 computations (79.1% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 39 | 0 | 39 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 39 | 3 | 42 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| ✓ | 51.3% | #s(approx (- (+ x x) 1) (+.f64 x x)) |
| ✓ | 50.0% | #s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Compiled 51 to 29 computations (43.1% saved)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
3 calls:
| 2.0ms | (+.f64 x x) |
| 2.0ms | x |
| 2.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 100.0% | 1 | (+.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) (*.f64 #s(literal 2 binary64) x)) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) (+.f64 x x)) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
#s(approx (- (+ x x) 1) (+.f64 x x)) |
3 calls:
| 2.0ms | (+.f64 x x) |
| 2.0ms | x |
| 1.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 97.5% | 3 | x |
| 97.5% | 3 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 97.5% | 3 | (+.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
3 calls:
| 39.0ms | x |
| 1.0ms | (+.f64 x x) |
| 1.0ms | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 50.0% | 1 | x |
| 50.0% | 1 | (-.f64 (+.f64 x x) #s(literal 1 binary64)) |
| 50.0% | 1 | (+.f64 x x) |
Compiled 9 to 7 computations (22.2% saved)
| 2× | left-value |
| Time | Left | Right |
|---|---|---|
| 0.0ms | 3.3446891763614414e-9 | 1.544480633637368 |
| 0.0ms | -18.15312914167161 | -0.005235146874087222 |
Compiled 8 to 8 computations (0% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 41 |
| 1 | 28 | 41 |
| 2 | 37 | 41 |
| 3 | 54 | 41 |
| 4 | 73 | 41 |
| 5 | 140 | 41 |
| 6 | 242 | 41 |
| 7 | 425 | 41 |
| 8 | 1206 | 41 |
| 9 | 2487 | 41 |
| 10 | 3410 | 41 |
| 11 | 5434 | 41 |
| 12 | 7531 | 41 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(if (<=.f64 (+.f64 x x) #s(literal -10 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)) (if (<=.f64 (+.f64 x x) #s(literal 3022314549036573/604462909807314587353088 binary64)) #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)))) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
| Outputs |
|---|
(-.f64 (+.f64 x x) #s(literal 1 binary64)) |
(if (<=.f64 (+.f64 x x) #s(literal -10 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)) (if (<=.f64 (+.f64 x x) #s(literal 3022314549036573/604462909807314587353088 binary64)) #s(approx (- (+ x x) 1) #s(literal -1 binary64)) #s(approx (- (+ x x) 1) (+.f64 x x)))) |
(if (or (<=.f64 (+.f64 x x) #s(literal -10 binary64)) (not (<=.f64 (+.f64 x x) #s(literal 3022314549036573/604462909807314587353088 binary64)))) #s(approx (- (+ x x) 1) (+.f64 x x)) #s(approx (- (+ x x) 1) #s(literal -1 binary64))) |
#s(approx (- (+ x x) 1) #s(literal -1 binary64)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 19 |
| 1 | 28 | 19 |
| 2 | 63 | 19 |
| 3 | 120 | 19 |
| 4 | 134 | 19 |
| 5 | 188 | 19 |
| 6 | 229 | 19 |
| 7 | 254 | 19 |
| 8 | 269 | 19 |
| 9 | 275 | 19 |
| 10 | 276 | 19 |
| 0 | 276 | 16 |
| 0 | 12 | 19 |
| 1 | 28 | 19 |
| 2 | 63 | 19 |
| 3 | 120 | 19 |
| 4 | 134 | 19 |
| 5 | 188 | 19 |
| 6 | 229 | 19 |
| 7 | 254 | 19 |
| 8 | 269 | 19 |
| 9 | 275 | 19 |
| 10 | 276 | 19 |
| 0 | 276 | 16 |
| 0 | 7 | 12 |
| 0 | 8 | 12 |
| 1 | 38 | 12 |
| 0 | 311 | 11 |
| 1× | done |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
Compiled 56 to 33 computations (41.1% saved)
Compiled 92 to 42 computations (54.3% saved)
Loading profile data...