Details

Time bar (total: 10.1s)

analyze1.3s (12.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
37.5%62.5%0%4
43.7%56.2%0%5
46.9%53.1%0%6
48.4%51.5%0%7
49.2%50.8%0%8
49.6%50.4%0%9
49.8%50.2%0%10
49.9%50.1%0%11
49.9%50%0%12
50%50%0%13
50%49.9%0%14
Compiler

Compiled 18 to 15 computations (16.7% saved)

sample3.8s (38%)

Results
2.1s2041×body1024valid
934.0ms4638×body128valid
538.0ms1020×body512valid
208.0ms546×body256valid
20.0ms11×body2048valid
Compiler

Compiled 53 to 44 computations (17% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
10×*-commutative_binary64
associate-/l*_binary64
associate-/r/_binary64
associate-*r*_binary64
associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01322
12022
23122
34122
44922
55122
65022

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
14.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.6b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))) (sin.f64 x))
Compiler

Compiled 61 to 48 computations (21.3% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 (*.f64 x 1/2))
0.2b
(*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2))))
0.4b
(*.f64 8/3 (sin.f64 (*.f64 x 1/2)))
14.4b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))) (sin.f64 x))

series21.0ms (0.2%)

Counts
4 → 48
Calls

4 calls:

13.0ms
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))) (sin.f64 x))
5.0ms
(*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2))))
2.0ms
(*.f64 8/3 (sin.f64 (*.f64 x 1/2)))
1.0ms
(sin.f64 (*.f64 x 1/2))

rewrite20.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×add-cbrt-cube_binary64
20×add-exp-log_binary64
11×add-sqr-sqrt_binary64
11×pow1_binary64
*-un-lft-identity_binary64
Counts
4 → 74
Calls

4 calls:

5.0ms
(*.f64 8/3 (sin.f64 (*.f64 x 1/2)))
5.0ms
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))) (sin.f64 x))
5.0ms
(*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2))))
1.0ms
(sin.f64 (*.f64 x 1/2))

simplify79.0ms (0.8%)

Algorithm
egg-herbie
Rules
672×times-frac_binary64
637×associate-/l*_binary64
499×fma-def_binary64
421×associate-*l*_binary64
300×cancel-sign-sub-inv_binary64
Counts
122 → 137
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01612170
13821712
211491695
340461688
449311688

prune153.0ms (1.5%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New14314157
Fresh000
Picked101
Done000
Total14414158
Error
0.1b
Counts
158 → 14
Alt Table
StatusErrorProgram
15.2b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (*.f64 8/3 (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 (*.f64 x 1/2))))) (cbrt.f64 (sin.f64 (*.f64 x 1/2))))) (sin.f64 x))
14.6b
(*.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))) (/.f64 1 (sin.f64 x)))
14.7b
(/.f64 (*.f64 (sqrt.f64 (*.f64 8/3 (pow.f64 (sin.f64 (*.f64 x 1/2)) 2))) (sqrt.f64 (*.f64 8/3 (pow.f64 (sin.f64 (*.f64 x 1/2)) 2)))) (sin.f64 x))
0.5b
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (*.f64 8/3 (sin.f64 (*.f64 x 1/2))) (sin.f64 x)))
35.1b
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (sin.f64 x))) (*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (sin.f64 x))) 8/3))
14.6b
(*.f64 8/3 (/.f64 (pow.f64 (sin.f64 (*.f64 1/2 x)) 2) (sin.f64 x)))
14.7b
(/.f64 (expm1.f64 (log1p.f64 (*.f64 8/3 (pow.f64 (sin.f64 (*.f64 x 1/2)) 2)))) (sin.f64 x))
14.6b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (expm1.f64 (log1p.f64 (sin.f64 (*.f64 x 1/2)))))) (sin.f64 x))
15.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 8/3 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 2) (sin.f64 x)))) (cbrt.f64 (*.f64 8/3 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 2) (sin.f64 x))))) (cbrt.f64 (*.f64 8/3 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 2) (sin.f64 x)))))
0.5b
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))))
14.5b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (sqrt.f64 8/3) (*.f64 (sqrt.f64 8/3) (sin.f64 (*.f64 x 1/2))))) (sin.f64 x))
14.6b
(/.f64 1 (/.f64 (sin.f64 x) (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2))))))
1.3b
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (cbrt.f64 (sin.f64 x)) (cbrt.f64 (sin.f64 x)))) (/.f64 (*.f64 8/3 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 x))))
43.8b
(exp.f64 (-.f64 (+.f64 (log.f64 (sin.f64 (*.f64 x 1/2))) (+.f64 (log.f64 8/3) (log.f64 (sin.f64 (*.f64 x 1/2))))) (log.f64 (sin.f64 x))))
Compiler

Compiled 3596 to 2684 computations (25.4% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 (*.f64 x 1/2))
0.2b
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))))
0.2b
(/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2))))
0.4b
(*.f64 8/3 (sin.f64 (*.f64 x 1/2)))

series23.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

15.0ms
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))))
8.0ms
(/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2))))

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
36×times-frac_binary64
20×*-un-lft-identity_binary64
20×add-sqr-sqrt_binary64
20×add-cube-cbrt_binary64
16×add-cbrt-cube_binary64
Counts
2 → 73
Calls

2 calls:

8.0ms
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))))
4.0ms
(/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2))))

simplify104.0ms (1%)

Algorithm
egg-herbie
Rules
575×times-frac_binary64
514×fma-def_binary64
437×associate-/l*_binary64
335×associate-/l/_binary64
328×associate-/r*_binary64
Counts
97 → 137
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01702586
13862201
210942197
340342153
449672153
549082153

