Time bar (total: 1.7s)
| 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)
| 1.1s | 8256× | body | 256 | valid |
| 0.0ms | 2× | 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 |
|---|---|---|
| ▶ | 28.7b | (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)) |
| ✓ | 27.8b | (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)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 44 | 2 | 46 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 45 | 2 | 47 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (hypot.f64 x x) |
| ▶ | 32.7b | (*.f64 (sqrt.f64 2) (neg.f64 x)) |
Compiled 10 to 7 computations (30% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.4b | (*.f64 (sqrt.f64 2) (neg.f64 x)) |
Compiled 12 to 8 computations (33.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (sqrt.f64 2) (neg.f64 x)) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 2) (neg.f64 x)) |
| 0.0ms | x | @ | -inf | (*.f64 (sqrt.f64 2) (neg.f64 x)) |
| 1× | batch-egg-rewrite |
| 1266× | add-sqr-sqrt |
| 1248× | *-un-lft-identity |
| 1162× | add-cube-cbrt |
| 1148× | add-cbrt-cube |
| 1134× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 162 | 11 |
| 2 | 1917 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (sqrt.f64 2) x))))) (#(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 neg.f64 (*.f64 (sqrt.f64 2) x))))) (#(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 (sqrt.f64 2)) x))))) (#(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 |
| 1082× | *-commutative |
| 878× | log-prod |
| 650× | distribute-lft-in |
| 648× | distribute-rgt-in |
| 646× | distribute-lft-out |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 463 |
| 1 | 90 | 397 |
| 2 | 331 | 331 |
| 3 | 1789 | 331 |
| 4 | 4954 | 331 |
| 5 | 7952 | 331 |
| 1× | node limit |
| Inputs |
|---|
(*.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 -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 -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 0 (*.f64 (sqrt.f64 2) x)) |
(-.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) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
(log.f64 (pow.f64 (exp.f64 (sqrt.f64 2)) x)) |
(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 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(-.f64 0 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(-.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) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(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 (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) |
(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 780 to 304 computations (61% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 69 | 0 | 69 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 69 | 2 | 71 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (hypot.f64 x x) |
| ✓ | 32.7b | (*.f64 (sqrt.f64 2) (neg.f64 x)) |
Compiled 10 to 7 computations (30% saved)
Total -46.9b remaining (-1199993.5%)
Threshold costs -46.9b (-1199993.5%)
| Inputs |
|---|
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(sqrt.f64 (*.f64 2 (*.f64 x x))) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 3.0ms | (*.f64 2 (*.f64 x x)) |
| 3.0ms | x |
| 3.0ms | (sqrt.f64 (*.f64 2 (*.f64 x x))) |
| 2.0ms | (*.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 34 to 22 computations (35.3% 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...