
Time bar (total: 2.0s)
| 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 10 to 4 computations (60% saved)
| 267.0ms | 8 256× | 0 | valid |
ival-hypot: 137.0ms (94.4% of total)ival-true: 5.0ms (3.4% of total)ival-assert: 3.0ms (2.1% of total)| 1× | egg-herbie |
| 42× | associate-*r* |
| 32× | distribute-lft-neg-in |
| 32× | sub-neg |
| 24× | neg-sub0 |
| 22× | distribute-lft-in |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 21 | 13 |
| 2 | 66 | 13 |
| 3 | 166 | 13 |
| 4 | 247 | 13 |
| 5 | 256 | 13 |
| 6 | 258 | 13 |
| 0 | 4 | 8 |
| 0 | 7 | 6 |
| 1 | 11 | 6 |
| 2 | 14 | 6 |
| 3 | 17 | 6 |
| 0 | 17 | 3 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(abs x)
| Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
|---|---|---|---|---|---|
| 126 | 0 | - | 2 | (1.4262373922273299e-161) | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 0 | 0 | - | 0 | - | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 0 | 0 | - | 0 | - | (*.f64 x x) |
| 0 | 0 | - | 0 | - | x |
| Operator | Subexpression | Explanation | Count | |
|---|---|---|---|---|
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) | oflow-rescue | 72 | 0 |
| ↳ | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) | overflow | 1 | |
| ↳ | (+.f64 (*.f64 x x) (*.f64 x x)) | overflow | 73 | |
| ↳ | (*.f64 x x) | overflow | 146 | |
sqrt.f64 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) | uflow-rescue | 52 | 0 |
| ↳ | (+.f64 (*.f64 x x) (*.f64 x x)) | underflow | 52 | |
| ↳ | (*.f64 x x) | underflow | 104 |
| Predicted + | Predicted - | |
|---|---|---|
| + | 124 | 2 |
| - | 0 | 130 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 124 | 0 | 2 |
| - | 0 | 0 | 130 |
| number | freq |
|---|---|
| 0 | 132 |
| 1 | 124 |
| Predicted + | Predicted Maybe | Predicted - | |
|---|---|---|---|
| + | 1 | 0 | 0 |
| - | 0 | 0 | 0 |
| 29.0ms | 512× | 0 | valid |
Compiled 60 to 20 computations (66.7% saved)
ival-hypot: 10.0ms (62.5% of total)ival-mult: 4.0ms (25% of total)ival-add: 2.0ms (12.5% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)Compiled 1 to 1 computations (0% saved)
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 54.4% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
Compiled 9 to 4 computations (55.6% saved)
| 1× | egg-herbie |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (*.f64 x x) |
| ✓ | cost-diff | 0 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| ✓ | cost-diff | 320 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 14× | lower-*.f32 |
| 12× | lower-*.f64 |
| 4× | *-commutative |
| 4× | count-2 |
| 4× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 19 |
| 0 | 7 | 15 |
| 1 | 11 | 15 |
| 2 | 14 | 15 |
| 3 | 17 | 15 |
| 0 | 17 | 12 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 x x) |
x |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(+.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 x (+.f64 x x)) |
(*.f64 x x) |
x |
Found 3 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | (*.f64 x x) |
| ✓ | accuracy | 100.0% | (+.f64 (*.f64 x x) (*.f64 x x)) |
| ✓ | accuracy | 54.5% | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 43.0ms | 256× | 0 | valid |
Compiled 21 to 6 computations (71.4% saved)
ival-hypot: 35.0ms (92.2% of total)ival-add: 1.0ms (2.6% of total)ival-mult: 1.0ms (2.6% of total)ival-true: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (+.f64 (*.f64 x x) (*.f64 x x))> |
#<alt (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x)))> |
#<alt (*.f64 x x)> |
| Outputs |
|---|
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (sqrt (+ (* x x) (* x x))) |
| 1.0ms | x | @ | 0 | (+ (* x x) (* x x)) |
| 1.0ms | x | @ | inf | (sqrt (+ (* x x) (* x x))) |
| 0.0ms | x | @ | inf | (+ (* x x) (* x x)) |
| 0.0ms | x | @ | -inf | (+ (* x x) (* x x)) |
| 1× | egg-herbie |
| 38× | lower-*.f64 |
| 38× | lower-fma.f64 |
| 38× | lower-fma.f32 |
| 38× | lower-*.f32 |
| 36× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 148 |
| 1 | 15 | 148 |
| 2 | 32 | 148 |
| 3 | 37 | 148 |
| 4 | 41 | 148 |
| 5 | 53 | 148 |
| 6 | 65 | 148 |
| 7 | 76 | 148 |
| 8 | 96 | 148 |
| 9 | 101 | 148 |
| 0 | 101 | 148 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
| Outputs |
|---|
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* 2 (pow x 2)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
| 1× | batch-egg-rewrite |
| 66× | lower-*.f32 |
| 64× | lower-*.f64 |
| 42× | lower-fma.f64 |
| 42× | lower-fma.f32 |
| 34× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 18 |
| 0 | 7 | 14 |
| 1 | 23 | 10 |
| 0 | 160 | 9 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(+.f64 (*.f64 x x) (*.f64 x x)) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(*.f64 x x) |
| Outputs |
|---|
(+.f64 (*.f64 x x) (*.f64 x x)) |
(-.f64 (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 0 binary64)) (/.f64 (*.f64 (*.f64 x x) (*.f64 x x)) #s(literal 0 binary64))) |
(fma.f64 x x (*.f64 x x)) |
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 x x)) |
(/.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))) |
(/.f64 #s(literal 0 binary64) #s(literal 0 binary64)) |
(/.f64 (neg.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (neg.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(/.f64 #s(literal 1 binary64) (*.f64 x (+.f64 x x))) |
(/.f64 #s(literal 1 binary64) (/.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))))) |
(*.f64 x (+.f64 x x)) |
(*.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 #s(literal 2 binary64) (*.f64 x x)) |
(*.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(*.f64 #s(literal 0 binary64) (/.f64 #s(literal 1 binary64) #s(literal 0 binary64))) |
(*.f64 (+.f64 x x) x) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x x))) #s(literal 1/2 binary64))) |
(hypot.f64 x x) |
(hypot.f64 x (pow.f64 x #s(literal 1 binary64))) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) x) |
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 #s(literal 0 binary64)) (sqrt.f64 #s(literal 0 binary64))) |
(pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/2 binary64)) |
(*.f64 (pow.f64 x #s(literal 1/2 binary64)) (pow.f64 (+.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x (+.f64 x x)) #s(literal 1/4 binary64))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) |
(pow.f64 x #s(literal 2 binary64)) |
(*.f64 x x) |
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64))) |
Compiled 750 to 94 computations (87.5% saved)
5 alts after pruning (5 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 80 | 5 | 85 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 81 | 5 | 86 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
| ▶ | 18.9% | (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
| ▶ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ▶ | 54.5% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ▶ | 99.4% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
Compiled 102 to 50 computations (51% saved)
| 1× | egg-herbie |
Found 15 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
| ✓ | cost-diff | 0 | (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
| ✓ | cost-diff | 64 | (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
| ✓ | cost-diff | 1280 | (sqrt.f64 (fma.f64 (*.f64 x x) (*.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 x) |
| ✓ | cost-diff | 0 | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | cost-diff | 0 | (+.f64 x x) |
| ✓ | cost-diff | 0 | (*.f64 (+.f64 x x) x) |
| ✓ | cost-diff | 0 | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ✓ | cost-diff | 0 | (sqrt.f64 #s(literal 2 binary64)) |
| ✓ | cost-diff | 0 | (*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
| ✓ | cost-diff | 0 | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | cost-diff | 5312 | (hypot.f64 x x) |
| 352× | lower-*.f32 |
| 340× | lower-*.f64 |
| 308× | lower-fma.f32 |
| 306× | lower-fma.f64 |
| 294× | associate-*r* |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 136 |
| 0 | 40 | 122 |
| 1 | 55 | 110 |
| 2 | 102 | 95 |
| 3 | 188 | 89 |
| 4 | 253 | 89 |
| 5 | 522 | 89 |
| 6 | 557 | 89 |
| 7 | 558 | 89 |
| 0 | 558 | 89 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(hypot.f64 x x) |
x |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(*.f64 (+.f64 x x) x) |
(+.f64 x x) |
x |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 x) |
x |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
(*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) |
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
(*.f64 x x) |
x |
#s(literal 0 binary64) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))) |
| Outputs |
|---|
(hypot.f64 x x) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
x |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
x |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(*.f64 (+.f64 x x) x) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
x |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 x) |
x |
(sqrt.f64 (+.f64 x x)) |
(+.f64 x x) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(/.f64 (sqrt.f64 (*.f64 (*.f64 x x) (*.f64 (+.f64 x x) (*.f64 x (*.f64 x x))))) (*.f64 x x)) |
(sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
(sqrt.f64 (*.f64 (*.f64 x x) (*.f64 (+.f64 x x) (*.f64 x (*.f64 x x))))) |
(*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) |
(*.f64 (*.f64 x x) (*.f64 (+.f64 x x) (*.f64 x (*.f64 x x)))) |
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
(*.f64 x (*.f64 x (*.f64 x x))) |
(*.f64 x x) |
x |
#s(literal 0 binary64) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
(sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))) |
(*.f64 x x) |
Found 15 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 99.8% | (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
| ✓ | accuracy | 86.6% | (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
| ✓ | accuracy | 76.0% | (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))) |
| ✓ | accuracy | 36.3% | (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
| ✓ | accuracy | 100.0% | (+.f64 x x) |
| ✓ | accuracy | 100.0% | (sqrt.f64 x) |
| ✓ | accuracy | 99.6% | (sqrt.f64 (+.f64 x x)) |
| ✓ | accuracy | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | accuracy | 100.0% | (+.f64 x x) |
| ✓ | accuracy | 100.0% | (*.f64 (+.f64 x x) x) |
| ✓ | accuracy | 54.5% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ✓ | accuracy | 100.0% | (sqrt.f64 #s(literal 2 binary64)) |
| ✓ | accuracy | 100.0% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | accuracy | 99.4% | (*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
| ✓ | accuracy | 100.0% | (hypot.f64 x x) |
| 40.0ms | 256× | 0 | valid |
Compiled 149 to 22 computations (85.2% saved)
ival-mult: 9.0ms (33.6% of total)ival-sqrt: 9.0ms (33.6% of total)ival-hypot: 4.0ms (15% of total)ival-add: 2.0ms (7.5% of total)ival-div: 1.0ms (3.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (hypot.f64 x x)> |
#<alt #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64))))> |
#<alt (*.f64 x (sqrt.f64 #s(literal 2 binary64)))> |
#<alt (sqrt.f64 #s(literal 2 binary64))> |
#<alt (sqrt.f64 (*.f64 (+.f64 x x) x))> |
#<alt (*.f64 (+.f64 x x) x)> |
#<alt (+.f64 x x)> |
#<alt (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x)))> |
#<alt (sqrt.f64 x)> |
#<alt (sqrt.f64 (+.f64 x x))> |
#<alt (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))> |
#<alt (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))> |
#<alt (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))))> |
#<alt (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))))> |
| Outputs |
|---|
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 (pow x 2))> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* 2 x)> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (* (sqrt -2) (sqrt -1))))> |
#<alt (* -1 (* x (* (sqrt -2) (sqrt -1))))> |
#<alt (* -1 (* x (* (sqrt -2) (sqrt -1))))> |
#<alt (* -1 (* x (* (sqrt -2) (sqrt -1))))> |
#<alt (sqrt x)> |
#<alt (sqrt x)> |
#<alt (sqrt x)> |
#<alt (sqrt x)> |
#<alt (sqrt x)> |
#<alt (sqrt x)> |
#<alt (sqrt x)> |
#<alt (sqrt x)> |
#<alt (* -1 (* (sqrt x) (pow (sqrt -1) 2)))> |
#<alt (* -1 (* (sqrt x) (pow (sqrt -1) 2)))> |
#<alt (* -1 (* (sqrt x) (pow (sqrt -1) 2)))> |
#<alt (* -1 (* (sqrt x) (pow (sqrt -1) 2)))> |
#<alt (* (sqrt x) (sqrt 2))> |
#<alt (* (sqrt x) (sqrt 2))> |
#<alt (* (sqrt x) (sqrt 2))> |
#<alt (* (sqrt x) (sqrt 2))> |
#<alt (* (sqrt x) (sqrt 2))> |
#<alt (* (sqrt x) (sqrt 2))> |
#<alt (* (sqrt x) (sqrt 2))> |
#<alt (* (sqrt x) (sqrt 2))> |
#<alt (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))> |
#<alt (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))> |
#<alt (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))> |
#<alt (* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1))))> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 2)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
39 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (* (sqrt x) (sqrt (+ x x))) |
| 0.0ms | x | @ | 0 | (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) |
| 0.0ms | x | @ | inf | (* (+ x x) x) |
| 0.0ms | x | @ | -inf | (sqrt (+ x x)) |
| 0.0ms | x | @ | inf | (+ x x) |
| 1× | egg-herbie |
| 1 808× | lower-*.f64 |
| 1 808× | lower-fma.f64 |
| 1 808× | lower-fma.f32 |
| 1 808× | lower-*.f32 |
| 1 768× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 664 |
| 1 | 63 | 664 |
| 2 | 168 | 664 |
| 3 | 337 | 664 |
| 4 | 579 | 664 |
| 5 | 920 | 664 |
| 6 | 1535 | 664 |
| 7 | 1673 | 664 |
| 8 | 1758 | 664 |
| 9 | 1845 | 664 |
| 10 | 1911 | 664 |
| 11 | 1956 | 664 |
| 12 | 1972 | 664 |
| 13 | 1976 | 664 |
| 14 | 1976 | 664 |
| 15 | 2080 | 664 |
| 16 | 2339 | 664 |
| 17 | 2781 | 664 |
| 18 | 3397 | 664 |
| 19 | 3463 | 664 |
| 20 | 3577 | 664 |
| 21 | 3635 | 664 |
| 22 | 3695 | 664 |
| 23 | 4027 | 664 |
| 24 | 4163 | 664 |
| 25 | 4163 | 664 |
| 26 | 4163 | 664 |
| 27 | 4163 | 664 |
| 28 | 4639 | 664 |
| 29 | 4811 | 664 |
| 30 | 4847 | 664 |
| 31 | 4861 | 664 |
| 32 | 4863 | 664 |
| 33 | 4863 | 664 |
| 34 | 5067 | 664 |
| 0 | 5067 | 664 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 (pow x 2)) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* 2 x) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (* (sqrt -2) (sqrt -1)))) |
(* -1 (* x (* (sqrt -2) (sqrt -1)))) |
(* -1 (* x (* (sqrt -2) (sqrt -1)))) |
(* -1 (* x (* (sqrt -2) (sqrt -1)))) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(sqrt x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(* (sqrt x) (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* (sqrt x) (sqrt 2)) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 2) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
| Outputs |
|---|
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 (pow x 2)) |
(*.f64 x (*.f64 x #s(literal 2 binary64))) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* 2 x) |
(*.f64 x #s(literal 2 binary64)) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* x (* (sqrt -2) (sqrt -1)))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (neg.f64 (*.f64 x (sqrt.f64 #s(literal -1 binary64))))) |
(* -1 (* x (* (sqrt -2) (sqrt -1)))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (neg.f64 (*.f64 x (sqrt.f64 #s(literal -1 binary64))))) |
(* -1 (* x (* (sqrt -2) (sqrt -1)))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (neg.f64 (*.f64 x (sqrt.f64 #s(literal -1 binary64))))) |
(* -1 (* x (* (sqrt -2) (sqrt -1)))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (neg.f64 (*.f64 x (sqrt.f64 #s(literal -1 binary64))))) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(sqrt x) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* -1 (* (sqrt x) (pow (sqrt -1) 2))) |
(sqrt.f64 x) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(* (sqrt x) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (sqrt.f64 x)) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
(* -1 (* (sqrt x) (* (sqrt -2) (sqrt -1)))) |
(*.f64 (sqrt.f64 #s(literal -2 binary64)) (neg.f64 (*.f64 (sqrt.f64 #s(literal -1 binary64)) (sqrt.f64 x)))) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 2) |
(*.f64 x x) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64))))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(neg.f64 (*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64)))))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(neg.f64 (*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64)))))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(neg.f64 (*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64)))))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(neg.f64 (*.f64 x (*.f64 x (*.f64 x (sqrt.f64 #s(literal 2 binary64)))))) |
| 1× | batch-egg-rewrite |
| 168× | lower-*.f32 |
| 164× | lower-*.f64 |
| 134× | lower-fma.f32 |
| 132× | lower-fma.f64 |
| 112× | lower-/.f64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 101 |
| 0 | 40 | 51 |
| 1 | 109 | 29 |
| 0 | 828 | 29 |
| 1× | iter limit |
| 1× | iter limit |
| 1× | iter limit |
| 1× | unsound |
| 1× | iter limit |
| Inputs |
|---|
(hypot.f64 x x) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(*.f64 (+.f64 x x) x) |
(+.f64 x x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(sqrt.f64 x) |
(sqrt.f64 (+.f64 x x)) |
(sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))) |
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
| Outputs |
|---|
#s(literal 0 binary64) |
#s(approx (sqrt (+ (* x x) (* 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) |
(exp.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/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))) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 1/2 binary64))) |
(sqrt.f64 x) |
(pow.f64 x #s(literal 1/2 binary64)) |
(*.f64 (pow.f64 x #s(literal 1/4 binary64)) (pow.f64 x #s(literal 1/4 binary64))) |
#s(literal 0 binary64) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 1/2 binary64))) |
(fabs.f64 (*.f64 x x)) |
(sqrt.f64 (*.f64 x (*.f64 x (*.f64 x x)))) |
(/.f64 (sqrt.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (sqrt.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (sqrt.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (fabs.f64 (*.f64 x x))) |
(pow.f64 (*.f64 x x) #s(literal 1 binary64)) |
(pow.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 1/2 binary64)) |
(*.f64 (sqrt.f64 x) (pow.f64 (*.f64 x (*.f64 x x)) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 x (*.f64 x x)))) |
(*.f64 (pow.f64 (*.f64 x (*.f64 x x)) #s(literal 1/2 binary64)) (sqrt.f64 x)) |
(*.f64 (pow.f64 (*.f64 x x) #s(literal 1/2 binary64)) (pow.f64 (*.f64 x x) #s(literal 1/2 binary64))) |
(*.f64 (sqrt.f64 (*.f64 x (*.f64 x x))) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 (*.f64 x x)) (sqrt.f64 (*.f64 x x))) |
(*.f64 (pow.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 1/4 binary64)) (pow.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 1/4 binary64))) |
(+.f64 #s(literal 0 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) |
(+.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) |
(exp.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 2 binary64))) |
(-.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) |
(-.f64 (fma.f64 x (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 x (*.f64 x (*.f64 x x)))) |
(fma.f64 x (*.f64 x (*.f64 x x)) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
(fma.f64 (fabs.f64 (*.f64 x x)) (fabs.f64 (*.f64 x x)) #s(literal 0 binary64)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 x x)) x #s(literal 0 binary64)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 0 binary64)) |
(/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 x (*.f64 x (*.f64 x x)))) |
(/.f64 (neg.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (neg.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (neg.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (neg.f64 (*.f64 x (*.f64 x (*.f64 x x))))) |
(/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (-.f64 #s(literal 0 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) |
(pow.f64 x #s(literal 4 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 2 binary64)) |
(*.f64 x (*.f64 x (*.f64 x x))) |
(*.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (fabs.f64 (*.f64 x x)) (fabs.f64 (*.f64 x x))) |
(*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(*.f64 (*.f64 x (*.f64 x x)) x) |
(*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
Compiled 4 677 to 286 computations (93.9% saved)
6 alts after pruning (2 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 279 | 2 | 281 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 4 | 5 |
| Done | 0 | 0 | 0 |
| Total | 280 | 6 | 286 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 20.0% | (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
| ✓ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 54.5% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ✓ | 99.4% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ▶ | 3.6% | #s(literal 0 binary64) |
Compiled 48 to 26 computations (45.8% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) |
| ✓ | cost-diff | 0 | (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
| ✓ | cost-diff | 0 | (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
| ✓ | cost-diff | 64 | (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
| 344× | lower-*.f32 |
| 338× | lower-*.f64 |
| 308× | associate-*r* |
| 308× | lower-fma.f32 |
| 306× | lower-fma.f64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 93 |
| 0 | 22 | 92 |
| 1 | 35 | 72 |
| 2 | 84 | 55 |
| 3 | 183 | 49 |
| 4 | 248 | 49 |
| 5 | 519 | 49 |
| 6 | 530 | 49 |
| 7 | 531 | 49 |
| 0 | 531 | 49 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
#s(literal 0 binary64) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
(*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) |
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
(*.f64 x x) |
x |
#s(literal 0 binary64) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
#s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) |
| Outputs |
|---|
#s(literal 0 binary64) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(/.f64 (sqrt.f64 (*.f64 x (*.f64 x (*.f64 (*.f64 x x) (*.f64 x (+.f64 x x)))))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
(sqrt.f64 (*.f64 x (*.f64 x (*.f64 (*.f64 x x) (*.f64 x (+.f64 x x)))))) |
(*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) |
(*.f64 x (*.f64 x (*.f64 (*.f64 x x) (*.f64 x (+.f64 x x))))) |
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
(*.f64 x (*.f64 x (*.f64 x x))) |
(*.f64 x x) |
x |
#s(literal 0 binary64) |
(*.f64 x (+.f64 x x)) |
(+.f64 x x) |
#s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 99.9% | (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) |
| ✓ | accuracy | 99.8% | (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
| ✓ | accuracy | 86.6% | (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
| ✓ | accuracy | 36.3% | (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
| 23.0ms | 256× | 0 | valid |
Compiled 93 to 13 computations (86% saved)
ival-mult: 7.0ms (49.3% of total)ival-sqrt: 3.0ms (21.1% of total)ival-add: 2.0ms (14.1% of total)ival-div: 1.0ms (7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64))> |
#<alt (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))> |
#<alt (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))))> |
#<alt (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))> |
| Outputs |
|---|
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (pow x 4)> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
#<alt (* 2 (pow x 6))> |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (* (+ (* (* x x) (* x x)) 0) (* x (+ x x))) |
| 0.0ms | x | @ | inf | (* (+ (* (* x x) (* x x)) 0) (* x (+ x x))) |
| 0.0ms | x | @ | -inf | (* (+ (* (* x x) (* x x)) 0) (* x (+ x x))) |
| 0.0ms | x | @ | 0 | (+ (* (* x x) (* x x)) 0) |
| 0.0ms | x | @ | inf | (/ (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (sqrt (+ (* (* x x) (* x x)) 0))) |
| 1× | egg-herbie |
| 122× | lower-*.f64 |
| 122× | lower-*.f32 |
| 118× | lower-fma.f64 |
| 118× | lower-fma.f32 |
| 56× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 224 |
| 1 | 29 | 224 |
| 2 | 60 | 224 |
| 3 | 107 | 224 |
| 4 | 125 | 224 |
| 5 | 166 | 224 |
| 6 | 199 | 224 |
| 7 | 228 | 224 |
| 8 | 258 | 224 |
| 9 | 260 | 224 |
| 0 | 260 | 224 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(pow x 4) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
(* 2 (pow x 6)) |
| Outputs |
|---|
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(pow x 4) |
(pow.f64 x #s(literal 4 binary64)) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* -1 (* x (sqrt 2))) |
(neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(*.f64 x (*.f64 x (neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(*.f64 x (*.f64 x (neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(*.f64 x (*.f64 x (neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(*.f64 x (*.f64 x (neg.f64 (*.f64 x (sqrt.f64 #s(literal 2 binary64)))))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
(* 2 (pow x 6)) |
(*.f64 #s(literal 2 binary64) (pow.f64 x #s(literal 6 binary64))) |
| 1× | batch-egg-rewrite |
| 1 654× | lower-fma.f32 |
| 1 652× | lower-fma.f64 |
| 1 620× | div-exp |
| 1 530× | lower-exp.f32 |
| 1 530× | lower-exp.f64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 66 |
| 0 | 22 | 74 |
| 1 | 73 | 33 |
| 2 | 539 | 6 |
| 3 | 4213 | 6 |
| 0 | 8567 | 6 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) |
(*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x))) |
| Outputs |
|---|
(+.f64 #s(literal 0 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) |
(+.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) |
(exp.f64 (*.f64 #s(literal 4 binary64) (log.f64 x))) |
(exp.f64 (*.f64 (log.f64 x) #s(literal 4 binary64))) |
(exp.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 1 binary64))) |
(exp.f64 (*.f64 (*.f64 #s(literal 8 binary64) (log.f64 x)) #s(literal 1/2 binary64))) |
(exp.f64 (*.f64 (*.f64 #s(literal -4 binary64) (log.f64 x)) #s(literal -1 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 1 binary64)) #s(literal 4 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 1/2 binary64)) #s(literal 4 binary64))) |
(exp.f64 (*.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 1/4 binary64)) #s(literal 4 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 1 binary64)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) #s(literal 1 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 4 binary64)) #s(literal 1/2 binary64))) |
(exp.f64 (*.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 2 binary64)) #s(literal 1/2 binary64))) |
(exp.f64 (-.f64 (*.f64 #s(literal 12 binary64) (log.f64 x)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 4 binary64)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 12 binary64) (log.f64 x)) (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 2 binary64)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 6 binary64)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 4 binary64)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 6 binary64)) (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 2 binary64)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 6 binary64)) (*.f64 #s(literal 8 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 4 binary64)) (*.f64 #s(literal 4 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 4 binary64)) (*.f64 (log.f64 x) #s(literal 4 binary64)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 2 binary64)) (*.f64 #s(literal 4 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 2 binary64)) (*.f64 (log.f64 x) #s(literal 4 binary64)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 8 binary64) (log.f64 x)) (*.f64 (log.f64 x) #s(literal 4 binary64)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 3 binary64)) (log.f64 (*.f64 x x)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 3 binary64)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 1 binary64)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 3/2 binary64)) (log.f64 (*.f64 x x)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 3/2 binary64)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 1 binary64)))) |
(exp.f64 (-.f64 (log.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 (log.f64 (*.f64 x x)) #s(literal 1 binary64)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 3 binary64) (log.f64 x) (*.f64 #s(literal 3 binary64) (log.f64 x))) (log.f64 (*.f64 x x)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 3 binary64) (log.f64 x) (*.f64 #s(literal 3 binary64) (log.f64 x))) (*.f64 (log.f64 (*.f64 x x)) #s(literal 1 binary64)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 4 binary64) (log.f64 x) (*.f64 #s(literal 12 binary64) (log.f64 x))) (*.f64 #s(literal 12 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 4 binary64) (log.f64 x) (*.f64 #s(literal 12 binary64) (log.f64 x))) (*.f64 (log.f64 (*.f64 x x)) #s(literal 6 binary64)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 12 binary64) (log.f64 x) (*.f64 #s(literal 4 binary64) (log.f64 x))) (*.f64 #s(literal 12 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 12 binary64) (log.f64 x) (*.f64 #s(literal 4 binary64) (log.f64 x))) (*.f64 (log.f64 (*.f64 x x)) #s(literal 6 binary64)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 4 binary64) (log.f64 x) (*.f64 #s(literal 3 binary64) (log.f64 x))) (*.f64 #s(literal 3 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 3 binary64) (log.f64 x) (*.f64 #s(literal 4 binary64) (log.f64 x))) (*.f64 #s(literal 3 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 5 binary64) (log.f64 x)) (*.f64 (log.f64 x) #s(literal 1 binary64)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 5 binary64) (log.f64 x)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 1/2 binary64)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 5 binary64) (log.f64 x)) (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 1/4 binary64)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 x)) #s(literal 3 binary64)) (*.f64 #s(literal 5 binary64) (log.f64 x)))) |
(fabs.f64 (*.f64 x (*.f64 x (*.f64 x x)))) |
(-.f64 #s(literal 0 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) |
(-.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) |
(sqrt.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) |
(fma.f64 x (*.f64 x (*.f64 x x)) #s(literal 0 binary64)) |
(fma.f64 x (neg.f64 (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 1 binary64) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 x x)) x #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 x x)) (neg.f64 x) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) |
(fma.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) x) #s(literal 0 binary64)) |
(fma.f64 #s(literal -1 binary64) (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 0 binary64)) |
(fma.f64 (sqrt.f64 x) (*.f64 (*.f64 x x) (*.f64 x (sqrt.f64 x))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (sqrt.f64 x)) (*.f64 x (*.f64 x (sqrt.f64 x))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) |
(fma.f64 (*.f64 x (*.f64 x (sqrt.f64 x))) (*.f64 x (sqrt.f64 x)) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 x) (*.f64 x (*.f64 x x)) #s(literal 0 binary64)) |
(fma.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x x))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) x) (/.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (/.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 (*.f64 x x) (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 (*.f64 x (*.f64 x x))) x #s(literal 0 binary64)) |
(fma.f64 (*.f64 (*.f64 x x) (*.f64 x (sqrt.f64 x))) (sqrt.f64 x) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 0 binary64)) |
(fma.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 x (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 0 binary64)) |
(neg.f64 (*.f64 x (*.f64 x (*.f64 x x)))) |
(/.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) |
(/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) |
(/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 x (*.f64 x (*.f64 x x)))) |
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) |
(/.f64 #s(literal 1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 1 binary64))) |
(/.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))) x) |
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) |
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x x)) |
(/.f64 (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) |
(/.f64 (pow.f64 x #s(literal 36 binary64)) (pow.f64 (*.f64 x x) #s(literal 16 binary64))) |
(/.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(/.f64 (pow.f64 x #s(literal 24 binary64)) (*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x (*.f64 x x))) |
(/.f64 (*.f64 (pow.f64 x #s(literal 36 binary64)) #s(literal 1 binary64)) (pow.f64 (*.f64 x x) #s(literal 16 binary64))) |
(/.f64 (*.f64 (pow.f64 x #s(literal 24 binary64)) #s(literal 1 binary64)) (*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 x (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 1 binary64)) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(/.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 1 binary64)) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (pow.f64 (*.f64 x x) #s(literal 14 binary64)) (pow.f64 x #s(literal 24 binary64))) |
(/.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) |
(pow.f64 x #s(literal 4 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) |
(pow.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) #s(literal 1/4 binary64)) |
(pow.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal -1 binary64)) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 4 binary64)) |
(pow.f64 (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) |
(pow.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) #s(literal -1 binary64)) |
(pow.f64 (*.f64 (exp.f64 (log.f64 x)) x) #s(literal 2 binary64)) |
(pow.f64 (*.f64 x (exp.f64 (log.f64 x))) #s(literal 2 binary64)) |
(*.f64 x (*.f64 x (*.f64 x x))) |
(*.f64 x (neg.f64 (*.f64 x (*.f64 x x)))) |
(*.f64 (*.f64 x x) (*.f64 x x)) |
(*.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) |
(*.f64 (*.f64 x (*.f64 x x)) x) |
(*.f64 (*.f64 x (*.f64 x x)) (neg.f64 x)) |
(*.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) |
(*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (neg.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(*.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) |
(*.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) x)) |
(*.f64 #s(literal -1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) |
(*.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 x x))) |
(*.f64 (sqrt.f64 x) (*.f64 (*.f64 x x) (*.f64 x (sqrt.f64 x)))) |
(*.f64 (*.f64 x (sqrt.f64 x)) (*.f64 x (*.f64 x (sqrt.f64 x)))) |
(*.f64 (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) |
(*.f64 (*.f64 x (*.f64 x (sqrt.f64 x))) (*.f64 x (sqrt.f64 x))) |
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) |
(*.f64 (neg.f64 x) (*.f64 x (*.f64 x x))) |
(*.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x x)))) |
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) |
(*.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(*.f64 (/.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) x) (/.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(*.f64 (/.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (/.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 (*.f64 x x) (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) |
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
(*.f64 (neg.f64 (*.f64 x (*.f64 x x))) x) |
(*.f64 (*.f64 (*.f64 x x) (*.f64 x (sqrt.f64 x))) (sqrt.f64 x)) |
(*.f64 (/.f64 #s(literal 1 binary64) x) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) |
(*.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 x (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))))) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
#s(literal 0 binary64) |
Compiled 5 350 to 750 computations (86% saved)
6 alts after pruning (1 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 201 | 1 | 202 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 1 | 2 |
| Done | 0 | 4 | 4 |
| Total | 202 | 6 | 208 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 33.9% | (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
| ✓ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 54.5% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ✓ | 99.4% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 3.6% | #s(literal 0 binary64) |
Compiled 42 to 24 computations (42.9% saved)
| 1× | egg-herbie |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | cost-diff | 0 | (sqrt.f64 #s(literal 2 binary64)) |
| ✓ | cost-diff | 0 | (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
| ✓ | cost-diff | 0 | #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) |
| ✓ | cost-diff | 0 | (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
| 396× | lower-*.f32 |
| 390× | lower-*.f64 |
| 340× | associate-*r* |
| 308× | lower-fma.f64 |
| 308× | lower-fma.f32 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 99 |
| 0 | 23 | 78 |
| 1 | 40 | 68 |
| 2 | 95 | 61 |
| 3 | 191 | 57 |
| 4 | 281 | 57 |
| 5 | 537 | 57 |
| 6 | 548 | 57 |
| 7 | 549 | 57 |
| 0 | 549 | 57 |
| 1× | iter limit |
| 1× | saturated |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
#s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 x (*.f64 x x)) |
x |
(*.f64 x x) |
#s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) |
| Outputs |
|---|
(/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
#s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(sqrt.f64 #s(literal 2 binary64)) |
#s(literal 2 binary64) |
(*.f64 x (*.f64 x x)) |
x |
(*.f64 x x) |
#s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) |
Found 4 expressions of interest:
| New | Metric | Score | Program |
|---|---|---|---|
| ✓ | accuracy | 100.0% | #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) |
| ✓ | accuracy | 99.9% | (*.f64 x (*.f64 x x)) |
| ✓ | accuracy | 99.8% | (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
| ✓ | accuracy | 36.3% | (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
| 28.0ms | 256× | 0 | valid |
Compiled 75 to 17 computations (77.3% saved)
ival-mult: 11.0ms (52.1% of total)ival-sqrt: 6.0ms (28.4% of total)ival-add: 2.0ms (9.5% of total)ival-div: 1.0ms (4.7% of total)ival-true: 0.0ms (0% of total)exact: 0.0ms (0% of total)ival-assert: 0.0ms (0% of total)| Inputs |
|---|
#<alt (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))> |
#<alt #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))))> |
#<alt (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))> |
#<alt (sqrt.f64 #s(literal 2 binary64))> |
#<alt (*.f64 x (*.f64 x x))> |
| Outputs |
|---|
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* x (sqrt 2))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* -1 (* x (sqrt 2)))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* -1 (* (pow x 3) (sqrt 2)))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (* (pow x 3) (sqrt 2))> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
#<alt (pow x 3)> |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | (* x (* x x)) |
| 0.0ms | x | @ | inf | (* x (* x x)) |
| 0.0ms | x | @ | -inf | (* (sqrt 2) (* x (* x x))) |
| 0.0ms | x | @ | inf | (* (sqrt 2) (* x (* x x))) |
| 0.0ms | x | @ | 0 | (* (sqrt 2) (* x (* x x))) |
| 1× | egg-herbie |
| 118× | lower-*.f64 |
| 118× | lower-fma.f64 |
| 118× | lower-fma.f32 |
| 118× | lower-*.f32 |
| 56× | lower-+.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 236 |
| 1 | 23 | 236 |
| 2 | 54 | 236 |
| 3 | 103 | 236 |
| 4 | 121 | 236 |
| 5 | 162 | 236 |
| 6 | 195 | 236 |
| 7 | 224 | 236 |
| 8 | 254 | 236 |
| 9 | 256 | 236 |
| 0 | 256 | 236 |
| 1× | iter limit |
| 1× | saturated |
| Inputs |
|---|
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* x (sqrt 2)) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* -1 (* x (sqrt 2))) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(* (pow x 3) (sqrt 2)) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
(pow x 3) |
| Outputs |
|---|
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* x (sqrt 2)) |
(*.f64 x (sqrt.f64 #s(literal 2 binary64))) |
(* -1 (* x (sqrt 2))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(* -1 (* x (sqrt 2))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(* -1 (* x (sqrt 2))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(* -1 (* x (sqrt 2))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (neg.f64 x)) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)))) |
(* -1 (* (pow x 3) (sqrt 2))) |
(neg.f64 (*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(* (pow x 3) (sqrt 2)) |
(*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x))) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
(pow x 3) |
(*.f64 x (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1 840× | lower-fma.f64 |
| 1 840× | lower-fma.f32 |
| 1 624× | div-exp |
| 1 562× | lower-exp.f32 |
| 1 562× | lower-exp.f64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 80 |
| 0 | 23 | 66 |
| 1 | 76 | 31 |
| 2 | 507 | 30 |
| 3 | 4124 | 20 |
| 0 | 8605 | 20 |
| 1× | iter limit |
| 1× | node limit |
| 1× | iter limit |
| Inputs |
|---|
(/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
#s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) |
(*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x))) |
(sqrt.f64 #s(literal 2 binary64)) |
(*.f64 x (*.f64 x x)) |
| Outputs |
|---|
(exp.f64 (*.f64 (log.f64 (/.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) #s(literal -1 binary64))) |
(-.f64 #s(literal 0 binary64) (neg.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))))) |
(-.f64 (/.f64 #s(literal 0 binary64) (neg.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))) (neg.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))))) |
(neg.f64 (neg.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))))) |
(neg.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))))) |
(neg.f64 (/.f64 #s(literal -1 binary64) (/.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))))) |
(/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(/.f64 (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))) (neg.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))) |
(/.f64 #s(literal 1 binary64) (/.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) |
(/.f64 (/.f64 #s(literal 1 binary64) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) (/.f64 #s(literal 1 binary64) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) |
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))))) |
(/.f64 (*.f64 #s(literal 1 binary64) (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) (neg.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))) |
(/.f64 (*.f64 (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))) #s(literal 1 binary64)) (neg.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))) |
(/.f64 (/.f64 (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))) #s(literal -1 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(pow.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) #s(literal 1 binary64)) |
(pow.f64 (/.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))) #s(literal -1 binary64)) |
(pow.f64 (pow.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) #s(literal 1/2 binary64)) #s(literal 2 binary64)) |
(pow.f64 (*.f64 (/.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))) (/.f64 #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) #s(literal -1/2 binary64)) |
(*.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) (/.f64 #s(literal 1 binary64) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))) |
(*.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) #s(literal 1 binary64)) |
(*.f64 (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))) (/.f64 #s(literal -1 binary64) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))) |
(*.f64 #s(literal 1 binary64) (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))) |
(*.f64 (/.f64 #s(literal 1 binary64) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))) |
(*.f64 (/.f64 #s(literal 1 binary64) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))))) |
(*.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))))) |
(*.f64 (/.f64 #s(literal -1 binary64) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) |
(*.f64 (pow.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) #s(literal 1/2 binary64)) (pow.f64 (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) (/.f64 #s(literal -1 binary64) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x)))) |
(-.f64 #s(literal 0 binary64) (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) |
(neg.f64 (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) |
#s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) |
(*.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)) #s(literal 1 binary64)) |
(*.f64 #s(literal 1 binary64) #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64))) |
(*.f64 #s(literal -1 binary64) (neg.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) #s(literal 0 binary64)))) |
#s(literal 0 binary64) |
(exp.f64 (*.f64 #s(literal 1/2 binary64) (log.f64 #s(literal 2 binary64)))) |
(exp.f64 (*.f64 (log.f64 #s(literal 4 binary64)) #s(literal 1/4 binary64))) |
(exp.f64 (*.f64 (log.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64))) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 (exp.f64 (log.f64 #s(literal 2 binary64)))) #s(literal 1/2 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 #s(literal 2 binary64)) #s(literal 1/4 binary64)) #s(literal 2 binary64))) |
(sqrt.f64 #s(literal 2 binary64)) |
(sqrt.f64 (exp.f64 (log.f64 #s(literal 2 binary64)))) |
(pow.f64 #s(literal 2 binary64) #s(literal 1/2 binary64)) |
(pow.f64 #s(literal 4 binary64) #s(literal 1/4 binary64)) |
(pow.f64 (pow.f64 #s(literal 2 binary64) #s(literal 1/4 binary64)) #s(literal 2 binary64)) |
(pow.f64 (exp.f64 (log.f64 #s(literal 2 binary64))) #s(literal 1/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))) |
(exp.f64 (*.f64 #s(literal 3 binary64) (log.f64 x))) |
(exp.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 3/4 binary64))) |
(exp.f64 (*.f64 (*.f64 #s(literal 12 binary64) (log.f64 x)) #s(literal 1/4 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 3/2 binary64))) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (sqrt.f64 x))) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (log.f64 (exp.f64 (log.f64 x))) #s(literal 3 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) #s(literal 3/4 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 6 binary64)) #s(literal 1/4 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 1 binary64)) #s(literal 3 binary64))) |
(exp.f64 (*.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 1/4 binary64)) #s(literal 3 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 1/2 binary64)) #s(literal 3 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 1 binary64)) #s(literal 3/2 binary64))) |
(exp.f64 (*.f64 (*.f64 (log.f64 x) #s(literal 3/2 binary64)) #s(literal 2 binary64))) |
(exp.f64 (*.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 x)) #s(literal 1/2 binary64)) #s(literal 2 binary64))) |
(exp.f64 (-.f64 (*.f64 #s(literal 5 binary64) (log.f64 x)) (log.f64 (*.f64 x x)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 5 binary64) (log.f64 x)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 1 binary64)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 3 binary64) (log.f64 x) (*.f64 #s(literal 4 binary64) (log.f64 x))) (*.f64 #s(literal 4 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 3 binary64) (log.f64 x) (*.f64 #s(literal 4 binary64) (log.f64 x))) (*.f64 (log.f64 x) #s(literal 4 binary64)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 4 binary64) (log.f64 x) (*.f64 #s(literal 3 binary64) (log.f64 x))) (*.f64 #s(literal 4 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 4 binary64) (log.f64 x) (*.f64 #s(literal 3 binary64) (log.f64 x))) (*.f64 (log.f64 x) #s(literal 4 binary64)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 3/2 binary64)) (*.f64 #s(literal 3 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 3 binary64)) (*.f64 #s(literal 3 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (log.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) (*.f64 #s(literal 3 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (fma.f64 #s(literal 3 binary64) (log.f64 x) (*.f64 #s(literal 3 binary64) (log.f64 x))) (*.f64 #s(literal 3 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) (*.f64 (log.f64 x) #s(literal 1 binary64)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 1/4 binary64)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 1/2 binary64)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) (*.f64 (log.f64 x) #s(literal 1 binary64)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 1/4 binary64)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 x) #s(literal 4 binary64)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 1/2 binary64)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 12 binary64) (log.f64 x)) (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 x)) #s(literal 3 binary64)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 6 binary64)) (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 x)) #s(literal 3 binary64)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 2 binary64)) (*.f64 #s(literal 5 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 (log.f64 (*.f64 x x)) #s(literal 4 binary64)) (*.f64 #s(literal 5 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 #s(literal 8 binary64) (log.f64 x)) (*.f64 #s(literal 5 binary64) (log.f64 x)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 x)) #s(literal 3 binary64)) (*.f64 (*.f64 #s(literal 4 binary64) (log.f64 x)) #s(literal 3/2 binary64)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 x)) #s(literal 3 binary64)) (*.f64 (log.f64 (*.f64 x x)) #s(literal 3 binary64)))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 x)) #s(literal 3 binary64)) (log.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))))) |
(exp.f64 (-.f64 (*.f64 (*.f64 #s(literal 3 binary64) (log.f64 x)) #s(literal 3 binary64)) (fma.f64 #s(literal 3 binary64) (log.f64 x) (*.f64 #s(literal 3 binary64) (log.f64 x))))) |
(sqrt.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 x (*.f64 x (*.f64 x x))) x) |
(/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) |
(/.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 x x)) |
(/.f64 (*.f64 x (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x)))))) |
(/.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) (*.f64 x (*.f64 x x))) |
(/.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) |
(pow.f64 x #s(literal 3 binary64)) |
(pow.f64 (*.f64 x (*.f64 x (*.f64 x x))) #s(literal 3/4 binary64)) |
(pow.f64 (*.f64 x x) #s(literal 3/2 binary64)) |
(pow.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) |
(pow.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 1/4 binary64)) |
(pow.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 3/8 binary64)) |
(pow.f64 (*.f64 x (*.f64 x (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal 1/2 binary64)) |
(pow.f64 (*.f64 x (sqrt.f64 x)) #s(literal 2 binary64)) |
(pow.f64 (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal -3/4 binary64)) |
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 3 binary64)) |
(*.f64 x (*.f64 x x)) |
(*.f64 (*.f64 x x) x) |
(*.f64 (*.f64 x x) (exp.f64 (log.f64 x))) |
(*.f64 (*.f64 x (sqrt.f64 x)) (*.f64 x (sqrt.f64 x))) |
(*.f64 (*.f64 (*.f64 x (*.f64 x (*.f64 x x))) (*.f64 x (*.f64 x x))) (/.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) |
Compiled 2 471 to 391 computations (84.2% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 156 | 1 | 157 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 156 | 7 | 163 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 33.9% | (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
| 33.9% | (/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) | |
| ✓ | 99.5% | (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
| ✓ | 54.5% | (sqrt.f64 (*.f64 (+.f64 x x) x)) |
| ✓ | 99.4% | #s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
| ✓ | 3.6% | #s(literal 0 binary64) |
Compiled 161 to 59 computations (63.4% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
(hypot.f64 x x) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 4.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 4.0ms | x |
| 3.0ms | (*.f64 x x) |
| 3.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 100.0% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 23 to 10 computations (56.5% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 x (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(/.f64 #s(approx (sqrt (* (+ (* (* x x) (* x x)) 0) (* x (+ x x)))) (*.f64 (sqrt.f64 #s(literal 2 binary64)) (*.f64 x (*.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) #s(approx (sqrt (+ (* (* x x) (* x x)) 0)) (*.f64 x x))) |
(/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)) (*.f64 x (+.f64 x x)))) (sqrt.f64 (fma.f64 (*.f64 x x) (*.f64 x x) #s(literal 0 binary64)))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
4 calls:
| 29.0ms | x |
| 3.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 3.0ms | (*.f64 x x) |
| 3.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.5% | 1 | x |
| 99.5% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 99.5% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 99.5% | 1 | (*.f64 x x) |
Compiled 23 to 10 computations (56.5% saved)
| Inputs |
|---|
#s(literal 0 binary64) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
(sqrt.f64 (*.f64 (+.f64 x x) x)) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
4 calls:
| 2.0ms | x |
| 2.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 2.0ms | (*.f64 x x) |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.4% | 1 | x |
| 99.4% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 99.4% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 99.4% | 1 | (*.f64 x x) |
Compiled 23 to 10 computations (56.5% saved)
Total 0.0b remaining (0%)
Threshold costs 0b (0%)
| Inputs |
|---|
#s(literal 0 binary64) |
| Outputs |
|---|
#s(literal 0 binary64) |
4 calls:
| 1.0ms | x |
| 1.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 1.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 1.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 3.6% | 1 | x |
| 3.6% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 3.6% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 3.6% | 1 | (*.f64 x x) |
Compiled 23 to 10 computations (56.5% saved)
| 1× | egg-herbie |
| 4× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 24 |
| 1 | 16 | 24 |
| 1× | saturated |
| Inputs |
|---|
(hypot.f64 x x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(literal 0 binary64) |
| Outputs |
|---|
(hypot.f64 x x) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
#s(approx (sqrt (+ (* x x) (* x x))) (*.f64 x (sqrt.f64 #s(literal 2 binary64)))) |
#s(literal 0 binary64) |
| 168× | lower-*.f32 |
| 164× | lower-*.f64 |
| 134× | lower-fma.f32 |
| 132× | lower-fma.f64 |
| 112× | lower-/.f64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 23 | 101 |
| 0 | 40 | 51 |
| 1 | 109 | 29 |
| 0 | 828 | 29 |
| 0 | 4 | 18 |
| 0 | 7 | 14 |
| 1 | 23 | 10 |
| 0 | 160 | 9 |
| 0 | 8 | 148 |
| 1 | 15 | 148 |
| 2 | 32 | 148 |
| 3 | 37 | 148 |
| 4 | 41 | 148 |
| 5 | 53 | 148 |
| 6 | 65 | 148 |
| 7 | 76 | 148 |
| 8 | 96 | 148 |
| 9 | 101 | 148 |
| 0 | 101 | 148 |
| 1× | fuel |
| 1× | iter limit |
| 1× | saturated |
| 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 |
Compiled 67 to 35 computations (47.8% saved)
(abs x)
Compiled 60 to 32 computations (46.7% saved)
Loading profile data...