prune203.0ms (2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2008208
Fresh11213
Picked101
Done000
Total21210222
Error
0b
Counts
222 → 10
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))) (sin.f64 (*.f64 x 1/2))))
14.6b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (expm1.f64 (log1p.f64 (sin.f64 (*.f64 x 1/2)))))) (sin.f64 x))
35.6b
(/.f64 (exp.f64 (log.f64 (sin.f64 (*.f64 x 1/2)))) (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))))
0.3b
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))))
14.5b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (sqrt.f64 8/3) (*.f64 (sqrt.f64 8/3) (sin.f64 (*.f64 x 1/2))))) (sin.f64 x))
0.3b
(/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) -3/8))
0.4b
(/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 3/8 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))) 3)))
1.3b
(log1p.f64 (expm1.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))))))
1.6b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) (/.f64 (*.f64 (cbrt.f64 (sin.f64 x)) (cbrt.f64 (sin.f64 x))) 8/3)) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 (cbrt.f64 (sin.f64 x)) (sin.f64 (*.f64 x 1/2)))))
0.5b
(*.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (sin.f64 x)) (*.f64 8/3 (sin.f64 (*.f64 x 1/2))))
Compiler

Compiled 4778 to 3517 computations (26.4% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))))
0.1b
(/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))
0.2b
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))))
0.2b
(/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))

series37.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

12.0ms
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))))
9.0ms
(/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))
8.0ms
(/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))))
7.0ms
(/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))

rewrite209.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
2211×times-frac_binary64
977×*-un-lft-identity_binary64
977×add-sqr-sqrt_binary64
977×add-cube-cbrt_binary64
197×associate-/r*_binary64
Counts
4 → 885
Calls

4 calls:

23.0ms
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))))
9.0ms
(/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))))
4.0ms
(/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))
3.0ms
(/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))

simplify950.0ms (9.4%)

Algorithm
egg-herbie
Rules
755×associate-/r/_binary64
565×associate-/l/_binary64
510×associate-*l/_binary64
449×associate-*r/_binary64
322×associate-/l*_binary64
Counts
933 → 1311
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
064736760
1136635124
2475734279
3496634279
4494634279

prune1.5s (14.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New130921311
Fresh459
Picked011
Done000
Total131381321
Error
0b
Counts
1321 → 8
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))) (sin.f64 (*.f64 x 1/2))))
14.6b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (expm1.f64 (log1p.f64 (sin.f64 (*.f64 x 1/2)))))) (sin.f64 x))
1.1b
(*.f64 (/.f64 1 (/.f64 1 (/.f64 (sqrt.f64 8/3) 1))) (/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 (sqrt.f64 8/3) (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))))))
0.3b
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))))
14.5b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (sqrt.f64 8/3) (*.f64 (sqrt.f64 8/3) (sin.f64 (*.f64 x 1/2))))) (sin.f64 x))
1.3b
(log1p.f64 (expm1.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))))))
0.4b
(/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 3/8 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))) 3)))
0.3b
(/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) 3/8))
Compiler

Compiled 44828 to 34314 computations (23.5% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 (*.f64 x 1/2))
0.1b
(*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) 3/8)
0.1b
(/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))
0.2b
(/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) 3/8))

series34.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

25.0ms
(/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) 3/8))
8.0ms
(*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) 3/8)

rewrite18.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
13×associate-*l*_binary64
13×times-frac_binary64
Counts
2 → 60
Calls

2 calls:

9.0ms
(/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) 3/8))
6.0ms
(*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) 3/8)

simplify114.0ms (1.1%)

Algorithm
egg-herbie
Rules
603×times-frac_binary64
506×fma-def_binary64
407×associate-/l*_binary64
302×associate-/r*_binary64
287×cancel-sign-sub-inv_binary64
Counts
84 → 113
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01491848
13501489
29431482
334881466
447921466
549621466
649011466

prune193.0ms (1.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1940194
Fresh066
Picked011
Done011
Total1948202
Error
0b
Counts
202 → 8
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))) (sin.f64 (*.f64 x 1/2))))
14.6b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 8/3 (expm1.f64 (log1p.f64 (sin.f64 (*.f64 x 1/2)))))) (sin.f64 x))
1.1b
(*.f64 (/.f64 1 (/.f64 1 (/.f64 (sqrt.f64 8/3) 1))) (/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 (sqrt.f64 8/3) (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))))))
0.3b
(/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (/.f64 8/3 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))))))
14.5b
(/.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (sqrt.f64 8/3) (*.f64 (sqrt.f64 8/3) (sin.f64 (*.f64 x 1/2))))) (sin.f64 x))
1.3b
(log1p.f64 (expm1.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 (sin.f64 x) (*.f64 8/3 (sin.f64 (*.f64 x 1/2)))))))
0.4b
(/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (pow.f64 (*.f64 3/8 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2)))) 3)))
0.3b
(/.f64 (sin.f64 (*.f64 x 1/2)) (*.f64 (/.f64 (sin.f64 x) (sin.f64 (*.f64 x 1/2))) 3/8))
Compiler

Compiled 4154 to 3029 computations (27.1% saved)

regimes1.1s (11.1%)

Accuracy

Total 0.3b remaining (85.7%)

Threshold costs 0.3b (85.7%)

Counts
334 → 1
Compiler

Compiled 13126 to 10714 computations (18.4% saved)

simplify17.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01225
11525
21425

end144.0ms (1.4%)

Compiler

Compiled 181 to 151 computations (16.6% saved)

Profiling

Loading profile data...