Time bar (total: 5.2s)
| 1× | search |
| Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
|---|---|---|---|---|---|---|---|
| 0% | 0% | 49.6% | 50.4% | 0% | 0% | 0% | 0 |
| 100% | 49.6% | 0% | 50.4% | 0% | 0% | 0% | 1 |
Compiled 12 to 9 computations (25% saved)
| 3.0s | 4383× | body | 2048 | valid |
| 690.0ms | 2110× | body | 1024 | valid |
| 247.0ms | 1013× | body | 512 | valid |
| 79.0ms | 750× | body | 256 | valid |
| 2× | egg-herbie |
| 12× | fma-def |
| 12× | +-commutative |
| 10× | associate-+l- |
| 8× | sub-neg |
| 6× | associate--r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 11 | 11 |
| 2 | 15 | 11 |
| 3 | 22 | 11 |
| 4 | 29 | 11 |
| 5 | 39 | 11 |
| 6 | 55 | 11 |
| 7 | 65 | 11 |
| 8 | 68 | 11 |
| 0 | 1 | 1 |
| 1× | saturated |
| 1× | saturated |
| Inputs |
|---|
0 |
| Outputs |
|---|
0 |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(-.f64 1 (cos.f64 x)) |
Compiled 6 to 5 computations (16.7% saved)
| 1× | egg-herbie |
| 12× | fma-def |
| 12× | +-commutative |
| 10× | associate-+l- |
| 8× | sub-neg |
| 6× | associate--r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 11 | 11 |
| 2 | 15 | 11 |
| 3 | 22 | 11 |
| 4 | 29 | 11 |
| 5 | 39 | 11 |
| 6 | 55 | 11 |
| 7 | 65 | 11 |
| 8 | 68 | 11 |
| 1× | saturated |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(-.f64 1 (cos.f64 x)) |
Compiled 5 to 4 computations (20% saved)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 1 | 1 |
| Fresh | 0 | 1 | 1 |
| Picked | 0 | 0 | 0 |
| Done | 0 | 0 | 0 |
| Total | 0 | 2 | 2 |
| Status | Error | Program |
|---|---|---|
| ▶ | 30.8b | (-.f64 1 (cos.f64 x)) |
Compiled 5 to 4 computations (20% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 3.1b | (-.f64 1 (cos.f64 x)) |
Compiled 9 to 5 computations (44.4% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | inf | (-.f64 1 (cos.f64 x)) |
| 0.0ms | x | @ | -inf | (-.f64 1 (cos.f64 x)) |
| 1× | batch-egg-rewrite |
| 1402× | add-sqr-sqrt |
| 1386× | *-un-lft-identity |
| 1288× | add-cube-cbrt |
| 1276× | add-cbrt-cube |
| 1266× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 7 | 11 |
| 1 | 140 | 11 |
| 2 | 1686 | 11 |
| 1× | node limit |
| Inputs |
|---|
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (neg.f64 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))) (-.f64 1 (pow.f64 (cos.f64 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 1 (cos.f64 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (neg.f64 (cos.f64 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x)))))))) |
| 1× | egg-herbie |
| 932× | associate-/l* |
| 906× | associate-*r* |
| 896× | times-frac |
| 852× | distribute-lft-in |
| 792× | *-commutative |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 95 | 817 |
| 1 | 232 | 757 |
| 2 | 782 | 687 |
| 3 | 3180 | 687 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1)) |
(+.f64 (neg.f64 (cos.f64 x)) 1) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(*.f64 (-.f64 1 (cos.f64 x)) 1) |
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x)))) |
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))) |
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
(/.f64 1 (/.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))) (-.f64 1 (pow.f64 (cos.f64 x) 3)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))) |
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x)))) |
(/.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x))))) |
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x)))) |
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) |
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3) |
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) |
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3)) |
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))) |
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) |
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1)) |
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x)))) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(+.f64 1 (neg.f64 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(+.f64 1 (*.f64 (neg.f64 (cos.f64 x)) 1)) |
(-.f64 1 (cos.f64 x)) |
(+.f64 (neg.f64 (cos.f64 x)) 1) |
(-.f64 1 (cos.f64 x)) |
(*.f64 1 (-.f64 1 (cos.f64 x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (-.f64 1 (cos.f64 x)) 1) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (sqrt.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 2) (cbrt.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (/.f64 1 (+.f64 1 (cos.f64 x)))) |
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (/.f64 1 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))) |
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(/.f64 1 (/.f64 (+.f64 1 (cos.f64 x)) (*.f64 (sin.f64 x) (sin.f64 x)))) |
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 1 (/.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))) (-.f64 1 (pow.f64 (cos.f64 x) 3)))) |
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x))))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))) |
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(/.f64 (-.f64 1 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x)))) (-.f64 1 (neg.f64 (cos.f64 x)))) |
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (+.f64 1 (pow.f64 (neg.f64 (cos.f64 x)) 3)) (+.f64 1 (-.f64 (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (cos.f64 x))) (neg.f64 (cos.f64 x))))) |
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(/.f64 (neg.f64 (*.f64 (sin.f64 x) (sin.f64 x))) (neg.f64 (+.f64 1 (cos.f64 x)))) |
(*.f64 (sin.f64 x) (*.f64 (sin.f64 x) (/.f64 1 (+.f64 1 (cos.f64 x))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(/.f64 (neg.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3))) (neg.f64 (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x))))) |
(/.f64 (*.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) 1) (+.f64 1 (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (+.f64 1 (*.f64 (cos.f64 x) (-.f64 (cos.f64 x) -1)))) |
(/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) |
(pow.f64 (-.f64 1 (cos.f64 x)) 1) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) 2) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (cbrt.f64 (-.f64 1 (cos.f64 x))) 3) |
(-.f64 1 (cos.f64 x)) |
(pow.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3) 1/3) |
(-.f64 1 (cos.f64 x)) |
(sqrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 2)) |
(-.f64 1 (cos.f64 x)) |
(log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
(cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3)) |
(-.f64 1 (cos.f64 x)) |
(expm1.f64 (log1p.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) |
(exp.f64 (*.f64 (log1p.f64 (neg.f64 (cos.f64 x))) 1)) |
(exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) |
(log1p.f64 (expm1.f64 (-.f64 1 (cos.f64 x)))) |
(-.f64 1 (cos.f64 x)) |
Compiled 469 to 279 computations (40.5% saved)
4 alts after pruning (3 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 40 | 3 | 43 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 0 | 0 |
| Total | 40 | 4 | 44 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
| ✓ | 30.8b | (-.f64 1 (cos.f64 x)) |
| ▶ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ▶ | 0.3b | (*.f64 1/2 (*.f64 x x)) |
Compiled 30 to 22 computations (26.7% saved)
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 1/2 (*.f64 x x)) |
Compiled 11 to 5 computations (54.5% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 1/2 (*.f64 x x)) |
| 0.0ms | x | @ | inf | (*.f64 1/2 (*.f64 x x)) |
| 0.0ms | x | @ | -inf | (*.f64 1/2 (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1076× | add-sqr-sqrt |
| 1058× | *-un-lft-identity |
| 1006× | pow1 |
| 986× | add-cube-cbrt |
| 978× | add-cbrt-cube |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 6 | 13 |
| 1 | 122 | 13 |
| 2 | 1408 | 13 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 1/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))))))) |
| 1× | egg-herbie |
| 1470× | distribute-rgt-in |
| 1446× | distribute-lft-in |
| 1164× | log-prod |
| 746× | associate-*r* |
| 698× | associate-+r+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 38 | 299 |
| 1 | 92 | 299 |
| 2 | 346 | 299 |
| 3 | 1898 | 299 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (pow.f64 x 2)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x))) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(-.f64 (+.f64 1 (*.f64 1/2 (*.f64 x x))) 1) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(pow.f64 (*.f64 1/2 (*.f64 x x)) 1) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(pow.f64 (*.f64 x (sqrt.f64 1/2)) 2) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 x x))) 3) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(pow.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) 1/3) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(sqrt.f64 (*.f64 1/4 (pow.f64 x 4))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(log.f64 (pow.f64 (exp.f64 1/2) (*.f64 x x))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(exp.f64 (log.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 x x)))) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
Found 1 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
Compiled 19 to 12 computations (36.8% saved)
3 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 1.0ms | x | @ | -inf | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| 1.0ms | x | @ | inf | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| 1.0ms | x | @ | 0 | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| 1× | batch-egg-rewrite |
| 1792× | add-sqr-sqrt |
| 1766× | *-un-lft-identity |
| 1644× | add-cube-cbrt |
| 1624× | add-cbrt-cube |
| 182× | pow1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 9 | 21 |
| 1 | 187 | 21 |
| 2 | 2214 | 21 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (cos.f64 (*.f64 x 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 x)) (tan.f64 (*.f64 x 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))))))) |
| 1× | egg-herbie |
| 1088× | fma-def |
| 952× | distribute-lft-in |
| 894× | distribute-rgt-in |
| 874× | *-commutative |
| 738× | associate-*r* |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 69 | 779 |
| 1 | 152 | 779 |
| 2 | 419 | 779 |
| 3 | 2320 | 779 |
| 4 | 6397 | 779 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) 1) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))) |
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (cos.f64 (*.f64 x 1/2))) |
(pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 1) |
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 2) |
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 3) |
(pow.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3) 1/3) |
(sqrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 2)) |
(log.f64 (pow.f64 (exp.f64 (sin.f64 x)) (tan.f64 (*.f64 x 1/2)))) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))) |
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3)) |
(expm1.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) |
(exp.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) |
(exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/2 (*.f64 x x))) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (*.f64 1/720 (pow.f64 x 6)))) |
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2) (*.f64 1/720 (pow.f64 x 6))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/24 (pow.f64 x 4)) (+.f64 (*.f64 1/720 (pow.f64 x 6)) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 1/720 (pow.f64 x 6) (*.f64 -1/40320 (pow.f64 x 8))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 -1/24 (pow.f64 x 4) (fma.f64 -1/40320 (pow.f64 x 8) (*.f64 1/720 (pow.f64 x 6))))) |
(fma.f64 1/2 (*.f64 x x) (fma.f64 (pow.f64 x 4) (fma.f64 (pow.f64 x 4) -1/40320 -1/24) (*.f64 1/720 (pow.f64 x 6)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) 1) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(/.f64 (*.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (cos.f64 (*.f64 x 1/2))) |
(/.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (cos.f64 (*.f64 1/2 x)) (sin.f64 x))) |
(*.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) (sin.f64 x)) |
(*.f64 (sin.f64 x) (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))) |
(pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 1) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(pow.f64 (sqrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 2) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 3) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(pow.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3) 1/3) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(sqrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 2)) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(log.f64 (pow.f64 (exp.f64 (sin.f64 x)) (tan.f64 (*.f64 x 1/2)))) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))))) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))) 3)) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(expm1.f64 (log1p.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(exp.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2)))) 1)) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
(log1p.f64 (expm1.f64 (*.f64 (sin.f64 x) (tan.f64 (*.f64 x 1/2))))) |
(*.f64 (sin.f64 x) (tan.f64 (*.f64 1/2 x))) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
| ✓ | 0.1b | (*.f64 -1/24 (pow.f64 x 4)) |
Compiled 26 to 17 computations (34.6% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | 0 | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | inf | (*.f64 -1/24 (pow.f64 x 4)) |
| 0.0ms | x | @ | inf | (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
| 0.0ms | x | @ | 0 | (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
| 0.0ms | x | @ | -inf | (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
| 1× | batch-egg-rewrite |
| 1860× | add-sqr-sqrt |
| 1828× | *-un-lft-identity |
| 1712× | add-cube-cbrt |
| 1700× | add-cbrt-cube |
| 202× | add-exp-log |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 11 | 40 |
| 1 | 226 | 40 |
| 2 | 2447 | 40 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 4)) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -1/24 (pow.f64 x 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 8) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/24) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) 1) (*.f64 -1/24 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2) (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (*.f64 (pow.f64 x 8) 1/576)) (-.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))))))) |
| 1× | egg-herbie |
| 1176× | associate-/l* |
| 764× | associate-/r* |
| 642× | unswap-sqr |
| 534× | fma-def |
| 522× | +-commutative |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 93 | 1204 |
| 1 | 229 | 1178 |
| 2 | 1113 | 1164 |
| 3 | 4379 | 1164 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4)))) 1) |
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
(pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2) |
(pow.f64 (cbrt.f64 (*.f64 -1/24 (pow.f64 x 4))) 3) |
(pow.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3) 1/3) |
(sqrt.f64 (*.f64 (pow.f64 x 8) 1/576)) |
(log.f64 (pow.f64 (exp.f64 -1/24) (pow.f64 x 4))) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4))))) |
(cbrt.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4)))) |
(exp.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4)))) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) 1) (*.f64 -1/24 (pow.f64 x 4))) |
(-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) 1) |
(*.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(*.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) |
(*.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(*.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2)) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2) (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(/.f64 (-.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (*.f64 (pow.f64 x 8) 1/576)) (-.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4)))))) |
(pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(pow.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2) |
(pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 3) |
(pow.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3) 1/3) |
(sqrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 2)) |
(log.f64 (exp.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))) |
(cbrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3)) |
(expm1.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(exp.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(exp.f64 (*.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 1)) |
(log1p.f64 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
| Outputs |
|---|
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4)))) 1) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 1) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (*.f64 (*.f64 x x) (sqrt.f64 -1/24)) 2) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (cbrt.f64 (*.f64 -1/24 (pow.f64 x 4))) 3) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3) 1/3) |
(*.f64 -1/24 (pow.f64 x 4)) |
(sqrt.f64 (*.f64 (pow.f64 x 8) 1/576)) |
(log.f64 (pow.f64 (exp.f64 -1/24) (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4))))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(cbrt.f64 (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(expm1.f64 (log1p.f64 (*.f64 -1/24 (pow.f64 x 4)))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(exp.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4)))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(exp.f64 (*.f64 (log.f64 (*.f64 -1/24 (pow.f64 x 4))) 1)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(log1p.f64 (expm1.f64 (*.f64 -1/24 (pow.f64 x 4)))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 -1/24 (pow.f64 x 4)) (*.f64 1/2 (*.f64 x x))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(+.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) 1) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(-.f64 (exp.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) 1) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(*.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(*.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(*.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(*.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2)) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(*.f64 (pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2) (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(/.f64 (-.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (*.f64 (pow.f64 x 8) 1/576)) (-.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4)))) |
(/.f64 (-.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 (pow.f64 x 8) 1/576)) (+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/24 (pow.f64 x 4)))) |
(/.f64 (fma.f64 1/4 (pow.f64 x 4) (*.f64 (pow.f64 x 8) -1/576)) (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 4) 1/24))) |
(/.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) -1/576)) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 1/2 (*.f64 x x)))) |
(/.f64 (fma.f64 (pow.f64 x 4) 1/4 (*.f64 (pow.f64 x 8) -1/576)) (fma.f64 (pow.f64 x 4) 1/24 (*.f64 x (*.f64 1/2 x)))) |
(/.f64 (+.f64 (pow.f64 (*.f64 1/2 (*.f64 x x)) 3) (pow.f64 (*.f64 -1/24 (pow.f64 x 4)) 3)) (+.f64 (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) (-.f64 (*.f64 (pow.f64 x 8) 1/576) (*.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4)))))) |
(/.f64 (+.f64 (*.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3)) (*.f64 1/8 (pow.f64 (*.f64 x x) 3))) (-.f64 (+.f64 (*.f64 1/4 (pow.f64 x 4)) (*.f64 (pow.f64 x 8) 1/576)) (*.f64 1/2 (*.f64 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))) |
(/.f64 (fma.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3) (pow.f64 (*.f64 1/2 (*.f64 x x)) 3)) (fma.f64 1/4 (pow.f64 x 4) (fma.f64 (pow.f64 x 8) 1/576 (*.f64 -1/2 (*.f64 (pow.f64 (*.f64 x x) 3) -1/24))))) |
(/.f64 (fma.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3) (*.f64 1/8 (pow.f64 x 6))) (fma.f64 (pow.f64 x 8) 1/576 (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (*.f64 x x) 1/48) 1/4)))) |
(/.f64 (fma.f64 -1/13824 (pow.f64 (pow.f64 x 4) 3) (*.f64 1/8 (pow.f64 x 6))) (fma.f64 (pow.f64 x 8) 1/576 (*.f64 (pow.f64 x 4) (+.f64 1/4 (*.f64 (*.f64 x x) 1/48))))) |
(pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 1) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(pow.f64 (sqrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 2) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(pow.f64 (cbrt.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 3) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(pow.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3) 1/3) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(sqrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 2)) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(log.f64 (exp.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(log.f64 (+.f64 1 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(cbrt.f64 (pow.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) 3)) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(expm1.f64 (log1p.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(exp.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(exp.f64 (*.f64 (log.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4)))) 1)) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
(log1p.f64 (expm1.f64 (fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 -1/24 (pow.f64 x 4) (*.f64 x (*.f64 1/2 x))) |
Compiled 1294 to 892 computations (31.1% saved)
5 alts after pruning (3 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 95 | 3 | 98 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 1 | 2 | 3 |
| Total | 97 | 5 | 102 |
| Status | Error | Program |
|---|---|---|
| ✓ | 30.8b | (-.f64 1 (cos.f64 x)) |
| ▶ | 0.0b | (+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))) |
| ▶ | 0.0b | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| ✓ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ▶ | 0.3b | (*.f64 x (*.f64 1/2 x)) |
Compiled 42 to 30 computations (28.6% saved)
Compiled 11 to 7 computations (36.4% saved)
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| ✓ | 0.0b | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| ✓ | 0.3b | (*.f64 x -1/24) |
Compiled 26 to 15 computations (42.3% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| 0.0ms | x | @ | -inf | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| 0.0ms | x | @ | 0 | (*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| 0.0ms | x | @ | -inf | (*.f64 x -1/24) |
| 0.0ms | x | @ | 0 | (*.f64 x -1/24) |
| 1× | batch-egg-rewrite |
| 1866× | add-sqr-sqrt |
| 1838× | *-un-lft-identity |
| 1716× | add-cube-cbrt |
| 1694× | add-cbrt-cube |
| 192× | pow1 |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 10 | 34 |
| 1 | 203 | 34 |
| 2 | 2366 | 34 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x -1/24) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x -1/24))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x -1/24) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x -1/24)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x -1/24) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 x x) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) -1/24))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x -1/24) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x -1/24)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x -1/24))))))) |
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -1/24) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 2) (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -1/24) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))))))) |
| 1× | egg-herbie |
| 1454× | fma-def |
| 1212× | associate-+r+ |
| 1174× | associate-+l+ |
| 632× | log-prod |
| 600× | unswap-sqr |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 83 | 862 |
| 1 | 200 | 862 |
| 2 | 745 | 862 |
| 3 | 2872 | 862 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 1/2 (pow.f64 x 2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 x -1/24))) 1) |
(pow.f64 (*.f64 x -1/24) 1) |
(pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2) |
(pow.f64 (cbrt.f64 (*.f64 x -1/24)) 3) |
(pow.f64 (pow.f64 (*.f64 x -1/24) 3) 1/3) |
(sqrt.f64 (*.f64 (*.f64 x x) 1/576)) |
(log.f64 (pow.f64 (exp.f64 x) -1/24)) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x -1/24)))) |
(cbrt.f64 (pow.f64 (*.f64 x -1/24) 3)) |
(expm1.f64 (log1p.f64 (*.f64 x -1/24))) |
(exp.f64 (log.f64 (*.f64 x -1/24))) |
(exp.f64 (*.f64 (log.f64 (*.f64 x -1/24)) 1)) |
(log1p.f64 (expm1.f64 (*.f64 x -1/24))) |
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) 1) |
(pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 1) |
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -1/24) 1/2))) 2) |
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 3) |
(pow.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3) 1/3) |
(sqrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 2) (pow.f64 x 4))) |
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -1/24) 1/2))) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))) |
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3)) |
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) |
(exp.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) |
| Outputs |
|---|
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 -1/24 x) |
(*.f64 1/2 (pow.f64 x 2)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (*.f64 x x)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 -1/24 (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 x -1/24))) 1) |
(*.f64 -1/24 x) |
(pow.f64 (*.f64 x -1/24) 1) |
(*.f64 -1/24 x) |
(pow.f64 (sqrt.f64 (*.f64 x -1/24)) 2) |
(*.f64 -1/24 x) |
(pow.f64 (cbrt.f64 (*.f64 x -1/24)) 3) |
(*.f64 -1/24 x) |
(pow.f64 (pow.f64 (*.f64 x -1/24) 3) 1/3) |
(*.f64 -1/24 x) |
(sqrt.f64 (*.f64 (*.f64 x x) 1/576)) |
(*.f64 -1/24 x) |
(log.f64 (pow.f64 (exp.f64 x) -1/24)) |
(*.f64 -1/24 x) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x -1/24)))) |
(*.f64 -1/24 x) |
(cbrt.f64 (pow.f64 (*.f64 x -1/24) 3)) |
(*.f64 -1/24 x) |
(expm1.f64 (log1p.f64 (*.f64 x -1/24))) |
(*.f64 -1/24 x) |
(exp.f64 (log.f64 (*.f64 x -1/24))) |
(*.f64 -1/24 x) |
(exp.f64 (*.f64 (log.f64 (*.f64 x -1/24)) 1)) |
(*.f64 -1/24 x) |
(log1p.f64 (expm1.f64 (*.f64 x -1/24))) |
(*.f64 -1/24 x) |
(+.f64 (*.f64 (*.f64 x x) (*.f64 x (*.f64 x -1/24))) (*.f64 (*.f64 x x) 1/2)) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(-.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) 1) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 1) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x (*.f64 x -1/24) 1/2))) 2) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 3) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(pow.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3) 1/3) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(sqrt.f64 (*.f64 (pow.f64 (fma.f64 x (*.f64 x -1/24) 1/2) 2) (pow.f64 x 4))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) x) (fma.f64 x (*.f64 x -1/24) 1/2))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))) 3)) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(exp.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2)))) 1)) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x (*.f64 x -1/24) 1/2))))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 x (*.f64 x (fma.f64 x (*.f64 -1/24 x) 1/2))) |
(*.f64 x (*.f64 x (fma.f64 -1/24 (*.f64 x x) 1/2))) |
(*.f64 (*.f64 x x) (fma.f64 -1/24 (*.f64 x x) 1/2)) |
Found 2 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 1/2 (*.f64 x x)) | |
| 0.1b | (*.f64 -1/24 (pow.f64 x 4)) |
Compiled 32 to 20 computations (37.5% saved)
Compiled 805 to 536 computations (33.4% saved)
3 alts after pruning (1 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 64 | 1 | 65 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 2 | 2 | 4 |
| Total | 67 | 3 | 70 |
| Status | Error | Program |
|---|---|---|
| ▶ | 0.0b | (+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
| ✓ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ✓ | 0.3b | (*.f64 x (*.f64 1/2 x)) |
Compiled 30 to 19 computations (36.7% saved)
Found 4 expressions with local error:
| New | Error | Program |
|---|---|---|
| 0.0b | (*.f64 1/2 (*.f64 x x)) | |
| ✓ | 0.1b | (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
| ✓ | 0.1b | (*.f64 x (*.f64 x -1/24)) |
| 0.3b | (*.f64 x -1/24) |
Compiled 44 to 22 computations (50% saved)
6 calls:
| Time | Variable | Point | Expression | |
|---|---|---|---|---|
| 0.0ms | x | @ | inf | (*.f64 x (*.f64 x -1/24)) |
| 0.0ms | x | @ | 0 | (*.f64 x (*.f64 x -1/24)) |
| 0.0ms | x | @ | -inf | (*.f64 x (*.f64 x -1/24)) |
| 0.0ms | x | @ | inf | (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
| 0.0ms | x | @ | 0 | (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
| 1× | batch-egg-rewrite |
| 1518× | add-sqr-sqrt |
| 1496× | *-un-lft-identity |
| 1396× | add-cube-cbrt |
| 1372× | add-cbrt-cube |
| 1358× | add-exp-log |
Useful iterations: 1 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 8 | 38 |
| 1 | 165 | 26 |
| 2 | 2024 | 26 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 x (*.f64 x -1/24)) |
(*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) |
| Outputs |
|---|
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x -1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 x) -1/24) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x -1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x -1/24))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -1/24)))))))) |
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 4) -1/24) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) -1/24)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (pow.f64 x 4) -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 4) -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24))))))) |
| 1× | egg-herbie |
| 992× | associate-+r+ |
| 962× | distribute-lft-in |
| 956× | fma-def |
| 954× | distribute-rgt-in |
| 938× | associate-+l+ |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 65 | 624 |
| 1 | 160 | 624 |
| 2 | 634 | 624 |
| 3 | 1842 | 624 |
| 4 | 7789 | 624 |
| 1× | node limit |
| Inputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1) |
(pow.f64 (*.f64 x (*.f64 x -1/24)) 1) |
(pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2) |
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 3) |
(pow.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) 1/3) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/576)) |
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) -1/24) x)) |
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3)) |
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -1/24)))) |
(exp.f64 (log.f64 (*.f64 x (*.f64 x -1/24)))) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x -1/24))) 1)) |
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -1/24)))) |
(-.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/24)) 1) |
(pow.f64 (*.f64 (pow.f64 x 4) -1/24) 1) |
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2) |
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) -1/24)) 3) |
(pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3) 1/3) |
(sqrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 2)) |
(log.f64 (exp.f64 (*.f64 (pow.f64 x 4) -1/24))) |
(cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3)) |
(expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 4) -1/24))) |
(exp.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24))) |
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24)) 1)) |
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24))) |
| Outputs |
|---|
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 2)) |
(*.f64 -1/24 (*.f64 x x)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(-.f64 (+.f64 1 (*.f64 x (*.f64 x -1/24))) 1) |
(*.f64 -1/24 (*.f64 x x)) |
(pow.f64 (*.f64 x (*.f64 x -1/24)) 1) |
(*.f64 -1/24 (*.f64 x x)) |
(pow.f64 (*.f64 x (sqrt.f64 -1/24)) 2) |
(*.f64 -1/24 (*.f64 x x)) |
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -1/24))) 3) |
(*.f64 -1/24 (*.f64 x x)) |
(pow.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3) 1/3) |
(*.f64 -1/24 (*.f64 x x)) |
(sqrt.f64 (*.f64 (pow.f64 x 4) 1/576)) |
(*.f64 -1/24 (*.f64 x x)) |
(log.f64 (pow.f64 (pow.f64 (exp.f64 x) -1/24) x)) |
(*.f64 -1/24 (*.f64 x x)) |
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -1/24)) 3)) |
(*.f64 -1/24 (*.f64 x x)) |
(expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -1/24)))) |
(*.f64 -1/24 (*.f64 x x)) |
(exp.f64 (log.f64 (*.f64 x (*.f64 x -1/24)))) |
(*.f64 -1/24 (*.f64 x x)) |
(exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x -1/24))) 1)) |
(*.f64 -1/24 (*.f64 x x)) |
(log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -1/24)))) |
(*.f64 -1/24 (*.f64 x x)) |
(-.f64 (+.f64 1 (*.f64 (pow.f64 x 4) -1/24)) 1) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (*.f64 (pow.f64 x 4) -1/24) 1) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (*.f64 x (*.f64 x (sqrt.f64 -1/24))) 2) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) -1/24)) 3) |
(*.f64 -1/24 (pow.f64 x 4)) |
(pow.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3) 1/3) |
(*.f64 -1/24 (pow.f64 x 4)) |
(sqrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 2)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(log.f64 (exp.f64 (*.f64 (pow.f64 x 4) -1/24))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(cbrt.f64 (pow.f64 (*.f64 (pow.f64 x 4) -1/24) 3)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(expm1.f64 (log1p.f64 (*.f64 (pow.f64 x 4) -1/24))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(exp.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24))) |
(*.f64 -1/24 (pow.f64 x 4)) |
(exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 x 4) -1/24)) 1)) |
(*.f64 -1/24 (pow.f64 x 4)) |
(log1p.f64 (expm1.f64 (*.f64 (pow.f64 x 4) -1/24))) |
(*.f64 -1/24 (pow.f64 x 4)) |
Compiled 902 to 520 computations (42.4% saved)
3 alts after pruning (0 fresh and 3 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 55 | 0 | 55 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 2 | 2 |
| Total | 55 | 3 | 58 |
| Status | Error | Program |
|---|---|---|
| ✓ | 0.0b | (+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
| ✓ | 0.0b | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ✓ | 0.3b | (*.f64 x (*.f64 1/2 x)) |
Compiled 30 to 19 computations (36.7% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(fma.f64 1/2 (*.f64 x x) (*.f64 -1/24 (pow.f64 x 4))) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
3 calls:
| 34.0ms | x |
| 2.0ms | (cos.f64 x) |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (-.f64 1 (cos.f64 x)) |
| 0.0b | 1 | (cos.f64 x) |
Compiled 78 to 47 computations (39.7% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (*.f64 x x) (fma.f64 x (*.f64 x -1/24) 1/2)) |
(+.f64 (*.f64 1/2 (*.f64 x x)) (*.f64 -1/24 (pow.f64 x 4))) |
| Outputs |
|---|
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
3 calls:
| 4.0ms | x |
| 2.0ms | (cos.f64 x) |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| Error | Segments | Branch |
|---|---|---|
| 0.0b | 1 | x |
| 0.0b | 1 | (-.f64 1 (cos.f64 x)) |
| 0.0b | 1 | (cos.f64 x) |
Compiled 61 to 36 computations (41% saved)
Total -0.0b remaining (-3.5%)
Threshold costs -0.0b (-3.5%)
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
| Outputs |
|---|
(*.f64 x (*.f64 1/2 x)) |
1 calls:
| 5.0ms | x |
| Error | Segments | Branch |
|---|---|---|
| 0.3b | 1 | x |
Compiled 13 to 8 computations (38.5% saved)
| 1× | egg-herbie |
| 14× | *-commutative |
| 2× | +-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 19 | 90 |
| 1 | 27 | 90 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 1/2 (*.f64 x x))) |
(+.f64 (*.f64 (*.f64 x (*.f64 x -1/24)) (*.f64 x x)) (*.f64 (*.f64 x x) 1/2)) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (*.f64 x x)) |
(*.f64 (*.f64 x x) 1/2) |
Compiled 36 to 23 computations (36.1% saved)
| 1× | egg-herbie |
| 932× | associate-/l* |
| 906× | associate-*r* |
| 896× | times-frac |
| 852× | distribute-lft-in |
| 792× | *-commutative |
Useful iterations: 2 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 95 | 817 |
| 1 | 232 | 757 |
| 2 | 782 | 687 |
| 3 | 3180 | 687 |
| 1× | node limit |
Compiled 52 to 25 computations (51.9% saved)
Compiled 33 to 19 computations (42.4% saved)
Loading profile data...