Details

Time bar (total: 6.0s)

analyze1.3s (21.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
12.5%87.5%0%5
18.7%81.2%0%6
21.9%78.1%0%7
23.4%76.5%0%8
23.4%76.5%0%9
23.4%76.5%0%10
23.6%76.3%0%11
23.7%76.2%0%12
23.7%76.2%0%13
23.7%76.2%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample3.3s (54.7%)

Results
1.6s2091×body2048valid
649.0ms1197×body1024valid
472.0ms1530×body512valid
334.0ms2584×body128valid
162.0ms755×body256valid
70.0ms99×body4096valid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify27.0ms (0.4%)

Algorithm
egg-herbie
Rules
426×fma-def_binary64
293×fma-neg_binary64
85×div-sub_binary64
74×associate-/l*_binary64
63×times-frac_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11612
22712
34012
47212
511012
615812
725312
838312
952612
1064012
1162512
1257012

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
33.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
33.2b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
2.6b
(-.f64 1 (cos.f64 x))
16.6b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

series6.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

4.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
2.0ms
(-.f64 1 (cos.f64 x))

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64
21×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
prod-diff_binary64
add-cbrt-cube_binary64
Counts
2 → 63
Calls

2 calls:

7.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
4.0ms
(-.f64 1 (cos.f64 x))

simplify121.0ms (2%)

Algorithm
egg-herbie
Rules
626×fma-neg_binary64
411×associate-*l*_binary64
405×times-frac_binary64
353×associate-*r*_binary64
344×fma-def_binary64
Counts
79 → 91
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01251152
12831017
2853961
33327961
44699961
54954961
64828961

prune77.0ms (1.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New84791
Fresh000
Picked101
Done000
Total85792
Error
0.0b
Counts
92 → 7
Alt Table
StatusErrorProgram
33.4b
(/.f64 (+.f64 1 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (cos.f64 x)))) (cbrt.f64 (cos.f64 x)))) (*.f64 x x))
29.4b
1/2
17.0b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
33.3b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
33.2b
(/.f64 (/.f64 (-.f64 1 (pow.f64 (cos.f64 x) 3)) (fma.f64 (cos.f64 x) (+.f64 1 (cos.f64 x)) 1)) (*.f64 x x))
32.4b
(*.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x))
33.2b
(/.f64 (-.f64 (*.f64 1 1) (*.f64 (cos.f64 x) (cos.f64 x))) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
Compiler

Compiled 1698 to 845 computations (50.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
0.2b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.3b
(+.f64 1 (cos.f64 x))
16.4b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series36.0ms (0.6%)

Counts
4 → 40
Calls

4 calls:

17.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
13.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
4.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
2.0ms
(+.f64 1 (cos.f64 x))

rewrite57.0ms (1%)

Algorithm
rewrite-expression-head
Rules
32×add-cbrt-cube_binary64
32×add-exp-log_binary64
25×*-un-lft-identity_binary64
22×times-frac_binary64
17×add-sqr-sqrt_binary64
Counts
4 → 122
Calls

4 calls:

32.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
8.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
6.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
3.0ms
(+.f64 1 (cos.f64 x))

simplify107.0ms (1.8%)

Algorithm
egg-herbie
Rules
610×associate-*l/_binary64
540×associate-/r/_binary64
423×fma-def_binary64
335×fma-neg_binary64
214×cancel-sign-sub-inv_binary64
Counts
162 → 206
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02042912
15042230
217672192
346432192
449352192

prune163.0ms (2.7%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2033206
Fresh426
Picked101
Done000
Total2085213
Error
0b
Counts
213 → 5
Alt Table
StatusErrorProgram
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
33.4b
(/.f64 (+.f64 1 (*.f64 (neg.f64 (*.f64 (cbrt.f64 (cos.f64 x)) (cbrt.f64 (cos.f64 x)))) (cbrt.f64 (cos.f64 x)))) (*.f64 x x))
33.3b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
16.9b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
Compiler

Compiled 4330 to 1919 computations (55.7% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(/.f64 (sin.f64 x) x)
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

series29.0ms (0.5%)

Counts
3 → 28
Calls

3 calls:

14.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
12.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
3.0ms
(/.f64 (sin.f64 x) x)

rewrite22.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
22×times-frac_binary64
21×*-un-lft-identity_binary64
21×add-cube-cbrt_binary64
19×add-cbrt-cube_binary64
Counts
3 → 93
Calls

3 calls:

8.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
6.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))
3.0ms
(/.f64 (sin.f64 x) x)

simplify112.0ms (1.9%)

Algorithm
egg-herbie
Rules
744×fma-def_binary64
593×associate-/l/_binary64
549×associate-*l/_binary64
440×associate-*l*_binary64
391×associate-/r*_binary64
Counts
121 → 147
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01762266
14332003
213331993
340881989
447491989
551731989

prune108.0ms (1.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1461147
Fresh134
Picked011
Done000
Total1475152
Error
0b
Counts
152 → 5
Alt Table
StatusErrorProgram
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
0.2b
(/.f64 (*.f64 (sin.f64 x) (*.f64 (/.f64 1 x) (tan.f64 (/.f64 x 2)))) x)
33.3b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
16.9b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
Compiler

Compiled 2726 to 1358 computations (50.2% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
0.1b
(/.f64 (sin.f64 x) x)
0.1b
(/.f64 (tan.f64 (/.f64 x 2)) x)

series23.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

13.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
10.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

rewrite22.0ms (0.4%)

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

2 calls:

13.0ms
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
4.0ms
(/.f64 (tan.f64 (/.f64 x 2)) x)

simplify135.0ms (2.2%)

Algorithm
egg-herbie
Rules
551×associate-/l*_binary64
517×associate-*l/_binary64
470×associate-*r/_binary64
456×associate-*l*_binary64
400×times-frac_binary64
Counts
106 → 137
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01592217
14081997
211361977
343991965
446481965
549901965
649841965

prune125.0ms (2.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1780178
Fresh033
Picked011
Done011
Total1785183
Error
0b
Counts
183 → 5
Alt Table
StatusErrorProgram
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
0.2b
(/.f64 (*.f64 (sin.f64 x) (*.f64 (/.f64 1 x) (tan.f64 (/.f64 x 2)))) x)
33.3b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
16.9b
(/.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)) (*.f64 x x))
Compiler

Compiled 3444 to 1767 computations (48.7% saved)

regimes151.0ms (2.5%)

Accuracy

Total 0.1b remaining (81.8%)

Threshold costs 0.1b (81.8%)

Counts
73 → 1
Compiler

Compiled 2491 to 1555 computations (37.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end79.0ms (1.3%)

Compiler

Compiled 87 to 57 computations (34.5% saved)

Profiling

Loading profile data...