Time bar (total: 1.2s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 75% | 25% | 0% | 4 |
| 87.5% | 12.5% | 0% | 5 |
| 93.7% | 6.2% | 0% | 6 |
| 96.8% | 3.1% | 0% | 7 |
| 98.4% | 1.6% | 0% | 8 |
| 99.2% | 0.8% | 0% | 9 |
| 99.6% | 0.4% | 0% | 10 |
| 99.8% | 0.2% | 0% | 11 |
| 99.9% | 0.1% | 0% | 12 |
| 99.9% | 0% | 0% | 13 |
| 99.9% | 0% | 0.1% | 14 |
Compiled 10 to 5 computations (50% saved)
| 649.0ms | 8256× | body | 128 | valid |
Compiled 20 to 10 computations (50% saved)
| 2× | egg-herbie |
| 2× | *-commutative_binary64 |
| 2× | associate-*r*_binary64 |
| 2× | count-2_binary64 |
| 1× | associate-*l*_binary64 |
| 1× | distribute-rgt-out_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 4 |
| 1 | 11 | 4 |
| 2 | 14 | 4 |
| 3 | 17 | 4 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(hypot.f64 x x) |
Compiled 9 to 4 computations (55.6% saved)
| 1× | egg-herbie |
| 2× | *-commutative_binary64 |
| 2× | associate-*r*_binary64 |
| 2× | count-2_binary64 |
| 1× | associate-*l*_binary64 |
| 1× | distribute-rgt-out_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 4 |
| 1 | 11 | 4 |
| 2 | 14 | 4 |
| 3 | 17 | 4 |
| 1× | saturated |
| Inputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
(hypot.f64 x x) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (hypot.f64 x x) |
Compiled 20 to 9 computations (55% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (hypot.f64 x x) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (hypot.f64 x x) |
| 1.0ms | x | @ | 0 | (hypot.f64 x x) |
| 1.0ms | x | @ | inf | (hypot.f64 x x) |
| 1× | batch-egg-rewrite |
| 271× | pow1_binary64 |
| 260× | add-sqr-sqrt_binary64 |
| 255× | *-un-lft-identity_binary64 |
| 249× | add-log-exp_binary64 |
| 249× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 4 |
| 1 | 60 | 4 |
| 2 | 695 | 4 |
| 1× | node limit |
| Inputs |
|---|
(hypot.f64 x x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (hypot.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) (cbrt.f64 (exp.f64 (hypot.f64 x x))))) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))))))) (#(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 1 (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 (hypot.f64 x x)) (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 (pow.f64 (hypot.f64 x x) 2) 1/2)))) (#(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 (cbrt.f64 (hypot.f64 x x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 x x) 2))))) (#(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 log1p.f64 (expm1.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 x x))))))) |
| 1× | egg-herbie |
| 38× | fma-def_binary64 |
| 9× | sub-neg_binary64 |
| 6× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
| 4× | distribute-lft-in_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 80 |
| 1 | 12 | 80 |
| 2 | 25 | 80 |
| 3 | 29 | 80 |
| 4 | 33 | 80 |
| 5 | 51 | 80 |
| 6 | 73 | 80 |
| 7 | 84 | 80 |
| 8 | 96 | 80 |
| 9 | 121 | 80 |
| 1× | saturated |
| 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)) |
| 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)) |
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 18 | 5 | 23 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 18 | 6 | 24 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.5b | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| ✓ | 0.1b | (hypot.f64 x x) |
| 43.3b | (cbrt.f64 (pow.f64 (hypot.f64 x x) 3)) | |
| 1.4b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) | |
| 34.3b | (*.f64 (sqrt.f64 2) (neg.f64 x)) | |
| 28.6b | (*.f64 (sqrt.f64 2) x) |
Compiled 242 to 121 computations (50% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (hypot.f64 x x) | |
| ✓ | 0.1b | (sqrt.f64 (hypot.f64 x x)) |
| ✓ | 0.5b | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | 0 | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| 1.0ms | x | @ | inf | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| 1.0ms | x | @ | -inf | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| 1.0ms | x | @ | 0 | (sqrt.f64 (hypot.f64 x x)) |
| 1.0ms | x | @ | inf | (sqrt.f64 (hypot.f64 x x)) |
| 1× | batch-egg-rewrite |
| 416× | pow1_binary64 |
| 386× | add-log-exp_binary64 |
| 386× | log1p-expm1-u_binary64 |
| 386× | expm1-log1p-u_binary64 |
| 376× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 125 | 10 |
| 2 | 1126 | 10 |
| 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 (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 (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 (*.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 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 hypot.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 exp.f64 (log.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 (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 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 1/4))))) (#(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 (*.f64 x (+.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 pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)))) (#(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 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 log1p.f64 (expm1.f64 (sqrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (hypot.f64 x x)))))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
7 alts after pruning (5 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 59 | 2 | 61 |
| Fresh | 1 | 3 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 60 | 7 | 67 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.5b | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| ✓ | 0.1b | (hypot.f64 x x) |
| 34.3b | (*.f64 (sqrt.f64 2) (neg.f64 x)) | |
| 2.0b | (pow.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3) 2) | |
| 1.4b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) | |
| 28.6b | (*.f64 (sqrt.f64 2) x) | |
| ▶ | 0.9b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
Compiled 690 to 343 computations (50.3% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.3b | (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) |
| ✓ | 0.4b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
| ✓ | 0.6b | (cbrt.f64 (hypot.f64 x x)) |
| ✓ | 0.6b | (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 24.0ms | x | @ | 0 | (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) |
| 9.0ms | x | @ | -inf | (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) |
| 7.0ms | x | @ | inf | (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (hypot.f64 x x)) |
| 1.0ms | x | @ | inf | (cbrt.f64 (hypot.f64 x x)) |
| 1× | batch-egg-rewrite |
| 537× | pow1_binary64 |
| 499× | add-log-exp_binary64 |
| 499× | log1p-expm1-u_binary64 |
| 499× | expm1-log1p-u_binary64 |
| 484× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 54 |
| 1 | 157 | 26 |
| 2 | 1806 | 26 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (sqrt.f64 (hypot.f64 x x))) |
(cbrt.f64 (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 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 x x) 1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2)))) (sqrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/3) (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (hypot.f64 x x) 1/6))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (hypot.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/6) (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (pow.f64 (hypot.f64 x x) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6) (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2))) 2)) (sqrt.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (hypot.f64 x x) 1/6) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 2) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (cbrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (hypot.f64 x x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (hypot.f64 x x)) 1)))) (#(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) 2) 1/2)))) (#(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 sqrt.f64 (pow.f64 (hypot.f64 x x) 2))))) (#(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 hypot.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 exp.f64 (log.f64 (hypot.f64 x x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 4/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 x x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 2)))))))) |
| 1× | egg-herbie |
| 517× | fma-def_binary64 |
| 490× | div-sub_binary64 |
| 360× | fma-neg_binary64 |
| 228× | associate-*l*_binary64 |
| 219× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 272 |
| 1 | 54 | 272 |
| 2 | 110 | 248 |
| 3 | 236 | 200 |
| 4 | 597 | 196 |
| 5 | 1400 | 196 |
| 6 | 3678 | 196 |
| 1× | node limit |
| Inputs |
|---|
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 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 (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)) |
| Outputs |
|---|
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) |
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/6) |
(pow.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) |
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/6) |
(pow.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) |
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/6) |
(pow.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) |
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/6) |
(pow.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)) 1/6) |
(*.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 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
8 alts after pruning (5 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 79 | 1 | 80 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 79 | 8 | 87 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.5b | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| ✓ | 0.1b | (hypot.f64 x x) |
| 34.3b | (*.f64 (sqrt.f64 2) (neg.f64 x)) | |
| 2.0b | (pow.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3) 2) | |
| ▶ | 0.9b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
| 1.4b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) | |
| 28.6b | (*.f64 (sqrt.f64 2) x) | |
| ✓ | 0.9b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
Compiled 1361 to 493 computations (63.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) |
| ✓ | 0.3b | (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) |
| ✓ | 0.4b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
| 0.6b | (cbrt.f64 (hypot.f64 x x)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
| 0.0ms | x | @ | 0 | (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) |
| 0.0ms | x | @ | -inf | (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) |
| 0.0ms | x | @ | -inf | (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) |
| 1× | batch-egg-rewrite |
| 543× | pow1_binary64 |
| 505× | add-log-exp_binary64 |
| 505× | log1p-expm1-u_binary64 |
| 505× | expm1-log1p-u_binary64 |
| 489× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 44 |
| 1 | 161 | 20 |
| 2 | 1892 | 20 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) |
(sqrt.f64 (cbrt.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 pow.f64 (hypot.f64 x x) 1)))) (#(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 (sqrt.f64 (hypot.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x x)) 1/2)))) (#(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 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 hypot.f64 x x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.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 exp.f64 (log.f64 (hypot.f64 x x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (*.f64 x (+.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 x (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 x (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 x (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 x (+.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 x (+.f64 x x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (hypot.f64 x x) 1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 x x) 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) (sqrt.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (sqrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 1/2) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 x x) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 x x) 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 x x)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 (hypot.f64 x x) 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (hypot.f64 x x) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (hypot.f64 x x) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (hypot.f64 x x) 1/6))))))) |
| 1× | egg-herbie |
| 517× | fma-def_binary64 |
| 479× | div-sub_binary64 |
| 355× | fma-neg_binary64 |
| 230× | associate-*l*_binary64 |
| 220× | associate-*r*_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 24 | 272 |
| 1 | 54 | 272 |
| 2 | 110 | 248 |
| 3 | 236 | 200 |
| 4 | 598 | 196 |
| 5 | 1397 | 196 |
| 6 | 3677 | 196 |
| 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)) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 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 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 (sqrt.f64 2) x)) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 (sqrt.f64 2) (neg.f64 x)) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x)))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 1 x))))) |
(pow.f64 (exp.f64 1/6) (+.f64 (log.f64 (sqrt.f64 2)) (log.f64 x))) |
(*.f64 (pow.f64 (sqrt.f64 2) 1/6) (pow.f64 x 1/6)) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) |
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/6) |
(pow.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) |
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/6) |
(pow.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) |
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/6) |
(pow.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)) 1/6) |
(exp.f64 (*.f64 1/6 (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x))))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 (sqrt.f64 2)) (log.f64 (/.f64 -1 x)))) |
(pow.f64 (/.f64 (sqrt.f64 2) (/.f64 -1 x)) 1/6) |
(pow.f64 (*.f64 (sqrt.f64 2) (neg.f64 x)) 1/6) |
8 alts after pruning (4 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 105 | 0 | 105 |
| Fresh | 0 | 4 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 105 | 8 | 113 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.5b | (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
| ✓ | 0.1b | (hypot.f64 x x) |
| 34.3b | (*.f64 (sqrt.f64 2) (neg.f64 x)) | |
| 2.0b | (pow.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 3) 2) | |
| ✓ | 0.9b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
| 1.4b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) | |
| 28.6b | (*.f64 (sqrt.f64 2) x) | |
| ✓ | 0.9b | (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))) |
Compiled 1820 to 601 computations (67% saved)
Total 0.1b remaining (80.4%)
Threshold costs 0.1b (80.4%)
Compiled 226 to 77 computations (65.9% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 3 | 4 |
| 1× | saturated |
| Inputs |
|---|
(hypot.f64 x x) |
| Outputs |
|---|
(hypot.f64 x x) |
| 1× | fuel |
Compiled 84 to 48 computations (42.9% saved)
Loading profile data...