Time bar (total: 4.9s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 50% | 50% | 0% | 4 |
| 62.5% | 37.5% | 0% | 5 |
| 68.7% | 31.2% | 0% | 6 |
| 71.8% | 28.1% | 0% | 7 |
| 73.4% | 26.5% | 0% | 8 |
| 74.2% | 25.8% | 0% | 9 |
| 74.6% | 25.4% | 0% | 10 |
| 74.8% | 25.2% | 0% | 11 |
| 74.9% | 25.1% | 0% | 12 |
| 74.9% | 25% | 0% | 13 |
| 74.9% | 25% | 0% | 14 |
Compiled 11 to 8 computations (27.3% saved)
| 1.6s | 2633× | body | 1024 | valid |
| 748.0ms | 1189× | body | 2048 | valid |
| 490.0ms | 1278× | body | 512 | valid |
| 296.0ms | 2428× | body | 128 | valid |
| 170.0ms | 689× | body | 256 | valid |
| 30.0ms | 39× | body | 4096 | valid |
| 2× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | hypot-1-def_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 9 |
| 2 | 14 | 9 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1)))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 10 to 7 computations (30% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | hypot-1-def_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 9 |
| 2 | 14 | 9 |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1)))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 16 to 11 computations (31.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 | Error | Program |
|---|---|---|
| ▶ | 46.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 14 to 10 computations (28.6% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (hypot.f64 1 x) |
| ✓ | 0.5b | (+.f64 x (hypot.f64 1 x)) |
| ✓ | 4.7b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 1.0ms | x | @ | -inf | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 1.0ms | x | @ | inf | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 0.0ms | x | @ | -inf | (+.f64 x (hypot.f64 1 x)) |
| 0.0ms | x | @ | inf | (+.f64 x (hypot.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 619× | pow1_binary64 |
| 575× | add-log-exp_binary64 |
| 575× | log1p-expm1-u_binary64 |
| 575× | expm1-log1p-u_binary64 |
| 62× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 20 |
| 1 | 121 | 20 |
| 2 | 1555 | 20 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 x (hypot.f64 1 x))) |
(+.f64 x (hypot.f64 1 x)) |
(hypot.f64 1 x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2)) (log.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))) (log.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (log.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 x (hypot.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2) (cbrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (/.f64 1 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2)) (/.f64 1 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x))) (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (hypot.f64 1 x)) (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (+.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 (*.f64 x x) (*.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2)) (-.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (neg.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))) (neg.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (hypot.f64 1 x) 2) (*.f64 x x)) (-.f64 (hypot.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2)) (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))) (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (hypot.f64 1 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (hypot.f64 1 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 1 x)) (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 1 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 1 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 1 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 1 x))))))) |
| 1× | egg-herbie |
| 451× | associate-/r*_binary64 |
| 398× | associate-*l*_binary64 |
| 381× | fma-def_binary64 |
| 292× | sub-neg_binary64 |
| 234× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 110 | 560 |
| 1 | 332 | 540 |
| 2 | 873 | 537 |
| 3 | 2560 | 537 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
1 |
(+.f64 1 x) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) x))) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 2 x) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(/.f64 -1/2 x) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4))))) |
x |
(+.f64 (*.f64 1/2 (/.f64 1 x)) x) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(*.f64 -1 x) |
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))) |
(+.f64 (log.f64 2) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (-.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 2) (-.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 3/32 (pow.f64 x 4)))) |
(+.f64 (log.f64 2) (+.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 -3/32 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (+.f64 (log.f64 2) (/.f64 5/96 (pow.f64 x 6))) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (-.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 x) (+.f64 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (-.f64 (/.f64 5/96 (pow.f64 x 6)) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (/.f64 5/96 (pow.f64 x 6)) (+.f64 (log.f64 2) (+.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 -3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (log.f64 1/2) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))))) |
(+.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 (/.f64 -1 x)))) |
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2))) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6))))) |
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 1/2) (+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (/.f64 -5/96 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x)))))) |
1 |
(+.f64 1 x) |
(+.f64 x 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) x)) |
(+.f64 x (fma.f64 (*.f64 x x) 1/2 1)) |
(+.f64 x (fma.f64 x (*.f64 x 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) x))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) x))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) -1/8 x))) |
(+.f64 x (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) 1))) |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(fma.f64 2 x (/.f64 1/2 x)) |
(fma.f64 x 2 (/.f64 1/2 x)) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (fma.f64 2 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 (fma.f64 x 2 (/.f64 1/2 x)) (/.f64 -1/8 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 2 x) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (fma.f64 2 x (/.f64 1/2 x)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1/2 x) (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5)))) (/.f64 1/8 (pow.f64 x 3))) |
(-.f64 (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5))) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
(+.f64 (/.f64 1/2 x) (+.f64 (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/8 (pow.f64 x 3)))) |
(/.f64 -1/2 x) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/2 x)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/2 x)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5)))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 5/128 (pow.f64 x 7)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (-.f64 (/.f64 5/128 (pow.f64 x 7)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/2 x))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 5/128 (pow.f64 x 7)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5))))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) 1/2)) |
(fma.f64 (*.f64 x x) 1/2 1) |
(fma.f64 x (*.f64 x 1/2) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/8))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (*.f64 (pow.f64 x 4) -1/8))) |
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/16 (pow.f64 x 6) (*.f64 (pow.f64 x 4) -1/8)))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) -1/8 (*.f64 (pow.f64 x 6) 1/16)))) |
(+.f64 (*.f64 (pow.f64 x 6) 1/16) (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) 1))) |
(+.f64 1 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) -1/8 (*.f64 (pow.f64 x 6) 1/16)))) |
x |
(+.f64 (*.f64 1/2 (/.f64 1 x)) x) |
(+.f64 x (/.f64 1/2 x)) |
(-.f64 x (/.f64 -1/2 x)) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 x (-.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3)))) |
(+.f64 x (+.f64 (/.f64 1/2 x) (/.f64 -1/8 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (+.f64 x (/.f64 -1/8 (pow.f64 x 3)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (-.f64 (+.f64 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (+.f64 x (-.f64 (/.f64 1/16 (pow.f64 x 5)) (/.f64 1/8 (pow.f64 x 3))))) |
(+.f64 x (-.f64 (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))) (+.f64 x (/.f64 -1/8 (pow.f64 x 3)))) |
(*.f64 -1 x) |
(neg.f64 x) |
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (neg.f64 x) (/.f64 1/2 x)) |
(fma.f64 x -1 (/.f64 -1/2 x)) |
(-.f64 (/.f64 -1/2 x) x) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (/.f64 1/2 x))) |
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (/.f64 -1/2 x)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) x)) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))) |
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (-.f64 (/.f64 -1/2 x) x) (/.f64 -1/16 (pow.f64 x 5)))) |
Compiled 1834 to 1396 computations (23.9% saved)
5 alts after pruning (4 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 135 | 4 | 139 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 135 | 5 | 140 |
| Status | Error | Program |
|---|---|---|
| 60.5b | (log.f64 (-.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))) | |
| 48.8b | (log.f64 (/.f64 -1/2 x)) | |
| 46.2b | (+.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) | |
| ▶ | 29.6b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
| ✓ | 46.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 129 to 95 computations (26.4% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 -5/112 (pow.f64 x 7) x) |
| ✓ | 21.3b | (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| 1.0ms | x | @ | inf | (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| 1.0ms | x | @ | -inf | (fma.f64 -5/112 (pow.f64 x 7) x) |
| 1.0ms | x | @ | inf | (fma.f64 -5/112 (pow.f64 x 7) x) |
| 1.0ms | x | @ | 0 | (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| 1× | batch-egg-rewrite |
| 859× | log1p-expm1-u_binary64 |
| 859× | expm1-log1p-u_binary64 |
| 103× | add-sqr-sqrt_binary64 |
| 100× | add-log-exp_binary64 |
| 98× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 23 |
| 1 | 216 | 23 |
| 2 | 2306 | 23 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 3/40 (pow.f64 x 5)) 1) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2)) (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 3/40 (pow.f64 x 5)) 3) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3)) (+.f64 (*.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 3/40 (pow.f64 x 5))) (-.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (*.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 3/40 (pow.f64 x 5))) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2)) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 -5/112 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -5/112 (pow.f64 x 7)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2) (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -5/112 (pow.f64 x 7)) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 -5/112 (pow.f64 x 7)) (*.f64 -5/112 (pow.f64 x 7))) (-.f64 (*.f64 x x) (*.f64 (*.f64 -5/112 (pow.f64 x 7)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 -5/112 (pow.f64 x 7)) (*.f64 -5/112 (pow.f64 x 7))) (*.f64 x x)) (-.f64 (*.f64 -5/112 (pow.f64 x 7)) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -5/112 (pow.f64 x 7) x))))))) |
| 1× | egg-herbie |
| 828× | sqr-pow_binary64 |
| 416× | unswap-sqr_binary64 |
| 388× | pow-sqr_binary64 |
| 332× | cube-prod_binary64 |
| 238× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 228 |
| 1 | 34 | 228 |
| 2 | 61 | 228 |
| 3 | 121 | 228 |
| 4 | 255 | 228 |
| 5 | 684 | 228 |
| 6 | 1029 | 228 |
| 7 | 1667 | 228 |
| 8 | 1776 | 228 |
| 9 | 1938 | 228 |
| 10 | 2155 | 228 |
| 11 | 2485 | 228 |
| 12 | 2941 | 228 |
| 13 | 3538 | 228 |
| 14 | 4287 | 228 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
x |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
| Outputs |
|---|
x |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
x |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
Compiled 1153 to 900 computations (21.9% saved)
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 56 | 0 | 56 |
| Fresh | 0 | 3 | 3 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 56 | 5 | 61 |
| Status | Error | Program |
|---|---|---|
| 60.5b | (log.f64 (-.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))) | |
| 48.8b | (log.f64 (/.f64 -1/2 x)) | |
| ▶ | 46.2b | (+.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) |
| ✓ | 29.6b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
| ✓ | 46.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 112 to 82 computations (26.8% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (+.f64 x (hypot.f64 1 x))) |
| 0.0b | (hypot.f64 1 x) | |
| 0.5b | (+.f64 x (hypot.f64 1 x)) | |
| ✓ | 4.8b | (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | (sqrt.f64 (+.f64 x (hypot.f64 1 x))) |
| 2.0ms | x | @ | 0 | (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) |
| 1.0ms | x | @ | inf | (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) |
| 1.0ms | x | @ | -inf | (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) |
| 0.0ms | x | @ | -inf | (sqrt.f64 (+.f64 x (hypot.f64 1 x))) |
| 1× | batch-egg-rewrite |
| 694× | pow1_binary64 |
| 645× | add-log-exp_binary64 |
| 645× | log1p-expm1-u_binary64 |
| 645× | expm1-log1p-u_binary64 |
| 71× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 20 |
| 1 | 141 | 20 |
| 2 | 1775 | 20 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) |
(sqrt.f64 (+.f64 x (hypot.f64 1 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (cbrt.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 1/4)) (log.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) (pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) 2) (cbrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) (sqrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (cbrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) (cbrt.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 1/4) (pow.f64 (+.f64 x (hypot.f64 1 x)) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (-.f64 (*.f64 x x) (+.f64 1 (*.f64 x x)))) (sqrt.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (sqrt.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (hypot.f64 1 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))) (sqrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) 2)) (cbrt.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 x) (sqrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))))) |
| 1× | egg-herbie |
| 1081× | fma-def_binary64 |
| 438× | unswap-sqr_binary64 |
| 308× | sqr-pow_binary64 |
| 258× | *-commutative_binary64 |
| 193× | pow-sqr_binary64 |
Useful iterations: 5 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 95 |
| 1 | 85 | 95 |
| 2 | 205 | 95 |
| 3 | 564 | 89 |
| 4 | 1390 | 88 |
| 5 | 2359 | 86 |
| 6 | 3382 | 86 |
| 7 | 3619 | 86 |
| 8 | 3872 | 86 |
| 9 | 4219 | 86 |
| 10 | 4729 | 86 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 -1/12 (pow.f64 x 3))) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/12 (pow.f64 x 3)) (*.f64 3/80 (pow.f64 x 5)))) |
(+.f64 (*.f64 -5/224 (pow.f64 x 7)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/12 (pow.f64 x 3)) (*.f64 3/80 (pow.f64 x 5))))) |
1 |
(+.f64 (*.f64 1/2 x) 1) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 1)) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/16 (pow.f64 x 3)) 1))) |
| Outputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 1/2 x) (*.f64 -1/12 (pow.f64 x 3))) |
(fma.f64 1/2 x (*.f64 -1/12 (pow.f64 x 3))) |
(fma.f64 -1/12 (pow.f64 x 3) (*.f64 1/2 x)) |
(*.f64 x (fma.f64 x (*.f64 x -1/12) 1/2)) |
(+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/12 (pow.f64 x 3)) (*.f64 3/80 (pow.f64 x 5)))) |
(fma.f64 1/2 x (fma.f64 -1/12 (pow.f64 x 3) (*.f64 3/80 (pow.f64 x 5)))) |
(fma.f64 -1/12 (pow.f64 x 3) (fma.f64 1/2 x (*.f64 3/80 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x -1/12) 1/2) (*.f64 3/80 (pow.f64 x 5))) |
(+.f64 (*.f64 -5/224 (pow.f64 x 7)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/12 (pow.f64 x 3)) (*.f64 3/80 (pow.f64 x 5))))) |
(fma.f64 -5/224 (pow.f64 x 7) (fma.f64 1/2 x (fma.f64 -1/12 (pow.f64 x 3) (*.f64 3/80 (pow.f64 x 5))))) |
(fma.f64 -5/224 (pow.f64 x 7) (fma.f64 -1/12 (pow.f64 x 3) (fma.f64 1/2 x (*.f64 3/80 (pow.f64 x 5))))) |
(fma.f64 x (fma.f64 x (*.f64 x -1/12) 1/2) (fma.f64 3/80 (pow.f64 x 5) (*.f64 -5/224 (pow.f64 x 7)))) |
(fma.f64 1/2 x (fma.f64 -1/12 (pow.f64 x 3) (fma.f64 3/80 (pow.f64 x 5) (*.f64 -5/224 (pow.f64 x 7))))) |
(fma.f64 -1/12 (pow.f64 x 3) (fma.f64 3/80 (pow.f64 x 5) (fma.f64 -5/224 (pow.f64 x 7) (*.f64 1/2 x)))) |
1 |
(+.f64 (*.f64 1/2 x) 1) |
(fma.f64 1/2 x 1) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 1)) |
(fma.f64 1/8 (*.f64 x x) (fma.f64 1/2 x 1)) |
(fma.f64 1/2 x (fma.f64 1/8 (*.f64 x x) 1)) |
(fma.f64 x (fma.f64 x 1/8 1/2) 1) |
(+.f64 (*.f64 1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -1/16 (pow.f64 x 3)) 1))) |
(fma.f64 1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 -1/16 (pow.f64 x 3) 1))) |
(fma.f64 1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 (pow.f64 x 3) -1/16 1))) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x 1/8) (fma.f64 (pow.f64 x 3) -1/16 1))) |
(fma.f64 (pow.f64 x 3) -1/16 (fma.f64 x (fma.f64 x 1/8 1/2) 1)) |
(fma.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x -1/16 1/8))) 1) |
(fma.f64 x (fma.f64 x (fma.f64 x -1/16 1/8) 1/2) 1) |
Compiled 6689 to 5099 computations (23.8% saved)
5 alts after pruning (2 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 318 | 0 | 318 |
| Fresh | 0 | 2 | 2 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 318 | 5 | 323 |
| Status | Error | Program |
|---|---|---|
| 60.5b | (log.f64 (-.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))) | |
| ▶ | 48.8b | (log.f64 (/.f64 -1/2 x)) |
| ✓ | 46.2b | (+.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) |
| ✓ | 29.6b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
| ✓ | 46.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 96 to 70 computations (27.1% saved)
Compiled 1 to 1 computations (0% saved)
5 alts after pruning (1 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 3 | 3 |
| Total | 0 | 5 | 5 |
| Status | Error | Program |
|---|---|---|
| 60.5b | (log.f64 (-.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))) | |
| ✓ | 48.8b | (log.f64 (/.f64 -1/2 x)) |
| ✓ | 46.2b | (+.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) |
| ✓ | 29.6b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
| ✓ | 46.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 68 to 50 computations (26.5% saved)
Total -63.4b remaining (-33129.1%)
Threshold costs -63.4b (-33129.1%)
| Inputs |
|---|
(log.f64 (-.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))) |
(log.f64 (/.f64 -1/2 x)) |
(+.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (/.f64 -1/2 x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(+.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))) |
| Time | Error | Segments | Branch |
| 13.0ms | 0.2b | 3 | x |
| 5.0ms | 7.9b | 3 | (log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| 5.0ms | 7.9b | 3 | (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))) |
Compiled 94 to 65 computations (30.9% saved)
| 2× | binary-search |
| Time | Point | Range | ||||
|---|---|---|---|---|---|---|
| 19.0ms | 7.126106571810149e-5 | ∈ [ | 7.126106571810149e-5 | , | 0.502663845255351 | ] |
| 20.0ms | -1.886837515345653 | ∈ [ | -1.886837515345653 | , | -0.014091260904440087 | ] |
Compiled 14 to 10 computations (28.6% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 64 |
| 1 | 33 | 64 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -8497560731019355/4503599627370496) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 2629069283443231/36893488147419103232) (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (+.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) |
| Outputs |
|---|
(if (<=.f64 x -8497560731019355/4503599627370496) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 2629069283443231/36893488147419103232) (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (+.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) |
| 1× | fuel |
Compiled 88 to 66 computations (25% saved)
Loading profile data...