Details

Time bar (total: 4.6s)

analyze219.0ms (4.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%25%75%0
0%25%75%1
12.5%12.5%75%2
12.5%12.5%75%3
18.7%6.2%75%4
21.8%3.1%75%5
23.4%1.6%75%6
23.4%1.6%75%7
24.2%0.8%75%8
24.2%0.8%75%9
24.6%0.4%75%10
24.6%0.4%75%11
24.8%0.2%75%12
24.8%0.2%75%13
24.9%0.1%75%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample56.0ms (1.2%)

Algorithm
intervals
Results
20.0ms68×body1024valid
9.0ms133×body128valid
7.0ms33×body512valid
5.0ms256×pre128true
3.0ms22×body256valid
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify111.0ms (2.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02417
12417

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1
Compiler

Compiled 22 to 18 computations (18.2% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
0.1b
(*.f64 e (sin.f64 v))
0.2b
(*.f64 e (cos.f64 v))

rewrite21.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64
12×add-exp-log_binary64 add-cbrt-cube_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
pow1_binary64
associate-*r*_binary64 associate-*l*_binary64
associate-/r*_binary64 add-log-exp_binary64 cbrt-unprod_binary64 prod-exp_binary64 times-frac_binary64
pow-prod-down_binary64 cbrt-undiv_binary64 associate-/r/_binary64 unswap-sqr_binary64 div-exp_binary64 *-commutative_binary64
flip3-+_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64 div-inv_binary64 flip-+_binary64
Counts
3 → 59
Calls

3 calls:

6.0ms
(*.f64 e (cos.f64 v))
6.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
4.0ms
(*.f64 e (sin.f64 v))

series173.0ms (3.8%)

Counts
3 → 9
Calls

3 calls:

101.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
39.0ms
(*.f64 e (cos.f64 v))
33.0ms
(*.f64 e (sin.f64 v))

simplify83.0ms (1.8%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
04947920
14947920

prune69.0ms (1.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh000
Picked101
Done000
Total62769

Merged error: 0.0b

Counts
69 → 7
Compiler

Compiled 1189 to 476 computations (60% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (sin.f64 v) (+.f64 (*.f64 e (cos.f64 v)) 1))
0.2b
(*.f64 e (/.f64 (sin.f64 v) (+.f64 (*.f64 e (cos.f64 v)) 1)))
0.2b
(*.f64 e (cos.f64 v))

rewrite28.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64 add-cube-cbrt_binary64
19×times-frac_binary64
18×associate-*r*_binary64
12×add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64
associate-*l*_binary64
associate-/r/_binary64
associate-/r*_binary64 add-log-exp_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 associate-/l*_binary64
pow-prod-down_binary64 flip3-+_binary64 cbrt-undiv_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64 *-commutative_binary64
associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64
Counts
3 → 81
Calls

3 calls:

11.0ms
(*.f64 e (/.f64 (sin.f64 v) (+.f64 (*.f64 e (cos.f64 v)) 1)))
6.0ms
(/.f64 (sin.f64 v) (+.f64 (*.f64 e (cos.f64 v)) 1))
4.0ms
(*.f64 e (cos.f64 v))

series186.0ms (4.1%)

Counts
3 → 9
Calls

3 calls:

91.0ms
(*.f64 e (/.f64 (sin.f64 v) (+.f64 (*.f64 e (cos.f64 v)) 1)))
64.0ms
(/.f64 (sin.f64 v) (+.f64 (*.f64 e (cos.f64 v)) 1))
31.0ms
(*.f64 e (cos.f64 v))

simplify97.0ms (2.1%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
054161715

prune83.0ms (1.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New89190
Fresh066
Picked011
Done000
Total89897

Merged error: 0.0b

Counts
97 → 8
Compiler

Compiled 1810 to 790 computations (56.4% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v))
0.2b
(*.f64 e (cos.f64 v))
0.2b
(/.f64 e (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v)))

rewrite28.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64
57×add-sqr-sqrt_binary64
55×*-un-lft-identity_binary64 add-cube-cbrt_binary64
16×associate-/r*_binary64
12×add-exp-log_binary64 add-cbrt-cube_binary64
associate-/l*_binary64 div-inv_binary64
pow1_binary64
cbrt-undiv_binary64 div-exp_binary64
add-log-exp_binary64 associate-*r*_binary64 associate-*l*_binary64
associate-/l/_binary64 clear-num_binary64 frac-2neg_binary64
pow-prod-down_binary64 flip3-+_binary64 cbrt-unprod_binary64 associate-/r/_binary64 unswap-sqr_binary64 prod-exp_binary64 flip-+_binary64 *-commutative_binary64
Counts
3 → 117
Calls

3 calls:

8.0ms
(/.f64 e (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v)))
6.0ms
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v))
4.0ms
(*.f64 e (cos.f64 v))

series190.0ms (4.1%)

Counts
3 → 9
Calls

3 calls:

95.0ms
(/.f64 e (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v)))
68.0ms
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (sin.f64 v))
27.0ms
(*.f64 e (cos.f64 v))

