
Time bar (total: 2.2s)
| 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 |
| 100% | 100% | 0% | 0% | 0% | 0% | 0% | 2 |
Compiled 8 to 7 computations (12.5% saved)
| 398.0ms | 8 256× | 0 | valid |
ival-mult: 156.0ms (64.3% of total)ival-sqrt: 70.0ms (28.8% of total)ival-true: 6.0ms (2.5% of total)exact: 5.0ms (2.1% of total)ival-assert: 3.0ms (1.2% of total)adjust: 2.0ms (0.8% of total)| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 117 | 0 | - | 3 | (-6.811176043455985e-156) | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 0 | 0 | - | 0 | - | #s(literal 2 binary64) |
| 0 | 0 | - | 0 | - | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 0 | 0 | - | 0 | - | (*.f64 #s(literal 2 binary64) x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) | uflow-rescue | 62 | 0 |
| ↳ | (*.f64 (*.f64 #s(literal 2 binary64) x) x) | underflow | 62 | |
sqrt.f64 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) | oflow-rescue | 52 | 0 |
| ↳ | (*.f64 (*.f64 #s(literal 2 binary64) x) x) | overflow | 52 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 114 | 3 |
| - | 0 | 139 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 114 | 0 | 3 |
| - | 0 | 0 | 139 |
| number | freq |
|---|---|
| 0 | 142 |
| 1 | 114 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 45.0ms | 512× | 0 | valid |
Compiled 42 to 19 computations (54.8% saved)
ival-sqrt: 27.0ms (77.8% of total)ival-mult: 7.0ms (20.2% of total)ival-true: 0.0ms (0% of total)adjust: 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 | 7 | 17 |
| 1 | 18 | 13 |
| 2 | 49 | 13 |
| 3 | 102 | 13 |
| 4 | 147 | 13 |
| 5 | 235 | 13 |
| 6 | 255 | 13 |
| 7 | 275 | 13 |
| 0 | 5 | 6 |
| 0 | 8 | 6 |
| 1 | 15 | 6 |
| 2 | 23 | 6 |
| 3 | 54 | 6 |
| 4 | 120 | 6 |
| 5 | 184 | 6 |
| 6 | 220 | 6 |
| 7 | 240 | 6 |
| 8 | 260 | 6 |
| 0 | 260 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| Outputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(hypot.f64 x x) |
(abs x)
Compiled 6 to 5 computations (16.7% saved)
Compiled 0 to 1 computations (-∞% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 58.0% | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
Compiled 6 to 5 computations (16.7% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) x) | |
| cost-diff | 0 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) | |
| cost-diff | 3 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 16 |
| 0 | 8 | 16 |
| 1 | 15 | 16 |
| 2 | 23 | 16 |
| 3 | 54 | 16 |
| 4 | 120 | 16 |
| 5 | 184 | 16 |
| 6 | 220 | 16 |
| 7 | 240 | 16 |
| 8 | 260 | 16 |
| 0 | 260 | 13 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 #s(literal 2 binary64) x) |
#s(literal 2 binary64) |
x |
| Outputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(hypot.f64 x x) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 (*.f64 x #s(literal 2 binary64)) x) |
(*.f64 #s(literal 2 binary64) x) |
(*.f64 x #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) | |
| accuracy | 0.0 | (*.f64 #s(literal 2 binary64) x) | |
| accuracy | 26.878034728062758 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 20.0ms | 256× | 0 | valid |
Compiled 18 to 7 computations (61.1% saved)
ival-mult: 3.0ms (58.2% of total)ival-sqrt: 2.0ms (38.8% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
(* x (sqrt 2)) |
(* 2 (pow x 2)) |
(* 2 x) |
(* -1 (* x (sqrt 2))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | ((sqrt (* (* 2 x) x)) (* (* 2 x) x) (* 2 x)) |
| 1.0ms | x | @ | 0 | ((sqrt (* (* 2 x) x)) (* (* 2 x) x) (* 2 x)) |
| 1.0ms | x | @ | -inf | ((sqrt (* (* 2 x) x)) (* (* 2 x) x) (* 2 x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 17 |
| 1 | 21 | 17 |
| 2 | 42 | 17 |
| 3 | 90 | 17 |
| 4 | 228 | 17 |
| 5 | 439 | 17 |
| 6 | 502 | 17 |
| 0 | 502 | 17 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (sqrt 2)) |
(* 2 (pow x 2)) |
(* 2 x) |
(* -1 (* x (sqrt 2))) |
| Outputs |
|---|
(* x (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(* 2 x) |
(*.f64 #s(literal 2 binary64) x) |
(* -1 (* x (sqrt 2))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 14 |
| 0 | 8 | 12 |
| 1 | 20 | 12 |
| 2 | 57 | 10 |
| 0 | 280 | 9 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 #s(literal 2 binary64) x) |
| Outputs |
|---|
(*.f64 (neg.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64))) (neg.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)))) |
(*.f64 (fabs.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64))) (fabs.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)))) |
(*.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64))) |
(*.f64 (fabs.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (hypot.f64 x x) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (hypot.f64 x x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (fabs.f64 x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(pow.f64 (exp.f64 (log.f64 (*.f64 x #s(literal 2 binary64)))) #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x #s(literal 2 binary64))) #s(literal 1/4 binary64)) |
(pow.f64 (pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(/.f64 (sqrt.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (sqrt.f64 (fma.f64 x x #s(literal 0 binary64)))) |
(sqrt.f64 (*.f64 x #s(literal 2 binary64))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (neg.f64 x)) x) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)) |
(hypot.f64 (neg.f64 (fabs.f64 x)) x) |
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (neg.f64 x) (neg.f64 x)) |
(hypot.f64 (neg.f64 x) (fabs.f64 x)) |
(hypot.f64 (neg.f64 x) x) |
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 x))) |
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 x))) |
(hypot.f64 (fabs.f64 x) (neg.f64 x)) |
(hypot.f64 (fabs.f64 x) (fabs.f64 x)) |
(hypot.f64 (fabs.f64 x) x) |
(hypot.f64 x (neg.f64 (neg.f64 x))) |
(hypot.f64 x (neg.f64 (fabs.f64 x))) |
(hypot.f64 x (neg.f64 x)) |
(hypot.f64 x (fabs.f64 x)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 (*.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))) |
(+.f64 (cosh.f64 (*.f64 (log.f64 (*.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64))) (sinh.f64 (*.f64 (log.f64 (*.f64 x #s(literal 2 binary64))) #s(literal 1/2 binary64)))) |
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64))) |
(*.f64 (neg.f64 x) (+.f64 (neg.f64 x) (neg.f64 x))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (+.f64 (fabs.f64 x) (fabs.f64 x))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) x) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 #s(literal 2 binary64) x) |
(/.f64 (*.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal 0 binary64)) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(/.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 #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))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(-.f64 (*.f64 x x) (*.f64 x (neg.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(+.f64 x x) |
(*.f64 (*.f64 #s(literal 2 binary64) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 #s(literal 2 binary64) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 2 binary64))) |
(*.f64 (neg.f64 x) (+.f64 (neg.f64 x) (neg.f64 x))) |
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) #s(literal 2 binary64))) |
(*.f64 (fabs.f64 x) (+.f64 (fabs.f64 x) (fabs.f64 x))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) x) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 #s(literal 2 binary64) x) |
(/.f64 (*.f64 #s(literal 0 binary64) x) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (*.f64 x (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64)))) (fma.f64 x x #s(literal 0 binary64))) |
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))) #s(literal 0 binary64)) |
(/.f64 (+.f64 (pow.f64 (*.f64 x x) #s(literal 3 binary64)) (pow.f64 (*.f64 x x) #s(literal 3 binary64))) (fma.f64 (*.f64 x x) (*.f64 x x) (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))) |
(/.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 #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))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 x x)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 x x)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 x x)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 x x)) |
(fma.f64 x x (*.f64 x x)) |
(-.f64 (/.f64 (*.f64 x x) #s(literal 0 binary64)) (/.f64 (*.f64 x x) #s(literal 0 binary64))) |
(-.f64 (*.f64 x x) (*.f64 x (neg.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x))) |
(-.f64 (*.f64 x x) (*.f64 (neg.f64 x) x)) |
(+.f64 (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64))) (/.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 x x #s(literal 0 binary64)))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(+.f64 x x) |
Compiled 644 to 172 computations (73.3% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 76 | 4 | 80 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 76 | 5 | 81 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 31.1% | (sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64)))) |
| ▶ | 7.2% | (sqrt.f64 (+.f64 x x)) |
| ✓ | 58.0% | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| ▶ | 99.3% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
Compiled 37 to 29 computations (21.6% saved)
| 1× | egg-herbie |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (hypot.f64 x x) | |
| cost-diff | 1 | (fma.f64 x x #s(literal 0 binary64)) | |
| cost-diff | 2 | (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) | |
| cost-diff | 3 | (sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64)))) | |
| cost-diff | 4 | (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) | |
| cost-diff | 0 | (+.f64 x x) | |
| cost-diff | 0 | (sqrt.f64 (+.f64 x x)) | |
| cost-diff | 0 | (sqrt.f64 #s(literal 2 binary64)) | |
| cost-diff | 0 | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) | |
| cost-diff | 0 | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 79 |
| 0 | 32 | 82 |
| 1 | 57 | 74 |
| 2 | 174 | 68 |
| 3 | 848 | 56 |
| 4 | 6176 | 56 |
| 0 | 8326 | 56 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
x |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64)))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(fma.f64 x x #s(literal 0 binary64)) |
#s(literal 0 binary64) |
(hypot.f64 x x) |
x |
| Outputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
x |
(sqrt.f64 (+.f64 x x)) |
(sqrt.f64 (*.f64 x #s(literal 2 binary64))) |
(+.f64 x x) |
(*.f64 x #s(literal 2 binary64)) |
x |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64)))) |
(hypot.f64 x x) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(fma.f64 x x #s(literal 0 binary64)) |
(*.f64 x x) |
#s(literal 0 binary64) |
(hypot.f64 x x) |
x |
Found 10 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0234375 | (hypot.f64 x x) | |
| accuracy | 0.0078125 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) | |
| accuracy | 0.08984375 | (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) | |
| accuracy | 26.878034728062758 | (sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64)))) | |
| accuracy | 40.27203352341101 | (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) | |
| accuracy | 0.0 | (+.f64 x x) | |
| accuracy | 0.0 | (sqrt.f64 (+.f64 x x)) | |
| accuracy | 0.0 | (sqrt.f64 #s(literal 2 binary64)) | |
| accuracy | 0.0 | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) | |
| accuracy | 0.41796875 | (*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
| 47.0ms | 256× | 0 | valid |
Compiled 84 to 21 computations (75% saved)
ival-pow: 14.0ms (38.1% of total)ival-mult: 9.0ms (24.5% of total)ival-sqrt: 6.0ms (16.3% of total)ival-hypot: 4.0ms (10.9% of total)ival-add: 2.0ms (5.4% of total)ival-div: 1.0ms (2.7% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)| Inputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64)))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(fma.f64 x x #s(literal 0 binary64)) |
(hypot.f64 x x) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
| Outputs |
|---|
(* x (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* 2 x) |
(* 2 (pow x 2)) |
(* 2 (pow x 4)) |
(pow x 2) |
(* 2 (pow x 3)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | ((sqrt (* (* 2 x) x)) (* (sqrt 2) x) (sqrt 2) (sqrt (+ x x)) (+ x x) (/ (* (* 2 (pow x 3)) x) (+ (* x x) 0)) (sqrt (/ (* (* 2 (pow x 3)) x) (+ (* x x) 0))) (* (* 2 (pow x 3)) x) (+ (* x x) 0) (sqrt (+ (* x x) (* x x))) (* 2 (pow x 3))) |
| 2.0ms | x | @ | inf | ((sqrt (* (* 2 x) x)) (* (sqrt 2) x) (sqrt 2) (sqrt (+ x x)) (+ x x) (/ (* (* 2 (pow x 3)) x) (+ (* x x) 0)) (sqrt (/ (* (* 2 (pow x 3)) x) (+ (* x x) 0))) (* (* 2 (pow x 3)) x) (+ (* x x) 0) (sqrt (+ (* x x) (* x x))) (* 2 (pow x 3))) |
| 2.0ms | x | @ | 0 | ((sqrt (* (* 2 x) x)) (* (sqrt 2) x) (sqrt 2) (sqrt (+ x x)) (+ x x) (/ (* (* 2 (pow x 3)) x) (+ (* x x) 0)) (sqrt (/ (* (* 2 (pow x 3)) x) (+ (* x x) 0))) (* (* 2 (pow x 3)) x) (+ (* x x) 0) (sqrt (+ (* x x) (* x x))) (* 2 (pow x 3))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 44 |
| 1 | 50 | 44 |
| 2 | 112 | 44 |
| 3 | 238 | 44 |
| 4 | 513 | 44 |
| 5 | 906 | 44 |
| 6 | 980 | 44 |
| 7 | 986 | 44 |
| 8 | 990 | 44 |
| 9 | 993 | 44 |
| 10 | 998 | 44 |
| 11 | 1021 | 44 |
| 12 | 1092 | 44 |
| 13 | 1178 | 44 |
| 0 | 1178 | 44 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* 2 x) |
(* 2 (pow x 2)) |
(* 2 (pow x 4)) |
(pow x 2) |
(* 2 (pow x 3)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
| Outputs |
|---|
(* x (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(* 2 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) |
(pow x 2) |
(*.f64 x x) |
(* 2 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) |
(* -1 (* x (sqrt 2))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(*.f64 (neg.f64 (sqrt.f64 #s(literal -2 binary64))) (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 68 |
| 0 | 32 | 38 |
| 1 | 106 | 22 |
| 0 | 824 | 22 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(sqrt.f64 #s(literal 2 binary64)) |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64))) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64)))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(fma.f64 x x #s(literal 0 binary64)) |
(hypot.f64 x x) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
| Outputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x))) |
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x))) |
(*.f64 (neg.f64 x) (neg.f64 x)) |
(*.f64 (fabs.f64 x) (fabs.f64 x)) |
(*.f64 x x) |
(pow.f64 (neg.f64 x) #s(literal 2 binary64)) |
(pow.f64 (fabs.f64 x) #s(literal 2 binary64)) |
(pow.f64 x #s(literal 2 binary64)) |
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) #s(literal 0 binary64)) (pow.f64 x #s(literal 4 binary64))) |
(/.f64 (neg.f64 (pow.f64 x #s(literal 4 binary64))) (*.f64 (neg.f64 x) x)) |
(/.f64 (neg.f64 (pow.f64 x #s(literal 6 binary64))) (neg.f64 (pow.f64 x #s(literal 4 binary64)))) |
(/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 x #s(literal 4 binary64))) |
(/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x)) |
(neg.f64 (*.f64 (neg.f64 x) x)) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (/.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (/.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 x) (neg.f64 x) (/.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (neg.f64 x) (neg.f64 x) #s(literal 0 binary64)) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) (/.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 (fabs.f64 x) (fabs.f64 x) #s(literal 0 binary64)) |
(fma.f64 x x (/.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(fma.f64 x x #s(literal 0 binary64)) |
(-.f64 (*.f64 x x) #s(literal 0 binary64)) |
(-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 x) x)) |
(-.f64 #s(literal 0 binary64) (*.f64 x x)) |
(fabs.f64 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(+.f64 (*.f64 x x) (/.f64 #s(literal 0 binary64) (pow.f64 x #s(literal 4 binary64)))) |
(+.f64 (*.f64 x x) #s(literal 0 binary64)) |
(+.f64 #s(literal 0 binary64) (*.f64 x x)) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
Compiled 707 to 182 computations (74.3% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 45 | 3 | 48 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 3 | 4 |
| Done | 0 | 1 | 1 |
| Total | 46 | 7 | 53 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 31.1% | (sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x))) |
| ✓ | 7.2% | (sqrt.f64 (+.f64 x x)) |
| ✓ | 58.0% | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| ✓ | 99.3% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ▶ | 99.1% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
| ▶ | 3.9% | #s(literal 0 binary64) |
Compiled 51 to 42 computations (17.6% saved)
| 1× | egg-herbie |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 0 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) | |
| cost-diff | 2 | (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) | |
| cost-diff | 3 | (sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x))) | |
| cost-diff | 4 | (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x)) | |
| cost-diff | 0 | (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) | |
| cost-diff | 0 | (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) | |
| cost-diff | 0 | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) | |
| cost-diff | 3 | (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 80 |
| 0 | 29 | 74 |
| 1 | 61 | 65 |
| 2 | 173 | 61 |
| 3 | 780 | 57 |
| 4 | 4843 | 57 |
| 0 | 8911 | 51 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
#s(literal 0 binary64) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(literal 1/2 binary64) |
x |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x))) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x)) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(*.f64 x x) |
| Outputs |
|---|
#s(literal 0 binary64) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64))) |
(log.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
#s(literal 1/2 binary64) |
x |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x))) |
(hypot.f64 x x) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(pow.f64 x #s(literal 3 binary64)) |
x |
#s(literal 3 binary64) |
(*.f64 x x) |
Found 8 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.0078125 | (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) | |
| accuracy | 0.08984375 | (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) | |
| accuracy | 26.878034728062758 | (sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x))) | |
| accuracy | 40.27203352341101 | (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x)) | |
| accuracy | 0.0 | (log.f64 #s(literal 2 binary64)) | |
| accuracy | 0.0 | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) | |
| accuracy | 0.41796875 | (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) | |
| accuracy | 1.0 | (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
| 35.0ms | 256× | 0 | valid |
Compiled 74 to 20 computations (73% saved)
ival-mult: 10.0ms (38.6% of total)ival-div: 4.0ms (15.5% of total)ival-sqrt: 3.0ms (11.6% of total)ival-pow: 3.0ms (11.6% of total)ival-exp: 2.0ms (7.7% of total)ival-log: 2.0ms (7.7% of total)exact: 1.0ms (3.9% of total)adjust: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)ival-true: 0.0ms (0% of total)| Inputs |
|---|
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x)) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
(log.f64 #s(literal 2 binary64)) |
| Outputs |
|---|
(* x (sqrt 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 4)) |
(* 2 (pow x 3)) |
(* -1 (* x (sqrt 2))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((exp (* (log 2) 1/2)) (sqrt (* (* 2 x) x)) (* (exp (* (log 2) 1/2)) x) (* (log 2) 1/2) (/ (* (* 2 (pow x 3)) x) (* x x)) (sqrt (/ (* (* 2 (pow x 3)) x) (* x x))) (* (* 2 (pow x 3)) x) (* 2 (pow x 3)) (log 2)) |
| 1.0ms | x | @ | inf | ((exp (* (log 2) 1/2)) (sqrt (* (* 2 x) x)) (* (exp (* (log 2) 1/2)) x) (* (log 2) 1/2) (/ (* (* 2 (pow x 3)) x) (* x x)) (sqrt (/ (* (* 2 (pow x 3)) x) (* x x))) (* (* 2 (pow x 3)) x) (* 2 (pow x 3)) (log 2)) |
| 1.0ms | x | @ | 0 | ((exp (* (log 2) 1/2)) (sqrt (* (* 2 x) x)) (* (exp (* (log 2) 1/2)) x) (* (log 2) 1/2) (/ (* (* 2 (pow x 3)) x) (* x x)) (sqrt (/ (* (* 2 (pow x 3)) x) (* x x))) (* (* 2 (pow x 3)) x) (* 2 (pow x 3)) (log 2)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 24 |
| 1 | 30 | 24 |
| 2 | 66 | 24 |
| 3 | 151 | 24 |
| 4 | 420 | 24 |
| 5 | 801 | 24 |
| 6 | 894 | 24 |
| 7 | 898 | 24 |
| 8 | 898 | 24 |
| 0 | 898 | 24 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (sqrt 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 4)) |
(* 2 (pow x 3)) |
(* -1 (* x (sqrt 2))) |
| Outputs |
|---|
(* x (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(* 2 (pow x 2)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) x) |
(* 2 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) |
(* 2 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) |
(* -1 (* x (sqrt 2))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 67 |
| 0 | 28 | 61 |
| 1 | 79 | 49 |
| 0 | 342 | 47 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
(*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x)) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
(log.f64 #s(literal 2 binary64)) |
| Outputs |
|---|
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) |
(pow.f64 (exp.f64 #s(literal 1/2 binary64)) (log.f64 #s(literal 2 binary64))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(/.f64 (-.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) (-.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(/.f64 (+.f64 (pow.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64)) (pow.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) #s(literal 3 binary64))) (fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (-.f64 (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))))) |
(sqrt.f64 #s(literal 2 binary64)) |
(exp.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) |
(+.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
(+.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(fma.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(fma.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(+.f64 (*.f64 (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x) (*.f64 (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))) x)) |
(+.f64 (*.f64 x (cosh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64))))) (*.f64 x (sinh.f64 (log.f64 (sqrt.f64 #s(literal 2 binary64)))))) |
(*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64))) |
(*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64)) |
(log.f64 (sqrt.f64 #s(literal 2 binary64))) |
(*.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (neg.f64 x)) (/.f64 x (neg.f64 x))) |
(*.f64 (/.f64 x (neg.f64 x)) (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (neg.f64 x))) |
(*.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fabs.f64 x)) (/.f64 x (fabs.f64 x))) |
(*.f64 (/.f64 x (fabs.f64 x)) (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (fabs.f64 x))) |
(*.f64 (/.f64 #s(literal 2 binary64) (neg.f64 x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (neg.f64 x))) |
(*.f64 (/.f64 #s(literal 2 binary64) (fabs.f64 x)) (/.f64 (pow.f64 x #s(literal 4 binary64)) (fabs.f64 x))) |
(*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 4 binary64)) x)) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))) |
(*.f64 #s(literal 1 binary64) (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) x)) |
(*.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) x) #s(literal 1 binary64)) |
(*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (/.f64 #s(literal 1 binary64) x)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 #s(literal 2 binary64) (/.f64 #s(literal 1 binary64) x))) |
(*.f64 x (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 x x))) |
(*.f64 #s(literal 2 binary64) (*.f64 (pow.f64 x #s(literal 3 binary64)) (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) (neg.f64 x)) (neg.f64 x)) |
(/.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) (fabs.f64 x)) (fabs.f64 x)) |
(/.f64 (*.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) x) x) x) |
(/.f64 (neg.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64))) (neg.f64 x)) |
(/.f64 (neg.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 4 binary64)))) (*.f64 x x)) |
(/.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64)) x) |
(/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 (neg.f64 x) x)) |
(/.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) (*.f64 x x)) |
(neg.f64 (/.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 4 binary64))) (*.f64 x x))) |
(neg.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) (*.f64 (neg.f64 x) x))) |
(*.f64 (pow.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 4 binary64)) x)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 4 binary64)) x)) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) x)) #s(literal 1 binary64)) |
(*.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) |
(*.f64 (pow.f64 (/.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) x) #s(literal 1/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) #s(literal 1/2 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))) |
(pow.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 4 binary64)) x)) #s(literal 1/2 binary64)) |
(/.f64 (neg.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)))) (neg.f64 (fabs.f64 x))) |
(/.f64 (sqrt.f64 (*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) #s(literal 1 binary64))) (sqrt.f64 x)) |
(/.f64 (sqrt.f64 (*.f64 #s(literal -2 binary64) (pow.f64 x #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (neg.f64 x) x))) |
(/.f64 (sqrt.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64))) (fabs.f64 x)) |
(sqrt.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 4 binary64)) x))) |
(exp.f64 (*.f64 (log.f64 (*.f64 (/.f64 #s(literal 2 binary64) x) (/.f64 (pow.f64 x #s(literal 4 binary64)) x))) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) |
(*.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) x) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 x #s(literal 2 binary64))) |
(*.f64 (*.f64 x #s(literal 2 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(*.f64 x (*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64))) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 4 binary64))) |
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) x) (pow.f64 x #s(literal 4 binary64))) |
(fma.f64 (*.f64 x x) (*.f64 x x) (pow.f64 x #s(literal 4 binary64))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) x (pow.f64 x #s(literal 4 binary64))) |
(fma.f64 x (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 4 binary64))) |
(+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) |
(*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64))) |
(*.f64 (fma.f64 x x (-.f64 (*.f64 x x) (*.f64 x x))) (*.f64 x #s(literal 2 binary64))) |
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (*.f64 (pow.f64 x #s(literal 3/2 binary64)) #s(literal 2 binary64))) |
(*.f64 (pow.f64 x #s(literal 3/2 binary64)) (+.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)))) |
(*.f64 (*.f64 x x) (*.f64 x #s(literal 2 binary64))) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) |
(*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) |
(*.f64 (*.f64 x #s(literal 2 binary64)) (*.f64 x x)) |
(*.f64 x (*.f64 (*.f64 x #s(literal 2 binary64)) x)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) |
(/.f64 (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) (-.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))) |
(/.f64 (+.f64 (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64)) (pow.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 3 binary64))) (fma.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)) (-.f64 (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (*.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64)))))) |
(fma.f64 (*.f64 x (fabs.f64 x)) (fabs.f64 x) (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 (neg.f64 (pow.f64 x #s(literal 3/2 binary64))) (neg.f64 (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))) (fabs.f64 (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3/2 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 (*.f64 (neg.f64 x) x) (neg.f64 x) (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) x) (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) x) (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 (*.f64 x x) x (pow.f64 x #s(literal 3 binary64))) |
(fma.f64 x (*.f64 x x) (pow.f64 x #s(literal 3 binary64))) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (neg.f64 (pow.f64 x #s(literal 3/2 binary64))) (pow.f64 x #s(literal 3/2 binary64)))) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (*.f64 (neg.f64 x) x) x)) |
(-.f64 (pow.f64 x #s(literal 3 binary64)) (*.f64 (neg.f64 x) (*.f64 x x))) |
(+.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) |
(log.f64 #s(literal 2 binary64)) |
Compiled 1 446 to 354 computations (75.5% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 97 | 1 | 98 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 2 | 3 |
| Done | 0 | 4 | 4 |
| Total | 98 | 7 | 105 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 31.1% | (sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) |
| ✓ | 7.2% | (sqrt.f64 (+.f64 x x)) |
| ✓ | 58.0% | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| ✓ | 99.3% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ✓ | 99.1% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
| ✓ | 3.9% | #s(literal 0 binary64) |
Compiled 53 to 42 computations (20.8% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| cost-diff | 2 | (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) | |
| cost-diff | 2 | (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) | |
| cost-diff | 3 | (sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) | |
| cost-diff | 4 | (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x)) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 56 |
| 0 | 16 | 48 |
| 1 | 36 | 44 |
| 2 | 116 | 36 |
| 3 | 642 | 34 |
| 4 | 4187 | 34 |
| 5 | 6356 | 34 |
| 0 | 8097 | 31 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) |
(/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x)) |
(*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) |
(*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) |
(*.f64 (*.f64 x #s(literal 2 binary64)) x) |
(*.f64 x #s(literal 2 binary64)) |
x |
#s(literal 2 binary64) |
(*.f64 x x) |
| Outputs |
|---|
(sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) |
(hypot.f64 x x) |
(/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) |
(*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) |
(*.f64 (*.f64 x #s(literal 2 binary64)) x) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(*.f64 x #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) x) |
x |
#s(literal 2 binary64) |
(*.f64 x x) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| accuracy | 0.08984375 | (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) | |
| accuracy | 0.09765625 | (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) | |
| accuracy | 26.878034728062758 | (sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) | |
| accuracy | 40.27203352341101 | (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x)) |
| 17.0ms | 256× | 0 | valid |
Compiled 58 to 11 computations (81% saved)
ival-mult: 7.0ms (65.4% of total)ival-sqrt: 2.0ms (18.7% of total)ival-div: 1.0ms (9.3% of total)ival-true: 0.0ms (0% of total)adjust: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
(/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x)) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) |
(*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) |
(*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) |
| Outputs |
|---|
(* 2 (pow x 2)) |
(* x (sqrt 2)) |
(* 2 (pow x 4)) |
(* 2 (pow x 3)) |
(* -1 (* x (sqrt 2))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | ((/ (* (* (* (* x 2) x) x) x) (* x x)) (sqrt (/ (* (* (* (* x 2) x) x) x) (* x x))) (* (* (* (* x 2) x) x) x) (* (* (* x 2) x) x)) |
| 1.0ms | x | @ | inf | ((/ (* (* (* (* x 2) x) x) x) (* x x)) (sqrt (/ (* (* (* (* x 2) x) x) x) (* x x))) (* (* (* (* x 2) x) x) x) (* (* (* x 2) x) x)) |
| 1.0ms | x | @ | 0 | ((/ (* (* (* (* x 2) x) x) x) (* x x)) (sqrt (/ (* (* (* (* x 2) x) x) x) (* x x))) (* (* (* (* x 2) x) x) x) (* (* (* x 2) x) x)) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 24 |
| 1 | 30 | 24 |
| 2 | 66 | 24 |
| 3 | 151 | 24 |
| 4 | 420 | 24 |
| 5 | 801 | 24 |
| 6 | 883 | 24 |
| 7 | 885 | 24 |
| 8 | 885 | 24 |
| 0 | 885 | 24 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 2 (pow x 2)) |
(* x (sqrt 2)) |
(* 2 (pow x 4)) |
(* 2 (pow x 3)) |
(* -1 (* x (sqrt 2))) |
| Outputs |
|---|
(* 2 (pow x 2)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) x) |
(* x (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) x) |
(* 2 (pow x 4)) |
(*.f64 (pow.f64 x #s(literal 4 binary64)) #s(literal 2 binary64)) |
(* 2 (pow x 3)) |
(*.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 2 binary64)) |
(* -1 (* x (sqrt 2))) |
(*.f64 (neg.f64 x) (sqrt.f64 #s(literal 2 binary64))) |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 43 |
| 0 | 16 | 43 |
| 1 | 45 | 35 |
| 0 | 198 | 35 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x)) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) |
(*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) |
(*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) |
| Outputs |
|---|
(*.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (neg.f64 x)) (/.f64 (*.f64 x x) (neg.f64 x))) |
(*.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (fabs.f64 x)) (/.f64 (*.f64 x x) (fabs.f64 x))) |
(*.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) (/.f64 (*.f64 x x) x)) |
(*.f64 (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) (neg.f64 x)) (/.f64 x (neg.f64 x))) |
(*.f64 (/.f64 x (neg.f64 x)) (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) (neg.f64 x))) |
(*.f64 (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) (fabs.f64 x)) (/.f64 x (fabs.f64 x))) |
(*.f64 (/.f64 x (fabs.f64 x)) (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) (fabs.f64 x))) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x)) |
(*.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64))) |
(*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64)) #s(literal 1 binary64)) |
(*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) (/.f64 #s(literal 1 binary64) x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (/.f64 (*.f64 x x) (*.f64 x x))) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 x (/.f64 #s(literal 1 binary64) x))) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 (*.f64 x x) (/.f64 #s(literal 1 binary64) x))) |
(*.f64 x (/.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) (*.f64 x x))) |
(*.f64 x (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) x) (neg.f64 x)) (neg.f64 x)) |
(/.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) x) (fabs.f64 x)) (fabs.f64 x)) |
(/.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64)) x) x) |
(/.f64 (neg.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) #s(literal 1 binary64))) (neg.f64 x)) |
(/.f64 (neg.f64 (*.f64 (neg.f64 x) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x))) (*.f64 x x)) |
(/.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) #s(literal 1 binary64)) x) |
(/.f64 (*.f64 (neg.f64 x) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x)) (*.f64 (neg.f64 x) x)) |
(/.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) x) (*.f64 x x)) |
(neg.f64 (/.f64 (*.f64 (neg.f64 x) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x)) (*.f64 x x))) |
(neg.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) x) (*.f64 (neg.f64 x) x))) |
(*.f64 (pow.f64 (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64))) #s(literal 1/4 binary64)) (pow.f64 (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64))) #s(literal 1/4 binary64))) |
(*.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64))) #s(literal 1 binary64)) |
(*.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) |
(*.f64 (pow.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64)) #s(literal 1/2 binary64)) (pow.f64 #s(literal 1 binary64) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) #s(literal 1/2 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) x) #s(literal 1/2 binary64))) |
(pow.f64 (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64))) #s(literal 1/2 binary64)) |
(/.f64 (neg.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) (fabs.f64 x))) (neg.f64 (fabs.f64 x))) |
(/.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) #s(literal 1 binary64))) (sqrt.f64 x)) |
(/.f64 (sqrt.f64 (*.f64 (neg.f64 x) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x))) (sqrt.f64 (*.f64 (neg.f64 x) x))) |
(/.f64 (*.f64 (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) (fabs.f64 x)) (fabs.f64 x)) |
(sqrt.f64 (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 #s(literal 1 binary64) (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) #s(literal 1 binary64)))) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 x x) (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) x) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 x x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 (*.f64 x x) x)) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 x (*.f64 x x))) |
(*.f64 x (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (neg.f64 x)) (neg.f64 x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) (fabs.f64 x)) (fabs.f64 x)) |
(*.f64 (*.f64 x x) (*.f64 #s(literal 2 binary64) x)) |
(*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) |
(*.f64 (*.f64 #s(literal 2 binary64) x) (*.f64 x x)) |
(*.f64 #s(literal 2 binary64) (*.f64 x (*.f64 x x))) |
(*.f64 x (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
Compiled 847 to 199 computations (76.5% saved)
10 alts after pruning (3 fresh and 7 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 55 | 3 | 58 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 6 | 6 |
| Total | 55 | 10 | 65 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| 44.0% | (/.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) #s(literal 1 binary64))) (sqrt.f64 x)) | |
| 44.0% | (*.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) | |
| ✓ | 31.1% | (sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) |
| ✓ | 7.2% | (sqrt.f64 (+.f64 x x)) |
| 57.9% | (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 x (/.f64 #s(literal 1 binary64) x)))) | |
| ✓ | 58.0% | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| ✓ | 99.3% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
| ✓ | 99.1% | #s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
| ✓ | 3.9% | #s(literal 0 binary64) |
Compiled 207 to 122 computations (41.1% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
(sqrt.f64 (+.f64 x x)) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 x (/.f64 #s(literal 1 binary64) x)))) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) |
(*.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) #s(literal 1 binary64))) (sqrt.f64 x)) |
(hypot.f64 x x) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (*.f64 x x))) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 3 binary64))) x) (fma.f64 x x #s(literal 0 binary64)))) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) x)) |
| Outputs |
|---|
(hypot.f64 x x) |
3 calls:
| 4.0ms | x |
| 3.0ms | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 3.0ms | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 100.0% | 1 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 100.0% | 1 | x |
Compiled 12 to 10 computations (16.7% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
(sqrt.f64 (+.f64 x x)) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
(sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) (*.f64 x (/.f64 #s(literal 1 binary64) x)))) |
(sqrt.f64 (/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x #s(literal 2 binary64)) x) x) x) (*.f64 x x))) |
(*.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x)) (sqrt.f64 (/.f64 #s(literal 1 binary64) x))) |
(/.f64 (sqrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x) x) #s(literal 1 binary64))) (sqrt.f64 x)) |
| Outputs |
|---|
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
3 calls:
| 4.0ms | x |
| 2.0ms | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 2.0ms | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.3% | 1 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 99.3% | 1 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 99.3% | 1 | x |
Compiled 12 to 10 computations (16.7% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
(sqrt.f64 (+.f64 x x)) |
| Outputs |
|---|
(sqrt.f64 (+.f64 x x)) |
3 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 1.0ms | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 7.2% | 1 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 7.2% | 1 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 7.2% | 1 | x |
Compiled 12 to 10 computations (16.7% saved)
Total -0.0b remaining (-0%)
Threshold costs -0b (-0%)
| Inputs |
|---|
#s(literal 0 binary64) |
| Outputs |
|---|
#s(literal 0 binary64) |
3 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
| 1.0ms | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.9% | 1 | x |
| 3.9% | 1 | (*.f64 (*.f64 #s(literal 2 binary64) x) x) |
| 3.9% | 1 | (sqrt.f64 (*.f64 (*.f64 #s(literal 2 binary64) x) x)) |
Compiled 12 to 10 computations (16.7% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 19 |
| 1 | 19 | 19 |
| 2 | 26 | 19 |
| 3 | 60 | 19 |
| 4 | 137 | 19 |
| 5 | 223 | 19 |
| 6 | 421 | 19 |
| 7 | 2074 | 19 |
| 8 | 3272 | 19 |
| 1× | node limit |
| Inputs |
|---|
(hypot.f64 x x) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (+.f64 x x)) |
#s(literal 0 binary64) |
| Outputs |
|---|
(hypot.f64 x x) |
#s(approx (sqrt (* (* 2 x) x)) (*.f64 (sqrt.f64 #s(literal 2 binary64)) x)) |
(sqrt.f64 (+.f64 x x)) |
#s(literal 0 binary64) |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 17 |
| 1 | 21 | 17 |
| 2 | 42 | 17 |
| 3 | 90 | 17 |
| 4 | 228 | 17 |
| 5 | 439 | 17 |
| 6 | 502 | 17 |
| 0 | 502 | 17 |
| 0 | 5 | 14 |
| 0 | 8 | 12 |
| 1 | 20 | 12 |
| 2 | 57 | 10 |
| 0 | 280 | 9 |
| 0 | 19 | 68 |
| 0 | 32 | 38 |
| 1 | 106 | 22 |
| 0 | 824 | 22 |
| 1× | fuel |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| 1× | iter limit |
| 1× | saturated |
Compiled 19 to 13 computations (31.6% saved)
(abs x)
Compiled 56 to 40 computations (28.6% saved)
Loading profile data...