Time bar (total: 1.4s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 0% | 50% | 50% | 3 |
| 12.5% | 25% | 62.5% | 4 |
| 18.7% | 12.5% | 68.8% | 5 |
| 21.9% | 6.2% | 71.9% | 6 |
| 23.4% | 3.1% | 73.5% | 7 |
| 24.2% | 1.6% | 74.2% | 8 |
| 24.6% | 0.8% | 74.6% | 9 |
| 24.8% | 0.4% | 74.8% | 10 |
| 24.9% | 0.2% | 74.9% | 11 |
| 24.9% | 0.1% | 75% | 12 |
| 25% | 0% | 75% | 13 |
| 25% | 0% | 75% | 14 |
Compiled 9 to 8 computations (11.1% saved)
| 928.0ms | 8256× | body | 128 | valid |
| 0.0ms | 5× | body | 128 | invalid |
Compiled 18 to 16 computations (11.1% saved)
| 2× | egg-herbie |
| 4× | sub-neg_binary64 |
| 3× | +-commutative_binary64 |
| 2× | fma-def_binary64 |
| 1× | *-commutative_binary64 |
| 1× | associate-+l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 14 | 11 |
| 2 | 17 | 11 |
| 3 | 19 | 11 |
| 4 | 23 | 11 |
| 5 | 27 | 11 |
| 6 | 32 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
| Outputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) |
Compiled 8 to 7 computations (12.5% saved)
| 1× | egg-herbie |
| 4× | sub-neg_binary64 |
| 3× | +-commutative_binary64 |
| 2× | fma-def_binary64 |
| 1× | *-commutative_binary64 |
| 1× | associate-+l-_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 14 | 11 |
| 2 | 17 | 11 |
| 3 | 19 | 11 |
| 4 | 23 | 11 |
| 5 | 27 | 11 |
| 6 | 32 | 11 |
| 1× | saturated |
| Inputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
| Outputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 1 | 1 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 1 | 2 | 3 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
Compiled 31 to 27 computations (12.9% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (/.f64 1 x) 1) |
| ✓ | 0.0b | (log.f64 (-.f64 (/.f64 1 x) 1)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (log.f64 (-.f64 (/.f64 1 x) 1)) |
| 1.0ms | x | @ | inf | (log.f64 (-.f64 (/.f64 1 x) 1)) |
| 0.0ms | x | @ | -inf | (log.f64 (-.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 |
| 583× | pow1_binary64 |
| 544× | add-log-exp_binary64 |
| 543× | log1p-expm1-u_binary64 |
| 543× | expm1-log1p-u_binary64 |
| 533× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 1 | 126 | 16 |
| 2 | 1578 | 16 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(-.f64 (/.f64 1 x) 1) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) 2)) (log.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1))) (log.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (+.f64 (/.f64 1 x) -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x -2) -1)) (log1p.f64 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (+.f64 (pow.f64 x -3) -1)) (log.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 (/.f64 1 x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) (pow.f64 (cbrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) 2) (cbrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) (sqrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 (/.f64 1 x) -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 (/.f64 1 x) -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 (/.f64 1 x) -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 (/.f64 1 x) -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 (/.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 (/.f64 1 x) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (+.f64 (/.f64 1 x) -1) 1))))) (#(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 1 (+.f64 (/.f64 1 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 1 x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) 2) (cbrt.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1)) (sqrt.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -3) -1) (/.f64 1 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -2) -1) (/.f64 1 (+.f64 1 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x -1/2) 1) (-.f64 (pow.f64 x -1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x))) (+.f64 (pow.f64 x -3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (/.f64 1 x)) (+.f64 (pow.f64 x -2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -3) -1) (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -3) -1) (+.f64 (pow.f64 x -2) (-.f64 1 (*.f64 (/.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -2) -1) (+.f64 1 (/.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x -2) -1) (-.f64 (/.f64 1 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x -3) -1)) (neg.f64 (+.f64 (pow.f64 x -2) (+.f64 1 (/.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x -2) -1)) (neg.f64 (+.f64 1 (/.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (/.f64 1 x) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (log.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 (/.f64 1 x) -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 (/.f64 1 x) -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) 2)) (cbrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))) (sqrt.f64 (log.f64 (+.f64 (/.f64 1 x) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 (/.f64 1 x) -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x -2)) (cbrt.f64 (/.f64 1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x -1/2) (pow.f64 x -1/2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (/.f64 1 x) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (neg.f64 (log.f64 x))))))) |
| 1× | egg-herbie |
| 411× | fma-def_binary64 |
| 337× | sub-neg_binary64 |
| 280× | distribute-rgt-neg-in_binary64 |
| 246× | distribute-lft-neg-in_binary64 |
| 193× | times-frac_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 35 | 172 |
| 1 | 96 | 170 |
| 2 | 273 | 170 |
| 3 | 924 | 165 |
| 4 | 3092 | 165 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 (log.f64 x)) |
(neg.f64 (+.f64 (log.f64 x) x)) |
(neg.f64 (+.f64 (log.f64 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))) |
(neg.f64 (+.f64 (log.f64 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 x (*.f64 1/3 (pow.f64 x 3)))))) |
(log.f64 -1) |
(-.f64 (log.f64 -1) (/.f64 1 x)) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))) |
(log.f64 -1) |
(-.f64 (log.f64 -1) (/.f64 1 x)) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))) |
(/.f64 1 x) |
-1 |
-1 |
| Outputs |
|---|
(*.f64 -1 (log.f64 x)) |
(neg.f64 (log.f64 x)) |
(neg.f64 (+.f64 (log.f64 x) x)) |
(neg.f64 (+.f64 x (log.f64 x))) |
(-.f64 (neg.f64 (log.f64 x)) x) |
(-.f64 (neg.f64 x) (log.f64 x)) |
(neg.f64 (+.f64 (log.f64 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) x))) |
(neg.f64 (+.f64 (log.f64 x) (fma.f64 1/2 (*.f64 x x) x))) |
(-.f64 (neg.f64 (log.f64 x)) (fma.f64 1/2 (*.f64 x x) x)) |
(-.f64 (neg.f64 (log.f64 x)) (fma.f64 x (*.f64 x 1/2) x)) |
(neg.f64 (fma.f64 (fma.f64 x 1/2 1) x (log.f64 x))) |
(neg.f64 (+.f64 (log.f64 x) (+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 x (*.f64 1/3 (pow.f64 x 3)))))) |
(neg.f64 (+.f64 (log.f64 x) (+.f64 (fma.f64 1/2 (*.f64 x x) x) (*.f64 1/3 (pow.f64 x 3))))) |
(-.f64 (neg.f64 (log.f64 x)) (fma.f64 1/2 (*.f64 x x) (fma.f64 1/3 (pow.f64 x 3) x))) |
(-.f64 (neg.f64 (fma.f64 x (*.f64 x 1/2) x)) (fma.f64 1/3 (pow.f64 x 3) (log.f64 x))) |
(-.f64 (neg.f64 (log.f64 x)) (fma.f64 x (*.f64 x (fma.f64 x 1/3 1/2)) x)) |
(log.f64 -1) |
(-.f64 (log.f64 -1) (/.f64 1 x)) |
(+.f64 (log.f64 -1) (/.f64 -1 x)) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 (log.f64 -1) (-.f64 (/.f64 -1 x) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 (/.f64 -1 x) (-.f64 (log.f64 -1) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 (+.f64 (log.f64 -1) (/.f64 -1 x)) (/.f64 -1/2 (*.f64 x x))) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3))))) |
(+.f64 (log.f64 -1) (-.f64 (/.f64 -1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3))))) |
(+.f64 (+.f64 (log.f64 -1) (/.f64 -1 x)) (-.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))) |
(+.f64 (log.f64 -1) (+.f64 (+.f64 (/.f64 -1 x) (/.f64 -1/2 (*.f64 x x))) (/.f64 -1/3 (pow.f64 x 3)))) |
(log.f64 -1) |
(-.f64 (log.f64 -1) (/.f64 1 x)) |
(+.f64 (log.f64 -1) (/.f64 -1 x)) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (*.f64 1/2 (/.f64 1 (pow.f64 x 2))))) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 (log.f64 -1) (-.f64 (/.f64 -1 x) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 (/.f64 -1 x) (-.f64 (log.f64 -1) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 (+.f64 (log.f64 -1) (/.f64 -1 x)) (/.f64 -1/2 (*.f64 x x))) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (*.f64 1/2 (/.f64 1 (pow.f64 x 2)))))) |
(-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3))))) |
(+.f64 (log.f64 -1) (-.f64 (/.f64 -1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3))))) |
(+.f64 (+.f64 (log.f64 -1) (/.f64 -1 x)) (-.f64 (/.f64 -1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3)))) |
(+.f64 (log.f64 -1) (+.f64 (+.f64 (/.f64 -1 x) (/.f64 -1/2 (*.f64 x x))) (/.f64 -1/3 (pow.f64 x 3)))) |
(/.f64 1 x) |
-1 |
-1 |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 71 | 1 | 72 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 71 | 2 | 73 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x))))) |
| ✓ | 0.0b | (neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
Compiled 874 to 738 computations (15.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
| ✓ | 5.6b | (expm1.f64 (neg.f64 (log.f64 x))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 43.0ms | x | @ | -inf | (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
| 34.0ms | x | @ | -inf | (expm1.f64 (neg.f64 (log.f64 x))) |
| 26.0ms | x | @ | 0 | (expm1.f64 (neg.f64 (log.f64 x))) |
| 14.0ms | x | @ | 0 | (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
| 14.0ms | x | @ | inf | (log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
| 1× | batch-egg-rewrite |
| 420× | pow1_binary64 |
| 385× | add-log-exp_binary64 |
| 384× | log1p-expm1-u_binary64 |
| 384× | expm1-log1p-u_binary64 |
| 377× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 16 |
| 1 | 116 | 10 |
| 2 | 1335 | 10 |
| 1× | node limit |
| Inputs |
|---|
(expm1.f64 (neg.f64 (log.f64 x))) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.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 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x -1)) (pow.f64 (cbrt.f64 (+.f64 x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x -1)) 2) (cbrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x -1)) (sqrt.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 3) 1) (+.f64 (*.f64 x x) (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) 1) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x -1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x -1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x -1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (+.f64 x -1)))) (sqrt.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 2))) (cbrt.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x -1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x -1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x -1))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (+.f64 x -1)) 2)) (log.f64 (cbrt.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (+.f64 x -1))) (log.f64 (sqrt.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (+.f64 x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (+.f64 x -1))) (cbrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 2)) (cbrt.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (+.f64 x -1))) (sqrt.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (+.f64 x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (+.f64 x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (+.f64 x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (+.f64 x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (+.f64 x -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (+.f64 x -1)))))))) |
| 1× | egg-herbie |
| 296× | fma-neg_binary64 |
| 213× | associate-*l*_binary64 |
| 213× | associate-/l*_binary64 |
| 206× | fma-def_binary64 |
| 190× | associate-/r*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 192 |
| 1 | 37 | 192 |
| 2 | 57 | 192 |
| 3 | 109 | 192 |
| 4 | 225 | 192 |
| 5 | 557 | 192 |
| 6 | 1279 | 192 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1) |
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1) |
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1) |
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1) |
(-.f64 (/.f64 1 x) 1) |
(-.f64 (/.f64 1 x) 1) |
(-.f64 (/.f64 1 x) 1) |
(-.f64 (/.f64 1 x) 1) |
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1) |
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1) |
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1) |
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1) |
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)) |
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)) |
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)) |
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)) |
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)) |
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)) |
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)) |
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)) |
| Outputs |
|---|
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (/.f64 1 x) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (/.f64 1 x) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (/.f64 1 x) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (/.f64 1 x) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1) |
(expm1.f64 (neg.f64 (log.f64 x))) |
(+.f64 (/.f64 1 x) -1) |
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (exp.f64 (neg.f64 (log.f64 x))) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (/.f64 1 x) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
(log.f64 (-.f64 (exp.f64 (-.f64 (log.f64 (/.f64 -1 x)) (log.f64 -1))) 1)) |
(log.f64 (expm1.f64 (neg.f64 (log.f64 x)))) |
(log.f64 (+.f64 (/.f64 1 x) -1)) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 48 | 0 | 48 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 48 | 2 | 50 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (neg.f64 (log.f64 (expm1.f64 (neg.f64 (log.f64 x))))) |
| ✓ | 0.0b | (neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
Compiled 453 to 384 computations (15.2% saved)
Total 0.0b remaining (6.7%)
Threshold costs 0.0b (6.7%)
Compiled 61 to 45 computations (26.2% saved)
| 1× | egg-herbie |
| 2× | +-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 | 7 | 11 |
| 1 | 14 | 11 |
| 2 | 17 | 11 |
| 3 | 18 | 11 |
| 1× | saturated |
| Inputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
| Outputs |
|---|
(neg.f64 (log.f64 (-.f64 (/.f64 1 x) 1))) |
(neg.f64 (log.f64 (+.f64 (/.f64 1 x) -1))) |
| 1× | done |
Compiled 31 to 27 computations (12.9% saved)
Loading profile data...