Time bar (total: 1.6s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
| 0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
| 50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
| 75% | 75% | 25% | 0% | 0% | 0% | 0% | 4 |
| 87.5% | 87.5% | 12.5% | 0% | 0% | 0% | 0% | 5 |
| 93.8% | 93.7% | 6.2% | 0% | 0% | 0% | 0% | 6 |
| 96.9% | 96.8% | 3.1% | 0% | 0% | 0% | 0% | 7 |
| 98.4% | 98.4% | 1.6% | 0% | 0% | 0% | 0% | 8 |
| 99.2% | 99.2% | 0.8% | 0% | 0% | 0% | 0% | 9 |
| 99.6% | 99.6% | 0.4% | 0% | 0% | 0% | 0% | 10 |
| 99.8% | 99.8% | 0.2% | 0% | 0% | 0% | 0% | 11 |
| 99.9% | 99.9% | 0.1% | 0% | 0% | 0% | 0% | 12 |
Compiled 8 to 6 computations (25% saved)
| 965.0ms | 8256× | body | 256 | valid |
| 0.0ms | 3× | body | 256 | infinite |
| 2× | egg-herbie |
| 6× | *-commutative |
| 2× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 17 |
| 1 | 11 | 17 |
| 2 | 13 | 17 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 6× | *-commutative |
| 2× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 17 |
| 1 | 11 | 17 |
| 2 | 13 | 17 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 7 to 5 computations (28.6% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 26.6b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 7 to 5 computations (28.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 2 (*.f64 x x)) |
| ✓ | 25.7b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 17 to 8 computations (52.9% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 0.0ms | x | @ | inf | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 0.0ms | x | @ | 0 | (*.f64 2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (*.f64 2 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1372× | add-sqr-sqrt |
| 1354× | *-un-lft-identity |
| 1256× | add-cube-cbrt |
| 1246× | add-cbrt-cube |
| 1234× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 30 |
| 1 | 159 | 24 |
| 2 | 1829 | 24 |
| 1× | node limit |
| Inputs |
|---|
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(*.f64 2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (sqrt.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1326× | distribute-lft-in |
| 1310× | distribute-rgt-in |
| 1040× | associate-+r+ |
| 954× | associate-+l+ |
| 876× | fma-def |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 816 |
| 1 | 201 | 816 |
| 2 | 880 | 816 |
| 3 | 2375 | 688 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (pow.f64 x 2)) |
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (*.f64 x (sqrt.f64 2)) 1) |
(*.f64 1 (*.f64 x (sqrt.f64 2))) |
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x)))) |
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2)))) |
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))) |
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2))) |
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2)) |
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x)) |
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2) |
(pow.f64 (*.f64 x (sqrt.f64 2)) 1) |
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3) |
(fabs.f64 (*.f64 x (sqrt.f64 2))) |
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x)) |
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2)))) |
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))) |
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2)))) |
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1) |
(pow.f64 (*.f64 2 (*.f64 x x)) 1) |
(pow.f64 (*.f64 x (sqrt.f64 2)) 2) |
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3) |
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2) |
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 4)) |
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x)))) |
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x)))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(neg.f64 (hypot.f64 x x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(neg.f64 (hypot.f64 x x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(neg.f64 (hypot.f64 x x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(neg.f64 (hypot.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(*.f64 2 (pow.f64 x 2)) |
(*.f64 2 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 x (sqrt.f64 2))) 1) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (*.f64 x (sqrt.f64 2)) 1) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 1 (*.f64 x (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) (sqrt.f64 (*.f64 x (sqrt.f64 2)))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) (cbrt.f64 (*.f64 2 (*.f64 x x)))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 x (sqrt.f64 2)))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x))) |
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))) |
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))) |
(*.f64 (pow.f64 1 1/2) (*.f64 x (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(*.f64 (pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 4)) 1/2) (pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 1/2)) |
(*.f64 (sqrt.f64 (cbrt.f64 (*.f64 4 (pow.f64 x 4)))) (sqrt.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))))) |
(*.f64 (pow.f64 (*.f64 2 x) 1/2) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (*.f64 2 x))) |
(*.f64 (sqrt.f64 (*.f64 2 x)) (sqrt.f64 x)) |
(*.f64 (sqrt.f64 (+.f64 x x)) (sqrt.f64 x)) |
(pow.f64 (*.f64 2 (*.f64 x x)) 1/2) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(pow.f64 (*.f64 x (sqrt.f64 2)) 1) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 2))) 2) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 2))) 3) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(pow.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3) 1/3) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(fabs.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x)) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 2)) 3)) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 2)))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(exp.f64 (log.f64 (*.f64 x (sqrt.f64 2)))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 2)))) |
(*.f64 (sqrt.f64 2) x) |
(hypot.f64 x x) |
(-.f64 (+.f64 1 (*.f64 2 (*.f64 x x))) 1) |
(*.f64 2 (*.f64 x x)) |
(pow.f64 (*.f64 2 (*.f64 x x)) 1) |
(*.f64 2 (*.f64 x x)) |
(pow.f64 (*.f64 x (sqrt.f64 2)) 2) |
(*.f64 2 (*.f64 x x)) |
(pow.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) 3) |
(*.f64 2 (*.f64 x x)) |
(pow.f64 (*.f64 (pow.f64 x 4) 4) 1/2) |
(*.f64 2 (*.f64 x x)) |
(pow.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3) 1/3) |
(*.f64 2 (*.f64 x x)) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 4)) |
(*.f64 2 (*.f64 x x)) |
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) 2)) |
(*.f64 2 (*.f64 x x)) |
(cbrt.f64 (pow.f64 (*.f64 2 (*.f64 x x)) 3)) |
(*.f64 2 (*.f64 x x)) |
(expm1.f64 (log1p.f64 (*.f64 2 (*.f64 x x)))) |
(*.f64 2 (*.f64 x x)) |
(exp.f64 (log.f64 (*.f64 2 (*.f64 x x)))) |
(*.f64 2 (*.f64 x x)) |
(log1p.f64 (expm1.f64 (*.f64 2 (*.f64 x x)))) |
(*.f64 2 (*.f64 x x)) |
Compiled 354 to 261 computations (26.3% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 2 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 44 | 3 | 47 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (hypot.f64 x x) |
| ▶ | 31.3b | (*.f64 (sqrt.f64 2) x) |
| ✓ | 26.6b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 16 to 11 computations (31.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.4b | (*.f64 (sqrt.f64 2) x) |
Compiled 9 to 7 computations (22.2% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | (*.f64 (sqrt.f64 2) x) |
| 0.0ms | x | @ | 0 | (*.f64 (sqrt.f64 2) x) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 2) x) |
| 1× | batch-egg-rewrite |
| 1198× | add-sqr-sqrt |
| 1182× | *-un-lft-identity |
| 1118× | pow1 |
| 1096× | add-cube-cbrt |
| 1082× | add-cbrt-cube |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 137 | 11 |
| 2 | 1511 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x))))))) |
| 1× | egg-herbie |
| 1066× | *-commutative |
| 886× | log-prod |
| 738× | associate--l+ |
| 678× | distribute-lft-out |
| 632× | distribute-lft-in |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 253 |
| 1 | 79 | 187 |
| 2 | 273 | 121 |
| 3 | 1642 | 121 |
| 4 | 4568 | 121 |
| 5 | 6886 | 121 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1) |
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2) |
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3) |
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2))) |
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3)) |
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x))) |
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x))) |
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x))) |
| Outputs |
|---|
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 2))) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3)) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 2) x))) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(exp.f64 (log.f64 (*.f64 (sqrt.f64 2) x))) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
(log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 2) x))) |
(+.f64 1 (-.f64 (*.f64 (sqrt.f64 2) x) 1)) |
(+.f64 (*.f64 (sqrt.f64 2) x) 0) |
(*.f64 (sqrt.f64 2) x) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (hypot.f64 x x) |
Compiled 5 to 2 computations (60% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (hypot.f64 x x) |
| 0.0ms | x | @ | inf | (hypot.f64 x x) |
| 0.0ms | x | @ | 0 | (hypot.f64 x x) |
| 1× | batch-egg-rewrite |
| 918× | associate-*r* |
| 744× | add-sqr-sqrt |
| 738× | *-un-lft-identity |
| 696× | pow1 |
| 682× | add-cube-cbrt |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 1 | 80 | 7 |
| 2 | 916 | 7 |
| 1× | node limit |
| Inputs |
|---|
(hypot.f64 x x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (hypot.f64 x x) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 x x))))))) |
| 1× | egg-herbie |
| 1144× | distribute-lft-in |
| 1118× | associate-*r* |
| 1046× | distribute-rgt-in |
| 928× | associate-*l* |
| 836× | *-commutative |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 88 | 1038 |
| 1 | 194 | 864 |
| 2 | 596 | 854 |
| 3 | 3338 | 854 |
| 4 | 7923 | 854 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(-.f64 (+.f64 (hypot.f64 x x) 1) 1) |
(*.f64 (hypot.f64 x x) 1) |
(*.f64 1 (hypot.f64 x x)) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))) |
(*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) |
(pow.f64 (hypot.f64 x x) 1) |
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) |
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3) |
(pow.f64 (*.f64 x (+.f64 x x)) 1/2) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(log.f64 (exp.f64 (hypot.f64 x x))) |
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3)) |
(expm1.f64 (log1p.f64 (hypot.f64 x x))) |
(exp.f64 (log.f64 (hypot.f64 x x))) |
(log1p.f64 (expm1.f64 (hypot.f64 x x))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(-.f64 (+.f64 (hypot.f64 x x) 1) 1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (hypot.f64 x x) 1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 1 (hypot.f64 x x)) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x)))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))) |
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)))) |
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) |
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) |
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2)) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (cbrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)))) |
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4)))) |
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))) |
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) |
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) |
(*.f64 (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) |
(pow.f64 (hypot.f64 x x) 1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(pow.f64 (*.f64 x (+.f64 x x)) 1/2) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(log.f64 (exp.f64 (hypot.f64 x x))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3)) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(expm1.f64 (log1p.f64 (hypot.f64 x x))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(exp.f64 (log.f64 (hypot.f64 x x))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(log1p.f64 (expm1.f64 (hypot.f64 x x))) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
Compiled 753 to 283 computations (62.4% saved)
4 alts after pruning (1 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 63 | 1 | 64 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 63 | 4 | 67 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.5b | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| ✓ | 0.0b | (hypot.f64 x x) |
| ✓ | 31.3b | (*.f64 (sqrt.f64 2) x) |
| ✓ | 26.6b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 23 to 16 computations (30.4% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (hypot.f64 x x) | |
| ✓ | 0.2b | (sqrt.f64 (hypot.f64 x x)) |
| ✓ | 0.5b | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
Compiled 16 to 6 computations (62.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| 0.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| 0.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| 0.0ms | x | @ | 0 | (sqrt.f64 (hypot.f64 x x)) |
| 0.0ms | x | @ | inf | (sqrt.f64 (hypot.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1198× | add-sqr-sqrt |
| 1182× | *-un-lft-identity |
| 1116× | pow1 |
| 1096× | add-cube-cbrt |
| 1086× | add-cbrt-cube |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 18 |
| 1 | 162 | 18 |
| 2 | 1556 | 18 |
| 1× | node limit |
| Inputs |
|---|
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
(sqrt.f64 (hypot.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 x x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 x x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (hypot.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/2) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (*.f64 x x)) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x)))))))) |
| 1× | egg-herbie |
| 778× | associate-/l* |
| 728× | *-commutative |
| 726× | distribute-lft-out |
| 702× | unswap-sqr |
| 676× | associate-+r+ |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 77 | 800 |
| 1 | 148 | 584 |
| 2 | 578 | 368 |
| 3 | 2146 | 368 |
| 4 | 6123 | 368 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (hypot.f64 x x)) 1) |
(*.f64 (hypot.f64 x x) 1) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) |
(*.f64 1 (hypot.f64 x x)) |
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x))) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4)) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(log.f64 (exp.f64 (hypot.f64 x x))) |
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3)) |
(expm1.f64 (log1p.f64 (hypot.f64 x x))) |
(hypot.f64 x x) |
(exp.f64 (log.f64 (hypot.f64 x x))) |
(log1p.f64 (expm1.f64 (hypot.f64 x x))) |
(-.f64 (+.f64 1 (sqrt.f64 (hypot.f64 x x))) 1) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) 1) |
(*.f64 1 (sqrt.f64 (hypot.f64 x x))) |
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 1/4)) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (hypot.f64 x x))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/2) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2)) |
(pow.f64 (hypot.f64 x x) 1/2) |
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 1) |
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) |
(pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3) |
(pow.f64 (*.f64 2 (*.f64 x x)) 1/4) |
(pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3) |
(fabs.f64 (sqrt.f64 (hypot.f64 x x))) |
(log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x)))) |
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))) |
(exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x)))) |
(log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x)))) |
| Outputs |
|---|
(-.f64 (+.f64 1 (hypot.f64 x x)) 1) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (hypot.f64 x x) 1) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 1 (hypot.f64 x x)) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/4)) (pow.f64 (hypot.f64 x x) 1/4)) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(sqrt.f64 (*.f64 x (*.f64 x 2))) |
(log.f64 (exp.f64 (hypot.f64 x x))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3)) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(expm1.f64 (log1p.f64 (hypot.f64 x x))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(hypot.f64 x x) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(exp.f64 (log.f64 (hypot.f64 x x))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(log1p.f64 (expm1.f64 (hypot.f64 x x))) |
(+.f64 (+.f64 1 (hypot.f64 x x)) -1) |
(+.f64 (hypot.f64 x x) 0) |
(hypot.f64 x x) |
(-.f64 (+.f64 1 (sqrt.f64 (hypot.f64 x x))) 1) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) 1) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(*.f64 1 (sqrt.f64 (hypot.f64 x x))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 1/4)) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(*.f64 (pow.f64 1 1/2) (sqrt.f64 (hypot.f64 x x))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 1/2) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2)) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(pow.f64 (hypot.f64 x x) 1/2) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 1) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(pow.f64 (*.f64 2 (*.f64 x x)) 1/4) |
(pow.f64 (*.f64 x (*.f64 x 2)) 1/4) |
(pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/3) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(fabs.f64 (sqrt.f64 (hypot.f64 x x))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(log.f64 (exp.f64 (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
(log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x)))) |
(+.f64 1 (-.f64 (sqrt.f64 (hypot.f64 x x)) 1)) |
(+.f64 (sqrt.f64 (hypot.f64 x x)) 0) |
(sqrt.f64 (hypot.f64 x x)) |
Compiled 1211 to 521 computations (57% saved)
4 alts after pruning (0 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 95 | 0 | 95 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 95 | 4 | 99 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.5b | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| ✓ | 0.0b | (hypot.f64 x x) |
| ✓ | 31.3b | (*.f64 (sqrt.f64 2) x) |
| ✓ | 26.6b | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
Compiled 23 to 16 computations (30.4% saved)
Total -44.4b remaining (-283925.8%)
Threshold costs -44.4b (-283925.8%)
| Inputs |
|---|
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 4.0ms | (*.f64 x x) |
| 3.0ms | x |
| 3.0ms | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 3.0ms | (*.f64 2 (*.f64 x x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 0.0b | 1 | (*.f64 2 (*.f64 x x)) |
| 0.0b | 1 | (*.f64 x x) |
Compiled 39 to 24 computations (38.5% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(hypot.f64 x x) |
| Outputs |
|---|
(hypot.f64 x x) |
Compiled 4 to 2 computations (50% saved)
| 1× | egg-herbie |
| 1326× | distribute-lft-in |
| 1310× | distribute-rgt-in |
| 1040× | associate-+r+ |
| 954× | associate-+l+ |
| 876× | fma-def |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 816 |
| 1 | 201 | 816 |
| 2 | 880 | 816 |
| 3 | 2375 | 688 |
| 1× | node limit |
Compiled 92 to 63 computations (31.5% saved)
Compiled 4 to 2 computations (50% saved)
Loading profile data...