simplify104.0ms (2.3%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049413222
149413222

prune125.0ms (2.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1215126
Fresh426
Picked011
Done011
Total1259134

Merged error: 0b

Counts
134 → 9
Compiler

Compiled 2769 to 1149 computations (58.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 e (cos.f64 v))
0.3b
(*.f64 (sin.f64 v) (sqrt.f64 e))
0.3b
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (*.f64 (sin.f64 v) (sqrt.f64 e)))
0.3b
(/.f64 (sqrt.f64 e) (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))

rewrite41.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
66×times-frac_binary64
47×add-sqr-sqrt_binary64
41×*-un-lft-identity_binary64 add-cube-cbrt_binary64
28×sqrt-prod_binary64
22×add-exp-log_binary64 add-cbrt-cube_binary64
associate-*r*_binary64 associate-/l*_binary64 div-inv_binary64
associate-/r*_binary64 pow1_binary64
cbrt-undiv_binary64 div-exp_binary64
associate-*l*_binary64
add-log-exp_binary64 cbrt-unprod_binary64 prod-exp_binary64
unswap-sqr_binary64
pow-prod-down_binary64 associate-/l/_binary64 clear-num_binary64 frac-2neg_binary64 *-commutative_binary64
flip3-+_binary64 associate-/r/_binary64 flip-+_binary64
Counts
4 → 135
Calls

4 calls:

11.0ms
(/.f64 (sqrt.f64 e) (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
9.0ms
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (*.f64 (sin.f64 v) (sqrt.f64 e)))
5.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))
4.0ms
(*.f64 e (cos.f64 v))

series310.0ms (6.8%)

Counts
4 → 12
Calls

4 calls:

128.0ms
(/.f64 (sqrt.f64 e) (/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (*.f64 (sin.f64 v) (sqrt.f64 e))))
105.0ms
(/.f64 (+.f64 (*.f64 e (cos.f64 v)) 1) (*.f64 (sin.f64 v) (sqrt.f64 e)))
49.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))
27.0ms
(*.f64 e (cos.f64 v))

simplify85.0ms (1.8%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049813907
149813907

prune139.0ms (3%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1452147
Fresh336
Picked011
Done022
Total1488156

Merged error: 0b

Counts
156 → 8
Compiler

Compiled 3400 to 1224 computations (64% saved)

regimes180.0ms (3.9%)

Compiler

Compiled 1820 to 1259 computations (30.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01417
11417

end0.0ms (0%)

sample2.2s (48.2%)

Algorithm
intervals
Results
623.0ms2010×body1024valid
324.0ms4467×body128valid
219.0ms1013×body512valid
160.0ms8000×pre128true
77.0ms506×body256valid
2.0msbody2048valid
Compiler

Compiled 624 to 434 computations (30.4% saved)

Profiling

Loading profile data...