Time bar (total: 3.2s)
| 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 |
Compiled 10 to 8 computations (20% saved)
| 1.4s | 8254× | body | 256 | valid |
| 1.0ms | 2× | 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 10 to 8 computations (20% 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 9 to 7 computations (22.2% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 1 (sqrt.f64 (+.f64 x 1))) |
| ✓ | 0.0b | (sqrt.f64 (+.f64 x 1)) |
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 24 to 18 computations (25% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 4.0ms | x | @ | inf | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 3.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)))) |
| 1.0ms | x | @ | inf | (sqrt.f64 (+.f64 x 1)) |
| 1.0ms | x | @ | -inf | (sqrt.f64 (+.f64 x 1)) |
| 1× | batch-egg-rewrite |
| 859× | pow1_binary64 |
| 804× | log1p-expm1-u_binary64 |
| 804× | expm1-log1p-u_binary64 |
| 803× | add-log-exp_binary64 |
| 786× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 27 |
| 1 | 157 | 27 |
| 2 | 2282 | 27 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
(sqrt.f64 (+.f64 x 1)) |
(+.f64 1 (sqrt.f64 (+.f64 x 1))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.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 1 (+.f64 1 (-.f64 x (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 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 expm1.f64 (log1p.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(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 -.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 (+.f64 1 (pow.f64 x 3))) (sqrt.f64 (fma.f64 x x (-.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 (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 cbrt.f64 (pow.f64 (+.f64 x 1) 3/2))))) (#(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 log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 x) 1/2)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.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 1 (+.f64 1 (-.f64 x (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 1 (+.f64 1 (-.f64 x (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 1 (+.f64 1 (-.f64 x (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 1 (+.f64 1 (-.f64 x (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 cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) 3))))) (#(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 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 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))))) |
| 1× | egg-herbie |
| 803× | unswap-sqr_binary64 |
| 601× | distribute-lft-out_binary64 |
| 595× | *-commutative_binary64 |
| 504× | fma-def_binary64 |
| 486× | sqr-pow_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 33 | 136 |
| 1 | 92 | 132 |
| 2 | 210 | 130 |
| 3 | 600 | 109 |
| 4 | 1651 | 109 |
| 5 | 2655 | 109 |
| 6 | 4634 | 109 |
| 7 | 4777 | 109 |
| 8 | 5041 | 109 |
| 9 | 5410 | 109 |
| 10 | 6151 | 109 |
| 11 | 7161 | 109 |
| 12 | 7696 | 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))))) |
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))))) |
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))))) |
| 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 x (*.f64 x -1/8))) |
(*.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 (*.f64 x 1/16) -1/8))) |
(*.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 -5/128 (pow.f64 x 4) (*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/16 -1/8))))) |
(fma.f64 x (fma.f64 x -1/8 1/2) (*.f64 (pow.f64 x 3) (+.f64 1/16 (*.f64 x -5/128)))) |
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 x (*.f64 x (fma.f64 x 1/16 -1/8)) 1)) |
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)) |
Compiled 1387 to 1086 computations (21.7% saved)
6 alts after pruning (5 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 102 | 5 | 107 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 102 | 6 | 108 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.2b | (*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
| ▶ | 21.0b | (/.f64 x 2) |
| ▶ | 20.5b | (/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| ▶ | 38.8b | (/.f64 x (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1))) |
| ▶ | 22.0b | (*.f64 x (fma.f64 x -1/8 1/2)) |
Compiled 91 to 69 computations (24.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (+.f64 1 (sqrt.f64 (+.f64 x 1))) | |
| 0.0b | (sqrt.f64 (+.f64 x 1)) | |
| ✓ | 0.1b | (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| ✓ | 0.1b | (*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
Compiled 34 to 27 computations (20.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 1.0ms | x | @ | -inf | (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 1.0ms | x | @ | 0 | (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 1.0ms | x | @ | inf | (*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
| 1.0ms | x | @ | -inf | (*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
| 1× | batch-egg-rewrite |
| 914× | pow1_binary64 |
| 853× | log1p-expm1-u_binary64 |
| 853× | expm1-log1p-u_binary64 |
| 852× | add-log-exp_binary64 |
| 834× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 24 |
| 1 | 178 | 24 |
| 2 | 2457 | 24 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
(/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 x) 2) (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 x) (/.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (hypot.f64 1 (pow.f64 (+.f64 1 x) 1/4))) (hypot.f64 1 (pow.f64 (+.f64 1 x) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 2)) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 x) (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x -1) (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log.f64 x) (log1p.f64 (sqrt.f64 (+.f64 1 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))))) (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) -2)) (/.f64 1 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) -1/2) (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (+.f64 -1 (neg.f64 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 2) -1) (pow.f64 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 1 x) 1/4)) -1) (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 1 x) 1/4)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 1 (pow.f64 (+.f64 1 x) 3/2))) (+.f64 1 (+.f64 x (-.f64 1 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 0 x)) (-.f64 1 (sqrt.f64 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (sqrt.f64 (+.f64 1 x))) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log1p.f64 (sqrt.f64 (+.f64 1 x))))))))) |
| 1× | egg-herbie |
| 803× | unswap-sqr_binary64 |
| 583× | *-commutative_binary64 |
| 549× | distribute-lft-out_binary64 |
| 486× | sqr-pow_binary64 |
| 462× | associate-+l+_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 30 | 99 |
| 1 | 81 | 95 |
| 2 | 196 | 88 |
| 3 | 573 | 74 |
| 4 | 1566 | 74 |
| 5 | 2475 | 74 |
| 6 | 4495 | 74 |
| 7 | 4643 | 74 |
| 8 | 4937 | 74 |
| 9 | 5332 | 74 |
| 10 | 6211 | 74 |
| 11 | 7119 | 74 |
| 12 | 7704 | 74 |
| 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))))) |
1/2 |
(+.f64 (*.f64 -1/8 x) 1/2) |
(+.f64 (*.f64 -1/8 x) (+.f64 1/2 (*.f64 1/16 (pow.f64 x 2)))) |
(+.f64 (*.f64 -1/8 x) (+.f64 (*.f64 -5/128 (pow.f64 x 3)) (+.f64 1/2 (*.f64 1/16 (pow.f64 x 2))))) |
| 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 (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/16 (pow.f64 x 3) (*.f64 x (fma.f64 x -1/8 1/2))) |
(*.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))))) |
(+.f64 (*.f64 x (fma.f64 x -1/8 1/2)) (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) (fma.f64 x -5/128 1/16))) |
(*.f64 x (fma.f64 (*.f64 x x) (fma.f64 x -5/128 1/16) (fma.f64 x -1/8 1/2))) |
(*.f64 x (fma.f64 x -1/8 (fma.f64 (*.f64 x x) (fma.f64 x -5/128 1/16) 1/2))) |
1/2 |
(+.f64 (*.f64 -1/8 x) 1/2) |
(fma.f64 -1/8 x 1/2) |
(fma.f64 x -1/8 1/2) |
(+.f64 (*.f64 -1/8 x) (+.f64 1/2 (*.f64 1/16 (pow.f64 x 2)))) |
(+.f64 (fma.f64 -1/8 x 1/2) (*.f64 (*.f64 x x) 1/16)) |
(fma.f64 x -1/8 (fma.f64 (*.f64 x x) 1/16 1/2)) |
(fma.f64 x -1/8 (fma.f64 x (*.f64 x 1/16) 1/2)) |
(fma.f64 x (fma.f64 x 1/16 -1/8) 1/2) |
(+.f64 (*.f64 -1/8 x) (+.f64 (*.f64 -5/128 (pow.f64 x 3)) (+.f64 1/2 (*.f64 1/16 (pow.f64 x 2))))) |
(fma.f64 -1/8 x (fma.f64 -5/128 (pow.f64 x 3) (+.f64 1/2 (*.f64 (*.f64 x x) 1/16)))) |
(fma.f64 x -1/8 (fma.f64 (pow.f64 x 3) -5/128 (fma.f64 (*.f64 x x) 1/16 1/2))) |
(fma.f64 x -1/8 (fma.f64 x (*.f64 x 1/16) (fma.f64 (pow.f64 x 3) -5/128 1/2))) |
(fma.f64 x -1/8 (fma.f64 (*.f64 x x) (fma.f64 x -5/128 1/16) 1/2)) |
(fma.f64 (*.f64 x x) (fma.f64 x -5/128 1/16) (fma.f64 x -1/8 1/2)) |
Compiled 6 to 4 computations (33.3% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
Compiled 19 to 14 computations (26.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| 0.0ms | x | @ | inf | (/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| 0.0ms | x | @ | -inf | (/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| 1× | batch-egg-rewrite |
| 831× | pow1_binary64 |
| 780× | add-log-exp_binary64 |
| 779× | log1p-expm1-u_binary64 |
| 779× | expm1-log1p-u_binary64 |
| 767× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 8 |
| 1 | 159 | 8 |
| 2 | 2069 | 8 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (fma.f64 x 1/2 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (fma.f64 x 1/2 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (fma.f64 x 1/2 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (fma.f64 x 1/2 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (fma.f64 x 1/2 2))) (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x 1/2 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x 1/2 2))) 2) (cbrt.f64 (/.f64 x (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (fma.f64 x 1/2 2))) (sqrt.f64 (/.f64 x (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x 1/2 2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (fma.f64 x 1/2 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (fma.f64 x 1/2 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (fma.f64 x 1/2 2)) 2)) (/.f64 x (cbrt.f64 (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (fma.f64 x 1/2 2)) 2)) (cbrt.f64 (/.f64 x (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (fma.f64 x 1/2 2)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 x 1/2 2))) (/.f64 x (sqrt.f64 (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (fma.f64 x 1/2 2))) (/.f64 (cbrt.f64 x) (sqrt.f64 (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 8 (*.f64 1/8 (pow.f64 x 3)))) (+.f64 (*.f64 1/4 (*.f64 x x)) (-.f64 4 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 (*.f64 1/4 (*.f64 x x)) -4)) (fma.f64 x 1/2 -2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (fma.f64 x 1/2 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (fma.f64 x 1/2 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (fma.f64 x 1/2 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (fma.f64 x 1/2 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x 1/2 2) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (fma.f64 x 1/2 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (fma.f64 x 1/2 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x 1/2 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (fma.f64 x 1/2 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (fma.f64 x 1/2 2)))))))) |
| 1× | egg-herbie |
| 805× | unswap-sqr_binary64 |
| 741× | distribute-neg-frac_binary64 |
| 533× | associate-/r*_binary64 |
| 369× | fma-def_binary64 |
| 334× | times-frac_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 37 | 156 |
| 1 | 99 | 156 |
| 2 | 239 | 154 |
| 3 | 680 | 145 |
| 4 | 2199 | 145 |
| 5 | 6016 | 145 |
| 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/32 (pow.f64 x 3)) (*.f64 1/2 x))) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/32 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (*.f64 -1/128 (pow.f64 x 4))))) |
2 |
(-.f64 2 (*.f64 8 (/.f64 1 x))) |
(-.f64 (+.f64 2 (*.f64 32 (/.f64 1 (pow.f64 x 2)))) (*.f64 8 (/.f64 1 x))) |
(-.f64 (+.f64 2 (*.f64 32 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 8 (/.f64 1 x)) (*.f64 128 (/.f64 1 (pow.f64 x 3))))) |
2 |
(-.f64 2 (*.f64 8 (/.f64 1 x))) |
(-.f64 (+.f64 2 (*.f64 32 (/.f64 1 (pow.f64 x 2)))) (*.f64 8 (/.f64 1 x))) |
(-.f64 (+.f64 2 (*.f64 32 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 8 (/.f64 1 x)) (*.f64 128 (/.f64 1 (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 x (*.f64 x -1/8))) |
(*.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/32 (pow.f64 x 3)) (*.f64 1/2 x))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/32 (pow.f64 x 3) (*.f64 1/2 x))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/2 x (*.f64 1/32 (pow.f64 x 3)))) |
(fma.f64 1/2 x (*.f64 (*.f64 x x) (+.f64 -1/8 (*.f64 x 1/32)))) |
(*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/32 -1/8)))) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (+.f64 (*.f64 1/32 (pow.f64 x 3)) (+.f64 (*.f64 1/2 x) (*.f64 -1/128 (pow.f64 x 4))))) |
(fma.f64 -1/8 (*.f64 x x) (fma.f64 1/32 (pow.f64 x 3) (fma.f64 1/2 x (*.f64 -1/128 (pow.f64 x 4))))) |
(fma.f64 x (*.f64 x -1/8) (fma.f64 1/32 (pow.f64 x 3) (fma.f64 -1/128 (pow.f64 x 4) (*.f64 1/2 x)))) |
(fma.f64 x (fma.f64 x -1/8 1/2) (*.f64 (pow.f64 x 3) (+.f64 1/32 (*.f64 x -1/128)))) |
2 |
(-.f64 2 (*.f64 8 (/.f64 1 x))) |
(-.f64 2 (/.f64 8 x)) |
(+.f64 2 (/.f64 -8 x)) |
(-.f64 (+.f64 2 (*.f64 32 (/.f64 1 (pow.f64 x 2)))) (*.f64 8 (/.f64 1 x))) |
(-.f64 (+.f64 2 (/.f64 32 (*.f64 x x))) (/.f64 8 x)) |
(+.f64 (/.f64 32 (*.f64 x x)) (-.f64 2 (/.f64 8 x))) |
(+.f64 2 (+.f64 (/.f64 32 (*.f64 x x)) (/.f64 -8 x))) |
(+.f64 (+.f64 2 (/.f64 -8 x)) (/.f64 32 (*.f64 x x))) |
(-.f64 (+.f64 2 (*.f64 32 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 8 (/.f64 1 x)) (*.f64 128 (/.f64 1 (pow.f64 x 3))))) |
(+.f64 2 (-.f64 (/.f64 32 (*.f64 x x)) (+.f64 (/.f64 8 x) (/.f64 128 (pow.f64 x 3))))) |
(+.f64 (/.f64 -8 x) (+.f64 (+.f64 2 (/.f64 32 (*.f64 x x))) (/.f64 -128 (pow.f64 x 3)))) |
(+.f64 (/.f64 32 (*.f64 x x)) (+.f64 (+.f64 2 (/.f64 -8 x)) (/.f64 -128 (pow.f64 x 3)))) |
(+.f64 (-.f64 2 (/.f64 8 x)) (*.f64 (/.f64 1 (*.f64 x x)) (+.f64 32 (/.f64 -128 x)))) |
(-.f64 2 (+.f64 (/.f64 8 x) (+.f64 (/.f64 128 (pow.f64 x 3)) (/.f64 -32 (*.f64 x x))))) |
2 |
(-.f64 2 (*.f64 8 (/.f64 1 x))) |
(-.f64 2 (/.f64 8 x)) |
(+.f64 2 (/.f64 -8 x)) |
(-.f64 (+.f64 2 (*.f64 32 (/.f64 1 (pow.f64 x 2)))) (*.f64 8 (/.f64 1 x))) |
(-.f64 (+.f64 2 (/.f64 32 (*.f64 x x))) (/.f64 8 x)) |
(+.f64 (/.f64 32 (*.f64 x x)) (-.f64 2 (/.f64 8 x))) |
(+.f64 2 (+.f64 (/.f64 32 (*.f64 x x)) (/.f64 -8 x))) |
(+.f64 (+.f64 2 (/.f64 -8 x)) (/.f64 32 (*.f64 x x))) |
(-.f64 (+.f64 2 (*.f64 32 (/.f64 1 (pow.f64 x 2)))) (+.f64 (*.f64 8 (/.f64 1 x)) (*.f64 128 (/.f64 1 (pow.f64 x 3))))) |
(+.f64 2 (-.f64 (/.f64 32 (*.f64 x x)) (+.f64 (/.f64 8 x) (/.f64 128 (pow.f64 x 3))))) |
(+.f64 (/.f64 -8 x) (+.f64 (+.f64 2 (/.f64 32 (*.f64 x x))) (/.f64 -128 (pow.f64 x 3)))) |
(+.f64 (/.f64 32 (*.f64 x x)) (+.f64 (+.f64 2 (/.f64 -8 x)) (/.f64 -128 (pow.f64 x 3)))) |
(+.f64 (-.f64 2 (/.f64 8 x)) (*.f64 (/.f64 1 (*.f64 x x)) (+.f64 32 (/.f64 -128 x)))) |
(-.f64 2 (+.f64 (/.f64 8 x) (+.f64 (/.f64 128 (pow.f64 x 3)) (/.f64 -32 (*.f64 x x))))) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 x (fma.f64 x -1/8 1/2)) |
Compiled 14 to 10 computations (28.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (*.f64 x (fma.f64 x -1/8 1/2)) |
| 1.0ms | x | @ | 0 | (*.f64 x (fma.f64 x -1/8 1/2)) |
| 1.0ms | x | @ | inf | (*.f64 x (fma.f64 x -1/8 1/2)) |
| 1× | batch-egg-rewrite |
| 533× | pow1_binary64 |
| 521× | add-sqr-sqrt_binary64 |
| 496× | add-log-exp_binary64 |
| 496× | log1p-expm1-u_binary64 |
| 496× | expm1-log1p-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 8 |
| 1 | 122 | 8 |
| 2 | 1333 | 8 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (fma.f64 x -1/8 1/2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -1/8) x) (*.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -1/8)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x -1/8 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x -1/8 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x -1/8 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -1/8 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -1/8 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x -1/8 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 x -1/8 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -1/8 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x -1/8 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x -1/8 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x -1/8 1/2)))))))) |
| 1× | egg-herbie |
| 778× | sqr-pow_binary64 |
| 565× | cube-prod_binary64 |
| 563× | fabs-mul_binary64 |
| 540× | associate-*l*_binary64 |
| 434× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 117 |
| 1 | 18 | 117 |
| 2 | 31 | 108 |
| 3 | 67 | 90 |
| 4 | 166 | 90 |
| 5 | 473 | 90 |
| 6 | 1711 | 90 |
| 7 | 2960 | 90 |
| 8 | 3164 | 90 |
| 9 | 3377 | 90 |
| 10 | 3597 | 90 |
| 11 | 3908 | 90 |
| 12 | 4310 | 90 |
| 13 | 4819 | 90 |
| 14 | 5385 | 90 |
| 15 | 6075 | 90 |
| 16 | 6912 | 90 |
| 17 | 7302 | 90 |
| 18 | 7594 | 90 |
| 19 | 7874 | 90 |
| 20 | 7948 | 90 |
| 21 | 7984 | 90 |
| 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 1/2 x)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x)) |
(*.f64 -1/8 (pow.f64 x 2)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.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 1/2 x)) |
(*.f64 -1/8 (pow.f64 x 2)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.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 1/2 x)) |
| 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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(*.f64 -1/8 (pow.f64 x 2)) |
(*.f64 -1/8 (*.f64 x x)) |
(*.f64 x (*.f64 x -1/8)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(*.f64 -1/8 (pow.f64 x 2)) |
(*.f64 -1/8 (*.f64 x x)) |
(*.f64 x (*.f64 x -1/8)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sqrt.f64 (+.f64 x 1)) | |
| ✓ | 0.2b | (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1)) |
| ✓ | 0.2b | (/.f64 x (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1))) |
| ✓ | 4.4b | (-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
Compiled 34 to 25 computations (26.5% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1)) |
| 1.0ms | x | @ | -inf | (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1)) |
| 0.0ms | x | @ | inf | (-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
| 0.0ms | x | @ | 0 | (-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
| 1× | batch-egg-rewrite |
| 925× | pow1_binary64 |
| 870× | log1p-expm1-u_binary64 |
| 870× | expm1-log1p-u_binary64 |
| 869× | add-log-exp_binary64 |
| 97× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 30 |
| 1 | 187 | 25 |
| 2 | 2911 | 25 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
(/.f64 x (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1))) |
(/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (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 x (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2)) (cbrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 1) 3/2) -1) (/.f64 1 (+.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x) 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 (sqrt.f64 x) x) (/.f64 (sqrt.f64 x) (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 x (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) x) (/.f64 (cbrt.f64 x) (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(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 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(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 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 1) 1/4) 1) (-.f64 (pow.f64 (+.f64 x 1) 1/4) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (neg.f64 x)) (neg.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (+.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 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (+.f64 (pow.f64 (+.f64 x 1) 3/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x x) (*.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 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 (sqrt.f64 x) (/.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))) (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 x) (neg.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 3/2) -1) (+.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 3/2) -1) (+.f64 (+.f64 x 1) (-.f64 1 (*.f64 (sqrt.f64 (+.f64 x 1)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 -1 (neg.f64 (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 3/2) -1)) (neg.f64 (+.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (+.f64 x 1) 3/2) -1)) (*.f64 x (+.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) x)))) (#(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 pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 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 expm1.f64 (*.f64 (log1p.f64 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(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 +.f64 (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 (/.f64 (pow.f64 (+.f64 x 1) 3/2) (+.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (/.f64 1 (+.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2)) (cbrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 1) 3/2) -1) (/.f64 1 (+.f64 (+.f64 x 1) (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x) 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 (sqrt.f64 x) x) (/.f64 (sqrt.f64 x) (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 x (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) x) (/.f64 (cbrt.f64 x) (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(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 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(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 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (/.f64 x (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) (/.f64 (cbrt.f64 x) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 1) 1/4) 1) (-.f64 (pow.f64 (+.f64 x 1) 1/4) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (neg.f64 x)) (neg.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 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 expm1.f64 (*.f64 (log1p.f64 x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(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 +.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 (exp.f64 (log1p.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(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 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(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 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (expm1.f64 (*.f64 (log1p.f64 x) 1/2))) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (expm1.f64 (*.f64 (log1p.f64 x) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2))) (/.f64 x (cbrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2))) (cbrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (cbrt.f64 (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 2))) (/.f64 (sqrt.f64 x) (cbrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))) (/.f64 x (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))) (/.f64 (cbrt.f64 x) (sqrt.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (+.f64 (pow.f64 (+.f64 x 1) 3/2) -1)) (+.f64 (+.f64 x 1) (+.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 (sqrt.f64 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/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 cbrt.f64 (/.f64 (pow.f64 x 3) (pow.f64 (expm1.f64 (*.f64 (log1p.f64 x) 1/2)) 3)))))) (#(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 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 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))))) |
| 1× | egg-herbie |
| 803× | unswap-sqr_binary64 |
| 601× | distribute-lft-out_binary64 |
| 570× | *-commutative_binary64 |
| 486× | sqr-pow_binary64 |
| 396× | fma-def_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 155 |
| 1 | 73 | 153 |
| 2 | 169 | 149 |
| 3 | 496 | 125 |
| 4 | 1476 | 125 |
| 5 | 2481 | 125 |
| 6 | 4460 | 125 |
| 7 | 4603 | 125 |
| 8 | 4867 | 125 |
| 9 | 5236 | 125 |
| 10 | 5939 | 125 |
| 11 | 6913 | 125 |
| 12 | 7409 | 125 |
| 13 | 7961 | 125 |
| 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))))) |
(*.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))))) |
| 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 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 -5/128 (pow.f64 x 4) (*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/16 -1/8))))) |
(fma.f64 x (fma.f64 x -1/8 1/2) (*.f64 (pow.f64 x 3) (+.f64 1/16 (*.f64 x -5/128)))) |
(*.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 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 -5/128 (pow.f64 x 4) (*.f64 x (+.f64 1/2 (*.f64 x (fma.f64 x 1/16 -1/8))))) |
(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 -1/8 (*.f64 x x) 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 x (fma.f64 x -1/8 1/2) (fma.f64 1/16 (pow.f64 x 3) 2)) |
Compiled 4609 to 3463 computations (24.9% saved)
7 alts after pruning (3 fresh and 4 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 336 | 3 | 339 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 4 | 5 |
| Total | 338 | 7 | 345 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
| ✓ | 21.0b | (/.f64 x 2) |
| ▶ | 22.0b | (*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
| 60.7b | 2 | |
| ✓ | 20.5b | (/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| ▶ | 38.8b | (-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 49 to 39 computations (20.4% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
Compiled 19 to 14 computations (26.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
| 0.0ms | x | @ | inf | (*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
| 0.0ms | x | @ | -inf | (*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
| 1× | batch-egg-rewrite |
| 742× | pow1_binary64 |
| 695× | add-log-exp_binary64 |
| 695× | log1p-expm1-u_binary64 |
| 695× | expm1-log1p-u_binary64 |
| 684× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 8 |
| 1 | 153 | 8 |
| 2 | 1855 | 8 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/8 x) x) (*.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 x) (*.f64 (*.f64 -1/8 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 -1/8 x)) (*.f64 x 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 1/2) (*.f64 x (*.f64 -1/8 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 -1/8 x 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1/8 (*.f64 (pow.f64 x 3) -1/512)) x) (+.f64 (pow.f64 (*.f64 -1/8 x) 2) (-.f64 1/4 (*.f64 x -1/16))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (*.f64 -1/8 x) 2) -1/4) x) (fma.f64 -1/8 x -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 1/8 (*.f64 (pow.f64 x 3) -1/512))) (+.f64 (pow.f64 (*.f64 -1/8 x) 2) (-.f64 1/4 (*.f64 x -1/16))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 (pow.f64 (*.f64 -1/8 x) 2) -1/4)) (fma.f64 -1/8 x -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 -1/8 x 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 -1/8 x 1/2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 -1/8 x 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 -1/8 x 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 -1/8 x 1/2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 -1/8 x 1/2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 -1/8 x 1/2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 -1/8 x 1/2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 -1/8 x 1/2) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 -1/8 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 -1/8 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 -1/8 x 1/2)))))))) |
| 1× | egg-herbie |
| 778× | sqr-pow_binary64 |
| 565× | cube-prod_binary64 |
| 563× | fabs-mul_binary64 |
| 540× | associate-*l*_binary64 |
| 434× | unswap-sqr_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 117 |
| 1 | 18 | 117 |
| 2 | 31 | 108 |
| 3 | 67 | 90 |
| 4 | 166 | 90 |
| 5 | 473 | 90 |
| 6 | 1711 | 90 |
| 7 | 2960 | 90 |
| 8 | 3164 | 90 |
| 9 | 3377 | 90 |
| 10 | 3597 | 90 |
| 11 | 3908 | 90 |
| 12 | 4310 | 90 |
| 13 | 4819 | 90 |
| 14 | 5385 | 90 |
| 15 | 6075 | 90 |
| 16 | 6912 | 90 |
| 17 | 7302 | 90 |
| 18 | 7594 | 90 |
| 19 | 7874 | 90 |
| 20 | 7948 | 90 |
| 21 | 7984 | 90 |
| 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 1/2 x)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.f64 1/2 x)) |
(*.f64 -1/8 (pow.f64 x 2)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.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 1/2 x)) |
(*.f64 -1/8 (pow.f64 x 2)) |
(+.f64 (*.f64 -1/8 (pow.f64 x 2)) (*.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 1/2 x)) |
| 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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(*.f64 -1/8 (pow.f64 x 2)) |
(*.f64 -1/8 (*.f64 x x)) |
(*.f64 x (*.f64 x -1/8)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(*.f64 -1/8 (pow.f64 x 2)) |
(*.f64 -1/8 (*.f64 x x)) |
(*.f64 x (*.f64 x -1/8)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(+.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 1/2 (*.f64 x -1/8))) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (sqrt.f64 (+.f64 x 1)) | |
| 4.4b | (-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
Compiled 16 to 12 computations (25% saved)
Compiled 1402 to 1079 computations (23% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 125 | 0 | 125 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 5 | 5 |
| Total | 125 | 7 | 132 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
| ✓ | 21.0b | (/.f64 x 2) |
| ✓ | 22.0b | (*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
| 60.7b | 2 | |
| ✓ | 20.5b | (/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| ✓ | 38.8b | (-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 49 to 39 computations (20.4% saved)
Compiled 1 to 1 computations (0% saved)
7 alts after pruning (1 fresh and 6 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 6 | 6 |
| Total | 0 | 7 | 7 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.2b | (*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
| ✓ | 21.0b | (/.f64 x 2) |
| ✓ | 22.0b | (*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
| 60.7b | 2 | |
| ✓ | 20.5b | (/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| ✓ | 38.8b | (-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
| ✓ | 0.2b | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 49 to 39 computations (20.4% saved)
| Inputs |
|---|
2 |
(/.f64 x 2) |
(*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
(/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
(-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
(*.f64 (/.f64 1 (+.f64 1 (sqrt.f64 (+.f64 x 1)))) x) |
(/.f64 x (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1))) |
| Outputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
2 calls:
| 6.0ms | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
| 6.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.2b | 1 | x |
| 0.2b | 1 | (/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
Compiled 70 to 52 computations (25.7% saved)
| Inputs |
|---|
2 |
(/.f64 x 2) |
(*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
(/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
(-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
(*.f64 x (fma.f64 x -1/8 1/2)) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
(-.f64 (sqrt.f64 (+.f64 x 1)) 1) |
1 calls:
| 9.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 2 | x |
Compiled 33 to 24 computations (27.3% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 44.0ms | 3.238438741340254e-7 | 0.0014684735685288471 |
Compiled 13 to 10 computations (23.1% saved)
| Inputs |
|---|
2 |
(/.f64 x 2) |
(*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
(/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
| Outputs |
|---|
(/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
1 calls:
| 4.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 20.5b | 1 | x |
Compiled 21 to 15 computations (28.6% saved)
Total -41.2b remaining (-196.2%)
Threshold costs -41.2b (-196.2%)
| Inputs |
|---|
2 |
(/.f64 x 2) |
(*.f64 (+.f64 (*.f64 -1/8 x) 1/2) x) |
| Outputs |
|---|
(/.f64 x 2) |
1 calls:
| 3.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 21.0b | 1 | x |
Compiled 14 to 10 computations (28.6% saved)
| 1× | egg-herbie |
| 4× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | sub-neg_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 52 |
| 1 | 27 | 52 |
| 2 | 28 | 52 |
| 1× | fuel |
| 1× | saturated |
| Inputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
(if (<=.f64 x 3058618913786355/9444732965739290427392) (/.f64 x (+.f64 (*.f64 1/2 x) 2)) (-.f64 (sqrt.f64 (+.f64 x 1)) 1)) |
(/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
(/.f64 x 2) |
2 |
| Outputs |
|---|
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1)))) |
(if (<=.f64 x 3058618913786355/9444732965739290427392) (/.f64 x (+.f64 (*.f64 1/2 x) 2)) (-.f64 (sqrt.f64 (+.f64 x 1)) 1)) |
(if (<=.f64 x 3058618913786355/9444732965739290427392) (/.f64 x (+.f64 (*.f64 x 1/2) 2)) (+.f64 (sqrt.f64 (+.f64 x 1)) -1)) |
(/.f64 x (+.f64 (*.f64 1/2 x) 2)) |
(/.f64 x (+.f64 (*.f64 x 1/2) 2)) |
(/.f64 x 2) |
2 |
Compiled 41 to 32 computations (22% saved)
Compiled 37 to 28 computations (24.3% saved)
Loading profile data...