Time bar (total: 3.5s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 50% | 50% | 0% | 3 |
| 50% | 25% | 25% | 4 |
| 50% | 12.5% | 37.5% | 5 |
| 50% | 6.2% | 43.8% | 6 |
| 50% | 3.1% | 46.9% | 7 |
| 50% | 1.6% | 48.5% | 8 |
| 50% | 0.8% | 49.2% | 9 |
| 50.4% | 0.4% | 49.2% | 10 |
| 50.4% | 0.2% | 49.4% | 11 |
| 50.4% | 0.1% | 49.5% | 12 |
| 50.4% | 0% | 49.6% | 13 |
| 50.4% | 0% | 49.6% | 14 |
Compiled 10 to 8 computations (20% saved)
| 1.9s | 4052× | body | 1024 | valid |
| 556.0ms | 2070× | body | 512 | valid |
| 218.0ms | 415× | body | 2048 | valid |
| 187.0ms | 1003× | body | 256 | valid |
| 76.0ms | 716× | body | 128 | valid |
| 2× | egg-herbie |
| 618× | fma-neg_binary64 |
| 508× | associate-/l*_binary64 |
| 414× | associate-/r/_binary64 |
| 307× | associate-/l/_binary64 |
| 215× | fma-def_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 19 | 13 |
| 2 | 34 | 13 |
| 3 | 58 | 13 |
| 4 | 120 | 13 |
| 5 | 261 | 13 |
| 6 | 714 | 13 |
| 7 | 2100 | 13 |
| 8 | 4939 | 12 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(*.f64 -1/2 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) -1/2) |
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x))) |
Compiled 9 to 7 computations (22.2% saved)
| 1× | egg-herbie |
| 618× | fma-neg_binary64 |
| 508× | associate-/l*_binary64 |
| 414× | associate-/r/_binary64 |
| 307× | associate-/l/_binary64 |
| 215× | fma-def_binary64 |
Useful iterations: 8 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 13 |
| 1 | 19 | 13 |
| 2 | 34 | 13 |
| 3 | 58 | 13 |
| 4 | 120 | 13 |
| 5 | 261 | 13 |
| 6 | 714 | 13 |
| 7 | 2100 | 13 |
| 8 | 4939 | 12 |
| 1× | node limit |
| Inputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| Outputs |
|---|
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
(*.f64 -1/2 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) |
(*.f64 (-.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)) -1/2) |
(fma.f64 1/2 (exp.f64 x) (/.f64 -1/2 (exp.f64 x))) |
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 |
|---|---|---|
| ▶ | 56.9b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
Compiled 35 to 25 computations (28.6% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 5.9b | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | -inf | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 0.0ms | x | @ | inf | (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| 1× | egg-rewrite-iter-limit |
| 1× | batch-egg-rewrite |
| 70× | add-sqr-sqrt_binary64 |
| 67× | add-log-exp_binary64 |
| 66× | *-un-lft-identity_binary64 |
| 66× | pow1_binary64 |
| 65× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 6 |
| 1 | 130 | 6 |
| 2 | 2149 | 6 |
| 0 | 6 | 6 |
| 1× | iter limit |
| 1× | unsound |
| Inputs |
|---|
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (cbrt.f64 (*.f64 2 (sinh.f64 x)))) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (+.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (sinh.f64 x))) (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (sinh.f64 x)))))))) |
| 1× | egg-herbie |
| 700× | fma-def_binary64 |
| 676× | unswap-sqr_binary64 |
| 322× | associate-*l*_binary64 |
| 265× | *-commutative_binary64 |
| 204× | associate-*r*_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 27 | 98 |
| 1 | 68 | 98 |
| 2 | 151 | 98 |
| 3 | 388 | 98 |
| 4 | 739 | 98 |
| 5 | 1635 | 98 |
| 6 | 2539 | 98 |
| 7 | 4128 | 98 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))) |
(*.f64 x (fma.f64 x (*.f64 x 1/3) 2)) |
(*.f64 x (fma.f64 1/3 (*.f64 x x) 2)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5)))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/60 (pow.f64 x 5)))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/3) 2) (*.f64 1/60 (pow.f64 x 5))) |
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.f64 1/60 (pow.f64 x 5))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 1/60 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))))) |
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 2 x)))) |
(fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) |
(fma.f64 1/60 (pow.f64 x 5) (fma.f64 x (fma.f64 1/3 (*.f64 x x) 2) (*.f64 1/2520 (pow.f64 x 7)))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (*.f64 -1 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
3 alts after pruning (2 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 20 | 2 | 22 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 20 | 3 | 23 |
| Status | Error | Program |
|---|---|---|
| ✓ | 56.9b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| 0.8b | (/.f64 (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) 2) | |
| ▶ | 0.7b | (/.f64 (+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) 2) |
Compiled 361 to 249 computations (31% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))) |
| ✓ | 0.0b | (*.f64 1/2520 (pow.f64 x 7)) |
| ✓ | 0.1b | (*.f64 1/60 (pow.f64 x 5)) |
| ✓ | 0.2b | (*.f64 1/3 (pow.f64 x 3)) |
12 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 1/2520 (pow.f64 x 7)) |
| 1.0ms | x | @ | 0 | (*.f64 1/2520 (pow.f64 x 7)) |
| 1.0ms | x | @ | 0 | (*.f64 1/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | inf | (*.f64 1/3 (pow.f64 x 3)) |
| 1.0ms | x | @ | 0 | (*.f64 1/60 (pow.f64 x 5)) |
| 1× | batch-egg-rewrite |
| 313× | fma-def_binary64 |
| 263× | expm1-udef_binary64 |
| 263× | log1p-udef_binary64 |
| 161× | fma-neg_binary64 |
| 156× | add-sqr-sqrt_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 35 |
| 1 | 334 | 35 |
| 2 | 3762 | 35 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/3 (pow.f64 x 3)) |
(*.f64 1/60 (pow.f64 x 5)) |
(*.f64 1/2520 (pow.f64 x 7)) |
(+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/3 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/3 (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (cbrt.f64 1/3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/3) (pow.f64 x 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 6) 1/9))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/3 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/3 (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/3 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 3 (log.f64 x) (log.f64 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 x) (log.f64 1/3)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/60 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/60 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/60 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/60) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (pow.f64 x 5) 3) 1/216000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 10) 1/3600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/60) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/60 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 x 5) 3) 1/216000))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/60 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/60 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 5 (log.f64 x) (log.f64 1/60)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 5 (log.f64 x) (log.f64 1/60)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/2520 (pow.f64 x 7)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2520 (pow.f64 x 7)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2520 (pow.f64 x 7))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/2520) (pow.f64 x 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/16003008000 (pow.f64 (pow.f64 x 7) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/6350400 (pow.f64 x 14)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/2520) (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2520 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/16003008000 (pow.f64 (pow.f64 x 7) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2520 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2520 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 7 (log.f64 x) (log1p.f64 -2519/2520)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 7 (log.f64 x) (log1p.f64 -2519/2520)) 1)))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 1/6350400 (pow.f64 x 14)) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 -1/60 (pow.f64 x 5)))) (/.f64 (*.f64 (pow.f64 x 10) 1/3600) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 -1/60 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) (pow.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) 2) (cbrt.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) (sqrt.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 (pow.f64 x 5) 3) 1/216000 (*.f64 1/16003008000 (pow.f64 (pow.f64 x 7) 3))) (/.f64 1 (-.f64 (fma.f64 1/6350400 (pow.f64 x 14) (*.f64 (pow.f64 x 10) 1/3600)) (*.f64 (*.f64 1/60 (pow.f64 x 5)) (*.f64 1/2520 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 1/6350400 (pow.f64 x 14)) (*.f64 (pow.f64 x 10) 1/3600)) (/.f64 1 (fma.f64 1/2520 (pow.f64 x 7) (*.f64 -1/60 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 1/6350400 (pow.f64 x 14) (*.f64 (pow.f64 x 10) 1/3600)) (*.f64 (*.f64 1/60 (pow.f64 x 5)) (*.f64 1/2520 (pow.f64 x 7)))) (fma.f64 (pow.f64 (pow.f64 x 5) 3) 1/216000 (*.f64 1/16003008000 (pow.f64 (pow.f64 x 7) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 1/2520 (pow.f64 x 7) (*.f64 -1/60 (pow.f64 x 5))) (-.f64 (*.f64 1/6350400 (pow.f64 x 14)) (*.f64 (pow.f64 x 10) 1/3600))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (pow.f64 x 5) 3) 1/216000 (*.f64 1/16003008000 (pow.f64 (pow.f64 x 7) 3))) (-.f64 (fma.f64 1/6350400 (pow.f64 x 14) (*.f64 (pow.f64 x 10) 1/3600)) (*.f64 (*.f64 1/60 (pow.f64 x 5)) (*.f64 1/2520 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 (pow.f64 x 5) 3) 1/216000 (*.f64 1/16003008000 (pow.f64 (pow.f64 x 7) 3))) (fma.f64 (pow.f64 x 10) 1/3600 (-.f64 (*.f64 1/6350400 (pow.f64 x 14)) (*.f64 (*.f64 1/60 (pow.f64 x 5)) (*.f64 1/2520 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/6350400 (pow.f64 x 14)) (*.f64 (pow.f64 x 10) 1/3600)) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 -1/60 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 (pow.f64 x 5) 3) 1/216000 (*.f64 1/16003008000 (pow.f64 (pow.f64 x 7) 3)))) (neg.f64 (-.f64 (fma.f64 1/6350400 (pow.f64 x 14) (*.f64 (pow.f64 x 10) 1/3600)) (*.f64 (*.f64 1/60 (pow.f64 x 5)) (*.f64 1/2520 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 1/6350400 (pow.f64 x 14)) (*.f64 (pow.f64 x 10) 1/3600))) (neg.f64 (fma.f64 1/2520 (pow.f64 x 7) (*.f64 -1/60 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 10) 1/3600) (*.f64 1/6350400 (pow.f64 x 14))) (-.f64 (*.f64 1/60 (pow.f64 x 5)) (*.f64 1/2520 (pow.f64 x 7))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 1/60 (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/60 (pow.f64 x 5)) 1 (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2520 (pow.f64 x 7) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 7) 1/2520 (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2520 (pow.f64 x 7)) 1 (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/60 (pow.f64 x 5)) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 10)) (*.f64 (cbrt.f64 (pow.f64 x 5)) 1/60) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/2520 (pow.f64 x 7))) (cbrt.f64 (*.f64 1/6350400 (pow.f64 x 14))) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/6350400 (pow.f64 x 14))) (cbrt.f64 (*.f64 1/2520 (pow.f64 x 7))) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 x 14)) (*.f64 (cbrt.f64 (pow.f64 x 7)) 1/2520) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/60 (pow.f64 x 5))) (cbrt.f64 (*.f64 (pow.f64 x 10) 1/3600)) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 10) 1/3600)) (cbrt.f64 (*.f64 1/60 (pow.f64 x 5))) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 1/2520) (pow.f64 x 7/2)) (*.f64 (sqrt.f64 1/2520) (pow.f64 x 7/2)) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 1/60) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 1/60) (pow.f64 x 5/2)) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5/2) (*.f64 (pow.f64 x 5/2) 1/60) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 7/2) (*.f64 (pow.f64 x 7/2) 1/2520) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2520 (cbrt.f64 (pow.f64 x 14))) (cbrt.f64 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2520 (pow.f64 x 7/2)) (pow.f64 x 7/2) (*.f64 1/60 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/60 (cbrt.f64 (pow.f64 x 10))) (cbrt.f64 (pow.f64 x 5)) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/60 (pow.f64 x 5/2)) (pow.f64 x 5/2) (*.f64 1/2520 (pow.f64 x 7)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7)))) 1)))))) |
| 1× | egg-herbie |
| 828× | sqr-pow_binary64 |
| 416× | unswap-sqr_binary64 |
| 388× | pow-sqr_binary64 |
| 332× | cube-prod_binary64 |
| 237× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 21 |
| 1 | 21 | 21 |
| 2 | 39 | 21 |
| 3 | 78 | 21 |
| 4 | 193 | 21 |
| 5 | 601 | 21 |
| 6 | 896 | 21 |
| 7 | 1534 | 21 |
| 8 | 1643 | 21 |
| 9 | 1805 | 21 |
| 10 | 2020 | 21 |
| 11 | 2350 | 21 |
| 12 | 2806 | 21 |
| 13 | 3403 | 21 |
| 14 | 4152 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/60 (pow.f64 x 5)) |
(*.f64 1/2520 (pow.f64 x 7)) |
(*.f64 1/2520 (pow.f64 x 7)) |
| Outputs |
|---|
(*.f64 1/60 (pow.f64 x 5)) |
(*.f64 1/2520 (pow.f64 x 7)) |
(*.f64 1/2520 (pow.f64 x 7)) |
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 92 | 0 | 92 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 92 | 3 | 95 |
| Status | Error | Program |
|---|---|---|
| ✓ | 56.9b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| ▶ | 0.8b | (/.f64 (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) 2) |
| ✓ | 0.7b | (/.f64 (+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) 2) |
Compiled 2623 to 2190 computations (16.5% saved)
Found 3 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (expm1.f64 (*.f64 2 (sinh.f64 x))) |
| ✓ | 0.0b | (sinh.f64 x) |
| ✓ | 0.2b | (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) |
9 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) |
| 1.0ms | x | @ | inf | (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) |
| 1.0ms | x | @ | 0 | (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) |
| 0.0ms | x | @ | 0 | (expm1.f64 (*.f64 2 (sinh.f64 x))) |
| 0.0ms | x | @ | inf | (expm1.f64 (*.f64 2 (sinh.f64 x))) |
| 1× | batch-egg-rewrite |
| 547× | pow1_binary64 |
| 506× | add-log-exp_binary64 |
| 506× | expm1-log1p-u_binary64 |
| 505× | log1p-expm1-u_binary64 |
| 495× | add-exp-log_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 125 | 17 |
| 2 | 1396 | 17 |
| 1× | node limit |
| Inputs |
|---|
(log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) |
(sinh.f64 x) |
(expm1.f64 (*.f64 2 (sinh.f64 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 x) (neg.f64 (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 2 (sinh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 2) (cbrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (*.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) (sqrt.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (*.f64 (sqrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2)) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sqrt.f64 (sinh.f64 x))) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (exp.f64 (neg.f64 x)) 3)) (+.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (+.f64 (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x))) (*.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (*.f64 (exp.f64 (neg.f64 x)) (exp.f64 (neg.f64 x)))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 2 (sinh.f64 x)) 2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2 (sinh.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 2 (sinh.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 4 (pow.f64 (sinh.f64 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2) (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2 (sinh.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (sinh.f64 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (exp.f64 x) 2) (/.f64 (exp.f64 (neg.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 2 (sinh.f64 x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sinh.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sinh.f64 x)) (pow.f64 (cbrt.f64 (sinh.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sinh.f64 x)) 2) (cbrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sinh.f64 x)) (sqrt.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 2 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2 (sinh.f64 x))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sinh.f64 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sinh.f64 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sinh.f64 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sinh.f64 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sinh.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sinh.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sinh.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sinh.f64 x))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (exp.f64 2) (sinh.f64 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 (exp.f64 2) (sinh.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (*.f64 2 (sinh.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) 2) (cbrt.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) (sqrt.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (pow.f64 (exp.f64 2) (sinh.f64 x)) 3) 1) (+.f64 (*.f64 (pow.f64 (exp.f64 2) (sinh.f64 x)) (pow.f64 (exp.f64 2) (sinh.f64 x))) (+.f64 1 (*.f64 (pow.f64 (exp.f64 2) (sinh.f64 x)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 (exp.f64 2) (sinh.f64 x)) (pow.f64 (exp.f64 2) (sinh.f64 x))) 1) (+.f64 (pow.f64 (exp.f64 2) (sinh.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (*.f64 2 (sinh.f64 x))))))))) |
| 1× | egg-herbie |
| 730× | fma-def_binary64 |
| 554× | distribute-lft-out_binary64 |
| 388× | *-commutative_binary64 |
| 303× | associate-*l*_binary64 |
| 261× | distribute-rgt-out_binary64 |
Useful iterations: 3 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 55 | 441 |
| 1 | 150 | 433 |
| 2 | 364 | 425 |
| 3 | 1055 | 423 |
| 4 | 2684 | 423 |
| 5 | 4117 | 423 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 2 x) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) (*.f64 5/3 (pow.f64 x 3)))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 5/3 (pow.f64 x 3))))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 (*.f64 2 x) (*.f64 1/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 1/3 (pow.f64 x 3))) |
(fma.f64 1/3 (pow.f64 x 3) (*.f64 2 x)) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (*.f64 1/60 (pow.f64 x 5)))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (*.f64 1/60 (pow.f64 x 5)))) |
(fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 2 x))) |
(fma.f64 x (fma.f64 x (*.f64 x 1/3) 2) (*.f64 1/60 (pow.f64 x 5))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/2520 (pow.f64 x 7) (*.f64 1/60 (pow.f64 x 5))))) |
(fma.f64 2 x (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 1/2520 (pow.f64 x 7))))) |
(fma.f64 1/2520 (pow.f64 x 7) (fma.f64 1/3 (pow.f64 x 3) (fma.f64 1/60 (pow.f64 x 5) (*.f64 2 x)))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
(-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x))) |
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) |
x |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) x) |
(fma.f64 1/6 (pow.f64 x 3) x) |
(fma.f64 (pow.f64 x 3) 1/6 x) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x)) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/120 (pow.f64 x 5) x)) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 5) 1/120 x)) |
(fma.f64 (pow.f64 x 5) 1/120 (fma.f64 (pow.f64 x 3) 1/6 x)) |
(+.f64 (*.f64 1/6 (pow.f64 x 3)) (+.f64 (*.f64 1/5040 (pow.f64 x 7)) (+.f64 (*.f64 1/120 (pow.f64 x 5)) x))) |
(fma.f64 1/6 (pow.f64 x 3) (fma.f64 1/5040 (pow.f64 x 7) (fma.f64 1/120 (pow.f64 x 5) x))) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 7) 1/5040 (fma.f64 (pow.f64 x 5) 1/120 x))) |
(fma.f64 (pow.f64 x 7) 1/5040 (fma.f64 (pow.f64 x 5) 1/120 (fma.f64 (pow.f64 x 3) 1/6 x))) |
(fma.f64 (pow.f64 x 3) 1/6 (fma.f64 (pow.f64 x 5) 1/120 (fma.f64 (pow.f64 x 7) 1/5040 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 1/2 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) |
(*.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 1/2) |
(fma.f64 (exp.f64 x) 1/2 (/.f64 -1/2 (exp.f64 x))) |
(*.f64 2 x) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (*.f64 2 x)) |
(*.f64 2 (+.f64 (*.f64 x x) x)) |
(*.f64 2 (fma.f64 x x x)) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) (*.f64 5/3 (pow.f64 x 3)))) |
(fma.f64 2 (*.f64 x x) (fma.f64 2 x (*.f64 (pow.f64 x 3) 5/3))) |
(fma.f64 2 (fma.f64 x x x) (*.f64 (pow.f64 x 3) 5/3)) |
(*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 5/3 2)))) |
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 (*.f64 2 x) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 5/3 (pow.f64 x 3))))) |
(fma.f64 2 (*.f64 x x) (fma.f64 2 x (fma.f64 4/3 (pow.f64 x 4) (*.f64 (pow.f64 x 3) 5/3)))) |
(fma.f64 2 (fma.f64 x x x) (fma.f64 (pow.f64 x 3) 5/3 (*.f64 4/3 (pow.f64 x 4)))) |
(fma.f64 2 (fma.f64 x x x) (*.f64 (pow.f64 x 3) (+.f64 5/3 (*.f64 x 4/3)))) |
(fma.f64 4/3 (pow.f64 x 4) (*.f64 x (+.f64 2 (*.f64 x (fma.f64 x 5/3 2))))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(expm1.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(expm1.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(expm1.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(expm1.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(expm1.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(expm1.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(expm1.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
(-.f64 (exp.f64 (-.f64 (exp.f64 x) (/.f64 1 (exp.f64 x)))) 1) |
(expm1.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))) |
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 91 | 0 | 91 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 91 | 3 | 94 |
| Status | Error | Program |
|---|---|---|
| ✓ | 56.9b | (/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) 2) |
| ✓ | 0.8b | (/.f64 (log1p.f64 (expm1.f64 (*.f64 2 (sinh.f64 x)))) 2) |
| ✓ | 0.7b | (/.f64 (+.f64 (*.f64 2 x) (+.f64 (*.f64 1/3 (pow.f64 x 3)) (+.f64 (*.f64 1/2520 (pow.f64 x 7)) (*.f64 1/60 (pow.f64 x 5))))) 2) |
Compiled 1207 to 900 computations (25.4% saved)
Total -58.2b remaining (-372676.6%)
Threshold costs -58.2b (-372676.6%)
Compiled 233 to 179 computations (23.2% saved)
| 1× | egg-herbie |
| 1× | *-commutative_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 9 |
| 1 | 7 | 9 |
| 1× | saturated |
| Inputs |
|---|
(/.f64 (*.f64 (sinh.f64 x) 2) 2) |
| Outputs |
|---|
(/.f64 (*.f64 (sinh.f64 x) 2) 2) |
| 1× | done |
Compiled 14 to 12 computations (14.3% saved)
Loading profile data...