Details

Time bar (total: 5.9s)

analyze463.0ms (7.9%)

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)

sample123.0ms (2.1%)

Algorithm
intervals
Results
67.0ms71×body2048valid
19.0ms43×body1024valid
13.0ms48×body512valid
6.0ms73×body128valid
4.0ms20×body256valid
1.0msbody4096valid
Compiler

Compiled 20 to 14 computations (30% saved)

simplify70.0ms (1.2%)

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

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 18 computations (33.3% saved)

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.8b
(-.f64 1 (cos.f64 x))
16.5b
(/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))

series11.0ms (0.2%)

Counts
2 → 16
Calls

2 calls:

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

rewrite27.0ms (0.5%)

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:

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

simplify136.0ms (2.3%)

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

prune128.0ms (2.2%)

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
34.6b
(/.f64 (log.f64 (exp.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
34.4b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 x (fma.f64 x (fma.f64 (cos.f64 x) (cos.f64 x) (cos.f64 x)) x)))
34.4b
(/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 (*.f64 x x) (sqrt.f64 (-.f64 1 (cos.f64 x)))))
34.5b
(/.f64 (-.f64 (*.f64 1 1) (*.f64 (cos.f64 x) (cos.f64 x))) (*.f64 (*.f64 x x) (+.f64 1 (cos.f64 x))))
28.6b
(fma.f64 (*.f64 x x) -1/24 1/2)
33.8b
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))
16.9b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
Compiler

Compiled 1692 to 847 computations (49.9% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
0.4b
(+.f64 1 (cos.f64 x))
16.3b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series70.0ms (1.2%)

Counts
4 → 40
Calls

4 calls:

31.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
26.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
7.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
5.0ms
(+.f64 1 (cos.f64 x))

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

18.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
11.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
8.0ms
(*.f64 (sin.f64 x) (sin.f64 x))
5.0ms
(+.f64 1 (cos.f64 x))

simplify130.0ms (2.2%)

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

prune163.0ms (2.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2042206
Fresh336
Picked101
Done000
Total2085213
Error
0b
Counts
213 → 5
Alt Table
StatusErrorProgram
17.3b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 x (fma.f64 x (cos.f64 x) x)))
33.8b
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))
34.4b
(/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 (*.f64 x x) (sqrt.f64 (-.f64 1 (cos.f64 x)))))
28.6b
(fma.f64 (*.f64 x x) -1/24 1/2)
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
Compiler

Compiled 4314 to 1915 computations (55.6% saved)

localize17.0ms (0.3%)

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)))

series47.0ms (0.8%)

Counts
3 → 28
Calls

3 calls:

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

rewrite33.0ms (0.6%)

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:

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

simplify178.0ms (3%)

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

prune246.0ms (4.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1470147
Fresh044
Picked011
Done000
Total1475152
Error
0b
Counts
152 → 5
Alt Table
StatusErrorProgram
17.3b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 x (fma.f64 x (cos.f64 x) x)))
33.8b
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))
34.4b
(/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 (*.f64 x x) (sqrt.f64 (-.f64 1 (cos.f64 x)))))
28.6b
(fma.f64 (*.f64 x x) -1/24 1/2)
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
Compiler

Compiled 2720 to 1354 computations (50.2% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (fma.f64 x (cos.f64 x) x))
0.2b
(*.f64 (sin.f64 x) (sin.f64 x))
0.4b
(fma.f64 x (cos.f64 x) x)
16.7b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 x (fma.f64 x (cos.f64 x) x)))

series54.0ms (0.9%)

Counts
3 → 36
Calls

3 calls:

34.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 x (fma.f64 x (cos.f64 x) x)))
13.0ms
(*.f64 x (fma.f64 x (cos.f64 x) x))
7.0ms
(fma.f64 x (cos.f64 x) x)

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
cbrt-unprod_binary64
Counts
3 → 57
Calls

3 calls:

11.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 x (fma.f64 x (cos.f64 x) x)))
6.0ms
(*.f64 x (fma.f64 x (cos.f64 x) x))
1.0ms
(fma.f64 x (cos.f64 x) x)

simplify111.0ms (1.9%)

Algorithm
egg-herbie
Rules
785×associate-/l*_binary64
658×fma-def_binary64
657×associate-/r*_binary64
320×associate-*l/_binary64
193×associate-/l/_binary64
Counts
93 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01291654
13331352
212101311
345101311
449781311

prune130.0ms (2.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1540154
Fresh033
Picked011
Done011
Total1545159
Error
0b
Counts
159 → 5
Alt Table
StatusErrorProgram
17.3b
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (*.f64 x (fma.f64 x (cos.f64 x) x)))
33.8b
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))
34.4b
(/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) (/.f64 (*.f64 x x) (sqrt.f64 (-.f64 1 (cos.f64 x)))))
28.6b
(fma.f64 (*.f64 x x) -1/24 1/2)
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
Compiler

Compiled 2900 to 854 computations (70.6% saved)

regimes298.0ms (5.1%)

Accuracy

Total 0.1b remaining (73.9%)

Threshold costs 0.1b (73.9%)

Counts
86 → 1
Compiler

Compiled 2699 to 1757 computations (34.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
1917

end0.0ms (0%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

sample3.3s (56.2%)

Algorithm
intervals
Results
1.6s2028×body2048valid
459.0ms1134×body1024valid
375.0ms1461×body512valid
201.0ms2577×body128valid
114.0ms705×body256valid
70.0ms95×body4096valid
Compiler

Compiled 83 to 55 computations (33.7% saved)

Profiling

Loading profile data...