Time bar (total: 5.9s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 50% | 50% | 0% | 4 |
| 62.5% | 37.5% | 0% | 5 |
| 68.7% | 31.2% | 0% | 6 |
| 71.8% | 28.1% | 0% | 7 |
| 73.4% | 26.5% | 0% | 8 |
| 74.2% | 25.8% | 0% | 9 |
| 74.6% | 25.4% | 0% | 10 |
| 74.8% | 25.2% | 0% | 11 |
| 74.9% | 25.1% | 0% | 12 |
Compiled 11 to 8 computations (27.3% saved)
| 1.5s | 2630× | body | 1024 | valid |
| 685.0ms | 1230× | body | 2048 | valid |
| 399.0ms | 3093× | body | 256 | valid |
| 383.0ms | 1264× | body | 512 | valid |
| 27.0ms | 39× | body | 4096 | valid |
| 2× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | hypot-1-def_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 9 |
| 2 | 14 | 9 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1)))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 11 to 8 computations (27.3% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | hypot-1-def_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 9 |
| 2 | 14 | 9 |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1)))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 16 to 11 computations (31.3% saved)
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 45.7b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 7 to 5 computations (28.6% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 3.5b | (log.f64 (+.f64 x (hypot.f64 1 x))) | |
| 1.0b | (+.f64 x (hypot.f64 1 x)) | |
| ✓ | 1.0b | (+.f64 x (hypot.f64 1 x)) |
| ✓ | 3.5b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 17 to 11 computations (35.3% saved)
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 expm1.f64 (log1p.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 exp.f64 (log.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 expm1.f64 (log1p.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 exp.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (hypot.f64 1 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)) x))))) |
| 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))))) |
Compiled 1350 to 1028 computations (23.9% saved)
10 alts after pruning (9 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 91 | 9 | 100 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 91 | 10 | 101 |
| Status | Error | Program |
|---|---|---|
| ▶ | 47.9b | (log.f64 (/.f64 -1/2 x)) |
| ▶ | 31.4b | (+.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))) |
| ✓ | 45.7b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| ▶ | 31.2b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
| 48.1b | (log.f64 (*.f64 x 2)) | |
| ▶ | 48.0b | (+.f64 (log.f64 2) (log.f64 x)) |
| ▶ | 56.6b | (log.f64 (+.f64 1 x)) |
| 31.5b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) | |
| 30.2b | x | |
| 45.7b | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
Compiled 157 to 124 computations (21% saved)
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 19.0b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) | |
| 0.1b | (*.f64 -1/6 (pow.f64 x 3)) | |
| 0.0b | (*.f64 3/40 (pow.f64 x 5)) | |
| ✓ | 0.0b | (*.f64 3/40 (pow.f64 x 5)) |
| ✓ | 0.1b | (*.f64 -1/6 (pow.f64 x 3)) |
| ✓ | 19.0b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
Compiled 42 to 32 computations (23.8% saved)
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
| 1.0ms | x | @ | 0 | (*.f64 -1/6 (pow.f64 x 3)) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
| 1.0ms | x | @ | 0 | (*.f64 3/40 (pow.f64 x 5)) |
| 0.0ms | x | @ | inf | (*.f64 3/40 (pow.f64 x 5)) |
| 1× | batch-egg-rewrite |
| 556× | log-prod_binary64 |
| 547× | fma-def_binary64 |
| 332× | pow2_binary64 |
| 319× | fma-neg_binary64 |
| 228× | expm1-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 29 |
| 1 | 279 | 29 |
| 2 | 3512 | 29 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(*.f64 -1/6 (pow.f64 x 3)) |
(*.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) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 x 6) 1/36) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x))) (/.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) 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) 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) 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) x))) (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) 2)) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) 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) x))) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3)) (/.f64 1 (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2)) (/.f64 1 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36)) (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x)) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3)) (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3)) (+.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 (pow.f64 x 3) (*.f64 -1/6 (fma.f64 3/40 (pow.f64 x 5) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2)) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3))) (neg.f64 (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2))) (neg.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) 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 x 3)) (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 2) (-.f64 (*.f64 x x) (*.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2) (*.f64 (pow.f64 x 6) 1/36)) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))))))) (#(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) (*.f64 x x)) (-.f64 (fma.f64 -1/6 (pow.f64 x 3) (*.f64 3/40 (pow.f64 x 5))) 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) 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) 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) 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) 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) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) (-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3))) (*.f64 (pow.f64 x 6) 1/36)) (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x)) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) 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) 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) 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) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 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 (+.f64 1 (expm1.f64 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 x) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (pow.f64 (exp.f64 3/40) (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))) (exp.f64 (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(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) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x))) (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x))) (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (pow.f64 (exp.f64 3/40) (pow.f64 x 5))) (exp.f64 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 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6) (pow.f64 (exp.f64 3/40) (pow.f64 x 5))) (+.f64 1 (expm1.f64 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) x)) 3))))) (#(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) x))))))) (#(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) x))))))) (#(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) 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) x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 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 x (*.f64 (*.f64 x x) -1/6) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 x 3)) 1 (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3/40 (pow.f64 x 5) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 3/40 (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (pow.f64 x 5)) 1 (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 3/40 (pow.f64 x 5) x) 1 (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 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) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3/40 (pow.f64 x 5)) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 3/40 (pow.f64 x 5) x) (*.f64 -1/6 (pow.f64 x 3)))))) (#(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))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x -1/6) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) 2) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) 2) (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (pow.f64 (cbrt.f64 x) 5) 3/40) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 -1/6)) (cbrt.f64 (*.f64 (pow.f64 x 6) 1/36)) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 6) 1/36)) (*.f64 x (cbrt.f64 -1/6)) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (cbrt.f64 (*.f64 x 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 (*.f64 x x)) (cbrt.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 (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 9/1600)) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 9/1600)) (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.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 (sqrt.f64 3/40) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 3/40) (pow.f64 x 5/2)) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 x 3)) (/.f64 1 (fma.f64 x (-.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600))) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 10) 9/1600 (neg.f64 (*.f64 x x))) (/.f64 1 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 x))) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) -1/6) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 3/40) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(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 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.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)))) x)))) (#(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)))) 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) 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) 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) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (cbrt.f64 (pow.f64 x 10))) (pow.f64 (cbrt.f64 x) 5) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (pow.f64 x 5/2)) (pow.f64 x 5/2) (+.f64 x (*.f64 -1/6 (pow.f64 x 3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6)) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/6 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/6 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 6) 1/36) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 -1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 9) -1/216) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 x 3)) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 9) -1/216))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/6 (pow.f64 x 3))) 1)))))) |
((#(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 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 3/40) (pow.f64 x 5))) 2)) (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 (*.f64 (pow.f64 x 10) 9/1600) 1/2)))) (#(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 pow.f64 (*.f64 (pow.f64 x 15) 27/64000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 10) 9/1600))))) (#(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 (*.f64 (pow.f64 x 15) 27/64000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3/40 (pow.f64 x 5))))))) (#(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 exp.f64 (log.f64 (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 3/40 (pow.f64 x 5))) 1)))))) |
| 1× | egg-herbie |
| 1252× | sqr-pow_binary64 |
| 712× | cube-prod_binary64 |
| 698× | pow-sqr_binary64 |
| 679× | fabs-mul_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 51 |
| 1 | 30 | 51 |
| 2 | 60 | 51 |
| 3 | 131 | 51 |
| 4 | 260 | 51 |
| 5 | 709 | 51 |
| 6 | 1073 | 51 |
| 7 | 1715 | 51 |
| 8 | 1823 | 51 |
| 9 | 1985 | 51 |
| 10 | 2200 | 51 |
| 11 | 2530 | 51 |
| 12 | 2986 | 51 |
| 13 | 3583 | 51 |
| 14 | 4332 | 51 |
| 15 | 5262 | 51 |
| 16 | 5768 | 51 |
| 17 | 6254 | 51 |
| 18 | 6652 | 51 |
| 19 | 6976 | 51 |
| 20 | 7140 | 51 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(*.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))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(*.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))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 3.3b | (log.f64 (+.f64 1 x)) | |
| ✓ | 3.3b | (log.f64 (+.f64 1 x)) |
Compiled 10 to 7 computations (30% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (log.f64 (+.f64 1 x)) |
| 1.0ms | x | @ | 0 | (log.f64 (+.f64 1 x)) |
| 0.0ms | x | @ | inf | (log.f64 (+.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 466× | pow1_binary64 |
| 455× | add-sqr-sqrt_binary64 |
| 447× | *-un-lft-identity_binary64 |
| 434× | add-log-exp_binary64 |
| 434× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 3 |
| 1 | 99 | 3 |
| 2 | 1167 | 3 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2)) (log.f64 (cbrt.f64 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 1 x))) (log.f64 (sqrt.f64 (+.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log1p.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 1 (*.f64 x x))) (log.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 1 (pow.f64 x 3))) (log.f64 (+.f64 1 (-.f64 (*.f64 x x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 x)) (pow.f64 (cbrt.f64 (log1p.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 x)) 2) (cbrt.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 x)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 x))))))) |
| 1× | egg-herbie |
| 465× | fma-def_binary64 |
| 360× | associate-/r*_binary64 |
| 333× | associate--l-_binary64 |
| 316× | fma-neg_binary64 |
| 308× | sub-neg_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 186 |
| 1 | 135 | 160 |
| 2 | 332 | 160 |
| 3 | 1018 | 154 |
| 4 | 3138 | 154 |
| 5 | 7486 | 154 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) x)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1/4 (pow.f64 x 4)) x))) |
(*.f64 -1 (log.f64 (/.f64 1 x))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) x) |
(fma.f64 -1/2 (*.f64 x x) x) |
(fma.f64 x (*.f64 x -1/2) x) |
(*.f64 x (fma.f64 x -1/2 1)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) x)) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/3 (pow.f64 x 3) x)) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 1/3 (pow.f64 x 3) x)) |
(fma.f64 x (*.f64 x (fma.f64 x 1/3 -1/2)) x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1/4 (pow.f64 x 4)) x))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 -1/4 (pow.f64 x 4) x))) |
(fma.f64 x (*.f64 x -1/2) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 -1/4 (pow.f64 x 4) x))) |
(fma.f64 (*.f64 x x) (fma.f64 x 1/3 -1/2) (fma.f64 -1/4 (pow.f64 x 4) x)) |
(fma.f64 x (*.f64 x (fma.f64 x 1/3 -1/2)) (fma.f64 -1/4 (pow.f64 x 4) x)) |
(*.f64 -1 (log.f64 (/.f64 1 x))) |
(neg.f64 (neg.f64 (log.f64 x))) |
(log.f64 x) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (log.f64 x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (/.f64 1 x)) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (/.f64 1 x) (+.f64 (log.f64 x) (/.f64 -1/2 (*.f64 x x)))) |
(+.f64 (/.f64 1 x) (-.f64 (log.f64 x) (/.f64 (/.f64 1/2 x) x))) |
(+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3)))) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (log.f64 x) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 -1/2 (*.f64 x x))))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3))) (-.f64 (log.f64 x) (/.f64 (/.f64 1/2 x) x))) |
(+.f64 (log.f64 x) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3))) (/.f64 -1/2 (*.f64 x x)))) |
(+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -1)) |
(neg.f64 (neg.f64 (log.f64 x))) |
(log.f64 x) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) |
(+.f64 (/.f64 1 x) (log.f64 x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (/.f64 1 x))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (/.f64 1 x)) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (/.f64 1 x) (+.f64 (log.f64 x) (/.f64 -1/2 (*.f64 x x)))) |
(+.f64 (/.f64 1 x) (-.f64 (log.f64 x) (/.f64 (/.f64 1/2 x) x))) |
(+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 -1) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3)))) (/.f64 1/2 (*.f64 x x))) |
(+.f64 (log.f64 x) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 -1/2 (*.f64 x x))))) |
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3))) (-.f64 (log.f64 x) (/.f64 (/.f64 1/2 x) x))) |
(+.f64 (log.f64 x) (+.f64 (+.f64 (/.f64 1 x) (/.f64 1/3 (pow.f64 x 3))) (/.f64 -1/2 (*.f64 x x)))) |
(+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (log.f64 x) (-.f64 (/.f64 1 x) (/.f64 (/.f64 1/2 x) x)))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (log.f64 (/.f64 -1/2 x)) | |
| ✓ | 0.0b | (log.f64 (/.f64 -1/2 x)) |
Compiled 10 to 7 computations (30% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 29.0ms | x | @ | 0 | (log.f64 (/.f64 -1/2 x)) |
| 23.0ms | x | @ | -inf | (log.f64 (/.f64 -1/2 x)) |
| 9.0ms | x | @ | inf | (log.f64 (/.f64 -1/2 x)) |
| 1× | batch-egg-rewrite |
| 474× | pow1_binary64 |
| 465× | add-sqr-sqrt_binary64 |
| 453× | *-un-lft-identity_binary64 |
| 443× | add-log-exp_binary64 |
| 442× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 105 | 6 |
| 2 | 1212 | 6 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (/.f64 -1/2 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 -1/2) (neg.f64 (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (/.f64 -1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (/.f64 -1/2 x))) (log.f64 (sqrt.f64 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (/.f64 -1/2 x)) 2)) (log.f64 (cbrt.f64 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 1/2) (log.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 -1/2) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (log.f64 (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (/.f64 -1/2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (/.f64 -1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (/.f64 -1/2 x))) (pow.f64 (cbrt.f64 (log.f64 (/.f64 -1/2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (/.f64 -1/2 x))) 2) (cbrt.f64 (log.f64 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (/.f64 -1/2 x))) (sqrt.f64 (log.f64 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 -1/2) 3) (pow.f64 (log.f64 x) 3)) (+.f64 (*.f64 (log.f64 -1/2) (log.f64 -1/2)) (+.f64 (*.f64 (log.f64 x) (log.f64 x)) (*.f64 (log.f64 -1/2) (log.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (log.f64 -1/2) (log.f64 -1/2)) (*.f64 (log.f64 x) (log.f64 x))) (+.f64 (log.f64 -1/2) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (/.f64 -1/2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (/.f64 -1/2 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (/.f64 -1/2 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (/.f64 -1/2 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (log.f64 (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (/.f64 -1/2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (/.f64 -1/2 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (/.f64 -1/2 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (/.f64 -1/2 x)))))))) |
| 1× | egg-herbie |
| 155× | fma-neg_binary64 |
| 118× | fma-def_binary64 |
| 56× | cancel-sign-sub-inv_binary64 |
| 44× | sub-neg_binary64 |
| 39× | distribute-rgt-in_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 17 | 124 |
| 1 | 27 | 108 |
| 2 | 40 | 108 |
| 3 | 60 | 108 |
| 4 | 109 | 108 |
| 5 | 203 | 108 |
| 6 | 335 | 108 |
| 7 | 509 | 108 |
| 8 | 657 | 108 |
| 9 | 778 | 108 |
| 10 | 798 | 108 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
| Outputs |
|---|
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x))) |
(-.f64 (log.f64 -1/2) (log.f64 x)) |
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x))) |
(-.f64 (log.f64 -1/2) (log.f64 x)) |
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x))) |
(-.f64 (log.f64 -1/2) (log.f64 x)) |
(+.f64 (log.f64 -1/2) (*.f64 -1 (log.f64 x))) |
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x))) |
(-.f64 (log.f64 -1/2) (log.f64 x)) |
(+.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 (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 (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 (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 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (+.f64 (log.f64 2) (log.f64 x)) | |
| ✓ | 0.1b | (+.f64 (log.f64 2) (log.f64 x)) |
Compiled 12 to 8 computations (33.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 55.0ms | x | @ | 0 | (+.f64 (log.f64 2) (log.f64 x)) |
| 14.0ms | x | @ | -inf | (+.f64 (log.f64 2) (log.f64 x)) |
| 10.0ms | x | @ | inf | (+.f64 (log.f64 2) (log.f64 x)) |
| 1× | batch-egg-rewrite |
| 629× | pow1_binary64 |
| 588× | add-log-exp_binary64 |
| 587× | log1p-expm1-u_binary64 |
| 587× | expm1-log1p-u_binary64 |
| 576× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 127 | 6 |
| 2 | 1613 | 6 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (log.f64 2) (log.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (*.f64 2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (log.f64 2) 2) (log.f64 (/.f64 2 x))) (/.f64 (pow.f64 (log.f64 x) 2) (log.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (*.f64 2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (*.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (*.f64 2 x))) (pow.f64 (cbrt.f64 (log.f64 (*.f64 2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 2 x))) 2) (cbrt.f64 (log.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (*.f64 2 x))) (sqrt.f64 (log.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3)) (/.f64 1 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 x) (-.f64 (log.f64 x) (log.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log.f64 x) 2)) (/.f64 1 (log.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 x) (-.f64 (log.f64 x) (log.f64 2)))) (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (log.f64 (/.f64 2 x)) (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3)) (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 x) (-.f64 (log.f64 x) (log.f64 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3)) (+.f64 (pow.f64 (log.f64 x) 2) (-.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 2) (log.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log.f64 x) 2)) (log.f64 (/.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3))) (neg.f64 (+.f64 (pow.f64 (log.f64 2) 2) (*.f64 (log.f64 x) (-.f64 (log.f64 x) (log.f64 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (log.f64 2) 2) (pow.f64 (log.f64 x) 2))) (neg.f64 (log.f64 (/.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log.f64 x) 2) (pow.f64 (log.f64 2) 2)) (-.f64 (log.f64 x) (log.f64 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (*.f64 2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (*.f64 2 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (*.f64 2 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (*.f64 2 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (*.f64 2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (*.f64 2 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (*.f64 2 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (*.f64 2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log.f64 2) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log.f64 x) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 2)) 2) (cbrt.f64 (log.f64 2)) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 x)) 2) (cbrt.f64 (log.f64 x)) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 2)) (sqrt.f64 (log.f64 2)) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 x)) (sqrt.f64 (log.f64 x)) (log.f64 2)))))) |
| 1× | egg-herbie |
| 859× | distribute-rgt-in_binary64 |
| 795× | fma-neg_binary64 |
| 737× | fma-def_binary64 |
| 546× | distribute-lft-in_binary64 |
| 390× | associate--r-_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 16 | 96 |
| 1 | 33 | 64 |
| 2 | 56 | 64 |
| 3 | 118 | 64 |
| 4 | 255 | 64 |
| 5 | 502 | 64 |
| 6 | 1067 | 64 |
| 7 | 2211 | 64 |
| 8 | 3343 | 64 |
| 9 | 3550 | 64 |
| 10 | 3566 | 64 |
| 11 | 3630 | 64 |
| 12 | 5137 | 64 |
| 13 | 5730 | 64 |
| 14 | 5842 | 64 |
| 15 | 5878 | 64 |
| 16 | 5912 | 64 |
| 17 | 5912 | 64 |
| 18 | 5964 | 64 |
| 19 | 6487 | 64 |
| 20 | 7141 | 64 |
| 21 | 7802 | 64 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (log.f64 2) (log.f64 -1))) |
| Outputs |
|---|
(+.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 (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 (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 (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) (log.f64 -1))) |
(+.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) (log.f64 -1))) |
(+.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) (log.f64 -1))) |
(+.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) (log.f64 -1))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
Found 8 expressions with local error:
| New | Error | Program |
|---|---|---|
| 22.2b | (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) | |
| 0.1b | (*.f64 -1/6 (pow.f64 x 3)) | |
| 0.0b | (*.f64 3/40 (pow.f64 x 5)) | |
| 0.0b | (*.f64 -5/112 (pow.f64 x 7)) | |
| ✓ | 0.0b | (*.f64 -5/112 (pow.f64 x 7)) |
| 0.0b | (*.f64 3/40 (pow.f64 x 5)) | |
| 0.1b | (*.f64 -1/6 (pow.f64 x 3)) | |
| ✓ | 22.2b | (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
Compiled 71 to 55 computations (22.5% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | -inf | (*.f64 -5/112 (pow.f64 x 7)) |
| 1.0ms | x | @ | inf | (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
| 1.0ms | x | @ | 0 | (*.f64 -5/112 (pow.f64 x 7)) |
| 1.0ms | x | @ | 0 | (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
| 1.0ms | x | @ | inf | (*.f64 -5/112 (pow.f64 x 7)) |
| 1× | batch-egg-rewrite |
| 565× | log-prod_binary64 |
| 531× | fma-def_binary64 |
| 345× | pow2_binary64 |
| 294× | fma-neg_binary64 |
| 235× | expm1-udef_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 22 |
| 1 | 279 | 22 |
| 2 | 3608 | 22 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x)) |
(*.f64 -5/112 (pow.f64 x 7)) |
| Outputs |
|---|
((#(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 (/.f64 (*.f64 (pow.f64 x 10) 9/1600) (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))) (/.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (fma.f64 3/40 (pow.f64 x 5) (neg.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)) 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 (fma.f64 (pow.f64 x 15) 27/64000 (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) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2)) (/.f64 1 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (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) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600)) (fma.f64 (pow.f64 x 15) 27/64000 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 15) 27/64000 (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) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 15) 27/64000 (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 (*.f64 (pow.f64 x 10) 9/1600) (*.f64 3/40 (*.f64 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2)) (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 15) 27/64000 (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) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2))) (neg.f64 (fma.f64 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) 2) (-.f64 (*.f64 x 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 (-.f64 (pow.f64 (fma.f64 -5/112 (pow.f64 x 7) x) 2) (*.f64 (pow.f64 x 10) 9/1600)) (-.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 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) 2) (*.f64 x 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 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 pow.f64 (/.f64 (fma.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (-.f64 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 10) 9/1600)) (fma.f64 (pow.f64 x 15) 27/64000 (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 3/40 (pow.f64 x 5) (neg.f64 (fma.f64 -5/112 (pow.f64 x 7) x))) (-.f64 (*.f64 (pow.f64 x 10) 9/1600) (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 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 x) (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.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 (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 log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.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))) (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40)))))) (#(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 (*.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 (*.f64 3/40 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (pow.f64 (exp.f64 -5/112) (pow.f64 x 7))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 x 5)) 3/40) (pow.f64 (exp.f64 -5/112) (pow.f64 x 7))) (+.f64 1 (expm1.f64 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 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 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 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 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 x 1 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 3/40 (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.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 fma.f64 -5/112 (pow.f64 x 7) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 7) -5/112 (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -5/112 (pow.f64 x 7)) 1 (+.f64 x (*.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 (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.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 (*.f64 -5/112 (pow.f64 x 7)) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -5/112 (pow.f64 x 7) x) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 3/40 (pow.f64 x 5) (*.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) (*.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)) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (pow.f64 (cbrt.f64 x) 5) 3/40) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 14)) (*.f64 (pow.f64 (cbrt.f64 x) 7) -5/112) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 3/40 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 9/1600)) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 9/1600)) (cbrt.f64 (*.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 x) (cbrt.f64 (*.f64 x x)) (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 x x)) (cbrt.f64 x) (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7))) (cbrt.f64 (*.f64 (pow.f64 x 14) 25/12544)) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 14) 25/12544)) (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7))) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(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)) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 3/40) (pow.f64 x 5/2)) (*.f64 (sqrt.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 (sqrt.f64 x) (sqrt.f64 x) (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -5/112) (pow.f64 x 7/2)) (*.f64 (sqrt.f64 -5/112) (pow.f64 x 7/2)) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 21) -125/1404928 (pow.f64 x 3)) (/.f64 1 (fma.f64 x (-.f64 x (*.f64 -5/112 (pow.f64 x 7))) (*.f64 (pow.f64 x 14) 25/12544))) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (pow.f64 x 14) 25/12544) (*.f64 x x)) (/.f64 1 (fma.f64 -5/112 (pow.f64 x 7) (neg.f64 x))) (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 3/40) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 7/2) (*.f64 (pow.f64 x 7/2) -5/112) (+.f64 x (*.f64 3/40 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7))) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) 2) (cbrt.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) (*.f64 -5/112 (pow.f64 x 7)))) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (cbrt.f64 (pow.f64 x 10))) (pow.f64 (cbrt.f64 x) 5) (fma.f64 -5/112 (pow.f64 x 7) x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3/40 (pow.f64 x 5/2)) (pow.f64 x 5/2) (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))) (pow.f64 (cbrt.f64 x) 7) (+.f64 x (*.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 (*.f64 3/40 (pow.f64 x 5)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 -5/112 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -5/112 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -5/112 (pow.f64 x 7)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 14) 25/12544) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -5/112 (pow.f64 x 7))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -5/112) (pow.f64 x 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 21) -125/1404928) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 14) 25/12544))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -5/112) (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -5/112 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 21) -125/1404928))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -5/112 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -5/112 (pow.f64 x 7))) 1)))))) |
| 1× | egg-herbie |
| 1252× | sqr-pow_binary64 |
| 710× | cube-prod_binary64 |
| 698× | pow-sqr_binary64 |
| 674× | fabs-mul_binary64 |
| 416× | unswap-sqr_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 51 |
| 1 | 27 | 51 |
| 2 | 49 | 51 |
| 3 | 97 | 51 |
| 4 | 219 | 51 |
| 5 | 649 | 51 |
| 6 | 969 | 51 |
| 7 | 1607 | 51 |
| 8 | 1716 | 51 |
| 9 | 1878 | 51 |
| 10 | 2093 | 51 |
| 11 | 2423 | 51 |
| 12 | 2879 | 51 |
| 13 | 3476 | 51 |
| 14 | 4227 | 51 |
| 15 | 5155 | 51 |
| 16 | 5661 | 51 |
| 17 | 6145 | 51 |
| 18 | 6539 | 51 |
| 19 | 6863 | 51 |
| 20 | 7023 | 51 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
(*.f64 -5/112 (pow.f64 x 7)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 -5/112 (pow.f64 x 7))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) 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 -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))) |
Compiled 6780 to 5305 computations (21.8% saved)
10 alts after pruning (5 fresh and 5 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 370 | 2 | 372 |
| Fresh | 1 | 3 | 4 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 4 | 5 |
| Total | 372 | 10 | 382 |
| Status | Error | Program |
|---|---|---|
| ✓ | 48.0b | (+.f64 (log.f64 2) (log.f64 x)) |
| ▶ | 27.2b | (log1p.f64 x) |
| ✓ | 47.9b | (log.f64 (/.f64 -1/2 x)) |
| ✓ | 31.4b | (+.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))) |
| ✓ | 45.7b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| ✓ | 31.2b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
| ▶ | 45.7b | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| ▶ | 48.1b | (log.f64 (*.f64 2 x)) |
| ▶ | 31.5b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
| 30.2b | x |
Compiled 81 to 63 computations (22.2% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.1b | (*.f64 -1/6 (pow.f64 x 3)) | |
| 0.1b | (*.f64 -1/6 (pow.f64 x 3)) |
Compiled 19 to 14 computations (26.3% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 0 | 0 |
| 1× | saturated |
| Inputs |
|---|
| Outputs |
|---|
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.2b | (log.f64 (*.f64 2 x)) | |
| ✓ | 0.2b | (log.f64 (*.f64 2 x)) |
Compiled 10 to 7 computations (30% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 16.0ms | x | @ | -inf | (log.f64 (*.f64 2 x)) |
| 10.0ms | x | @ | 0 | (log.f64 (*.f64 2 x)) |
| 9.0ms | x | @ | inf | (log.f64 (*.f64 2 x)) |
| 1× | batch-egg-rewrite |
| 429× | pow1_binary64 |
| 416× | add-sqr-sqrt_binary64 |
| 409× | *-un-lft-identity_binary64 |
| 396× | add-log-exp_binary64 |
| 396× | log1p-expm1-u_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 6 |
| 1 | 98 | 6 |
| 2 | 1074 | 6 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (*.f64 2 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (+.f64 x x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 x) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 2) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) (log.f64 (cbrt.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x x))) (log.f64 (sqrt.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 x)) (log.f64 (*.f64 (sqrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (+.f64 x x))) (log.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 (log.f64 (cbrt.f64 x))) (log.f64 (*.f64 (cbrt.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (log.f64 2) 1) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 2 (sqrt.f64 x))) (log.f64 (sqrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 2 (pow.f64 (cbrt.f64 x) 2))) (log.f64 (cbrt.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (+.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (log.f64 (sqrt.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x x))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x x))) 2) (cbrt.f64 (log.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x x))) (sqrt.f64 (log.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (log.f64 (cbrt.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (*.f64 3 (log.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (log.f64 2) 3) (pow.f64 (log.f64 x) 3)) (fma.f64 (log.f64 2) (log.f64 2) (-.f64 (*.f64 (log.f64 x) (log.f64 x)) (*.f64 (log.f64 2) (log.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (log.f64 2) (log.f64 2)) (*.f64 (log.f64 x) (log.f64 x))) (log.f64 (/.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (fma.f64 2 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log.f64 x) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log.f64 2) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (log.f64 2) 1 (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (log.f64 x)) (cbrt.f64 (log.f64 x))) (cbrt.f64 (log.f64 x)) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (log.f64 2)) (cbrt.f64 (log.f64 2))) (cbrt.f64 (log.f64 2)) (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 x)) (sqrt.f64 (log.f64 x)) (log.f64 2))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 2)) (sqrt.f64 (log.f64 2)) (log.f64 x)))))) |
| 1× | egg-herbie |
| 172× | fma-neg_binary64 |
| 101× | fma-def_binary64 |
| 41× | associate--r+_binary64 |
| 41× | cancel-sign-sub-inv_binary64 |
| 41× | sub-neg_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 18 | 112 |
| 1 | 33 | 108 |
| 2 | 45 | 108 |
| 3 | 95 | 108 |
| 4 | 182 | 108 |
| 5 | 311 | 108 |
| 6 | 458 | 108 |
| 7 | 635 | 108 |
| 8 | 754 | 108 |
| 9 | 776 | 108 |
| 1× | saturated |
| Inputs |
|---|
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
| Outputs |
|---|
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) |
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) |
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) |
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (log.f64 -2)) |
(fma.f64 -1 (log.f64 (/.f64 -1 x)) (log.f64 -2)) |
(-.f64 (log.f64 -2) (log.f64 (/.f64 -1 x))) |
Found 6 expressions with local error:
| New | Error | Program |
|---|---|---|
| 3.5b | (log.f64 (+.f64 x (hypot.f64 1 x))) | |
| 3.3b | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) | |
| 1.0b | (+.f64 x (hypot.f64 1 x)) | |
| 1.0b | (+.f64 x (hypot.f64 1 x)) | |
| ✓ | 3.3b | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| 3.5b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 35 to 25 computations (28.6% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| 1× | batch-egg-rewrite |
| 960× | pow1_binary64 |
| 897× | add-log-exp_binary64 |
| 897× | log1p-expm1-u_binary64 |
| 897× | expm1-log1p-u_binary64 |
| 97× | add-sqr-sqrt_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 15 |
| 1 | 183 | 9 |
| 2 | 2594 | 9 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 0)))) (#(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 0 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1) 1)))) (#(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 (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 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 *.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) -1) (/.f64 1 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))) 1) (-.f64 (sqrt.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2)) (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2) (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3) -1) (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3) -1) (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (-.f64 1 (*.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) -1) (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) -1) (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) -1)) (neg.f64 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1) (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1)) (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1) (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1))) (-.f64 1 (+.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) -1)))))) (#(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 (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 pow.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3) 1/3)))) (#(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 log.f64 (+.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (-.f64 (+.f64 x (hypot.f64 1 x)) 1)))))) (#(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 expm1.f64 (log1p.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 exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))) 2) (cbrt.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))) (sqrt.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))) -1))))) |
| 1× | egg-herbie |
| 567× | fma-def_binary64 |
| 564× | sub-neg_binary64 |
| 505× | unswap-sqr_binary64 |
| 375× | associate-+l+_binary64 |
| 365× | distribute-neg-frac_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 59 | 243 |
| 1 | 168 | 230 |
| 2 | 452 | 230 |
| 3 | 1486 | 230 |
| 4 | 5461 | 230 |
| 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))))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))) |
(+.f64 (log.f64 2) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (/.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 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (-.f64 (log.f64 x) (/.f64 3/32 (pow.f64 x 4)))) |
(+.f64 (log.f64 2) (-.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 3/32 (pow.f64 x 4)))) |
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 -3/32 (pow.f64 x 4)) (+.f64 (log.f64 2) (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 (+.f64 (+.f64 (log.f64 2) (/.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 (+.f64 (log.f64 2) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) (-.f64 (/.f64 5/96 (pow.f64 x 6)) (/.f64 3/32 (pow.f64 x 4)))) |
(+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 5/96 (pow.f64 x 6)) (+.f64 (/.f64 -3/32 (pow.f64 x 4)) (+.f64 (log.f64 2) (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)) (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 (log.f64 1/2) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 1/4 (*.f64 x x))))) |
(+.f64 (log.f64 1/2) (+.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (/.f64 -1/4 (*.f64 x x))) (log.f64 (/.f64 -1 x)))) |
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (+.f64 (log.f64 (/.f64 -1 x)) (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 3/32 (pow.f64 x 4)) (-.f64 (log.f64 1/2) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6)))))) |
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (+.f64 (log.f64 1/2) (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -5/96 (pow.f64 x 6)))) (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 (/.f64 5/96 (pow.f64 x 6)) (log.f64 (/.f64 -1 x))))) |
Compiled 4 to 2 computations (50% saved)
Compiled 3337 to 2584 computations (22.6% saved)
12 alts after pruning (3 fresh and 9 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 220 | 2 | 222 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 8 | 8 |
| Total | 220 | 12 | 232 |
| Status | Error | Program |
|---|---|---|
| ✓ | 48.0b | (+.f64 (log.f64 2) (log.f64 x)) |
| ✓ | 27.2b | (log1p.f64 x) |
| ✓ | 47.9b | (log.f64 (/.f64 -1/2 x)) |
| ✓ | 31.4b | (+.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))) |
| ✓ | 45.7b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| ✓ | 31.2b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
| ▶ | 59.8b | (-.f64 (+.f64 1 x) 1) |
| 30.2b | x | |
| ▶ | 61.2b | (-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
| ✓ | 45.7b | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| ✓ | 48.1b | (log.f64 (*.f64 2 x)) |
| ✓ | 31.5b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
Compiled 99 to 78 computations (21.2% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 3.3b | (-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) | |
| 0.1b | (*.f64 -1/6 (pow.f64 x 3)) | |
| 0.1b | (*.f64 -1/6 (pow.f64 x 3)) | |
| ✓ | 3.3b | (-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
Compiled 40 to 31 computations (22.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
| 1× | batch-egg-rewrite |
| 553× | fma-def_binary64 |
| 416× | log-prod_binary64 |
| 323× | fma-neg_binary64 |
| 314× | exp-prod_binary64 |
| 295× | pow-prod-down_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 14 |
| 1 | 236 | 8 |
| 2 | 3089 | 8 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/6 (pow.f64 x 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 -1/6 (pow.f64 x 3) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 -1/6 (pow.f64 x 3) 1) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (/.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4))) (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (-.f64 1 (*.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3)) (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3)) (fma.f64 x x (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 -1/6 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x)) (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))) (neg.f64 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))) (neg.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3))) (neg.f64 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x))) (neg.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 3)) (+.f64 1 (-.f64 (pow.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (*.f64 (pow.f64 x 6) 1/36)) (-.f64 x (*.f64 -1/6 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 2)) (-.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2) (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4))) (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 2)) (cbrt.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (sqrt.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (pow.f64 (exp.f64 -1/6) (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 x) (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 x)) (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))) (exp.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -1/6) (pow.f64 x 3)) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 -1/6 (pow.f64 x 3)))) (+.f64 1 (expm1.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (sqrt.f64 (-.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2) (fma.f64 -1/6 (pow.f64 x 3) x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 3) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -1/6 (pow.f64 x 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 -1/6 (pow.f64 x 3) 1) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/6 (pow.f64 x 3) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 1 (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (*.f64 (*.f64 x x) -1/6) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3) -1/6 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 x 3)) 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) (*.f64 x -1/6) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) 2) (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) 2) (*.f64 (cbrt.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (cbrt.f64 -1/6)) (pow.f64 (*.f64 x (cbrt.f64 -1/6)) 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 x (cbrt.f64 -1/6)) 2) (*.f64 x (cbrt.f64 -1/6)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) (*.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) (*.f64 (sqrt.f64 -1/6) (pow.f64 x 3/2)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (*.f64 -1/6 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 3 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x)) 2) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 3)) (/.f64 1 (fma.f64 (fma.f64 -1/6 (pow.f64 x 3) x) (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 x 9) -1/216 (pow.f64 x 3)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 x 6) 1/36 (*.f64 x x)) (*.f64 -1/6 (pow.f64 x 4)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (expm1.f64 (*.f64 2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) (/.f64 1 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (pow.f64 (fma.f64 -1/6 (pow.f64 x 3) x) 2)) (/.f64 1 (-.f64 1 (fma.f64 -1/6 (pow.f64 x 3) x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (*.f64 (pow.f64 x 6) 1/36) (*.f64 x x)) (/.f64 1 (-.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 3/2) (*.f64 (pow.f64 x 3/2) -1/6) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)) 2) (cbrt.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) 1)) 2) (cbrt.f64 (fma.f64 -1/6 (pow.f64 x 3) 1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)) (sqrt.f64 (+.f64 (fma.f64 -1/6 (pow.f64 x 3) x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) 1)) (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) 1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (hypot.f64 1 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x))) 1) (expm1.f64 (*.f64 1/2 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1) (-.f64 (sqrt.f64 (fma.f64 -1/6 (pow.f64 x 3) x)) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 x) (*.f64 x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (*.f64 x x)) x x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 x 3/2)) (pow.f64 x 3/2) x))))) |
| 1× | egg-herbie |
| 1329× | sqr-pow_binary64 |
| 715× | pow-sqr_binary64 |
| 532× | cube-prod_binary64 |
| 470× | fabs-mul_binary64 |
| 435× | associate-*l*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 87 |
| 1 | 18 | 87 |
| 2 | 36 | 87 |
| 3 | 75 | 87 |
| 4 | 144 | 87 |
| 5 | 357 | 87 |
| 6 | 1218 | 87 |
| 7 | 1929 | 87 |
| 8 | 2016 | 87 |
| 9 | 2149 | 87 |
| 10 | 2307 | 87 |
| 11 | 2537 | 87 |
| 12 | 2859 | 87 |
| 13 | 3280 | 87 |
| 14 | 3780 | 87 |
| 15 | 4375 | 87 |
| 16 | 5095 | 87 |
| 17 | 5416 | 87 |
| 18 | 5700 | 87 |
| 19 | 5922 | 87 |
| 20 | 6102 | 87 |
| 21 | 6184 | 87 |
| 22 | 7124 | 87 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(*.f64 -1/6 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(*.f64 -1/6 (pow.f64 x 3)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) 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)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(*.f64 -1/6 (pow.f64 x 3)) |
(+.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)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(*.f64 -1/6 (pow.f64 x 3)) |
(+.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)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 3.3b | (-.f64 (+.f64 1 x) 1) | |
| ✓ | 3.3b | (-.f64 (+.f64 1 x) 1) |
Compiled 11 to 8 computations (27.3% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | -inf | (-.f64 (+.f64 1 x) 1) |
| 0.0ms | x | @ | 0 | (-.f64 (+.f64 1 x) 1) |
| 0.0ms | x | @ | inf | (-.f64 (+.f64 1 x) 1) |
| 1× | batch-egg-rewrite |
| 553× | pow1_binary64 |
| 521× | add-log-exp_binary64 |
| 521× | log1p-expm1-u_binary64 |
| 521× | expm1-log1p-u_binary64 |
| 513× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 5 | 7 |
| 1 | 115 | 1 |
| 2 | 1575 | 1 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (+.f64 1 x) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (+.f64 x -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 x 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (+.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 x) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 1 x) 3) -1) (/.f64 1 (+.f64 (pow.f64 (+.f64 1 x) 2) (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) 1) (-.f64 (sqrt.f64 (+.f64 1 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (+.f64 1 x) 2) (+.f64 x 2)) (+.f64 (pow.f64 (+.f64 1 x) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 x) 3) -1) (+.f64 (pow.f64 (+.f64 1 x) 2) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 1 x) 3) -1) (+.f64 (pow.f64 (+.f64 1 x) 2) (-.f64 1 (*.f64 (+.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 2) x) (-.f64 (+.f64 1 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 1 x) 3) -1)) (neg.f64 (+.f64 (pow.f64 (+.f64 1 x) 2) (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (+.f64 x 2) x)) (neg.f64 (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (+.f64 x -1) 3)) (+.f64 1 (-.f64 (*.f64 (+.f64 x -1) (+.f64 x -1)) (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (+.f64 x -1) (+.f64 x -1))) (-.f64 1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 x 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 x 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x . x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (cbrt.f64 (+.f64 1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 (+.f64 1 x)) -1))))) |
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 1 | 12 |
| 1× | saturated |
| Inputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
| Outputs |
|---|
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
Compiled 2397 to 1859 computations (22.4% saved)
15 alts after pruning (5 fresh and 10 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 168 | 5 | 173 |
| Fresh | 1 | 0 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 10 | 10 |
| Total | 170 | 15 | 185 |
| Status | Error | Program |
|---|---|---|
| 30.9b | (/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) | |
| 30.2b | x | |
| ✓ | 48.0b | (+.f64 (log.f64 2) (log.f64 x)) |
| ✓ | 27.2b | (log1p.f64 x) |
| ✓ | 47.9b | (log.f64 (/.f64 -1/2 x)) |
| ✓ | 31.4b | (+.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))) |
| ✓ | 45.7b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| ✓ | 31.2b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
| 30.8b | (/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) | |
| ✓ | 61.2b | (-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
| ✓ | 45.7b | (-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| ✓ | 48.1b | (log.f64 (*.f64 2 x)) |
| 59.8b | (+.f64 1 (+.f64 x -1)) | |
| 30.8b | (*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) | |
| ✓ | 31.5b | (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
Compiled 133 to 103 computations (22.6% saved)
| Inputs |
|---|
x |
x |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) |
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(log1p.f64 x) |
(log.f64 (*.f64 2 x)) |
(log.f64 (/.f64 -1/2 x)) |
(log.f64 (*.f64 x 2)) |
(log.f64 (+.f64 1 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
(+.f64 (log.f64 2) (log.f64 x)) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
(+.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))) |
| Outputs |
|---|
(log.f64 (/.f64 -1/2 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) (log.f64 x)) |
3 calls:
| 32.0ms | x |
| 10.0ms | (log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| 8.0ms | (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 3 | x |
| 8.1b | 3 | (log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| 8.1b | 3 | (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))) |
Compiled 163 to 119 computations (27% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 26.0ms | 3.6098787903290164e-5 | 1912091059265.0308 |
| 26.0ms | -22389289596.595707 | -0.010409275933574996 |
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
x |
x |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) |
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(log1p.f64 x) |
(log.f64 (*.f64 2 x)) |
(log.f64 (/.f64 -1/2 x)) |
(log.f64 (*.f64 x 2)) |
(log.f64 (+.f64 1 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
(+.f64 (log.f64 2) (log.f64 x)) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
| Outputs |
|---|
(log.f64 (/.f64 -1/2 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(+.f64 (log.f64 2) (log.f64 x)) |
3 calls:
| 27.0ms | x |
| 9.0ms | (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))) |
| 8.0ms | (log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Error | Segments | Branch |
|---|---|---|
| 0.1b | 3 | x |
| 8.1b | 3 | (log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| 8.1b | 3 | (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))) |
Compiled 144 to 104 computations (27.8% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 24.0ms | 3.6098787903290164e-5 | 1912091059265.0308 |
| 24.0ms | -22389289596.595707 | -0.010409275933574996 |
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
x |
x |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) |
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(log1p.f64 x) |
(log.f64 (*.f64 2 x)) |
(log.f64 (/.f64 -1/2 x)) |
(log.f64 (*.f64 x 2)) |
(log.f64 (+.f64 1 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
(+.f64 (log.f64 2) (log.f64 x)) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(-.f64 (+.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x)))) 1) |
| Outputs |
|---|
(log.f64 (/.f64 -1/2 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (log.f64 2) (log.f64 x)) |
3 calls:
| 25.0ms | x |
| 9.0ms | (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))) |
| 8.0ms | (log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Error | Segments | Branch |
|---|---|---|
| 0.2b | 3 | x |
| 8.2b | 3 | (log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| 8.2b | 3 | (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))) |
Compiled 131 to 94 computations (28.2% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 23.0ms | 3.6098787903290164e-5 | 1912091059265.0308 |
| 24.0ms | -22389289596.595707 | -0.010409275933574996 |
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
x |
x |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) |
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(log1p.f64 x) |
(log.f64 (*.f64 2 x)) |
(log.f64 (/.f64 -1/2 x)) |
(log.f64 (*.f64 x 2)) |
(log.f64 (+.f64 1 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(-.f64 (+.f64 1 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x)) 1) |
| Outputs |
|---|
(log.f64 (/.f64 -1/2 x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(log.f64 (*.f64 2 x)) |
1 calls:
| 22.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.4b | 3 | x |
Compiled 82 to 59 computations (28% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 24.0ms | 3.6098787903290164e-5 | 1912091059265.0308 |
| 25.0ms | -22389289596.595707 | -0.010409275933574996 |
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
x |
x |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) |
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(log1p.f64 x) |
(log.f64 (*.f64 2 x)) |
(log.f64 (/.f64 -1/2 x)) |
(log.f64 (*.f64 x 2)) |
(log.f64 (+.f64 1 x)) |
| Outputs |
|---|
(log.f64 (/.f64 -1/2 x)) |
x |
(log.f64 (*.f64 2 x)) |
1 calls:
| 20.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.6b | 3 | x |
Compiled 64 to 45 computations (29.7% saved)
| 2× | binary-search |
| Time | Left | Right |
|---|---|---|
| 24.0ms | 3.6098787903290164e-5 | 1912091059265.0308 |
| 26.0ms | -22389289596.595707 | -0.010409275933574996 |
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
x |
x |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) |
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(log1p.f64 x) |
(log.f64 (*.f64 2 x)) |
| Outputs |
|---|
x |
(log.f64 (*.f64 2 x)) |
1 calls:
| 11.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 15.5b | 2 | x |
Compiled 52 to 36 computations (30.8% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 24.0ms | 3.6098787903290164e-5 | 1912091059265.0308 |
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
x |
x |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) |
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
(log1p.f64 x) |
| Outputs |
|---|
x |
(log1p.f64 x) |
1 calls:
| 11.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 26.0b | 2 | x |
Compiled 48 to 33 computations (31.3% saved)
| 1× | binary-search |
| Time | Left | Right |
|---|---|---|
| 24.0ms | 3.6098787903290164e-5 | 1912091059265.0308 |
Compiled 14 to 10 computations (28.6% saved)
Total -30.3b remaining (-100.4%)
Threshold costs -30.3b (-100.4%)
| Inputs |
|---|
x |
x |
(+.f64 1 (+.f64 x -1)) |
(-.f64 (+.f64 1 x) 1) |
(/.f64 (*.f64 (+.f64 x 2) x) (+.f64 x 2)) |
(/.f64 1 (/.f64 (+.f64 x 2) (*.f64 (+.f64 x 2) x))) |
(*.f64 (*.f64 (+.f64 x 2) x) (/.f64 1 (+.f64 x 2))) |
| Outputs |
|---|
x |
1 calls:
| 5.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 30.2b | 1 | x |
Compiled 46 to 32 computations (30.4% saved)
| 1× | egg-herbie |
| 7× | +-commutative_binary64 |
| 4× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 46 | 218 |
| 1 | 57 | 218 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.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) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) (+.f64 (log.f64 2) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (+.f64 (log.f64 2) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (log.f64 (*.f64 2 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 2 x)))) |
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 2 x))) |
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log1p.f64 x)) |
x |
| Outputs |
|---|
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.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) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 x (*.f64 -5/112 (pow.f64 x 7))))) (+.f64 (log.f64 2) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) (+.f64 (log.f64 2) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 x (*.f64 3/40 (pow.f64 x 5)))) (+.f64 (log.f64 2) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (+.f64 (log.f64 2) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))) (+.f64 (log.f64 2) (log.f64 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) (log.f64 (*.f64 2 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) (+.f64 x (*.f64 -1/6 (pow.f64 x 3))) (log.f64 (*.f64 x 2)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 2 x)))) |
(if (<=.f64 x -5869217932009985/262144) (log.f64 (/.f64 -1/2 x)) (if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 x 2)))) |
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 2 x))) |
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log.f64 (*.f64 x 2))) |
(if (<=.f64 x 5327240814584927/147573952589676412928) x (log1p.f64 x)) |
x |
| 1× | fuel |
Compiled 303 to 223 computations (26.4% saved)
Loading profile data...