Details

Time bar (total: 5.2s)

analyze398.0ms (7.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample3.1s (58.9%)

Results
1.5s2039×body2048valid
483.0ms1179×body1024valid
463.0ms1553×body512valid
293.0ms2613×body128valid
152.0ms779×body256valid
91.0ms93×body4096valid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify23.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
27.7b
Counts
2 → 1
Alt Table
StatusErrorProgram
27.7b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
Compiler

Compiled 27 to 18 computations (33.3% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.6b
(-.f64 1 (cos.f64 x))
12.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))

rewrite12.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:

6.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))
3.0ms
(-.f64 1 (cos.f64 x))

simplify114.0ms (2.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

prune84.0ms (1.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New82991
Fresh000
Picked101
Done000
Total83992
Error
0.0b
Counts
92 → 9
Alt Table
StatusErrorProgram
27.7b
(/.f64 (cbrt.f64 (pow.f64 (-.f64 1 (cos.f64 x)) 3)) (*.f64 x x))
27.7b
(/.f64 (-.f64 (*.f64 1 1) (*.f64 (cos.f64 x) (cos.f64 x))) (*.f64 x (fma.f64 x (cos.f64 x) x)))
43.6b
(*.f64 (/.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) x) (/.f64 (-.f64 1 (sqrt.f64 (cos.f64 x))) x))
35.9b
(-.f64 (fma.f64 1/720 (pow.f64 x 4) 1/2) (fma.f64 1/24 (*.f64 x x) (*.f64 1/40320 (pow.f64 x 6))))
37.7b
(cbrt.f64 (*.f64 (*.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)) (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))
27.7b
(/.f64 (exp.f64 (log1p.f64 (neg.f64 (cos.f64 x)))) (*.f64 x x))
27.8b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
27.7b
(/.f64 (+.f64 1 (*.f64 (neg.f64 1) (cos.f64 x))) (*.f64 x x))
13.2b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
Compiler

Compiled 1774 to 897 computations (49.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series39.0ms (0.7%)

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))
16.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
3.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
2.0ms
(+.f64 1 (cos.f64 x))

rewrite30.0ms (0.6%)

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:

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

simplify96.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
02042904
15042230
217672192
346432192
449352192

prune260.0ms (5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2006206
Fresh808
Picked101
Done000
Total2096215
Error
0b
Counts
215 → 6
Alt Table
StatusErrorProgram
13.2b
(/.f64 (expm1.f64 (log1p.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)))) (*.f64 x x))
0.1b
(/.f64 (/.f64 (sin.f64 x) 1) (/.f64 x (/.f64 (tan.f64 (/.f64 x 2)) x)))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
13.2b
(/.f64 (*.f64 (/.f64 (pow.f64 (sin.f64 x) 2) (+.f64 1 (pow.f64 (cos.f64 x) 3))) (+.f64 (*.f64 1 1) (-.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 1 (cos.f64 x))))) (*.f64 x x))
0.1b
(/.f64 1 (/.f64 x (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))))
12.9b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
Compiler

Compiled 4398 to 1977 computations (55% saved)

localize8.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.2b
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

series29.0ms (0.5%)

Counts
3 → 28
Calls

3 calls:

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

rewrite19.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:

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

simplify111.0ms (2.1%)

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

prune139.0ms (2.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1461147
Fresh235
Picked011
Done000
Total1485153
Error
0b
Counts
153 → 5
Alt Table
StatusErrorProgram
13.2b
(/.f64 (expm1.f64 (log1p.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)))) (*.f64 x x))
0.1b
(/.f64 (/.f64 (sin.f64 x) 1) (/.f64 x (/.f64 (tan.f64 (/.f64 x 2)) x)))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (sin.f64 (/.f64 x 2))) (*.f64 x (cos.f64 (/.f64 x 2))))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
12.9b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
Compiler

Compiled 2748 to 1378 computations (49.9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series23.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

10.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (sin.f64 (/.f64 x 2))) (*.f64 x (cos.f64 (/.f64 x 2))))
7.0ms
(*.f64 x (cos.f64 (/.f64 x 2)))
5.0ms
(*.f64 (/.f64 (sin.f64 x) x) (sin.f64 (/.f64 x 2)))

rewrite25.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
31×add-cbrt-cube_binary64
31×add-exp-log_binary64
20×add-sqr-sqrt_binary64
16×associate-*l*_binary64
13×*-un-lft-identity_binary64
Counts
3 → 82
Calls

3 calls:

11.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (sin.f64 (/.f64 x 2))) (*.f64 x (cos.f64 (/.f64 x 2))))
6.0ms
(*.f64 (/.f64 (sin.f64 x) x) (sin.f64 (/.f64 x 2)))
3.0ms
(*.f64 x (cos.f64 (/.f64 x 2)))

simplify85.0ms (1.6%)

Algorithm
egg-herbie
Rules
739×fma-def_binary64
389×*-commutative_binary64
327×associate-/r/_binary64
324×cancel-sign-sub-inv_binary64
295×times-frac_binary64
Counts
118 → 159
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01802591
14602102
218062092
332862088
449492088

prune176.0ms (3.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2000200
Fresh033
Picked011
Done011
Total2005205
Error
0b
Counts
205 → 5
Alt Table
StatusErrorProgram
13.2b
(/.f64 (expm1.f64 (log1p.f64 (*.f64 (tan.f64 (/.f64 x 2)) (sin.f64 x)))) (*.f64 x x))
0.1b
(/.f64 (/.f64 (sin.f64 x) 1) (/.f64 x (/.f64 (tan.f64 (/.f64 x 2)) x)))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (sin.f64 (/.f64 x 2))) (*.f64 x (cos.f64 (/.f64 x 2))))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
12.9b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
Compiler

Compiled 4662 to 2708 computations (41.9% saved)

regimes357.0ms (6.8%)

Accuracy

Total 0.1b remaining (84.6%)

Threshold costs 0.1b (84.6%)

Counts
182 → 1
Compiler

Compiled 6543 to 4207 computations (35.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end84.0ms (1.6%)

Compiler

Compiled 98 to 67 computations (31.6% saved)

Profiling

Loading profile data...