Time bar (total: 4.4s)
| 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)
| 2.9s | 4411× | body | 2048 | valid |
| 664.0ms | 2049× | body | 1024 | valid |
| 214.0ms | 1040× | body | 512 | valid |
| 100.0ms | 756× | 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 | Accuracy | Program |
|---|---|---|
| ▶ | 53.5% | (-.f64 1 (cos.f64 x)) |
Compiled 5 to 4 computations (20% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 95.5% | (-.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)
2 alts after pruning (2 fresh and 0 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 41 | 2 | 43 |
| Fresh | 0 | 0 | 0 |
| Picked | 1 | 0 | 1 |
| Done | 0 | 0 | 0 |
| Total | 42 | 2 | 44 |
| Status | Accuracy | Program |
|---|---|---|
| ▶ | 100.0% | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ▶ | 99.7% | (*.f64 1/2 (*.f64 x x)) |
Compiled 14 to 10 computations (28.6% saved)
Found 1 expressions with local accuracy:
| New | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.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)) |
Compiled 19 to 12 computations (36.8% saved)
Compiled 97 to 63 computations (35.1% saved)
2 alts after pruning (1 fresh and 1 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 13 | 1 | 14 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 1 | 0 | 1 |
| Total | 14 | 2 | 16 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ▶ | 99.7% | (*.f64 x (*.f64 1/2 x)) |
Compiled 14 to 10 computations (28.6% saved)
Compiled 11 to 7 computations (36.4% saved)
Compiled 1 to 1 computations (0% saved)
2 alts after pruning (0 fresh and 2 done)
| Pruned | Kept | Total | |
|---|---|---|---|
| New | 0 | 0 | 0 |
| Fresh | 0 | 0 | 0 |
| Picked | 0 | 1 | 1 |
| Done | 0 | 1 | 1 |
| Total | 0 | 2 | 2 |
| Status | Accuracy | Program |
|---|---|---|
| ✓ | 100.0% | (*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| ✓ | 99.7% | (*.f64 x (*.f64 1/2 x)) |
Compiled 14 to 10 computations (28.6% saved)
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(-.f64 1 (cos.f64 x)) |
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
3 calls:
| 9.0ms | (cos.f64 x) |
| 4.0ms | x |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| Accuracy | Segments | Branch |
|---|---|---|
| 100.0% | 1 | x |
| 100.0% | 1 | (-.f64 1 (cos.f64 x)) |
| 100.0% | 1 | (cos.f64 x) |
Compiled 32 to 22 computations (31.3% saved)
Total -29.6b remaining (-16430.8%)
Threshold costs -29.6b (-16430.8%)
| Inputs |
|---|
(*.f64 1/2 (*.f64 x x)) |
(*.f64 x (*.f64 1/2 x)) |
(-.f64 1 (cos.f64 x)) |
| Outputs |
|---|
(*.f64 x (*.f64 1/2 x)) |
3 calls:
| 3.0ms | x |
| 2.0ms | (-.f64 1 (cos.f64 x)) |
| 2.0ms | (cos.f64 x) |
| Accuracy | Segments | Branch |
|---|---|---|
| 99.7% | 1 | x |
| 99.7% | 1 | (-.f64 1 (cos.f64 x)) |
| 99.7% | 1 | (cos.f64 x) |
Compiled 25 to 17 computations (32% saved)
| 1× | egg-herbie |
| 8× | *-commutative |
Useful iterations: 0 (0.0ms)
| Iter | Nodes | Cost |
|---|---|---|
| 0 | 14 | 47 |
| 1 | 18 | 47 |
| 1× | done |
| 1× | saturated |
| Inputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 1/2 (*.f64 x x)) |
| Outputs |
|---|
(*.f64 (sin.f64 x) (tan.f64 (/.f64 x 2))) |
(*.f64 x (*.f64 1/2 x)) |
(*.f64 x (*.f64 x 1/2)) |
(*.f64 1/2 (*.f64 x x)) |
Compiled 20 to 14 computations (30% 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 18 to 12 computations (33.3% saved)
Loading profile data...