Details

Time bar (total: 6.2s)

analyze1.3s (20.2%)

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.2s (51%)

Results
1.5s2027×body2048valid
587.0ms1162×body1024valid
508.0ms1629×body512valid
290.0ms2605×body128valid
151.0ms733×body256valid
77.0ms100×body4096valid
Compiler

Compiled 19 to 13 computations (31.6% saved)

simplify48.0ms (0.8%)

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

series7.0ms (0.1%)

Counts
2 → 16
Calls

2 calls:

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

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

simplify141.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

prune91.0ms (1.5%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New811091
Fresh000
Picked101
Done000
Total821092
Error
0.0b
Counts
92 → 10
Alt Table
StatusErrorProgram
46.5b
(/.f64 (+.f64 1 (sqrt.f64 (cos.f64 x))) (/.f64 x (/.f64 (-.f64 1 (sqrt.f64 (cos.f64 x))) x)))
29.5b
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1 (cos.f64 x)) x))
10.6b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
30.1b
(/.f64 (-.f64 (pow.f64 1 3) (pow.f64 (cos.f64 x) 3)) (*.f64 (*.f64 x x) (+.f64 (*.f64 1 1) (+.f64 (*.f64 (cos.f64 x) (cos.f64 x)) (*.f64 1 (cos.f64 x))))))
32.9b
(fma.f64 (*.f64 x x) -1/24 (fma.f64 1/720 (pow.f64 x 4) 1/2))
30.1b
(/.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))))
30.1b
(-.f64 (/.f64 1 (*.f64 x x)) (/.f64 (cos.f64 x) (*.f64 x x)))
29.5b
(*.f64 (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x) (/.f64 (sqrt.f64 (-.f64 1 (cos.f64 x))) x))
30.3b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x)))) (cbrt.f64 (/.f64 (-.f64 1 (cos.f64 x)) (*.f64 x x))))
30.1b
(/.f64 (exp.f64 (log.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
Compiler

Compiled 1816 to 929 computations (48.8% saved)

localize9.0ms (0.1%)

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.5b
(+.f64 1 (cos.f64 x))
10.0b
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))

series42.0ms (0.7%)

Counts
4 → 40
Calls

4 calls:

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

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

10.0ms
(+.f64 1 (cos.f64 x))
9.0ms
(/.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x))) (*.f64 x x))
7.0ms
(/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) (+.f64 1 (cos.f64 x)))
4.0ms
(*.f64 (sin.f64 x) (sin.f64 x))

simplify98.0ms (1.6%)

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

prune176.0ms (2.8%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2015206
Fresh729
Picked101
Done000
Total2097216
Error
0b
Counts
216 → 7
Alt Table
StatusErrorProgram
0.4b
(/.f64 (/.f64 (sin.f64 x) 1) (/.f64 x (/.f64 (tan.f64 (/.f64 x 2)) x)))
0.1b
(*.f64 (/.f64 (sin.f64 x) x) (/.f64 (tan.f64 (/.f64 x 2)) x))
0.1b
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
30.1b
(/.f64 1 (/.f64 (*.f64 x x) (-.f64 1 (cos.f64 x))))
11.1b
(/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x))))))
30.1b
(/.f64 (exp.f64 (log.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
10.3b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
Compiler

Compiled 4392 to 1971 computations (55.1% saved)

localize8.0ms (0.1%)

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

series34.0ms (0.6%)

Counts
3 → 28
Calls

3 calls:

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

rewrite27.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 (sin.f64 x) x)
7.0ms
(/.f64 (*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2))) x)
7.0ms
(*.f64 (/.f64 (sin.f64 x) x) (tan.f64 (/.f64 x 2)))

simplify112.0ms (1.8%)

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

prune183.0ms (2.9%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1452147
Fresh246
Picked101
Done000
Total1486154
Error
0b
Counts
154 → 6
Alt Table
StatusErrorProgram
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 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x)) x)
0.4b
(/.f64 (/.f64 (sin.f64 x) 1) (/.f64 x (/.f64 (tan.f64 (/.f64 x 2)) x)))
11.1b
(/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x))))))
30.1b
(/.f64 (exp.f64 (log.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
10.3b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
Compiler

Compiled 2798 to 1410 computations (49.6% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series38.0ms (0.6%)

Counts
3 → 36
Calls

3 calls:

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

rewrite39.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 → 90
Calls

3 calls:

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

simplify114.0ms (1.8%)

Algorithm
egg-herbie
Rules
582×fma-def_binary64
564×associate-/l/_binary64
528×associate-*l/_binary64
426×associate-*l*_binary64
419×associate-*r/_binary64
Counts
126 → 132
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01692493
14092220
213932212
341352208
446532208
549522208

prune117.0ms (1.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1311132
Fresh145
Picked011
Done000
Total1326138
Error
0b
Counts
138 → 6
Alt Table
StatusErrorProgram
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 (sin.f64 x) (/.f64 (tan.f64 (/.f64 x 2)) x)) x)
11.1b
(/.f64 (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x)))) (/.f64 (*.f64 x x) (/.f64 (sin.f64 x) (sqrt.f64 (+.f64 1 (cos.f64 x))))))
30.1b
(/.f64 (exp.f64 (log.f64 (-.f64 1 (cos.f64 x)))) (*.f64 x x))
10.3b
(*.f64 (/.f64 (*.f64 (sin.f64 x) (sin.f64 x)) x) (/.f64 (/.f64 1 (+.f64 1 (cos.f64 x))) x))
0.4b
(/.f64 (sin.f64 x) (/.f64 x (/.f64 (tan.f64 (/.f64 x 2)) x)))
Compiler

Compiled 2436 to 1461 computations (40% saved)

regimes334.0ms (5.4%)

Accuracy

Total 0.1b remaining (86.6%)

Threshold costs 0.1b (86.6%)

Counts
165 → 1
Compiler

Compiled 5232 to 3493 computations (33.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end96.0ms (1.6%)

Compiler

Compiled 115 to 77 computations (33% saved)

Profiling

Loading profile data...