Time bar (total: 1.5s)
| 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 10 to 5 computations (50% saved)
| 1.0s | 8256× | body | 256 | valid |
| 0.0ms | 2× | body | 256 | infinite |
| 2× | egg-herbie |
| 4× | *-commutative |
| 4× | associate-*r* |
| 4× | count-2 |
| 2× | fma-def |
| 2× | hypot-def |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 7 |
| 1 | 14 | 7 |
| 2 | 17 | 7 |
| 3 | 20 | 7 |
| 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 10 to 5 computations (50% saved)
| 1× | egg-herbie |
| 4× | *-commutative |
| 4× | associate-*r* |
| 4× | count-2 |
| 2× | fma-def |
| 2× | hypot-def |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 7 |
| 1 | 14 | 7 |
| 2 | 17 | 7 |
| 3 | 20 | 7 |
| 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) |
Compiled 12 to 5 computations (58.3% saved)
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 | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (hypot.f64 x x) |
Compiled 4 to 2 computations (50% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (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) |
| 1.0ms | x | @ | inf | (hypot.f64 x x) |
| 1.0ms | x | @ | 0 | (hypot.f64 x x) |
| 1× | batch-egg-rewrite |
| 738× | pow1 |
| 704× | add-sqr-sqrt |
| 696× | *-un-lft-identity |
| 674× | add-exp-log |
| 674× | log1p-expm1-u |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 4 | 7 |
| 1 | 80 | 7 |
| 2 | 933 | 7 |
| 1× | node limit |
| Inputs |
|---|
(hypot.f64 x x) |
| Outputs |
|---|
(+.f64 0 (hypot.f64 x x)) |
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x))))) |
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))))) |
(-.f64 (+.f64 1 (hypot.f64 x x)) 1) |
(*.f64 (hypot.f64 x x) 1) |
(*.f64 1 (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 x) (pow.f64 (+.f64 x x) 1/2)) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2)) |
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2)) |
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x)) |
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)) |
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 2 1/2) x) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(pow.f64 (hypot.f64 x x) 1) |
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) |
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3) |
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
(pow.f64 (*.f64 x (+.f64 x x)) 1/2) |
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x))) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x)))) |
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x)))) |
(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))) |
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3)) |
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2)) |
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2)) |
(log1p.f64 (expm1.f64 (hypot.f64 x x))) |
| 1× | egg-herbie |
| 924× | associate-*r* |
| 884× | log-prod |
| 766× | associate-*l* |
| 738× | associate-+r+ |
| 718× | associate-+l+ |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 116 | 717 |
| 1 | 249 | 681 |
| 2 | 686 | 669 |
| 3 | 4006 | 669 |
| 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 0 (hypot.f64 x x)) |
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x))))) |
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))))) |
(-.f64 (+.f64 1 (hypot.f64 x x)) 1) |
(*.f64 (hypot.f64 x x) 1) |
(*.f64 1 (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 x) (pow.f64 (+.f64 x x) 1/2)) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2)) |
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2)) |
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x)) |
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x)) |
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)) |
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (pow.f64 2 1/2) x) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(pow.f64 (hypot.f64 x x) 1) |
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) |
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3) |
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
(pow.f64 (*.f64 x (+.f64 x x)) 1/2) |
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x))) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x)))) |
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x)))) |
(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))) |
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3)) |
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3)) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2)) |
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2)) |
(log1p.f64 (expm1.f64 (hypot.f64 x x))) |
| Outputs |
|---|
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (sqrt.f64 2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(*.f64 -1 (*.f64 (sqrt.f64 2) x)) |
(neg.f64 (*.f64 x (sqrt.f64 2))) |
(*.f64 x (neg.f64 (sqrt.f64 2))) |
(+.f64 0 (hypot.f64 x x)) |
(hypot.f64 x x) |
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x)))) (log.f64 (sqrt.f64 (exp.f64 (hypot.f64 x x))))) |
(hypot.f64 x x) |
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))))) |
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))))) (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))))) |
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x))))) |
(*.f64 (log.f64 (cbrt.f64 (exp.f64 (hypot.f64 x x)))) 3) |
(-.f64 (+.f64 1 (hypot.f64 x x)) 1) |
(hypot.f64 x x) |
(*.f64 (hypot.f64 x x) 1) |
(hypot.f64 x x) |
(*.f64 1 (hypot.f64 x x)) |
(hypot.f64 x x) |
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) |
(hypot.f64 x x) |
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x))) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2)) |
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x x))) |
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2)) |
(hypot.f64 x x) |
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2)) |
(hypot.f64 x x) |
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2))) |
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2))) |
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 2))) |
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 8))) |
(*.f64 (pow.f64 1 1/3) (hypot.f64 x x)) |
(hypot.f64 x x) |
(*.f64 (pow.f64 1 1/2) (hypot.f64 x x)) |
(hypot.f64 x x) |
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)) |
(hypot.f64 x x) |
(*.f64 (pow.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2) 1/3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 (hypot.f64 x x) (cbrt.f64 (hypot.f64 x x))) 2))) |
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 2))) |
(*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 8))) |
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (pow.f64 (hypot.f64 x x) 5/2))) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 4) 1/2) (sqrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))) |
(hypot.f64 x x) |
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 3/2) 1/2) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) |
(hypot.f64 x x) |
(*.f64 (pow.f64 2 1/2) x) |
(*.f64 x (sqrt.f64 2)) |
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) |
(hypot.f64 x x) |
(pow.f64 (hypot.f64 x x) 1) |
(hypot.f64 x x) |
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) |
(hypot.f64 x x) |
(pow.f64 (pow.f64 (hypot.f64 x x) 3) 1/3) |
(hypot.f64 x x) |
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2) |
(hypot.f64 x x) |
(pow.f64 (*.f64 x (+.f64 x x)) 1/2) |
(hypot.f64 x x) |
(pow.f64 (E.f64) (log.f64 (hypot.f64 x x))) |
(hypot.f64 x x) |
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (log.f64 (hypot.f64 x x)))) |
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 x x)))) (sqrt.f64 (log.f64 (hypot.f64 x x)))) |
(sqrt.f64 (*.f64 x (+.f64 x x))) |
(hypot.f64 x x) |
(log.f64 (exp.f64 (hypot.f64 x x))) |
(hypot.f64 x x) |
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3)) |
(hypot.f64 x x) |
(expm1.f64 (log1p.f64 (hypot.f64 x x))) |
(hypot.f64 x x) |
(exp.f64 (log.f64 (hypot.f64 x x))) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (hypot.f64 x x))) 3)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (*.f64 3 (log.f64 (hypot.f64 x x))) 1/3)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (hypot.f64 x x))) 2)) |
(hypot.f64 x x) |
(exp.f64 (*.f64 (*.f64 2 (log.f64 (hypot.f64 x x))) 1/2)) |
(hypot.f64 x x) |
(log1p.f64 (expm1.f64 (hypot.f64 x x))) |
(hypot.f64 x x) |
Compiled 507 to 205 computations (59.6% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 54 | 1 | 55 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 54 | 2 | 56 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ▶ | 54.3% | (*.f64 (sqrt.f64 2) x) |
Compiled 9 to 6 computations (33.3% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 99.3% | (*.f64 (sqrt.f64 2) x) |
Compiled 9 to 7 computations (22.2% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 (sqrt.f64 2) x) |
| 0.0ms | x | @ | inf | (*.f64 (sqrt.f64 2) x) |
| 0.0ms | x | @ | -inf | (*.f64 (sqrt.f64 2) x) |
| 1× | batch-egg-rewrite |
| 1182× | pow1 |
| 1084× | add-exp-log |
| 1084× | log1p-expm1-u |
| 1084× | expm1-log1p-u |
| 1058× | add-log-exp |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 138 | 11 |
| 2 | 1508 | 11 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sqrt.f64 2) x) |
| Outputs |
|---|
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1) |
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3) |
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3) |
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2) |
(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))) |
| 1× | egg-herbie |
| 1896× | log-prod |
| 954× | fma-neg |
| 806× | *-commutative |
| 676× | distribute-lft-out |
| 640× | distribute-rgt-in |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 253 |
| 1 | 79 | 187 |
| 2 | 271 | 121 |
| 3 | 1535 | 121 |
| 4 | 4437 | 121 |
| 5 | 6814 | 121 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (*.f64 (sqrt.f64 2) x)) 1) |
(pow.f64 (*.f64 (sqrt.f64 2) x) 1) |
(pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) x)) 3) |
(pow.f64 (pow.f64 (*.f64 (sqrt.f64 2) x) 3) 1/3) |
(pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 2) x)) 2) |
(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 (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) |
(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) |
(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) |
Compiled 92 to 77 computations (16.3% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 14 | 0 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 14 | 2 | 16 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (hypot.f64 x x) |
| ✓ | 54.3% | (*.f64 (sqrt.f64 2) x) |
Compiled 9 to 6 computations (33.3% saved)
Total -44.6b remaining (-1142083.9%)
Threshold costs -44.6b (-1142083.9%)
| Inputs |
|---|
(hypot.f64 x x) |
(*.f64 (sqrt.f64 2) x) |
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| Outputs |
|---|
(hypot.f64 x x) |
4 calls:
| 3.0ms | x |
| 3.0ms | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 2.0ms | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 2.0ms | (*.f64 x x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (sqrt.f64 (+.f64 (*.f64 x x) (*.f64 x x))) |
| 100.0% | 1 | (+.f64 (*.f64 x x) (*.f64 x x)) |
| 100.0% | 1 | (*.f64 x x) |
Compiled 39 to 18 computations (53.8% 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)
| 4× | *-commutative |
| 4× | associate-*r* |
| 4× | count-2 |
| 2× | fma-def |
| 2× | hypot-def |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 7 |
| 1 | 14 | 7 |
| 2 | 17 | 7 |
| 3 | 20 | 7 |
| 1× | saturated |
Compiled 12 to 5 computations (58.3% saved)
Compiled 4 to 2 computations (50% saved)
Loading profile data...