Time bar (total: 2.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 50% | 25% | 3 |
| 50% | 25% | 25% | 4 |
| 62.5% | 12.5% | 25% | 5 |
| 68.7% | 6.2% | 25% | 6 |
| 71.8% | 3.1% | 25% | 7 |
| 73.4% | 1.6% | 25% | 8 |
| 74.2% | 0.8% | 25% | 9 |
| 74.6% | 0.4% | 25% | 10 |
| 74.8% | 0.2% | 25% | 11 |
| 74.9% | 0.1% | 25% | 12 |
| 74.9% | 0% | 25% | 13 |
| 74.9% | 0% | 25% | 14 |
Compiled 10 to 8 computations (20% saved)
| 785.0ms | 8252× | body | 128 | valid |
| 1.0ms | 4× | body | 2048 | valid |
| 2× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 11 | 12 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| Outputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 11 | 12 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| Outputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 9 to 7 computations (22.2% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 18 to 14 computations (22.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (sqrt.f64 (+.f64 x 1)) |
| ✓ | 0.0b | (+.f64 1 (sqrt.f64 (+.f64 x 1))) |
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 2.0ms | x | @ | -inf | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 1.0ms | x | @ | 0 | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 0.0ms | x | @ | inf | (+.f64 1 (sqrt.f64 (+.f64 x 1))) |
| 0.0ms | x | @ | -inf | (+.f64 1 (sqrt.f64 (+.f64 x 1))) |
| 1× | batch-egg-rewrite |
| 804× | log1p-expm1-u_binary64 |
| 804× | expm1-log1p-u_binary64 |
| 81× | add-sqr-sqrt_binary64 |
| 78× | *-un-lft-identity_binary64 |
| 78× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 27 |
| 1 | 157 | 27 |
| 2 | 2258 | 27 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
(+.f64 1 (sqrt.f64 (+.f64 x 1))) |
(sqrt.f64 (+.f64 x 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 2) (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (+.f64 (neg.f64 (sqrt.f64 (+.f64 x 1))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (/.f64 x (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) (/.f64 x (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) (/.f64 (cbrt.f64 x) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (pow.f64 (+.f64 x 1) 3/2))) (-.f64 (+.f64 1 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (neg.f64 x)) (-.f64 1 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (+.f64 (neg.f64 (sqrt.f64 (+.f64 x 1))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 x) (log1p.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 x) (log1p.f64 (sqrt.f64 (+.f64 x 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (sqrt.f64 (+.f64 x 1)))) (/.f64 (+.f64 x 1) (-.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 3/2)) (/.f64 1 (-.f64 (+.f64 1 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (-.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 1 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))) (+.f64 1 (pow.f64 (+.f64 x 1) 3/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (sqrt.f64 (+.f64 x 1))) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 3/2)) (-.f64 (+.f64 1 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 3/2)) (+.f64 (+.f64 x 1) (-.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (-.f64 1 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 3/2))) (neg.f64 (-.f64 (+.f64 1 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 x)) (neg.f64 (-.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (sqrt.f64 (+.f64 x 1))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 (sqrt.f64 (+.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (+.f64 x 1) 1/4) (pow.f64 (+.f64 x 1) 1/4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x 1)) (cbrt.f64 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x 1) 1/4) (pow.f64 (+.f64 x 1) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2)) (sqrt.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 x 1)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 x x -1)) (sqrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (+.f64 1 (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 1/2 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 1 (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x 1)))))))) |
| 1× | egg-herbie |
| 803× | unswap-sqr_binary64 |
| 571× | distribute-lft-out_binary64 |
| 504× | fma-def_binary64 |
| 342× | *-commutative_binary64 |
| 197× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 136 |
| 1 | 92 | 132 |
| 2 | 210 | 130 |
| 3 | 600 | 109 |
| 4 | 1607 | 109 |
| 5 | 2603 | 109 |
| 6 | 4582 | 109 |
| 7 | 4725 | 109 |
| 8 | 4989 | 109 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3))))) |
2 |
(+.f64 (*.f64 1/2 x) 2) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 2)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 2 (*.f64 1/16 (pow.f64 x 3))))) |
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 1 (*.f64 1/16 (pow.f64 x 3))))) |
| Outputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x)) |
(fma.f64 -1/8 (*.f64 x x) (*.f64 1/2 x)) |
(fma.f64 1/2 x (*.f64 -1/8 (*.f64 x x))) |
(*.f64 x (+.f64 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3)))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/16 (pow.f64 x 3)))) |
(fma.f64 1/2 x (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x 1/16)))) |
(*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/16 -1/8)))) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3))))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 -5/128 (pow.f64 x 4) (*.f64 1/16 (pow.f64 x 3))))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 1/16 (pow.f64 x 3) (*.f64 -5/128 (pow.f64 x 4))))) |
(fma.f64 x (*.f64 x -1/8) (fma.f64 -5/128 (pow.f64 x 4) (fma.f64 1/16 (pow.f64 x 3) (*.f64 1/2 x)))) |
(fma.f64 x (fma.f64 x -1/8 1/2) (*.f64 (pow.f64 x 3) (+.f64 1/16 (*.f64 x -5/128)))) |
2 |
(+.f64 (*.f64 1/2 x) 2) |
(fma.f64 1/2 x 2) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) 2)) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x 2)) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) 2)) |
(fma.f64 x (fma.f64 x -1/8 1/2) 2) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 2 (*.f64 1/16 (pow.f64 x 3))))) |
(fma.f64 -1/8 (*.f64 x x) (+.f64 (fma.f64 1/2 x 2) (*.f64 1/16 (pow.f64 x 3)))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 1/16 (pow.f64 x 3) 2))) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) (fma.f64 1/16 (pow.f64 x 3) 2))) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x (fma.f64 x 1/16 -1/8)) 2)) |
(fma.f64 1/2 x (fma.f64 (*.f64 x x) (fma.f64 x 1/16 -1/8) 2)) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/16 -1/8) (fma.f64 1/2 x 2)) |
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 x (*.f64 x -1/8) 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 1 (*.f64 1/16 (pow.f64 x 3))))) |
(fma.f64 -1/8 (*.f64 x x) (+.f64 (fma.f64 1/2 x 1) (*.f64 1/16 (pow.f64 x 3)))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 1/16 (pow.f64 x 3) 1))) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) (fma.f64 1/16 (pow.f64 x 3) 1))) |
(fma.f64 1/2 x (fma.f64 (*.f64 x x) (fma.f64 x 1/16 -1/8) 1)) |
Compiled 1464 to 1145 computations (21.8% saved)
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 112 | 2 | 114 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 112 | 3 | 115 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 20.4b | (*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) | |
| ▶ | 0.3b | (/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))))) |
Compiled 69 to 53 computations (23.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))) |
| ✓ | 0.2b | (cbrt.f64 (+.f64 x 1)) |
| ✓ | 0.2b | (/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))))) |
| ✓ | 0.2b | (cbrt.f64 (sqrt.f64 (+.f64 x 1))) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (cbrt.f64 (sqrt.f64 (+.f64 x 1))) |
| 1.0ms | x | @ | inf | (cbrt.f64 (sqrt.f64 (+.f64 x 1))) |
| 1.0ms | x | @ | inf | (cbrt.f64 (+.f64 x 1)) |
| 1.0ms | x | @ | 0 | (cbrt.f64 (sqrt.f64 (+.f64 x 1))) |
| 0.0ms | x | @ | inf | (/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))))) |
| 1× | batch-egg-rewrite |
| 548× | prod-diff_binary64 |
| 374× | fma-def_binary64 |
| 161× | fma-neg_binary64 |
| 156× | log1p-udef_binary64 |
| 155× | expm1-udef_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 48 |
| 1 | 214 | 31 |
| 2 | 2857 | 31 |
| 1× | node limit |
| Inputs |
|---|
(cbrt.f64 (sqrt.f64 (+.f64 x 1))) |
(/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))))) |
(cbrt.f64 (+.f64 x 1)) |
(*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (+.f64 x 1) 1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (+.f64 x 1) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x 1) 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 1/6)) (cbrt.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (+.f64 x 1))) (cbrt.f64 (pow.f64 (+.f64 x 1) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (+.f64 x 1) 1/6)) (sqrt.f64 (pow.f64 (+.f64 x 1) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 2)))) (sqrt.f64 (cbrt.f64 (cbrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (pow.f64 (+.f64 x 1) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (+.f64 x 1) 1/4) 1/3) (pow.f64 (pow.f64 (+.f64 x 1) 1/4) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x 1)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x 1)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (pow.f64 (+.f64 x 1) 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (pow.f64 (+.f64 x 1) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (+.f64 x 1) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (+.f64 x 1) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (+.f64 x 1) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (pow.f64 (+.f64 x 1) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 x)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (+.f64 x 1) 1/6)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (+.f64 x 1) 1/6))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (cbrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (+.f64 (neg.f64 (sqrt.f64 (+.f64 x 1))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (/.f64 x (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) (/.f64 x (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) (/.f64 (cbrt.f64 x) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 1 (pow.f64 (+.f64 x 1) 3/2))) (-.f64 (+.f64 1 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (+.f64 x 1))) (-.f64 1 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (+.f64 (neg.f64 (sqrt.f64 (+.f64 x 1))) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 x) (log1p.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 x) (log1p.f64 (sqrt.f64 (+.f64 x 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x 1) 1/6) (pow.f64 (+.f64 x 1) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (+.f64 x 1))) (cbrt.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (+.f64 x 1))) (*.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 1/6)) (pow.f64 (+.f64 x 1) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 2))) (cbrt.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 x 1) 1/4) (sqrt.f64 (pow.f64 (+.f64 x 1) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (+.f64 x 1) 1/6)) (pow.f64 (+.f64 x 1) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 2)) 1/3) (cbrt.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (+.f64 x 1) 1/6) (cbrt.f64 (cbrt.f64 (+.f64 x 1)))) (cbrt.f64 (pow.f64 (+.f64 x 1) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (+.f64 1 (pow.f64 x 3))) (cbrt.f64 (-.f64 (fma.f64 x x 1) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (cbrt.f64 (fma.f64 x x -1)) (cbrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x 1)) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (+.f64 x 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 1/3 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/3 (log1p.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (+.f64 x 1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (hypot.f64 1 (pow.f64 x 3/2)) (hypot.f64 x (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 x x -1)) (sqrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 1/2 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/2 (log1p.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 3/2)) (/.f64 1 (-.f64 (+.f64 1 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 1 (sqrt.f64 (+.f64 x 1)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 1 (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (sqrt.f64 (+.f64 x 1))) 1)))))) |
| 1× | egg-herbie |
| 424× | associate-*l*_binary64 |
| 372× | fma-def_binary64 |
| 347× | associate-*r*_binary64 |
| 309× | times-frac_binary64 |
| 232× | associate-/l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 87 | 504 |
| 1 | 234 | 478 |
| 2 | 600 | 404 |
| 3 | 1768 | 352 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 1 (*.f64 1/6 x)) |
(+.f64 1 (+.f64 (*.f64 1/6 x) (*.f64 -5/72 (pow.f64 x 2)))) |
(+.f64 (*.f64 55/1296 (pow.f64 x 3)) (+.f64 1 (+.f64 (*.f64 1/6 x) (*.f64 -5/72 (pow.f64 x 2))))) |
(pow.f64 x 1/6) |
(+.f64 (pow.f64 x 1/6) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6))) |
(+.f64 (pow.f64 x 1/6) (+.f64 (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6)))) |
(+.f64 (*.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6)) (+.f64 (pow.f64 x 1/6) (+.f64 (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6))))) |
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) |
(+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x))) |
(+.f64 (*.f64 -5/72 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 2))) (+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x)))) |
(+.f64 (*.f64 -5/72 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 2))) (+.f64 (*.f64 55/1296 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 3))) (+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x))))) |
(*.f64 1/2 x) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3))))) |
1 |
(+.f64 1 (*.f64 1/3 x)) |
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 x))) |
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x)))) |
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 1 (*.f64 1/16 (pow.f64 x 3))))) |
| Outputs |
|---|
1 |
(+.f64 1 (*.f64 1/6 x)) |
(fma.f64 1/6 x 1) |
(+.f64 1 (+.f64 (*.f64 1/6 x) (*.f64 -5/72 (pow.f64 x 2)))) |
(+.f64 1 (fma.f64 1/6 x (*.f64 -5/72 (*.f64 x x)))) |
(fma.f64 1/6 x (fma.f64 x (*.f64 x -5/72) 1)) |
(+.f64 (*.f64 55/1296 (pow.f64 x 3)) (+.f64 1 (+.f64 (*.f64 1/6 x) (*.f64 -5/72 (pow.f64 x 2))))) |
(fma.f64 55/1296 (pow.f64 x 3) (+.f64 1 (fma.f64 1/6 x (*.f64 -5/72 (*.f64 x x))))) |
(+.f64 (fma.f64 1/6 x (*.f64 -5/72 (*.f64 x x))) (fma.f64 55/1296 (pow.f64 x 3) 1)) |
(fma.f64 55/1296 (pow.f64 x 3) (fma.f64 1/6 x (fma.f64 x (*.f64 x -5/72) 1))) |
(pow.f64 x 1/6) |
(+.f64 (pow.f64 x 1/6) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6))) |
(fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (pow.f64 x 1/6)) |
(+.f64 (pow.f64 x 1/6) (+.f64 (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6)))) |
(+.f64 (pow.f64 x 1/6) (fma.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6)))) |
(+.f64 (pow.f64 x 1/6) (fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)))) |
(fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (fma.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6) (pow.f64 x 1/6))) |
(+.f64 (*.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6)) (+.f64 (pow.f64 x 1/6) (+.f64 (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6)) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6))))) |
(fma.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6) (+.f64 (pow.f64 x 1/6) (fma.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6) (*.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6))))) |
(+.f64 (fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (*.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6))) (fma.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6) (pow.f64 x 1/6))) |
(fma.f64 55/1296 (pow.f64 (/.f64 1 (pow.f64 x 17)) 1/6) (fma.f64 1/6 (pow.f64 (/.f64 1 (pow.f64 x 5)) 1/6) (fma.f64 -5/72 (pow.f64 (/.f64 1 (pow.f64 x 11)) 1/6) (pow.f64 x 1/6)))) |
(exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) |
(pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) |
(pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) |
(*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) |
(pow.f64 (exp.f64 1/6) (log.f64 x)) |
(+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x))) |
(+.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) x))) |
(fma.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) x) (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))))) |
(fma.f64 1/6 (/.f64 (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) x) (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6))) |
(*.f64 (+.f64 (/.f64 1/6 x) 1) (pow.f64 (exp.f64 1/6) (log.f64 x))) |
(+.f64 (*.f64 -5/72 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 2))) (+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x)))) |
(fma.f64 -5/72 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 x x)) (+.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) x)))) |
(fma.f64 -5/72 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (*.f64 x x)) (fma.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) x) (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))))) |
(fma.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6) (*.f64 (/.f64 (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) x) (+.f64 1/6 (/.f64 -5/72 x)))) |
(+.f64 (pow.f64 (exp.f64 1/6) (log.f64 x)) (*.f64 (/.f64 (pow.f64 (exp.f64 1/6) (log.f64 x)) x) (+.f64 1/6 (/.f64 -5/72 x)))) |
(+.f64 (*.f64 -5/72 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 2))) (+.f64 (*.f64 55/1296 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (pow.f64 x 3))) (+.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) (*.f64 1/6 (/.f64 (exp.f64 (*.f64 1/6 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)))) x))))) |
(fma.f64 -5/72 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 x x)) (fma.f64 55/1296 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (pow.f64 x 3)) (+.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) (*.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -1))) x))))) |
(fma.f64 -5/72 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (*.f64 x x)) (fma.f64 55/1296 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) (pow.f64 x 3)) (fma.f64 1/6 (/.f64 (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x)))) x) (pow.f64 (exp.f64 1/6) (-.f64 (log.f64 -1) (log.f64 (/.f64 -1 x))))))) |
(fma.f64 55/1296 (/.f64 (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) (pow.f64 x 3)) (fma.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6) (*.f64 (/.f64 (*.f64 (pow.f64 (/.f64 -1 x) -1/6) (pow.f64 -1 1/6)) x) (+.f64 1/6 (/.f64 -5/72 x))))) |
(+.f64 (pow.f64 (exp.f64 1/6) (log.f64 x)) (*.f64 (/.f64 (pow.f64 (exp.f64 1/6) (log.f64 x)) x) (+.f64 (+.f64 1/6 (/.f64 55/1296 (*.f64 x x))) (/.f64 -5/72 x)))) |
(*.f64 1/2 x) |
(*.f64 x 1/2) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x)) |
(fma.f64 -1/8 (*.f64 x x) (*.f64 x 1/2)) |
(fma.f64 x 1/2 (*.f64 x (*.f64 x -1/8))) |
(*.f64 x (+.f64 1/2 (*.f64 x -1/8))) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3)))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (*.f64 (pow.f64 x 3) 1/16))) |
(fma.f64 (*.f64 x x) -1/8 (fma.f64 x 1/2 (*.f64 (pow.f64 x 3) 1/16))) |
(fma.f64 x 1/2 (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x 1/16)))) |
(*.f64 x (+.f64 1/2 (*.f64 x (+.f64 -1/8 (*.f64 x 1/16))))) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3))))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 -5/128 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 1/16)))) |
(fma.f64 (*.f64 x x) -1/8 (fma.f64 x 1/2 (fma.f64 (pow.f64 x 3) 1/16 (*.f64 -5/128 (pow.f64 x 4))))) |
(fma.f64 x 1/2 (fma.f64 x (*.f64 x -1/8) (fma.f64 -5/128 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 1/16)))) |
(fma.f64 x 1/2 (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x (+.f64 (*.f64 x -5/128) 1/16))))) |
1 |
(+.f64 1 (*.f64 1/3 x)) |
(+.f64 1 (*.f64 x 1/3)) |
(fma.f64 x 1/3 1) |
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (*.f64 1/3 x))) |
(fma.f64 -1/9 (*.f64 x x) (+.f64 1 (*.f64 x 1/3))) |
(fma.f64 (*.f64 x x) -1/9 (fma.f64 x 1/3 1)) |
(fma.f64 x 1/3 (fma.f64 (*.f64 x x) -1/9 1)) |
(fma.f64 x 1/3 (fma.f64 x (*.f64 x -1/9) 1)) |
(+.f64 (*.f64 -1/9 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 5/81 (pow.f64 x 3)) (*.f64 1/3 x)))) |
(fma.f64 -1/9 (*.f64 x x) (+.f64 1 (fma.f64 5/81 (pow.f64 x 3) (*.f64 x 1/3)))) |
(+.f64 (fma.f64 x 1/3 (*.f64 (pow.f64 x 3) 5/81)) (fma.f64 (*.f64 x x) -1/9 1)) |
(fma.f64 x (*.f64 x -1/9) (fma.f64 x 1/3 (fma.f64 (pow.f64 x 3) 5/81 1))) |
1 |
(+.f64 (*.f64 1/2 x) 1) |
(fma.f64 1/2 x 1) |
(fma.f64 x 1/2 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 (*.f64 x x) -1/8 (fma.f64 x 1/2 1)) |
(fma.f64 x 1/2 (fma.f64 (*.f64 x x) -1/8 1)) |
(fma.f64 x (*.f64 x -1/8) (fma.f64 x 1/2 1)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 1 (*.f64 1/16 (pow.f64 x 3))))) |
(fma.f64 -1/8 (*.f64 x x) (+.f64 (fma.f64 1/2 x 1) (*.f64 (pow.f64 x 3) 1/16))) |
(fma.f64 (*.f64 x x) -1/8 (fma.f64 x 1/2 (fma.f64 (pow.f64 x 3) 1/16 1))) |
(fma.f64 x (*.f64 x -1/8) (fma.f64 x 1/2 (fma.f64 (pow.f64 x 3) 1/16 1))) |
Compiled 2669 to 2142 computations (19.7% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 155 | 0 | 155 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 155 | 3 | 158 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| ▶ | 20.4b | (*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) |
| ✓ | 0.3b | (/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))))) |
Compiled 54 to 41 computations (24.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sqrt.f64 (+.f64 x 1)) | |
| 0.0b | (+.f64 1 (sqrt.f64 (+.f64 x 1))) | |
| ✓ | 0.0b | (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| ✓ | 0.2b | (*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 3.0ms | x | @ | -inf | (*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) |
| 3.0ms | x | @ | inf | (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 2.0ms | x | @ | -inf | (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 1.0ms | x | @ | 0 | (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 1.0ms | x | @ | inf | (*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) |
| 1× | batch-egg-rewrite |
| 484× | prod-diff_binary64 |
| 301× | fma-def_binary64 |
| 175× | fma-neg_binary64 |
| 166× | log1p-udef_binary64 |
| 165× | expm1-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 26 |
| 1 | 228 | 26 |
| 2 | 2902 | 26 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) |
(/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 x) (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 x) (*.f64 (pow.f64 x -1/2) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (pow.f64 x -1/2) (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) (sqrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (*.f64 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) (sqrt.f64 x)) (pow.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 1 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (pow.f64 x -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 2) (/.f64 1 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (/.f64 1 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sqrt.f64 x)) (*.f64 -1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) (sqrt.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sqrt.f64 x)) (*.f64 (pow.f64 x -1/2) (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sqrt.f64 x)) (*.f64 (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1)))) (pow.f64 x -1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (sqrt.f64 x)) (*.f64 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) (sqrt.f64 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 (sqrt.f64 x))) (*.f64 -1 (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (neg.f64 (sqrt.f64 x))) (*.f64 (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x)) (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (sqrt.f64 x)) (*.f64 (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x))) (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sqrt.f64 x) (neg.f64 (sqrt.f64 x))) (*.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (neg.f64 (sqrt.f64 x)) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (neg.f64 (sqrt.f64 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3/2) (pow.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 x) (log1p.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 x) (log1p.f64 (sqrt.f64 (+.f64 x 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (*.f64 (cbrt.f64 (sqrt.f64 x)) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (cbrt.f64 (/.f64 x (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 2))) (cbrt.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x 1/4) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) (/.f64 (pow.f64 x 1/4) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/4) (/.f64 (pow.f64 x 1/4) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x 1/4) (*.f64 (pow.f64 x 1/4) (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (/.f64 1 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 x)) (/.f64 1 (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 x) 1) (/.f64 (cbrt.f64 (sqrt.f64 x)) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (/.f64 1 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (cbrt.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 x 1/4) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)) (/.f64 (pow.f64 x 1/4) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 x) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) (/.f64 (cbrt.f64 (sqrt.f64 x)) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (pow.f64 (+.f64 x 1) 3/2))) (-.f64 (+.f64 1 (+.f64 x 1)) (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (-.f64 0 x)) (-.f64 1 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 x 1/4) (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) (sqrt.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (sqrt.f64 x) (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 x (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3/2) (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 (sqrt.f64 x)) (log1p.f64 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log.f64 (sqrt.f64 x)) (log1p.f64 (sqrt.f64 (+.f64 x 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))))) |
| 1× | egg-herbie |
| 921× | fma-def_binary64 |
| 803× | unswap-sqr_binary64 |
| 545× | distribute-lft-out_binary64 |
| 343× | *-commutative_binary64 |
| 197× | distribute-rgt-out_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 22 | 58 |
| 1 | 56 | 58 |
| 2 | 128 | 56 |
| 3 | 384 | 47 |
| 4 | 1225 | 42 |
| 5 | 3040 | 42 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3)))) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3))))) |
| Outputs |
|---|
(*.f64 1/2 x) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x)) |
(fma.f64 -1/8 (*.f64 x x) (*.f64 1/2 x)) |
(*.f64 x (+.f64 (*.f64 x -1/8) 1/2)) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (*.f64 1/16 (pow.f64 x 3)))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/16 (pow.f64 x 3)))) |
(fma.f64 1/2 x (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x 1/16)))) |
(*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/16 -1/8)))) |
(*.f64 x (fma.f64 x (fma.f64 x 1/16 -1/8) 1/2)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/2 x) (+.f64 (*.f64 -5/128 (pow.f64 x 4)) (*.f64 1/16 (pow.f64 x 3))))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 -5/128 (pow.f64 x 4) (*.f64 1/16 (pow.f64 x 3))))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (fma.f64 1/16 (pow.f64 x 3) (*.f64 -5/128 (pow.f64 x 4))))) |
(fma.f64 1/2 x (fma.f64 x (*.f64 x -1/8) (fma.f64 1/16 (pow.f64 x 3) (*.f64 -5/128 (pow.f64 x 4))))) |
(fma.f64 x (fma.f64 x -1/8 1/2) (*.f64 (pow.f64 x 3) (+.f64 1/16 (*.f64 x -5/128)))) |
(*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x (fma.f64 x -5/128 1/16) -1/8)))) |
Compiled 2740 to 1941 computations (29.2% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 160 | 0 | 160 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 160 | 3 | 163 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| ✓ | 20.4b | (*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) |
| ✓ | 0.3b | (/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))))) |
Compiled 39 to 30 computations (23.1% saved)
Total -20.6b remaining (-9752.7%)
Threshold costs -20.6b (-9752.7%)
| Inputs |
|---|
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) |
(/.f64 x (+.f64 1 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 x 1))) (cbrt.f64 (+.f64 x 1))))) |
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| Outputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| Time | Error | Segments | Branch |
| 4.0ms | 0.2b | 1 | x |
| 4.0ms | 0.2b | 1 | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 48 to 36 computations (25% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 12 |
| 1 | 11 | 12 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| Outputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 1× | done |
Compiled 18 to 14 computations (22.2% saved)
Loading profile data...