Time bar (total: 4.8s)
| 1× | search |
| True | Other | False | Iter |
|---|---|---|---|
| 0% | 100% | 0% | 0 |
| 0% | 100% | 0% | 1 |
| 0% | 100% | 0% | 2 |
| 0% | 50% | 50% | 3 |
| 25% | 25% | 50% | 4 |
| 37.5% | 12.5% | 50% | 5 |
| 43.7% | 6.2% | 50% | 6 |
| 46.9% | 3.1% | 50% | 7 |
| 48.4% | 1.6% | 50% | 8 |
| 49.2% | 0.8% | 50% | 9 |
| 49.6% | 0.4% | 50% | 10 |
| 49.8% | 0.2% | 50% | 11 |
| 49.9% | 0.1% | 50% | 12 |
| 49.9% | 0% | 50% | 13 |
| 49.9% | 0% | 50% | 14 |
Compiled 14 to 12 computations (14.3% saved)
| 2.6s | 4210× | body | 1024 | valid |
| 831.0ms | 2028× | body | 512 | valid |
| 353.0ms | 418× | body | 2048 | valid |
| 268.0ms | 1028× | body | 256 | valid |
| 75.0ms | 572× | body | 128 | valid |
| 2× | egg-herbie |
| 378× | rule-/-abc--/ac/bc_binary64 |
| 267× | rule-/+abc-+/ac/bc_binary64 |
| 255× | rule-*b-ac--*ab*bc_binary64 |
| 235× | rule-a-*a1_binary64 |
| 235× | rule-a--a0_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 15 |
| 1 | 69 | 14 |
| 2 | 240 | 14 |
| 3 | 1338 | 14 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | node limit |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| Outputs |
|---|
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) |
Compiled 13 to 11 computations (15.4% saved)
| 1× | egg-herbie |
| 378× | rule-/-abc--/ac/bc_binary64 |
| 267× | rule-/+abc-+/ac/bc_binary64 |
| 255× | rule-*b-ac--*ab*bc_binary64 |
| 235× | rule-a-*a1_binary64 |
| 235× | rule-a--a0_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 15 |
| 1 | 69 | 14 |
| 2 | 240 | 14 |
| 3 | 1338 | 14 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
| Outputs |
|---|
(*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
(*.f64 1/2 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) |
3 alts after pruning (3 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 2 | 2 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 3 | 3 |
| Status | Error | Program |
|---|---|---|
| 58.8b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) | |
| ▶ | 50.7b | (*.f64 1/2 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) |
Compiled 68 to 56 computations (17.6% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) |
| ✓ | 5.1b | (log.f64 (-.f64 1 x)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) |
| 1.0ms | x | @ | inf | (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) |
| 1.0ms | x | @ | 0 | (log.f64 (-.f64 1 x)) |
| 1.0ms | x | @ | inf | (log.f64 (-.f64 1 x)) |
| 0.0ms | x | @ | -inf | (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) |
| 1× | batch-egg-rewrite |
| 891× | rules-31_binary64 |
| 891× | rules-32_binary64 |
| 891× | rules-33_binary64 |
| 82× | add-sqr-sqrt_binary64 |
| 79× | pow1_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 17 |
| 1 | 182 | 17 |
| 2 | 2542 | 17 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (-.f64 1 x)) |
(-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (-.f64 1 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (log.f64 (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (-.f64 1 x))) (log.f64 (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 1 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log.f64 (-.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (-.f64 1 (pow.f64 x 3))) (log.f64 (+.f64 1 (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (log.f64 (-.f64 1 x)) (log.f64 (-.f64 1 x))) (log.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (log.f64 (-.f64 1 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (-.f64 1 x))) (pow.f64 (cbrt.f64 (log.f64 (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (-.f64 1 x))) 2) (cbrt.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (-.f64 1 x))) (sqrt.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (log.f64 (-.f64 1 x)) (log.f64 (-.f64 1 x))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (log.f64 (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (log.f64 (-.f64 1 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 (-.f64 1 x)) 3) (+.f64 (pow.f64 (log.f64 (-.f64 1 x)) 2) (+.f64 0 (*.f64 (log.f64 (-.f64 1 x)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (log.f64 (-.f64 1 x)) 3) (+.f64 (pow.f64 (log.f64 (-.f64 1 x)) 2) (-.f64 0 (*.f64 (log.f64 (-.f64 1 x)) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (log.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (-.f64 1 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (log.f64 (-.f64 1 x)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log.f64 (-.f64 1 x))) 2) (cbrt.f64 (log.f64 (-.f64 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log.f64 (-.f64 1 x))) (sqrt.f64 (log.f64 (-.f64 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (-.f64 1 x)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 x) (neg.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log1p.f64 x) (-.f64 (log1p.f64 x) (+.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) (fma.f64 -1 (log.f64 (-.f64 1 x)) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) (fma.f64 (neg.f64 (cbrt.f64 (log.f64 (-.f64 1 x)))) (pow.f64 (cbrt.f64 (log.f64 (-.f64 1 x))) 2) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) (fma.f64 (neg.f64 (sqrt.f64 (log.f64 (-.f64 1 x)))) (sqrt.f64 (log.f64 (-.f64 1 x))) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log.f64 (-.f64 1 x)) (neg.f64 (log1p.f64 x))) (*.f64 (log.f64 (-.f64 1 x)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log.f64 (-.f64 1 x)) 3)) (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log.f64 (-.f64 1 x)) 3))) (/.f64 1/2 (+.f64 (pow.f64 (log1p.f64 x) 2) (+.f64 (pow.f64 (log.f64 (-.f64 1 x)) 2) (*.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log.f64 (-.f64 1 x)))) (+.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 3) (+.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 2) (+.f64 0 (*.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 3) (+.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 2) (-.f64 0 (*.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log.f64 (-.f64 1 x)) 3)) (+.f64 (pow.f64 (log1p.f64 x) 2) (+.f64 (pow.f64 (log.f64 (-.f64 1 x)) 2) (*.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (log1p.f64 x) (log1p.f64 x)) 3) (pow.f64 (+.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x)) 3)) (+.f64 (*.f64 (+.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (log1p.f64 x) (log1p.f64 x))) (+.f64 (*.f64 (+.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x)) (+.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x))) (*.f64 (+.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (log.f64 (-.f64 1 x)) (log1p.f64 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (-.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (log1p.f64 x) 1 (neg.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (log1p.f64 x)) 2) (cbrt.f64 (log1p.f64 x)) (neg.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (log1p.f64 x)) (sqrt.f64 (log1p.f64 x)) (neg.f64 (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))))) |
| 1× | egg-herbie |
| 307× | rule-+a-bc-+b-ac_binary64 |
| 267× | rule-a-*a1_binary64 |
| 267× | rule-a--a0_binary64 |
| 267× | rule-a-+a0_binary64 |
| 265× | rule-a-/a1_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 76 | 406 |
| 1 | 537 | 397 |
| 2 | 1723 | 369 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1 x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 -1 x))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1 x) (*.f64 -1/4 (pow.f64 x 4))))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (/.f64 1 x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) |
(*.f64 -1 (log.f64 (/.f64 -1 x))) |
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (/.f64 1 x)) |
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))) |
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) |
(*.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 -1 x) |
(neg.f64 x) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1 x)) |
(fma.f64 -1/2 (*.f64 x x) (*.f64 -1 x)) |
(fma.f64 -1/2 (*.f64 x x) (neg.f64 x)) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (*.f64 -1 x))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/3 (pow.f64 x 3) (*.f64 -1 x))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/3 (pow.f64 x 3) (neg.f64 x))) |
(+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/3 (pow.f64 x 3)) (+.f64 (*.f64 -1 x) (*.f64 -1/4 (pow.f64 x 4))))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -1 x (*.f64 -1/4 (pow.f64 x 4))))) |
(fma.f64 -1/2 (*.f64 x x) (fma.f64 -1/3 (pow.f64 x 3) (fma.f64 -1/4 (pow.f64 x 4) (neg.f64 x)))) |
(+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) |
(fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) |
(+.f64 (*.f64 1 (log.f64 x)) (log.f64 -1)) |
(+.f64 (log.f64 x) (log.f64 -1)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (/.f64 1 x)) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (/.f64 1 x)) |
(+.f64 (*.f64 1 (log.f64 x)) (-.f64 (log.f64 -1) (/.f64 1 x))) |
(+.f64 (log.f64 x) (-.f64 (log.f64 -1) (/.f64 1 x))) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))) |
(+.f64 (*.f64 1 (log.f64 x)) (-.f64 (log.f64 -1) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))))) |
(-.f64 (+.f64 (log.f64 x) (log.f64 -1)) (/.f64 (+.f64 1 (/.f64 1/2 x)) x)) |
(-.f64 (+.f64 (*.f64 -1 (log.f64 (/.f64 1 x))) (log.f64 -1)) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) |
(-.f64 (fma.f64 -1 (neg.f64 (log.f64 x)) (log.f64 -1)) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))))) |
(-.f64 (+.f64 (*.f64 1 (log.f64 x)) (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 x) (log.f64 -1)) (+.f64 (/.f64 1 x) (/.f64 (+.f64 (/.f64 1/3 x) 1/2) (*.f64 x x)))) |
(*.f64 -1 (log.f64 (/.f64 -1 x))) |
(neg.f64 (log.f64 (/.f64 -1 x))) |
(-.f64 (log.f64 x) (log.f64 -1)) |
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (/.f64 1 x)) |
(-.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (/.f64 1 x)) |
(-.f64 (/.f64 -1 x) (log.f64 (/.f64 -1 x))) |
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (/.f64 1 x))) |
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))) |
(-.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x)))) |
(-.f64 (-.f64 (log.f64 x) (log.f64 -1)) (/.f64 (+.f64 1 (/.f64 1/2 x)) x)) |
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (*.f64 1/2 (/.f64 1 (pow.f64 x 2))) (+.f64 (*.f64 1/3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 x)))) |
(-.f64 (*.f64 -1 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1/3 (pow.f64 x 3)) (+.f64 (/.f64 1 x) (/.f64 1/2 (*.f64 x x))))) |
(-.f64 (neg.f64 (log.f64 (/.f64 -1 x))) (+.f64 (/.f64 1 x) (+.f64 (/.f64 1/2 (*.f64 x x)) (/.f64 1/3 (pow.f64 x 3))))) |
(-.f64 (/.f64 -1 x) (+.f64 (/.f64 (+.f64 (/.f64 1/3 x) 1/2) (*.f64 x x)) (log.f64 (/.f64 -1 x)))) |
(*.f64 2 x) |
(*.f64 x 2) |
(+.f64 x x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.f64 2 x (*.f64 (pow.f64 x 3) 2/3)) |
(fma.f64 x 2 (*.f64 (pow.f64 x 3) 2/3)) |
(fma.f64 (pow.f64 x 3) 2/3 (+.f64 x 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 x 2 (fma.f64 (pow.f64 x 3) 2/3 (*.f64 2/5 (pow.f64 x 5)))) |
(fma.f64 (pow.f64 x 3) 2/3 (fma.f64 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 x 2 (fma.f64 (pow.f64 x 3) 2/3 (*.f64 2/5 (pow.f64 x 5))))) |
(fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) |
(*.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 -1 (log.f64 -1)) (+.f64 (*.f64 2/3 (/.f64 1 (pow.f64 x 3))) (*.f64 2 (/.f64 1 x)))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (fma.f64 -1 (log.f64 -1) (/.f64 2 x))) |
(+.f64 (fma.f64 -1 (log.f64 -1) (/.f64 2 x)) (/.f64 2/3 (pow.f64 x 3))) |
(+.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 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2/5 (pow.f64 x 5)) (fma.f64 -1 (log.f64 -1) (/.f64 2 x)))) |
(+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (fma.f64 -1 (log.f64 -1) (/.f64 2 x)) (/.f64 2/5 (pow.f64 x 5)))) |
(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 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (log.f64 -1) (/.f64 2/5 (pow.f64 x 5))))) |
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 122 | 1 | 123 |
| Fresh | 0 | 1 | 1 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 123 | 2 | 125 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.1b | (*.f64 1/2 (fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) |
| 58.8b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
Compiled 2051 to 1529 computations (25.5% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) |
| ✓ | 0.1b | (*.f64 2/5 (pow.f64 x 5)) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | 0 | (*.f64 2/5 (pow.f64 x 5)) |
| 1.0ms | x | @ | inf | (*.f64 2/5 (pow.f64 x 5)) |
| 1.0ms | x | @ | -inf | (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) |
| 1.0ms | x | @ | -inf | (*.f64 2/5 (pow.f64 x 5)) |
| 0.0ms | x | @ | 0 | (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) |
| 1× | batch-egg-rewrite |
| 266× | rule-*aa-fabs*aa_binary64 |
| 207× | rule-nega--0a_binary64 |
| 207× | rule-nega-/a-1_binary64 |
| 207× | rule-nega-*a-1_binary64 |
| 176× | rule-/ab-*+aa/1/2b_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 12 | 25 |
| 1 | 324 | 25 |
| 2 | 3735 | 25 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 2/5 (pow.f64 x 5)) |
(fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2/5 (pow.f64 x 5)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 2/5 (pow.f64 x 5)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (+.f64 0 (neg.f64 (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/5 (pow.f64 x 5))) (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5)))) (exp.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5))))) (+.f64 (exp.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/5 (pow.f64 x 5))) (+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/5 (pow.f64 x 5)))) (+.f64 (+.f64 (*.f64 2/5 (pow.f64 x 5)) (*.f64 2/5 (pow.f64 x 5))) (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 2/5 (/.f64 1 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 2/5 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 2/5 (pow.f64 x 5))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (*.f64 2/5 (pow.f64 x 5)) 3) (pow.f64 (*.f64 2/5 (pow.f64 x 5)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2/5 (pow.f64 x 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 2/5 (pow.f64 x 5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 2/5 (pow.f64 x 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 2/5 (pow.f64 x 5)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 2/5 (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 2/5) (pow.f64 x 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 2/5 (pow.f64 x 5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2/5 (pow.f64 x 5) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 x 5) 2/5 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 2/5 (pow.f64 x 5)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 2/5 (pow.f64 x 5))) 2) (cbrt.f64 (*.f64 2/5 (pow.f64 x 5))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2)) (*.f64 (sqrt.f64 2/5) (pow.f64 x 5/2)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2/5 (pow.f64 x 5)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 2/3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 2) (+.f64 (*.f64 (pow.f64 x 3) 2/3) (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 x 3) 2/3) (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (log1p.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (+.f64 0 (neg.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (log1p.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) (exp.f64 (log1p.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))) (+.f64 (exp.f64 (log1p.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (+.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) (+.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) (+.f64 (+.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) 2) (cbrt.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) (sqrt.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 3) (pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 3)) (/.f64 1/2 (pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) (neg.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3) (pow.f64 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))) 3)) (+.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3) (pow.f64 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))) 3))) (/.f64 1/2 (+.f64 (*.f64 (*.f64 (pow.f64 x 3) 2/3) (*.f64 (pow.f64 x 3) 2/3)) (-.f64 (pow.f64 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))) 2) (*.f64 (*.f64 (pow.f64 x 3) 2/3) (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 3) (pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (pow.f64 x 3) 2/3) 3) (pow.f64 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))) 3)) (+.f64 (*.f64 (*.f64 (pow.f64 x 3) 2/3) (*.f64 (pow.f64 x 3) 2/3)) (-.f64 (pow.f64 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))) 2) (*.f64 (*.f64 (pow.f64 x 3) 2/3) (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))))))) |
| 1× | egg-herbie |
| 252× | rule-+a-bc--+abc_binary64 |
| 231× | rule-+a-bc-+b-ac_binary64 |
| 204× | rule--+abc-+a-bc_binary64 |
| 184× | rule-*a-bc-*nega-cb_binary64 |
| 182× | rule-*b-ac--*ab*bc_binary64 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 15 | 165 |
| 1 | 99 | 165 |
| 2 | 283 | 165 |
| 3 | 1127 | 165 |
| 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 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(*.f64 2/5 (pow.f64 x 5)) |
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(*.f64 2/5 (pow.f64 x 5)) |
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
(+.f64 (*.f64 2 x) (+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5)))) |
| Outputs |
|---|
(*.f64 2 x) |
(+.f64 x x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.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)))) |
(fma.f64 2 x (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5)))) |
(+.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)))) |
(*.f64 2/5 (pow.f64 x 5)) |
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) |
(+.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)))) |
(+.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)))) |
(*.f64 2/5 (pow.f64 x 5)) |
(+.f64 (*.f64 2/3 (pow.f64 x 3)) (*.f64 2/5 (pow.f64 x 5))) |
(fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))) |
(+.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)))) |
(+.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)))) |
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 81 | 0 | 81 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 81 | 2 | 83 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 1/2 (fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) |
| ▶ | 58.8b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
Compiled 2259 to 1852 computations (18% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| ✓ | 5.0b | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | inf | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 1.0ms | x | @ | 0 | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.0ms | x | @ | -inf | (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
| 0.0ms | x | @ | inf | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| 0.0ms | x | @ | 0 | (/.f64 (+.f64 1 x) (-.f64 1 x)) |
| 1× | batch-egg-rewrite |
| 934× | rules-31_binary64 |
| 934× | rules-32_binary64 |
| 934× | rules-33_binary64 |
| 85× | add-sqr-sqrt_binary64 |
| 80× | add-exp-log_binary64 |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 22 |
| 1 | 188 | 21 |
| 2 | 2663 | 21 |
| 1× | node limit |
| Inputs |
|---|
(log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) |
(/.f64 (+.f64 1 x) (-.f64 1 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2)) (log.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (+.f64 (+.f64 1 x) (+.f64 1 x))) (log.f64 (/.f64 -1/2 (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) (log.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (log.f64 (neg.f64 (+.f64 1 x))) (log.f64 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 3) (+.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 2) (+.f64 0 (*.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 3) (+.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 2) (-.f64 0 (*.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 0))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (log1p.f64 x) 3) (pow.f64 (log.f64 (-.f64 1 x)) 3)) (+.f64 (*.f64 (log1p.f64 x) (log1p.f64 x)) (+.f64 (*.f64 (log.f64 (-.f64 1 x)) (log.f64 (-.f64 1 x))) (*.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) (/.f64 0 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (+.f64 1 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 -1 (+.f64 x -1)) (/.f64 x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 x (-.f64 1 x)) (/.f64 -1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) (/.f64 0 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) (/.f64 (+.f64 1 x) (-.f64 1 x))) (/.f64 (+.f64 1 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (+.f64 1 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 x) (/.f64 -1 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2) (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 x)) (/.f64 (pow.f64 (cbrt.f64 (+.f64 1 x)) 2) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 x)) (/.f64 (sqrt.f64 (+.f64 1 x)) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 1 x) (+.f64 1 x)) (/.f64 -1/2 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1/2 (+.f64 x -1)) (+.f64 (+.f64 1 x) (+.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) (/.f64 (+.f64 1 x) (-.f64 1 x))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (neg.f64 (+.f64 1 x)) (neg.f64 (+.f64 1 x))) (/.f64 1/2 (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))) 2)) (cbrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x))))) (sqrt.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (+.f64 1 x) 3) (pow.f64 (-.f64 1 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) 1 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 2) (cbrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))) 0)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 (+.f64 1 x) (+.f64 1 x)) (/.f64 -1/2 (+.f64 x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (-.f64 (log1p.f64 x) (log.f64 (-.f64 1 x)))))))) |
| 1× | egg-herbie |
| 186× | rule-+a+bc-+b+ac_binary64 |
| 180× | rule-+a-bc-+b-ac_binary64 |
| 175× | rule-+a-bc--+abc_binary64 |
| 174× | rule-*a/cb-/a/bc_binary64 |
| 173× | rule-a-*a1_binary64 |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 52 | 319 |
| 1 | 371 | 319 |
| 2 | 1183 | 295 |
| 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))))) |
(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)))))) |
(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)))))) |
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 |
|---|
(*.f64 2 x) |
(+.f64 x x) |
(+.f64 (*.f64 2 x) (*.f64 2/3 (pow.f64 x 3))) |
(fma.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)))) |
(fma.f64 2 x (fma.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))))) |
(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 x (fma.f64 2/7 (pow.f64 x 7) (fma.f64 2/3 (pow.f64 x 3) (*.f64 2/5 (pow.f64 x 5))))) |
(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 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2 x))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (+.f64 (log.f64 -1) (/.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 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (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))))) |
(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 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2 x))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (/.f64 2/3 (pow.f64 x 3)))) |
(+.f64 (+.f64 (log.f64 -1) (/.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 (log.f64 -1) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (+.f64 (/.f64 2 x) (/.f64 2/5 (pow.f64 x 5))))) |
(+.f64 (log.f64 -1) (+.f64 (/.f64 2 x) (+.f64 (/.f64 2/3 (pow.f64 x 3)) (/.f64 2/5 (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))))) |
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 x (fma.f64 2 (*.f64 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 x (fma.f64 2 (*.f64 x x) 1))) |
(fma.f64 2 (*.f64 x x) (fma.f64 2 (pow.f64 x 3) (fma.f64 2 x 1))) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (/.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)))))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))) |
(-.f64 -1 (/.f64 (+.f64 (/.f64 2 x) 2) 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))))))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))) |
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 (/.f64 (+.f64 (/.f64 2 x) 2) x) x))) |
-1 |
(neg.f64 (+.f64 1 (*.f64 2 (/.f64 1 x)))) |
(neg.f64 (+.f64 1 (/.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)))))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (/.f64 2 (*.f64 x x))))) |
(-.f64 -1 (/.f64 (+.f64 (/.f64 2 x) 2) 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))))))) |
(neg.f64 (+.f64 1 (+.f64 (/.f64 2 x) (+.f64 (/.f64 2 (*.f64 x x)) (/.f64 2 (pow.f64 x 3)))))) |
(-.f64 -1 (+.f64 (/.f64 2 x) (/.f64 (/.f64 (+.f64 (/.f64 2 x) 2) x) x))) |
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 110 | 0 | 110 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 110 | 2 | 112 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.1b | (*.f64 1/2 (fma.f64 2/7 (pow.f64 x 7) (fma.f64 (pow.f64 x 3) 2/3 (fma.f64 x 2 (*.f64 2/5 (pow.f64 x 5)))))) |
| ✓ | 58.8b | (*.f64 (/.f64 1 2) (log.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))) |
Compiled 1904 to 1554 computations (18.4% saved)
Total -58.7b remaining (-51749.7%)
Threshold costs -58.7b (-51749.7%)
Compiled 381 to 287 computations (24.7% saved)
| 1× | egg-herbie |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 21 | 34 |
| 1× | saturated |
| Inputs |
|---|
(*.f64 1/2 (+.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)))))) |
| Outputs |
|---|
(*.f64 1/2 (+.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)))))) |
| 1× | done |
Compiled 80 to 66 computations (17.5% saved)
Loading profile data...