Time bar (total: 4.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 50% | 50% | 0% | 4 |
| 62.5% | 37.5% | 0% | 5 |
| 68.7% | 31.2% | 0% | 6 |
| 71.8% | 28.1% | 0% | 7 |
| 73.4% | 26.5% | 0% | 8 |
| 74.2% | 25.8% | 0% | 9 |
| 74.6% | 25.4% | 0% | 10 |
| 74.8% | 25.2% | 0% | 11 |
| 74.9% | 25.1% | 0% | 12 |
| 74.9% | 25% | 0% | 13 |
| 74.9% | 25% | 0% | 14 |
Compiled 11 to 8 computations (27.3% saved)
| 1.6s | 2592× | body | 1024 | valid |
| 832.0ms | 1249× | body | 2048 | valid |
| 505.0ms | 1286× | body | 512 | valid |
| 279.0ms | 2438× | body | 128 | valid |
| 152.0ms | 646× | body | 256 | valid |
| 39.0ms | 45× | body | 4096 | valid |
Compiled 22 to 16 computations (27.3% saved)
| 2× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | hypot-1-def_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 9 |
| 2 | 14 | 9 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1)))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 10 to 7 computations (30% saved)
| 1× | egg-herbie |
| 2× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
| 1× | hypot-1-def_binary64 |
| 1× | fma-def_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 12 |
| 1 | 13 | 9 |
| 2 | 14 | 9 |
| 1× | saturated |
| Inputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
| Outputs |
|---|
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))) |
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x 1)))) |
(log.f64 (+.f64 x (hypot.f64 1 x))) |
1 alts after pruning (1 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 1 | 0 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 2 | 1 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 44.9b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 30 to 21 computations (30% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (hypot.f64 1 x) |
| ✓ | 0.8b | (+.f64 x (hypot.f64 1 x)) |
| ✓ | 2.6b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 1.0ms | x | @ | -inf | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 1.0ms | x | @ | inf | (log.f64 (+.f64 x (hypot.f64 1 x))) |
| 0.0ms | x | @ | -inf | (+.f64 x (hypot.f64 1 x)) |
| 0.0ms | x | @ | inf | (+.f64 x (hypot.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 619× | pow1_binary64 |
| 575× | add-log-exp_binary64 |
| 575× | log1p-expm1-u_binary64 |
| 575× | expm1-log1p-u_binary64 |
| 62× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 20 |
| 1 | 121 | 20 |
| 2 | 1555 | 20 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 x (hypot.f64 1 x))) |
(+.f64 x (hypot.f64 1 x)) |
(hypot.f64 1 x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2)) (log.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))) (log.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))) (log.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (log.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2) (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x (hypot.f64 1 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 x (hypot.f64 1 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 x (hypot.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 x x) (-.f64 x (hypot.f64 1 x))) (/.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 2) (cbrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) (sqrt.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (/.f64 1 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2)) (/.f64 1 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x))) (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 x (hypot.f64 1 x)) (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3)) (+.f64 (pow.f64 (hypot.f64 1 x) 2) (-.f64 (*.f64 x x) (*.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2)) (-.f64 x (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (hypot.f64 1 x) 3))) (neg.f64 (fma.f64 x x (*.f64 (hypot.f64 1 x) (-.f64 (hypot.f64 1 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 x x) (pow.f64 (hypot.f64 1 x) 2))) (neg.f64 (-.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (hypot.f64 1 x) 2) (*.f64 x x)) (-.f64 (hypot.f64 1 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (hypot.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (hypot.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (hypot.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))) 2)) (cbrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))) (sqrt.f64 (log.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 x (hypot.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (hypot.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (hypot.f64 1 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (hypot.f64 1 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (hypot.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (hypot.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (hypot.f64 1 x)) (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (hypot.f64 1 x)) 2) (cbrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (hypot.f64 1 x)) (sqrt.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (hypot.f64 1 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (hypot.f64 1 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (hypot.f64 1 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (hypot.f64 1 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (hypot.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (hypot.f64 1 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (hypot.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (hypot.f64 1 x))))))) |
| 1× | egg-herbie |
| 451× | associate-/r*_binary64 |
| 398× | associate-*l*_binary64 |
| 381× | fma-def_binary64 |
| 292× | sub-neg_binary64 |
| 234× | fma-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 110 | 560 |
| 1 | 332 | 540 |
| 2 | 873 | 537 |
| 3 | 2560 | 537 |
| 1× | node limit |
| Inputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
1 |
(+.f64 1 x) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) x))) |
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 2 x) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(/.f64 -1/2 x) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4)))) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4))))) |
x |
(+.f64 (*.f64 1/2 (/.f64 1 x)) x) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(*.f64 -1 x) |
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) |
| Outputs |
|---|
x |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) x) |
(fma.f64 -1/6 (pow.f64 x 3) x) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) (+.f64 (*.f64 -5/112 (pow.f64 x 7)) x))) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) (fma.f64 -5/112 (pow.f64 x 7) x))) |
(+.f64 (log.f64 2) (*.f64 -1 (log.f64 (/.f64 1 x)))) |
(+.f64 (log.f64 2) (neg.f64 (neg.f64 (log.f64 x)))) |
(+.f64 (log.f64 2) (log.f64 x)) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 2) (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 x))) |
(+.f64 (log.f64 2) (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (-.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 2) (-.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 3/32 (pow.f64 x 4)))) |
(+.f64 (log.f64 2) (+.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 -3/32 (pow.f64 x 4)))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (+.f64 (log.f64 2) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) (*.f64 3/32 (/.f64 1 (pow.f64 x 4)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (+.f64 (+.f64 (log.f64 2) (/.f64 5/96 (pow.f64 x 6))) (/.f64 1/4 (*.f64 x x)))) (/.f64 3/32 (pow.f64 x 4))) |
(+.f64 (log.f64 x) (+.f64 (log.f64 2) (-.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 x) (+.f64 (+.f64 (log.f64 2) (/.f64 1/4 (*.f64 x x))) (-.f64 (/.f64 5/96 (pow.f64 x 6)) (/.f64 3/32 (pow.f64 x 4))))) |
(+.f64 (/.f64 5/96 (pow.f64 x 6)) (+.f64 (log.f64 2) (+.f64 (+.f64 (log.f64 x) (/.f64 1/4 (*.f64 x x))) (/.f64 -3/32 (pow.f64 x 4))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (log.f64 1/2) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))))) |
(+.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 (/.f64 -1 x)))) |
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (*.f64 3/32 (/.f64 1 (pow.f64 x 4))))) (+.f64 (*.f64 5/96 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2))) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 1/2)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 5/96 (pow.f64 x 6))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 3/32 (pow.f64 x 4)) (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 5/96 (pow.f64 x 6))))) |
(+.f64 (/.f64 3/32 (pow.f64 x 4)) (+.f64 (log.f64 1/2) (+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (/.f64 -5/96 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x)))))) |
1 |
(+.f64 1 x) |
(+.f64 x 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) x)) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) x)) |
(+.f64 x (fma.f64 (*.f64 x x) 1/2 1)) |
(+.f64 x (fma.f64 x (*.f64 x 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/8 (pow.f64 x 4)) x))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 -1/8 (pow.f64 x 4) x))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) -1/8 x))) |
(+.f64 x (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) 1))) |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 (*.f64 2 x) (*.f64 1/2 (/.f64 1 x))) |
(fma.f64 2 x (/.f64 1/2 x)) |
(fma.f64 x 2 (/.f64 1/2 x)) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 2 x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (fma.f64 2 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 (fma.f64 x 2 (/.f64 1/2 x)) (/.f64 -1/8 (pow.f64 x 3))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 2 x) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 (fma.f64 2 x (/.f64 1/2 x)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3))) |
(-.f64 (+.f64 (/.f64 1/2 x) (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5)))) (/.f64 1/8 (pow.f64 x 3))) |
(-.f64 (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5))) (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
(+.f64 (/.f64 1/2 x) (+.f64 (fma.f64 x 2 (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/8 (pow.f64 x 3)))) |
(/.f64 -1/2 x) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/2 x)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 -1/2 x)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5)))) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 5/128 (/.f64 1 (pow.f64 x 7)))) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) (*.f64 1/2 (/.f64 1 x)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 5/128 (pow.f64 x 7)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (-.f64 (/.f64 5/128 (pow.f64 x 7)) (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/2 x))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 5/128 (pow.f64 x 7)) (+.f64 (/.f64 -1/2 x) (/.f64 -1/16 (pow.f64 x 5))))) |
1 |
(+.f64 1 (*.f64 1/2 (pow.f64 x 2))) |
(+.f64 1 (*.f64 (*.f64 x x) 1/2)) |
(fma.f64 (*.f64 x x) 1/2 1) |
(fma.f64 x (*.f64 x 1/2) 1) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4)))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) -1/8))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (*.f64 (pow.f64 x 4) -1/8))) |
(fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) 1)) |
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4))))) |
(+.f64 1 (fma.f64 1/2 (*.f64 x x) (fma.f64 1/16 (pow.f64 x 6) (*.f64 (pow.f64 x 4) -1/8)))) |
(+.f64 1 (fma.f64 (*.f64 x x) 1/2 (fma.f64 (pow.f64 x 4) -1/8 (*.f64 (pow.f64 x 6) 1/16)))) |
(+.f64 (*.f64 (pow.f64 x 6) 1/16) (fma.f64 (pow.f64 x 4) -1/8 (fma.f64 x (*.f64 x 1/2) 1))) |
(+.f64 1 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) -1/8 (*.f64 (pow.f64 x 6) 1/16)))) |
x |
(+.f64 (*.f64 1/2 (/.f64 1 x)) x) |
(+.f64 x (/.f64 1/2 x)) |
(-.f64 x (/.f64 -1/2 x)) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) x) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))) |
(+.f64 x (-.f64 (/.f64 1/2 x) (/.f64 1/8 (pow.f64 x 3)))) |
(+.f64 x (+.f64 (/.f64 1/2 x) (/.f64 -1/8 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (+.f64 x (/.f64 -1/8 (pow.f64 x 3)))) |
(-.f64 (+.f64 (*.f64 1/2 (/.f64 1 x)) (+.f64 (*.f64 1/16 (/.f64 1 (pow.f64 x 5))) x)) (*.f64 1/8 (/.f64 1 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (-.f64 (+.f64 x (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))) |
(+.f64 (/.f64 1/2 x) (+.f64 x (-.f64 (/.f64 1/16 (pow.f64 x 5)) (/.f64 1/8 (pow.f64 x 3))))) |
(+.f64 x (-.f64 (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))) (/.f64 1/8 (pow.f64 x 3)))) |
(+.f64 (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))) (+.f64 x (/.f64 -1/8 (pow.f64 x 3)))) |
(*.f64 -1 x) |
(neg.f64 x) |
(-.f64 (*.f64 -1 x) (*.f64 1/2 (/.f64 1 x))) |
(-.f64 (neg.f64 x) (/.f64 1/2 x)) |
(fma.f64 x -1 (/.f64 -1/2 x)) |
(-.f64 (/.f64 -1/2 x) x) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (*.f64 1/2 (/.f64 1 x))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (/.f64 1/2 x))) |
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (/.f64 -1/2 x)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (/.f64 -1/2 x) x)) |
(-.f64 (+.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 -1 x)) (+.f64 (*.f64 1/2 (/.f64 1 x)) (*.f64 1/16 (/.f64 1 (pow.f64 x 5))))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (-.f64 (neg.f64 x) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))) |
(+.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) x) (-.f64 (/.f64 -1/2 x) (/.f64 1/16 (pow.f64 x 5)))) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (-.f64 (/.f64 -1/2 x) x) (/.f64 -1/16 (pow.f64 x 5)))) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 137 | 2 | 139 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 137 | 3 | 140 |
| Status | Error | Program |
|---|---|---|
| ▶ | 31.6b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
| 47.8b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) | |
| ✓ | 44.9b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 1887 to 1437 computations (23.8% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 3/40 (pow.f64 x 5) x) |
| ✓ | 18.5b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
| 1.0ms | x | @ | inf | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
| 1.0ms | x | @ | -inf | (fma.f64 3/40 (pow.f64 x 5) x) |
| 1.0ms | x | @ | inf | (fma.f64 3/40 (pow.f64 x 5) x) |
| 1.0ms | x | @ | 0 | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
| 1× | batch-egg-rewrite |
| 836× | log1p-expm1-u_binary64 |
| 836× | expm1-log1p-u_binary64 |
| 100× | add-sqr-sqrt_binary64 |
| 97× | add-log-exp_binary64 |
| 95× | add-cube-cbrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 23 |
| 1 | 218 | 23 |
| 2 | 2261 | 23 |
| 1× | node limit |
| Inputs |
|---|
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
(fma.f64 3/40 (pow.f64 x 5) x) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.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 -1/6 (pow.f64 x 3)) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -1/6 (pow.f64 x 3)) 1) (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) 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 (+.f64 (pow.f64 (*.f64 -1/6 (pow.f64 x 3)) 3) (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3)) (+.f64 (*.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -1/6 (pow.f64 x 3))) (-.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 (-.f64 (*.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 -1/6 (pow.f64 x 3))) (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 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)) 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 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 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 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 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 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 +.f64 x (*.f64 3/40 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3/40 (pow.f64 x 5)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 3/40 (pow.f64 x 5)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 3/40 (pow.f64 x 5) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 3/40 (pow.f64 x 5) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 3/40 (pow.f64 x 5) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.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))))) (#(struct:change #<rule egg-rr> (2) ((x *.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)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 3/40 (pow.f64 x 5)) 3) (pow.f64 x 3)) (+.f64 (*.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 3/40 (pow.f64 x 5))) (-.f64 (*.f64 x x) (*.f64 (*.f64 3/40 (pow.f64 x 5)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 3/40 (pow.f64 x 5)) (*.f64 3/40 (pow.f64 x 5))) (*.f64 x x)) (-.f64 (*.f64 3/40 (pow.f64 x 5)) x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (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 3/40 (pow.f64 x 5) x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3/40 (pow.f64 x 5) x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3/40 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3/40 (pow.f64 x 5) x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3/40 (pow.f64 x 5) x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3/40 (pow.f64 x 5) x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3/40 (pow.f64 x 5) x))))))) |
| 1× | egg-herbie |
| 828× | sqr-pow_binary64 |
| 416× | unswap-sqr_binary64 |
| 388× | pow-sqr_binary64 |
| 334× | cube-prod_binary64 |
| 242× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 228 |
| 1 | 37 | 228 |
| 2 | 72 | 228 |
| 3 | 161 | 228 |
| 4 | 300 | 228 |
| 5 | 745 | 228 |
| 6 | 1133 | 228 |
| 7 | 1779 | 228 |
| 8 | 1887 | 228 |
| 9 | 2049 | 228 |
| 10 | 2264 | 228 |
| 11 | 2594 | 228 |
| 12 | 3050 | 228 |
| 13 | 3647 | 228 |
| 14 | 4398 | 228 |
| 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)) x)) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (*.f64 3/40 (pow.f64 x 5))) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 -1/6 (pow.f64 x 3)) (+.f64 (*.f64 3/40 (pow.f64 x 5)) x)) |
x |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) 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)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) 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 (*.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)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) 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 (*.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)) x)) |
(fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
x |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(*.f64 3/40 (pow.f64 x 5)) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
(+.f64 (*.f64 3/40 (pow.f64 x 5)) x) |
(fma.f64 3/40 (pow.f64 x 5) x) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 56 | 0 | 56 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 56 | 3 | 59 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.6b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
| ▶ | 47.8b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
| ✓ | 44.9b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 914 to 708 computations (22.5% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)) |
| ✓ | 0.2b | (/.f64 1/8 (pow.f64 x 3)) |
| ✓ | 10.9b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 2.0ms | x | @ | inf | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
| 1.0ms | x | @ | 0 | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
| 1.0ms | x | @ | 0 | (/.f64 1/8 (pow.f64 x 3)) |
| 1.0ms | x | @ | -inf | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
| 0.0ms | x | @ | 0 | (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)) |
| 1× | batch-egg-rewrite |
| 914× | prod-diff_binary64 |
| 193× | log1p-udef_binary64 |
| 113× | add-sqr-sqrt_binary64 |
| 110× | add-log-exp_binary64 |
| 109× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 35 |
| 1 | 235 | 31 |
| 2 | 3098 | 31 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
(/.f64 1/8 (pow.f64 x 3)) |
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (cbrt.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 2))) (log.f64 (cbrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (log.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) (/.f64 -1/8 (pow.f64 x 3)))) (log.f64 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (fma.f64 1/8 x (*.f64 (pow.f64 x 3) -1/2))) (log.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x)))) (log.f64 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2) (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/8 (pow.f64 x -3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/8 (pow.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/8 (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/8 (/.f64 1 (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/2 x) (pow.f64 (/.f64 1/2 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (/.f64 1/2 x) 2) (/.f64 1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)) (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 x -3) 1/8)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/8 (pow.f64 x -3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/2 x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) 8) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/64 (pow.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/8) (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/8 (pow.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/8 (pow.f64 x -3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/8 (pow.f64 x -3)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (/.f64 1/64 (pow.f64 x 6)) (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x))) (/.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) (cbrt.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 2)) (cbrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/8 x (*.f64 (pow.f64 x 3) -1/2)) (/.f64 1 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) (/.f64 -1/8 (pow.f64 x 3))) (/.f64 1 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 1 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (pow.f64 x 4) (fma.f64 1/8 x (*.f64 (pow.f64 x 3) -1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4))) (+.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) (/.f64 -1/8 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x)) (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/8 x (*.f64 (pow.f64 x 3) -1/2)) (pow.f64 x 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) (/.f64 -1/8 (pow.f64 x 3))) (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) (/.f64 -1/8 (pow.f64 x 3))) (+.f64 (/.f64 1/4 (*.f64 x x)) (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 -1/16 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 1/8 x (*.f64 (pow.f64 x 3) -1/2))) (neg.f64 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 1/512 (pow.f64 (pow.f64 x -3) 3)) (/.f64 -1/8 (pow.f64 x 3)))) (neg.f64 (-.f64 (+.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x))) (/.f64 -1/16 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (/.f64 1/64 (pow.f64 x 6)) (/.f64 1/4 (*.f64 x x)))) (neg.f64 (-.f64 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 x (*.f64 (*.f64 (pow.f64 x 3) 8) -1/2)) (*.f64 (*.f64 (pow.f64 x 3) 8) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1/8 x) (*.f64 (neg.f64 (pow.f64 x 3)) -1/2)) (*.f64 (neg.f64 (pow.f64 x 3)) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/8 (*.f64 x -2)) (pow.f64 x 3)) (*.f64 (pow.f64 x 3) (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 x -2) (*.f64 (*.f64 (pow.f64 x 3) 8) 1)) (*.f64 (*.f64 (pow.f64 x 3) 8) (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1/8 (*.f64 x -2)) (*.f64 (neg.f64 (pow.f64 x 3)) 1)) (*.f64 (neg.f64 (pow.f64 x 3)) (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/8 (neg.f64 x)) (*.f64 (pow.f64 x 3) 1/2)) (*.f64 (pow.f64 x 3) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (neg.f64 x) (*.f64 (*.f64 (pow.f64 x 3) 8) 1/2)) (*.f64 (*.f64 (pow.f64 x 3) 8) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1/8 (neg.f64 x)) (*.f64 (neg.f64 (pow.f64 x 3)) 1/2)) (*.f64 (neg.f64 (pow.f64 x 3)) (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (*.f64 (*.f64 x -2) 1/8)) (*.f64 (*.f64 x -2) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/2 (pow.f64 x 3)) (*.f64 (neg.f64 x) 1/8)) (*.f64 (neg.f64 x) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 x 3) 8)) x) (*.f64 x (*.f64 (pow.f64 x 3) 8)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 8) (*.f64 (*.f64 x -2) 1)) (*.f64 (*.f64 x -2) (*.f64 (pow.f64 x 3) 8)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/2 (*.f64 (pow.f64 x 3) 8)) (*.f64 (neg.f64 x) 1)) (*.f64 (neg.f64 x) (*.f64 (pow.f64 x 3) 8)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 -1/2 (neg.f64 (pow.f64 x 3))) (*.f64 x -1/8)) (*.f64 x (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (neg.f64 (pow.f64 x 3)) (*.f64 (*.f64 x -2) -1/8)) (*.f64 (*.f64 x -2) (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 1/2 (neg.f64 (pow.f64 x 3))) (*.f64 (neg.f64 x) -1/8)) (*.f64 (neg.f64 x) (neg.f64 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/64 (pow.f64 x 6))) (-.f64 (/.f64 -1/2 x) (*.f64 1/8 (pow.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 1/8 x (*.f64 (pow.f64 x 3) -1/2)) (pow.f64 x 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))) (sqrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))) 2)) (cbrt.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (/.f64 1 x) (*.f64 1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/8 (pow.f64 x -3)) (/.f64 -1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 -1/2 x) (*.f64 1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 1/4 (*.f64 x x))) (cbrt.f64 (/.f64 -1/2 x)) (*.f64 1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (/.f64 1/2 x) 2) (/.f64 1/2 x) (/.f64 -1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 -1/2 x)) (sqrt.f64 (/.f64 -1/2 x)) (*.f64 1/8 (pow.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)) (/.f64 (sqrt.f64 1/8) (pow.f64 x 3/2)) (/.f64 -1/2 x))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x)))))))) |
| 1× | egg-herbie |
| 790× | fma-def_binary64 |
| 303× | associate-/r*_binary64 |
| 282× | associate-*l*_binary64 |
| 275× | associate--l+_binary64 |
| 269× | sub-neg_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 67 | 406 |
| 1 | 180 | 396 |
| 2 | 482 | 394 |
| 3 | 1617 | 394 |
| 1× | node limit |
| Inputs |
|---|
(+.f64 (*.f64 -3 (log.f64 x)) (log.f64 1/8)) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (log.f64 1/8))) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (log.f64 1/8) (*.f64 -8 (pow.f64 x 4))))) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (log.f64 1/8) (+.f64 (*.f64 -8 (pow.f64 x 4)) (*.f64 -64/3 (pow.f64 x 6)))))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(/.f64 1/8 (pow.f64 x 3)) |
(-.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 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(/.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 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
(/.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 1/2 (/.f64 1 x))) |
(-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 x))) |
| Outputs |
|---|
(+.f64 (*.f64 -3 (log.f64 x)) (log.f64 1/8)) |
(fma.f64 -3 (log.f64 x) (log.f64 1/8)) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (log.f64 1/8))) |
(fma.f64 -3 (log.f64 x) (fma.f64 -4 (*.f64 x x) (log.f64 1/8))) |
(fma.f64 -3 (log.f64 x) (fma.f64 x (*.f64 x -4) (log.f64 1/8))) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (log.f64 1/8) (*.f64 -8 (pow.f64 x 4))))) |
(fma.f64 -3 (log.f64 x) (+.f64 (fma.f64 -4 (*.f64 x x) (log.f64 1/8)) (*.f64 -8 (pow.f64 x 4)))) |
(fma.f64 -3 (log.f64 x) (fma.f64 -4 (*.f64 x x) (fma.f64 -8 (pow.f64 x 4) (log.f64 1/8)))) |
(fma.f64 -3 (log.f64 x) (fma.f64 x (*.f64 x -4) (fma.f64 -8 (pow.f64 x 4) (log.f64 1/8)))) |
(+.f64 (*.f64 -3 (log.f64 x)) (+.f64 (*.f64 -4 (pow.f64 x 2)) (+.f64 (log.f64 1/8) (+.f64 (*.f64 -8 (pow.f64 x 4)) (*.f64 -64/3 (pow.f64 x 6)))))) |
(fma.f64 -3 (log.f64 x) (fma.f64 -4 (*.f64 x x) (+.f64 (log.f64 1/8) (fma.f64 -8 (pow.f64 x 4) (*.f64 -64/3 (pow.f64 x 6)))))) |
(+.f64 (fma.f64 -3 (log.f64 x) (fma.f64 -4 (*.f64 x x) (log.f64 1/8))) (fma.f64 -8 (pow.f64 x 4) (*.f64 -64/3 (pow.f64 x 6)))) |
(fma.f64 -3 (log.f64 x) (fma.f64 x (*.f64 x -4) (fma.f64 -8 (pow.f64 x 4) (fma.f64 -64/3 (pow.f64 x 6) (log.f64 1/8))))) |
(fma.f64 -64/3 (pow.f64 x 6) (fma.f64 -3 (log.f64 x) (fma.f64 x (*.f64 x -4) (fma.f64 -8 (pow.f64 x 4) (log.f64 1/8))))) |
(+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) |
(+.f64 (log.f64 -1/2) (neg.f64 (log.f64 x))) |
(-.f64 (log.f64 -1/2) (log.f64 x)) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(+.f64 (log.f64 -1/2) (-.f64 (neg.f64 (log.f64 x)) (/.f64 1/4 (*.f64 x x)))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 -1/4 (*.f64 x x))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 (/.f64 -1/4 x) x)) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(+.f64 (log.f64 -1/2) (-.f64 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4))))) |
(+.f64 (-.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (/.f64 1/32 (pow.f64 x 4))) (/.f64 -1/4 (*.f64 x x))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (+.f64 (/.f64 -1/4 (*.f64 x x)) (/.f64 -1/32 (pow.f64 x 4)))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4)))) |
(-.f64 (+.f64 (log.f64 -1/2) (log.f64 (/.f64 1 x))) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 (log.f64 -1/2) (-.f64 (neg.f64 (log.f64 x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6)))))) |
(-.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6))))) |
(+.f64 (-.f64 (log.f64 -1/2) (log.f64 x)) (-.f64 (/.f64 -1/4 (*.f64 x x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6))))) |
(+.f64 (-.f64 (/.f64 (/.f64 -1/4 x) x) (log.f64 x)) (+.f64 (-.f64 (log.f64 -1/2) (/.f64 1/32 (pow.f64 x 4))) (/.f64 -1/192 (pow.f64 x 6)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (/.f64 1/4 (*.f64 x x))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (/.f64 (/.f64 -1/4 x) x))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/32 (pow.f64 x 4)))) |
(+.f64 (+.f64 (log.f64 1/2) (-.f64 (log.f64 (/.f64 -1 x)) (/.f64 1/32 (pow.f64 x 4)))) (/.f64 -1/4 (*.f64 x x))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 1/32 (pow.f64 x 4)))) |
(+.f64 (log.f64 (/.f64 -1 x)) (+.f64 (log.f64 1/2) (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (*.f64 1/32 (/.f64 1 (pow.f64 x 4))) (+.f64 (*.f64 1/192 (/.f64 1 (pow.f64 x 6))) (*.f64 1/4 (/.f64 1 (pow.f64 x 2)))))) |
(-.f64 (+.f64 (log.f64 (/.f64 -1 x)) (log.f64 1/2)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (+.f64 (/.f64 1/4 (*.f64 x x)) (/.f64 1/192 (pow.f64 x 6))))) |
(+.f64 (log.f64 1/2) (-.f64 (log.f64 (/.f64 -1 x)) (+.f64 (/.f64 1/4 (*.f64 x x)) (+.f64 (/.f64 1/32 (pow.f64 x 4)) (/.f64 1/192 (pow.f64 x 6)))))) |
(+.f64 (log.f64 (/.f64 -1 x)) (-.f64 (-.f64 (+.f64 (log.f64 1/2) (/.f64 -1/4 (*.f64 x x))) (/.f64 1/32 (pow.f64 x 4))) (/.f64 1/192 (pow.f64 x 6)))) |
(+.f64 (log.f64 1/2) (+.f64 (+.f64 (/.f64 (/.f64 -1/4 x) x) (/.f64 -1/32 (pow.f64 x 4))) (+.f64 (log.f64 (/.f64 -1 x)) (/.f64 -1/192 (pow.f64 x 6))))) |
(/.f64 1/8 (pow.f64 x 3)) |
(-.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 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 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 -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 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 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 -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 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 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)) |
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 131 | 0 | 131 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 131 | 3 | 134 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.6b | (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) |
| ✓ | 47.8b | (log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))) |
| ✓ | 44.9b | (log.f64 (+.f64 x (hypot.f64 1 x))) |
Compiled 2163 to 1725 computations (20.2% saved)
Total 0.1b remaining (60.7%)
Threshold costs 0.1b (60.7%)
Compiled 146 to 108 computations (26% saved)
| 2× | binary-search |
2 calls:
| 21.0ms | x |
| 19.0ms | x |
| Iters | Point | Range | ||||
|---|---|---|---|---|---|---|
0.0075 | ∈ [ | 2.4289434418062825e-7 | , | 39.91230542490914 | ] | |
-1.1 | ∈ [ | -36603.245821148215 | , | -0.0009679624007167131 | ] | |
Compiled 2 to 1 computations (50% saved)
| 1× | egg-herbie |
| 1× | +-commutative_binary64 |
| 1× | 1-exp_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 28 | 49 |
| 1 | 31 | 49 |
| 1× | saturated |
| Inputs |
|---|
(if (<=.f64 x -2476979795053773/2251799813685248) (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) (if (<=.f64 x 138350580552821632/18446744073709551616) (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) (log.f64 (+.f64 x (hypot.f64 1 x))))) |
| Outputs |
|---|
(if (<=.f64 x -2476979795053773/2251799813685248) (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) (if (<=.f64 x 138350580552821632/18446744073709551616) (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) (log.f64 (+.f64 x (hypot.f64 1 x))))) |
(if (<=.f64 x -2476979795053773/2251799813685248) (log.f64 (fma.f64 1/8 (pow.f64 x -3) (/.f64 -1/2 x))) (if (<=.f64 x 1080863910568919/144115188075855872) (fma.f64 -1/6 (pow.f64 x 3) (fma.f64 3/40 (pow.f64 x 5) x)) (log.f64 (+.f64 x (hypot.f64 1 x))))) |
| 1× | done |
Compiled 100 to 75 computations (25% saved)
Loading profile data...