Details

Time bar (total: 4.3s)

analyze2.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1

sample95.0ms (2.2%)

Algorithm
intervals
Results
49.0ms103×body1280valid
19.0ms75×body640valid
11.0ms12×body2560valid
4.0ms24×body320valid
2.0ms15×body160valid
2.0ms27×body80valid

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0717
1717

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.4b

Counts
2 → 1

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

1.6b
(-.f64 (sin.f64 (+.f64 x eps)) (sin.f64 x))
3.7b
(sin.f64 (+.f64 x eps))

rewrite12.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-log-exp_binary64 add-sqr-sqrt_binary64
pow1_binary64 add-cube-cbrt_binary64 sin-sum_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 diff-sin_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip--_binary64 associate--l+_binary64
Counts
2 → 23
Calls

2 calls:

7.0ms
(-.f64 (sin.f64 (+.f64 x eps)) (sin.f64 x))
5.0ms
(sin.f64 (+.f64 x eps))

series14.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

9.0ms
(-.f64 (sin.f64 (+.f64 x eps)) (sin.f64 x))
5.0ms
(sin.f64 (+.f64 x eps))

simplify54.0ms (1.3%)

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05348268

prune39.0ms (0.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New26329
Fresh000
Picked101
Done000
Total27330

Merged error: 0.4b

Counts
30 → 3

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 2 (*.f64 (sin.f64 (/.f64 eps 2)) (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
0.0b
(+.f64 x (+.f64 x eps))
0.3b
(*.f64 (sin.f64 (/.f64 eps 2)) (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
3.5b
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite31.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
11×pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-*l*_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-*r*_binary64 prod-exp_binary64
distribute-lft-out_binary64 sum-log_binary64
sin-cos-mult_binary64 *-commutative_binary64
flip3-+_binary64 associate-*r/_binary64 unswap-sqr_binary64 +-commutative_binary64 flip-+_binary64 associate-+r+_binary64
Counts
4 → 60
Calls

4 calls:

8.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
8.0ms
(*.f64 2 (*.f64 (sin.f64 (/.f64 eps 2)) (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
7.0ms
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
6.0ms
(+.f64 x (+.f64 x eps))

series38.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

15.0ms
(*.f64 2 (*.f64 (sin.f64 (/.f64 eps 2)) (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
12.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
6.0ms
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
4.0ms
(+.f64 x (+.f64 x eps))

simplify51.0ms (1.2%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05222886

prune111.0ms (2.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New67572
Fresh022
Picked011
Done000
Total67875

Merged error: 0.4b

Counts
75 → 8

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
0.3b
(*.f64 (sin.f64 (/.f64 eps 2)) (log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))))
0.4b
(log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
3.5b
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite42.0ms (1%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
12×*-un-lft-identity_binary64 add-cube-cbrt_binary64
log-prod_binary64 exp-prod_binary64
pow1_binary64 log-pow_binary64
associate-*r*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
distribute-lft-in_binary64 associate-*l*_binary64 distribute-rgt-in_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 rem-log-exp_binary64 rem-exp-log_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
Counts
4 → 61
Calls

4 calls:

14.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))))
9.0ms
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
9.0ms
(log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
8.0ms
(exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))

series35.0ms (0.8%)

Counts
4 → 12
Calls

4 calls:

13.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))))
10.0ms
(exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
6.0ms
(log.f64 (exp.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
6.0ms
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify52.0ms (1.2%)

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05064940

prune110.0ms (2.6%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New73073
Fresh066
Picked011
Done011
Total73881

Merged error: 0.4b

Counts
81 → 8

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2)))
0.4b
(*.f64 (*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))) (sqrt.f64 2))
0.5b
(*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))) (sqrt.f64 2)))
3.5b
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite33.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
20×pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
12×add-sqr-sqrt_binary64
10×pow-prod-down_binary64 *-un-lft-identity_binary64 cbrt-unprod_binary64 associate-*r*_binary64 add-cube-cbrt_binary64 associate-*l*_binary64 prod-exp_binary64
sqrt-prod_binary64
add-log-exp_binary64
*-commutative_binary64
unswap-sqr_binary64
Counts
4 → 70
Calls

4 calls:

11.0ms
(*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))) (sqrt.f64 2)))
8.0ms
(*.f64 (*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))) (sqrt.f64 2))
7.0ms
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
5.0ms
(*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2)))

series71.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

26.0ms
(*.f64 (sqrt.f64 2) (*.f64 (*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))) (sqrt.f64 2)))
24.0ms
(*.f64 (*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))) (sqrt.f64 2))
15.0ms
(*.f64 (cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2)))
6.0ms
(cos.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify60.0ms (1.4%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049751219
149751219

prune108.0ms (2.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New81182
Fresh055
Picked101
Done022
Total82890

Merged error: 0.4b

Counts
90 → 8

regimes148.0ms (3.4%)

Accuracy

Total 0.1b remaining (20.1%)

Threshold costs 0.1b (20.1%)

bsearch70.0ms (1.6%)

Steps
ItersRangePoint
9
1.9050947580688215e-15
2.086968805494545e-06
7.686797686493851e-09
9
-5818.371851083311
-0.0028689388283919684
-0.0029089008421326404

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04751
14751

end0.0ms (0%)

sample3.1s (71.3%)

Algorithm
intervals
Results
1.6s3344×body1280valid
584.0ms611×body2560valid
527.0ms1896×body640valid
133.0ms728×body320valid
63.0ms1088×body80valid
42.0ms333×body160valid

Profiling

Loading profile data...