Time bar (total: 5.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 50% | 50% | 0% | 4 |
| 62.5% | 37.5% | 0% | 5 |
| 68.7% | 31.2% | 0% | 6 |
| 71.8% | 28.1% | 0% | 7 |
| 73.4% | 26.5% | 0% | 8 |
| 74.2% | 25.8% | 0% | 9 |
| 74.6% | 25.4% | 0% | 10 |
| 74.8% | 25.2% | 0% | 11 |
| 74.9% | 25.1% | 0% | 12 |
Compiled 11 to 8 computations (27.3% saved)
| 1.8s | 2624× | body | 1024 | valid |
| 887.0ms | 1278× | body | 2048 | valid |
| 604.0ms | 1276× | body | 512 | valid |
| 246.0ms | 2111× | body | 64 | valid |
| 207.0ms | 594× | body | 256 | valid |
| 71.0ms | 327× | body | 128 | valid |
| 36.0ms | 46× | body | 4096 | valid |
| 2× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | hypot-1-def_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 9 |
| 2 | 14 | 9 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1)))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 10 to 7 computations (30% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | hypot-1-def_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 9 |
| 2 | 14 | 9 |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1)))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 47.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 30 to 21 computations (30% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 1.2b | (+.f64 x (hypot.f64 1 x)) |
| ✓ | 2.7b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 1.0ms | x | @ | -inf | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 1.0ms | x | @ | inf | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 0.0ms | x | @ | -inf | (+.f64 x (hypot.f64 1 x)) |
| 0.0ms | x | @ | inf | (+.f64 x (hypot.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 619× | pow1_binary64 |
| 575× | add-log-exp_binary64 |
| 575× | log1p-expm1-u_binary64 |
| 575× | expm1-log1p-u_binary64 |
| 563× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 1 | 121 | 16 |
| 2 | 1555 | 16 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 x (hypot.f64 1 x))) |
(+.f64 x (hypot.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2)) (log.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))) (log.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (log.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2) (cbrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (/.f64 1 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2)) (/.f64 1 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x))) (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (hypot.f64 1 x)) (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (+.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 (*.f64 x x) (*.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2)) (-.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (neg.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))) (neg.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (hypot.f64 1 x) 2) (*.f64 x x)) (-.f64 (hypot.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2)) (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))) (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (hypot.f64 1 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (hypot.f64 1 x)))))))) |
| 1× | egg-herbie |
| 915× | fma-def_binary64 |
| 732× | sub-neg_binary64 |
| 447× | associate-/r*_binary64 |
| 336× | associate-+r+_binary64 |
| 285× | associate-*l*_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 92 | 402 |
| 1 | 268 | 389 |
| 2 | 716 | 389 |
| 3 | 2137 | 385 |
| 4 | 7145 | 385 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
1 |
(+.f64 1 x) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) x))) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 2 x) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(/.f64 -1/2 x) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 2) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (-.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 2) (-.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 3/32 (pow.f64 x 4)))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 -3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 2) (-.f64 (/.f64 -3/32 (pow.f64 x 4)) (-.f64 (/.f64 -1/4 (*.f64 x x)) (log.f64 x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))) (/.f64 3/32 (pow.f64 x 4))) |
(+.f64 (log.f64 x) (+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))) (-.f64 (log.f64 2) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 2) (-.f64 (+.f64 (/.f64 5/96 (pow.f64 x 6)) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4)))) |
(+.f64 (log.f64 2) (+.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))) (+.f64 (log.f64 x) (/.f64 -3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 2) (+.f64 (/.f64 5/96 (pow.f64 x 6)) (-.f64 (/.f64 -3/32 (pow.f64 x 4)) (-.f64 (/.f64 -1/4 (*.f64 x x)) (log.f64 x))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (log.f64 1/2) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))))) |
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))) (/.f64 5/96 (pow.f64 x 6)))) |
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6))) (log.f64 (/.f64 -1 x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6))))) |
1 |
(+.f64 1 x) |
(+.f64 x 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) x)) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 x)) |
(+.f64 x (fma.f64 x (*.f64 x 1/2) 1)) |
(fma.f64 (fma.f64 x 1/2 1) x 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) x))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) x))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) -1/8 x))) |
(+.f64 1 (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) x))) |
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 (fma.f64 x 1/2 1) x 1)) |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(fma.f64 2 x (/.f64 1/2 x)) |
(fma.f64 x 2 (/.f64 1/2 x)) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (fma.f64 2 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(-.f64 (fma.f64 x 2 (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 (fma.f64 x 2 (/.f64 1/2 x)) (/.f64 -1/8 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 2 x) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (-.f64 (fma.f64 2 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))) |
(-.f64 (+.f64 (/.f64 1/2 x) (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5)))) (/.f64 1/8 (pow.f64 x 3))) |
(-.f64 (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5))) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
(+.f64 (/.f64 1/2 x) (-.f64 (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))) |
(/.f64 -1/2 x) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/2 x)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5)))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 5/128 (pow.f64 x 7)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 5/128 (pow.f64 x 7)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5))))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 5/128 (pow.f64 x 7)) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5))))) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 98 | 2 | 100 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 98 | 3 | 101 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 46.4b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) | |
| ▶ | 31.2b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
Compiled 1413 to 1077 computations (23.8% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
| ✓ | 0.0b | (fma.f64 -5/112 (pow.f64 x 7) x) |
| ✓ | 21.9b | (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| 1.0ms | x | @ | -inf | (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| 1.0ms | x | @ | -inf | (fma.f64 -5/112 (pow.f64 x 7) x) |
| 1.0ms | x | @ | inf | (fma.f64 -5/112 (pow.f64 x 7) x) |
| 1.0ms | x | @ | 0 | (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| 1× | batch-egg-rewrite |
| 507× | log-prod_binary64 |
| 342× | pow2_binary64 |
| 283× | pow-prod-down_binary64 |
| 239× | expm1-udef_binary64 |
| 239× | log1p-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 45 |
| 1 | 306 | 45 |
| 2 | 3181 | 45 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 3/40 (pow.f64 x 5)) 1) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2)) (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 3/40 (pow.f64 x 5)) 3) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3)) (+.f64 (pow.f64 (*.f64 3/40 (pow.f64 x 5)) 2) (-.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (*.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 3/40 (pow.f64 x 5)) 2) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2)) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 -5/112 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -5/112 (pow.f64 x 7)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -5/112 (pow.f64 x 7)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2) (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -5/112 (pow.f64 x 7)) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 -5/112 (pow.f64 x 7)) 2) (-.f64 (*.f64 x x) (*.f64 (*.f64 -5/112 (pow.f64 x 7)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 -5/112 (pow.f64 x 7)) 2) (*.f64 x x)) (fma.f64 -5/112 (pow.f64 x 7) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (pow.f64 (exp.f64 (pow.f64 x 7)) -5/112)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (pow.f64 (exp.f64 (pow.f64 x 7)) -5/112)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 7)) -5/112) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -5/112 (pow.f64 x 7) x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/6 (pow.f64 x 3)) 1) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) (pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 2) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -1/6 (pow.f64 x 3)) 3) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 3)) (+.f64 (pow.f64 (*.f64 -1/6 (pow.f64 x 3)) 2) (-.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2) (*.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 -1/6 (pow.f64 x 3)) 2) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) 2)) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 3)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) |
| 1× | egg-herbie |
| 708× | sqr-pow_binary64 |
| 674× | cube-prod_binary64 |
| 624× | unswap-sqr_binary64 |
| 577× | fabs-mul_binary64 |
| 474× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 25 | 402 |
| 1 | 74 | 402 |
| 2 | 151 | 402 |
| 3 | 336 | 402 |
| 4 | 582 | 402 |
| 5 | 1340 | 402 |
| 6 | 2008 | 402 |
| 7 | 2975 | 402 |
| 8 | 3129 | 402 |
| 9 | 3376 | 402 |
| 10 | 3691 | 402 |
| 11 | 4172 | 402 |
| 12 | 4851 | 402 |
| 13 | 5745 | 402 |
| 14 | 6393 | 402 |
| 15 | 6900 | 402 |
| 16 | 7307 | 402 |
| 17 | 7680 | 402 |
| 18 | 7896 | 402 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
x |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -5/112 (pow.f64 x 7)))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -5/112 (pow.f64 x 7)))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)) |
x |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
(+.f64 (*.f64 -5/112 (pow.f64 x 7)) x) |
(fma.f64 -5/112 (pow.f64 x 7) x) |
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -1/6 (pow.f64 x 3) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) (fma.f64 -1/6 (pow.f64 x 3) x))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -5/112 (pow.f64 x 7)))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 -5/112 (pow.f64 x 7)))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) (*.f64 -1/6 (pow.f64 x 3)))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) (fma.f64 -1/6 (pow.f64 x 3) x))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -5/112 (pow.f64 x 7)))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 -5/112 (pow.f64 x 7)))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) (*.f64 -1/6 (pow.f64 x 3)))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) (fma.f64 -1/6 (pow.f64 x 3) x))) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 121 | 1 | 122 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 1 | 1 |
| Total | 122 | 3 | 125 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| ▶ | 31.2b | (+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| 46.4b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
Compiled 2659 to 2097 computations (21.1% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (fma.f64 -5/112 (pow.f64 x 7) x) | |
| ✓ | 0.1b | (*.f64 3/40 (pow.f64 x 5)) |
| ✓ | 18.6b | (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
| ✓ | 21.9b | (+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (*.f64 3/40 (pow.f64 x 5)) |
| 1.0ms | x | @ | inf | (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
| 1.0ms | x | @ | 0 | (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
| 1.0ms | x | @ | -inf | (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
| 0.0ms | x | @ | 0 | (*.f64 3/40 (pow.f64 x 5)) |
| 1× | batch-egg-rewrite |
| 708× | prod-diff_binary64 |
| 598× | log-prod_binary64 |
| 277× | fma-def_binary64 |
| 267× | expm1-udef_binary64 |
| 267× | log1p-udef_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 45 |
| 1 | 335 | 45 |
| 2 | 3772 | 43 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(*.f64 3/40 (pow.f64 x 5)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (fma.f64 -1/6 (pow.f64 x 3) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x)))) (/.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (fma.f64 -1/6 (pow.f64 x 3) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) (pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 2) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3)) (/.f64 1 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2)) (/.f64 1 (fma.f64 -1/6 (pow.f64 x 3) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2)) (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 -1/6 (pow.f64 x 3) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x))) (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3)) (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3)) (+.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (*.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2)) (fma.f64 -1/6 (pow.f64 x 3) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))) (neg.f64 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))) (neg.f64 (fma.f64 -1/6 (pow.f64 x 3) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2)) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2)) (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 -1/6 (pow.f64 x 3) (-.f64 (*.f64 3/40 (pow.f64 x 5)) (fma.f64 -5/112 (pow.f64 x 7) x))) (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))) (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))) (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 1 (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -5/112 (pow.f64 x 7) (+.f64 x (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 7) -5/112 (+.f64 x (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 1 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -5/112 (pow.f64 x 7) x) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -5/112 (pow.f64 x 7)) (+.f64 x (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) 2) (cbrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2)) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2)) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (sqrt.f64 (fma.f64 -5/112 (pow.f64 x 7) x)) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7))) (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7)))) (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7))) (+.f64 x (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 -1/6 (pow.f64 x 3))) (cbrt.f64 (*.f64 -1/6 (pow.f64 x 3)))) (cbrt.f64 (*.f64 -1/6 (pow.f64 x 3))) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 -5/112 (pow.f64 x 7))) (sqrt.f64 (*.f64 -5/112 (pow.f64 x 7))) (+.f64 x (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 -1/6 (pow.f64 x 3))) (sqrt.f64 (*.f64 -1/6 (pow.f64 x 3))) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 x) (*.f64 x x) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (*.f64 x x)) x (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 x 3/2)) (pow.f64 x 3/2) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -5/112 (cbrt.f64 (pow.f64 x 14))) (cbrt.f64 (pow.f64 x 7)) (+.f64 x (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -5/112 (pow.f64 x 7/2)) (pow.f64 x 7/2) (+.f64 x (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/6 (pow.f64 x 3)) 1) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))) (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2)) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -1/6 (pow.f64 x 3)) 3) (pow.f64 (*.f64 3/40 (pow.f64 x 5)) 3)) (fma.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -1/6 (pow.f64 x 3)) (-.f64 (*.f64 9/1600 (pow.f64 x 10)) (*.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 9/1600 (pow.f64 x 10))) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)) (exp.f64 (*.f64 -1/6 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 3/40 (pow.f64 x 5)))) (exp.f64 (*.f64 -1/6 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 -1/6 (pow.f64 x 3))) (+.f64 1 (expm1.f64 (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5))) (cbrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 3/40 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3/40 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 3/40 (pow.f64 x 5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 3/40) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 9/1600 (pow.f64 x 10)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 3/40 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 3/40 (pow.f64 x 5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 5 (log.f64 x) (log.f64 3/40)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 5 (log.f64 x) (log.f64 3/40)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3/40 (pow.f64 x 5)))))))) |
| 1× | egg-herbie |
| 708× | sqr-pow_binary64 |
| 674× | cube-prod_binary64 |
| 624× | unswap-sqr_binary64 |
| 621× | fabs-mul_binary64 |
| 474× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 321 |
| 1 | 77 | 321 |
| 2 | 146 | 321 |
| 3 | 330 | 321 |
| 4 | 583 | 321 |
| 5 | 1309 | 321 |
| 6 | 1978 | 321 |
| 7 | 2945 | 321 |
| 8 | 3099 | 321 |
| 9 | 3346 | 321 |
| 10 | 3663 | 321 |
| 11 | 4144 | 321 |
| 12 | 4823 | 321 |
| 13 | 5717 | 321 |
| 14 | 6361 | 321 |
| 15 | 6872 | 321 |
| 16 | 7273 | 321 |
| 17 | 7652 | 321 |
| 18 | 7866 | 321 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -5/112 (pow.f64 x 7)))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -5/112 (pow.f64 x 7)))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(*.f64 -1/6 (pow.f64 x 3)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -1/6 (pow.f64 x 3))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -1/6 (pow.f64 x 3))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -1/6 (pow.f64 x 3))) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -5/112 (pow.f64 x 7)))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 -5/112 (pow.f64 x 7)))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -5/112 (pow.f64 x 7)))) |
(fma.f64 3/40 (pow.f64 x 5) (fma.f64 -1/6 (pow.f64 x 3) (*.f64 -5/112 (pow.f64 x 7)))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(*.f64 -1/6 (pow.f64 x 3)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -1/6 (pow.f64 x 3))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -1/6 (pow.f64 x 3))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -1/6 (pow.f64 x 3))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 157 | 0 | 157 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 157 | 3 | 160 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| ✓ | 31.2b | (+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| ▶ | 46.4b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
Compiled 3791 to 3010 computations (20.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.2b | (/.f64 1/8 (pow.f64 x 3)) |
| ✓ | 10.7b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
| 1.0ms | x | @ | inf | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
| 1.0ms | x | @ | 0 | (/.f64 1/8 (pow.f64 x 3)) |
| 1.0ms | x | @ | -inf | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
| 0.0ms | x | @ | inf | (/.f64 1/8 (pow.f64 x 3)) |
| 1× | batch-egg-rewrite |
| 914× | prod-diff_binary64 |
| 469× | log-prod_binary64 |
| 302× | fma-def_binary64 |
| 278× | pow2_binary64 |
| 193× | expm1-udef_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 22 |
| 1 | 235 | 20 |
| 2 | 3098 | 20 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
(/.f64 1/8 (pow.f64 x 3)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 2))) (log.f64 (cbrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (fma.f64 1/512 (pow.f64 (pow.f64 x -3) 3) (/.f64 -1/8 (pow.f64 x 3)))) (log.f64 (/.f64 1 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (fma.f64 (pow.f64 x 3) -1/2 (*.f64 1/8 x))) (log.f64 (/.f64 1 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (log.f64 (cbrt.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (log.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x)))) (log.f64 (/.f64 1 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (/.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 3) -1/2 (*.f64 1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (/.f64 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4))) (fma.f64 1/512 (pow.f64 (pow.f64 x -3) 3) (/.f64 -1/8 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (/.f64 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x)) (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/512 (pow.f64 (pow.f64 x -3) 3) (/.f64 -1/8 (pow.f64 x 3)))) (log.f64 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/512 (pow.f64 (pow.f64 x -3) 3) (/.f64 -1/8 (pow.f64 x 3)))) (log.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 -1/16 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 (pow.f64 x 3) -1/2 (*.f64 1/8 x))) (*.f64 4 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x)))) (log.f64 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (neg.f64 (fma.f64 (pow.f64 x 3) -1/2 (*.f64 1/8 x)))) (log.f64 (neg.f64 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (neg.f64 (fma.f64 1/512 (pow.f64 (pow.f64 x -3) 3) (/.f64 -1/8 (pow.f64 x 3))))) (log.f64 (neg.f64 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (neg.f64 (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))))) (log.f64 (neg.f64 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 x (*.f64 (*.f64 (pow.f64 x 3) 8) -1/2))) (log.f64 (*.f64 (*.f64 (pow.f64 x 3) 8) x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 -1/8 x (*.f64 (neg.f64 (pow.f64 x 3)) -1/2))) (log.f64 (*.f64 (neg.f64 (pow.f64 x 3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/8 (*.f64 x -2) (pow.f64 x 3))) (log.f64 (*.f64 (pow.f64 x 3) (*.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 x -2 (*.f64 (*.f64 (pow.f64 x 3) 8) 1))) (log.f64 (*.f64 (*.f64 (pow.f64 x 3) 8) (*.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 -1/8 (*.f64 x -2) (*.f64 (neg.f64 (pow.f64 x 3)) 1))) (log.f64 (*.f64 (neg.f64 (pow.f64 x 3)) (*.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/8 (neg.f64 x) (*.f64 (pow.f64 x 3) 1/2))) (log.f64 (*.f64 (pow.f64 x 3) (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 -1 x (*.f64 (*.f64 (pow.f64 x 3) 8) 1/2))) (log.f64 (*.f64 (*.f64 (pow.f64 x 3) 8) (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 -1/8 (neg.f64 x) (*.f64 (neg.f64 (pow.f64 x 3)) 1/2))) (log.f64 (*.f64 (neg.f64 (pow.f64 x 3)) (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (*.f64 (*.f64 x -2) 1/8))) (log.f64 (*.f64 (*.f64 x -2) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/2 (pow.f64 x 3) (*.f64 (neg.f64 x) 1/8))) (log.f64 (*.f64 (neg.f64 x) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 -1/2 (*.f64 (pow.f64 x 3) 8) x)) (log.f64 (*.f64 x (*.f64 (pow.f64 x 3) 8))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 (pow.f64 x 3) 8 (*.f64 (*.f64 x -2) 1))) (log.f64 (*.f64 (*.f64 x -2) (*.f64 (pow.f64 x 3) 8))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/2 (*.f64 (pow.f64 x 3) 8) (*.f64 (neg.f64 x) 1))) (log.f64 (*.f64 (neg.f64 x) (*.f64 (pow.f64 x 3) 8))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 -1/2 (neg.f64 (pow.f64 x 3)) (*.f64 x -1/8))) (log.f64 (*.f64 x (neg.f64 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 -1 (pow.f64 x 3) (*.f64 (*.f64 x -2) -1/8))) (log.f64 (*.f64 (*.f64 x -2) (neg.f64 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/2 (neg.f64 (pow.f64 x 3)) (*.f64 (neg.f64 x) -1/8))) (log.f64 (*.f64 (neg.f64 x) (neg.f64 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/64 (pow.f64 x 6)))) (log.f64 (-.f64 (/.f64 -1/2 x) (*.f64 1/8 (pow.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (/.f64 (fma.f64 (pow.f64 x 3) -1/2 (*.f64 1/8 x)) (pow.f64 x 3))) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (log.f64 (cbrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2) (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (log.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (*.f64 3 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (/.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 3) -1/2 (*.f64 1/8 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (/.f64 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4))) (fma.f64 1/512 (pow.f64 (pow.f64 x -3) 3) (/.f64 -1/8 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (/.f64 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x)) (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 1/8) (pow.f64 x -3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/8) (pow.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/8) (pow.f64 x -3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/8) (pow.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/8 (pow.f64 x -3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/8 (pow.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/8 (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/8 (/.f64 1 (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 x) (pow.f64 (/.f64 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1/2 x) 2) (/.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)) (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3) 1/8)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/8 (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/64 (pow.f64 x 6)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 8) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 (pow.f64 x 3) 8) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/64 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/8) (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/8 (pow.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/8 (pow.f64 x -3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/8 (pow.f64 x -3)))))))) |
| 1× | egg-herbie |
| 840× | sub-neg_binary64 |
| 636× | fma-def_binary64 |
| 585× | times-frac_binary64 |
| 322× | associate-+l-_binary64 |
| 301× | associate-+r+_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 274 |
| 1 | 156 | 264 |
| 2 | 423 | 262 |
| 3 | 1460 | 262 |
| 4 | 5244 | 262 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 -3 (log.f64 x)) (log.f64 1/8)) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (log.f64 1/8))) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (log.f64 1/8) (*.f64 -8 (pow.f64 x 4))))) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (log.f64 1/8) (+.f64 (*.f64 -8 (pow.f64 x 4)) (*.f64 -64/3 (pow.f64 x 6)))))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
| Outputs |
|---|
(+.f64 (*.f64 -3 (log.f64 x)) (log.f64 1/8)) |
(fma.f64 -3 (log.f64 x) (log.f64 1/8)) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (log.f64 1/8))) |
(fma.f64 -3 (log.f64 x) (fma.f64 -4 (*.f64 x x) (log.f64 1/8))) |
(fma.f64 -3 (log.f64 x) (fma.f64 x (*.f64 x -4) (log.f64 1/8))) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (log.f64 1/8) (*.f64 -8 (pow.f64 x 4))))) |
(fma.f64 -3 (log.f64 x) (+.f64 (fma.f64 -4 (*.f64 x x) (log.f64 1/8)) (*.f64 -8 (pow.f64 x 4)))) |
(fma.f64 -3 (log.f64 x) (fma.f64 -4 (*.f64 x x) (fma.f64 -8 (pow.f64 x 4) (log.f64 1/8)))) |
(fma.f64 -3 (log.f64 x) (fma.f64 x (*.f64 x -4) (fma.f64 -8 (pow.f64 x 4) (log.f64 1/8)))) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (log.f64 1/8) (+.f64 (*.f64 -8 (pow.f64 x 4)) (*.f64 -64/3 (pow.f64 x 6)))))) |
(fma.f64 -3 (log.f64 x) (fma.f64 -4 (*.f64 x x) (+.f64 (log.f64 1/8) (fma.f64 -8 (pow.f64 x 4) (*.f64 -64/3 (pow.f64 x 6)))))) |
(+.f64 (fma.f64 -3 (log.f64 x) (fma.f64 -4 (*.f64 x x) (log.f64 1/8))) (fma.f64 -8 (pow.f64 x 4) (*.f64 -64/3 (pow.f64 x 6)))) |
(fma.f64 -3 (log.f64 x) (fma.f64 x (*.f64 x -4) (fma.f64 -8 (pow.f64 x 4) (fma.f64 -64/3 (pow.f64 x 6) (log.f64 1/8))))) |
(fma.f64 -3 (log.f64 x) (fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -8) -4) (fma.f64 -64/3 (pow.f64 x 6) (log.f64 1/8)))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) |
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x))) |
(-.f64 (log.f64 -1/2) (log.f64 x)) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 -1/2) (-.f64 (neg.f64 (log.f64 x)) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 -1/4 (*.f64 x x))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 (/.f64 -1/4 x) x)) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 (log.f64 -1/2) (-.f64 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4))))) |
(+.f64 (-.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 -1/4 (*.f64 x x))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -1/32 (pow.f64 x 4)))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (-.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 1/32 (pow.f64 x 4)))) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(-.f64 (+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x))) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))) |
(-.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6))))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (-.f64 (/.f64 -1/4 (*.f64 x x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6))))) |
(+.f64 (log.f64 -1/2) (+.f64 (-.f64 (/.f64 (/.f64 -1/4 x) x) (log.f64 x)) (-.f64 (/.f64 -1/192 (pow.f64 x 6)) (/.f64 1/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (log.f64 1/2) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 (/.f64 -1/4 x) x))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/4 (*.f64 x x))) |
(+.f64 (+.f64 (log.f64 1/2) (-.f64 (log.f64 (/.f64 -1 x)) (/.f64 1/32 (pow.f64 x 4)))) (/.f64 -1/4 (*.f64 x x))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (+.f64 (log.f64 1/2) (/.f64 -1/32 (pow.f64 x 4))) (/.f64 -1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (-.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 1/32 (pow.f64 x 4))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(-.f64 (-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (/.f64 1/32 (pow.f64 x 4))) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6)))) |
(-.f64 (+.f64 (log.f64 1/2) (-.f64 (log.f64 (/.f64 -1 x)) (/.f64 1/32 (pow.f64 x 4)))) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (-.f64 (/.f64 -1/4 (*.f64 x x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6)))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (+.f64 (log.f64 1/2) (/.f64 (/.f64 -1/4 x) x)) (-.f64 (/.f64 -1/192 (pow.f64 x 6)) (/.f64 1/32 (pow.f64 x 4))))) |
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 109 | 0 | 109 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 109 | 3 | 112 |
| Status | Error | Program |
|---|---|---|
| ✓ | 47.2b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| ✓ | 31.2b | (+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) |
| ✓ | 46.4b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
Compiled 1888 to 1506 computations (20.2% saved)
Total -63.8b remaining (-∞%)
Threshold costs -63.8b (-∞%)
| Inputs |
|---|
(+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
(+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
| 11.0ms | 0b | x |
| 9.0ms | 7.5b | (log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| 5.0ms | 7.5b | (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))) |
Compiled 80 to 58 computations (27.5% saved)
| 2× | binary-search |
2 calls:
| 43.0ms | x |
| 42.0ms | x |
| Iters | Point | Range | ||||
|---|---|---|---|---|---|---|
2.7824422181283067e-14 | ∈ [ | 2.7824422181283067e-14 | , | 587948.0257404712 | ] | |
-6841338.693141433 | ∈ [ | -6841338.693141433 | , | -0.00989447715102091 | ] | |
Compiled 14 to 10 computations (28.6% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 1× | *-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 32 | 60 |
| 1 | 38 | 60 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -29383325947901836/4294967296) (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) (if (<=.f64 x 8817911369776785/316912650057057350374175801344) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) (log.f64 (+.f64 x (hypot.f64 1 x))))) |
| Outputs |
|---|
(if (<=.f64 x -29383325947901836/4294967296) (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) (if (<=.f64 x 8817911369776785/316912650057057350374175801344) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) (log.f64 (+.f64 x (hypot.f64 1 x))))) |
(if (<=.f64 x -7345831486975459/1073741824) (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) (if (<=.f64 x 8817911369776785/316912650057057350374175801344) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) (fma.f64 -5/112 (pow.f64 x 7) x)) (log.f64 (+.f64 x (hypot.f64 1 x))))) |
| 1× | done |
Compiled 84 to 64 computations (23.8% saved)
Loading profile data...