Time bar (total: 1.0s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 25% | 75% | 0% | 3 |
| 62.5% | 37.5% | 0% | 4 |
| 81.2% | 18.7% | 0% | 5 |
| 90.6% | 9.4% | 0% | 6 |
| 95.3% | 4.7% | 0% | 7 |
| 97.6% | 2.3% | 0% | 8 |
| 98.8% | 1.2% | 0% | 9 |
| 99.4% | 0.6% | 0% | 10 |
| 99.7% | 0.3% | 0% | 11 |
| 99.8% | 0.1% | 0% | 12 |
| 99.9% | 0.1% | 0% | 13 |
| 99.9% | 0% | 0% | 14 |
Compiled 9 to 7 computations (22.2% saved)
| 673.0ms | 8256× | body | 128 | valid |
| 2× | egg-herbie |
| 468× | fma-def_binary64 |
| 327× | fma-neg_binary64 |
| 233× | div-sub_binary64 |
| 156× | times-frac_binary64 |
| 137× | associate-/l/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 11 | 10 |
| 2 | 15 | 10 |
| 3 | 21 | 10 |
| 4 | 29 | 10 |
| 5 | 39 | 10 |
| 6 | 52 | 10 |
| 7 | 69 | 10 |
| 8 | 88 | 10 |
| 9 | 120 | 10 |
| 10 | 153 | 10 |
| 11 | 195 | 10 |
| 12 | 287 | 10 |
| 13 | 417 | 10 |
| 14 | 669 | 10 |
| 15 | 1292 | 10 |
| 16 | 1949 | 10 |
| 17 | 2469 | 10 |
| 18 | 2644 | 10 |
| 19 | 2780 | 10 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
| Outputs |
|---|
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
Compiled 8 to 6 computations (25% saved)
| 1× | egg-herbie |
| 468× | fma-def_binary64 |
| 327× | fma-neg_binary64 |
| 233× | div-sub_binary64 |
| 156× | times-frac_binary64 |
| 137× | associate-/l/_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 11 | 10 |
| 2 | 15 | 10 |
| 3 | 21 | 10 |
| 4 | 29 | 10 |
| 5 | 39 | 10 |
| 6 | 52 | 10 |
| 7 | 69 | 10 |
| 8 | 88 | 10 |
| 9 | 120 | 10 |
| 10 | 153 | 10 |
| 11 | 195 | 10 |
| 12 | 287 | 10 |
| 13 | 417 | 10 |
| 14 | 669 | 10 |
| 15 | 1292 | 10 |
| 16 | 1949 | 10 |
| 17 | 2469 | 10 |
| 18 | 2644 | 10 |
| 19 | 2780 | 10 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
| Outputs |
|---|
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
Compiled 8 to 6 computations (25% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (/.f64 (+.f64 x 1) (-.f64 1 x)) |
Compiled 16 to 12 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (+.f64 x 1) (-.f64 1 x)) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (/.f64 (+.f64 x 1) (-.f64 1 x)) |
| 1.0ms | x | @ | inf | (/.f64 (+.f64 x 1) (-.f64 1 x)) |
| 0.0ms | x | @ | -inf | (/.f64 (+.f64 x 1) (-.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 787× | pow1_binary64 |
| 737× | log1p-expm1-u_binary64 |
| 737× | expm1-log1p-u_binary64 |
| 71× | add-sqr-sqrt_binary64 |
| 69× | *-un-lft-identity_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 137 | 10 |
| 2 | 1963 | 10 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 x 1) (-.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (+.f64 x 1) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 1) (/.f64 1 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 x 1) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))) 2) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) (*.f64 (cbrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))) (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (+.f64 x 1)) (/.f64 1 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 x)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) 1) (/.f64 (cbrt.f64 (+.f64 x 1)) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) 1) (/.f64 (sqrt.f64 (+.f64 x 1)) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 (+.f64 x 1) (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (+.f64 x 1)) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 (sqrt.f64 (+.f64 x 1)) (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (-.f64 1 x))) (/.f64 (+.f64 x 1) (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) (sqrt.f64 (-.f64 1 x))) (/.f64 (cbrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 x 1) (-.f64 1 (*.f64 x x))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 x 1) (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 x 1) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 x 1) (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 x) (+.f64 x 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (+.f64 x 1) (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 x 1) (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (+.f64 x 1) (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 x 1) (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 x 1) 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (+.f64 x 1) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (+.f64 x 1) (-.f64 1 x)))))))) |
| 1× | egg-herbie |
| 848× | fma-neg_binary64 |
| 571× | fma-def_binary64 |
| 537× | cancel-sign-sub-inv_binary64 |
| 471× | times-frac_binary64 |
| 153× | distribute-neg-frac_binary64 |
Useful iterations: 4 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 29 | 147 |
| 1 | 91 | 135 |
| 2 | 268 | 129 |
| 3 | 858 | 126 |
| 4 | 2664 | 122 |
| 1× | node limit |
| Inputs |
|---|
1 |
(+.f64 (*.f64 2 x) 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)) |
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))) |
| Outputs |
|---|
1 |
(+.f64 (*.f64 2 x) 1) |
(fma.f64 2 x 1) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1)) |
(fma.f64 2 (*.f64 x x) (fma.f64 2 x 1)) |
(fma.f64 2 (fma.f64 x x x) 1) |
(+.f64 (*.f64 2 (pow.f64 x 3)) (+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) 1))) |
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (*.f64 x x) (fma.f64 2 x 1))) |
(fma.f64 2 (pow.f64 x 3) (fma.f64 2 (fma.f64 x x x) 1)) |
(fma.f64 2 (fma.f64 x (fma.f64 x x x) x) 1) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(+.f64 -1 (neg.f64 (/.f64 2 x))) |
(+.f64 -1 (/.f64 -2 x)) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))) |
(-.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 2 (*.f64 x x))) |
(+.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 (/.f64 -2 x) x)) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))) |
(-.f64 -1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))) |
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3))))) |
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (-.f64 (/.f64 -2 x) (/.f64 2 (pow.f64 x 3))))) |
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1)) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(+.f64 -1 (neg.f64 (/.f64 2 x))) |
(+.f64 -1 (/.f64 -2 x)) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2 (/.f64 1 (pow.f64 x 2)))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))) |
(-.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 2 (*.f64 x x))) |
(+.f64 (+.f64 -1 (/.f64 -2 x)) (/.f64 (/.f64 -2 x) x)) |
(neg.f64 (+.f64 1 (+.f64 (*.f64 2 (/.f64 1 x)) (+.f64 (*.f64 2 (/.f64 1 (pow.f64 x 2))) (*.f64 2 (/.f64 1 (pow.f64 x 3))))))) |
(+.f64 -1 (neg.f64 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))) |
(-.f64 -1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3))))) |
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (+.f64 (/.f64 -2 x) (/.f64 -2 (pow.f64 x 3))))) |
(+.f64 -1 (+.f64 (/.f64 (/.f64 -2 x) x) (-.f64 (/.f64 -2 x) (/.f64 2 (pow.f64 x 3))))) |
(-.f64 (/.f64 -2 x) (fma.f64 (/.f64 (/.f64 1 x) x) (+.f64 2 (/.f64 2 x)) 1)) |
Compiled 583 to 455 computations (22% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 1 | 49 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 48 | 2 | 50 |
| Status | Error | Program |
|---|---|---|
| ▶ | 31.0b | (exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 0.0b | (/.f64 (+.f64 x 1) (-.f64 1 x)) |
Compiled 24 to 18 computations (25% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| 1.0ms | x | @ | inf | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| 1.0ms | x | @ | -inf | (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| 1× | batch-egg-rewrite |
| 519× | pow1_binary64 |
| 484× | add-log-exp_binary64 |
| 484× | expm1-log1p-u_binary64 |
| 482× | log1p-expm1-u_binary64 |
| 475× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 130 | 8 |
| 2 | 1862 | 8 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 x) (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 x) (*.f64 (neg.f64 (log1p.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) (fma.f64 (neg.f64 (log1p.f64 x)) 1 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) (fma.f64 (neg.f64 (cbrt.f64 (log1p.f64 x))) (cbrt.f64 (pow.f64 (log1p.f64 x) 2)) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) (fma.f64 (neg.f64 (sqrt.f64 (log1p.f64 x))) (sqrt.f64 (log1p.f64 x)) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (log1p.f64 x)) (log1p.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (log1p.f64 x) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) (cbrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 2)) (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 x) 3)) (/.f64 1 (+.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (log1p.f64 x) (+.f64 (log1p.f64 x) (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (log1p.f64 x) 2) (pow.f64 (log1p.f64 x) 2)) (/.f64 1 (+.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x))) (-.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (log1p.f64 x) (+.f64 (log1p.f64 x) (log1p.f64 x)))) (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (log1p.f64 x) (log1p.f64 x)) (-.f64 (pow.f64 (log1p.f64 x) 2) (pow.f64 (log1p.f64 x) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 x) 3)) (+.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (log1p.f64 x) (+.f64 (log1p.f64 x) (log1p.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 2) (pow.f64 (log1p.f64 x) 2)) (+.f64 (log1p.f64 x) (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log1p.f64 x) 3))) (neg.f64 (+.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (log1p.f64 x) (+.f64 (log1p.f64 x) (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (log1p.f64 x) 2) (pow.f64 (log1p.f64 x) 2))) (neg.f64 (+.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (neg.f64 (log1p.f64 x)) 3)) (+.f64 (pow.f64 (log1p.f64 x) 2) (-.f64 (*.f64 (neg.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x))) (*.f64 (log1p.f64 x) (neg.f64 (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 2) (*.f64 (neg.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x)))) (-.f64 (log1p.f64 x) (neg.f64 (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 x 1) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (log1p.f64 x) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (log1p.f64 x) (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (log1p.f64 x) 2)) (cbrt.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x)) (neg.f64 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (log1p.f64 x) (log1p.f64 x)))))))) |
| 1× | egg-herbie |
| 829× | fma-def_binary64 |
| 503× | associate-/l/_binary64 |
| 384× | times-frac_binary64 |
| 294× | associate-*l*_binary64 |
| 246× | cancel-sign-sub-inv_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 40 | 177 |
| 1 | 109 | 174 |
| 2 | 258 | 174 |
| 3 | 595 | 174 |
| 4 | 1170 | 174 |
| 5 | 2736 | 174 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
(*.f64 -1 (log.f64 -1)) |
(+.f64 (*.f64 -1 (log.f64 -1)) (*.f64 2 (/.f64 1 x))) |
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(log.f64 -1) |
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 2/3 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 2/3) 2)) |
(*.f64 x (fma.f64 2/3 (*.f64 x x) 2)) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) |
(fma.f64 2/3 (pow.f64 x 3) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2 x))) |
(fma.f64 x (fma.f64 2/3 (*.f64 x x) 2) (*.f64 2/5 (pow.f64 x 5))) |
(+.f64 (*.f64 2/7 (pow.f64 x 7)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/3 (pow.f64 x 3) (fma.f64 2/5 (pow.f64 x 5) (*.f64 2 x)))) |
(fma.f64 2 x (fma.f64 2/5 (pow.f64 x 5) (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/7 (pow.f64 x 7))))) |
(fma.f64 2/5 (pow.f64 x 5) (fma.f64 x (fma.f64 x (*.f64 x 2/3) 2) (*.f64 2/7 (pow.f64 x 7)))) |
(*.f64 -1 (log.f64 -1)) |
(neg.f64 (log.f64 -1)) |
(+.f64 (*.f64 -1 (log.f64 -1)) (*.f64 2 (/.f64 1 x))) |
(fma.f64 -1 (log.f64 -1) (/.f64 2 x)) |
(-.f64 (/.f64 2 x) (log.f64 -1)) |
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 x)))) |
(fma.f64 -1 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (-.f64 (/.f64 2 x) (log.f64 -1))) |
(+.f64 (/.f64 2 x) (-.f64 (/.f64 2/3 (pow.f64 x 3)) (log.f64 -1))) |
(+.f64 (*.f64 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(fma.f64 -1 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (+.f64 (/.f64 2/3 (pow.f64 x 3)) (-.f64 (/.f64 2 x) (log.f64 -1))) (/.f64 2/5 (pow.f64 x 5))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (-.f64 (/.f64 2/5 (pow.f64 x 5)) (log.f64 -1)))) |
(+.f64 (/.f64 2 x) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (-.f64 (/.f64 2/3 (pow.f64 x 3)) (log.f64 -1)))) |
(+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (-.f64 (/.f64 2/5 (pow.f64 x 5)) (log.f64 -1)))) |
(log.f64 -1) |
(+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x))) |
(+.f64 (log.f64 -1) (/.f64 2 x)) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2 x))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (+.f64 (log.f64 -1) (+.f64 (*.f64 2 (/.f64 1 x)) (*.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))) (+.f64 (log.f64 -1) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (+.f64 (log.f64 -1) (/.f64 2 x)))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (pow.f64 x 5))))) |
Compiled 786 to 449 computations (42.9% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 57 | 0 | 57 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 57 | 2 | 59 |
| Status | Error | Program |
|---|---|---|
| ✓ | 31.0b | (exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
| ✓ | 0.0b | (/.f64 (+.f64 x 1) (-.f64 1 x)) |
Compiled 16 to 12 computations (25% saved)
Total -31.0b remaining (-113385.7%)
Threshold costs -31.0b (-113385.7%)
| Inputs |
|---|
(exp.f64 (-.f64 (log1p.f64 x) (log1p.f64 (neg.f64 x)))) |
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
| Outputs |
|---|
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
| Time | Error | Segments | Branch |
| 3.0ms | 0.0b | 1 | x |
| 2.0ms | 0.0b | 1 | (/.f64 (+.f64 x 1) (-.f64 1 x)) |
Compiled 25 to 18 computations (28% saved)
| 1× | egg-herbie |
| 3× | +-commutative_binary64 |
| 2× | sub-neg_binary64 |
| 1× | *-commutative_binary64 |
| 1× | neg-sub0_binary64 |
| 1× | neg-mul-1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 10 |
| 1 | 11 | 10 |
| 2 | 15 | 10 |
| 3 | 17 | 10 |
| 4 | 18 | 10 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
| Outputs |
|---|
(/.f64 (+.f64 x 1) (-.f64 1 x)) |
| 1× | done |
Compiled 16 to 12 computations (25% saved)
Loading profile data...