Details

Time bar (total: 4.5s)

analyze1.0ms (0%)

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

sample112.0ms (2.5%)

Algorithm
intervals
Results
57.0ms112×body1280valid
23.0ms24×body2560valid
15.0ms57×body640valid
5.0ms23×body320valid
2.0ms31×body80valid
1.0msbody160valid

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.3b

Counts
2 → 1

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

1.0b
(- (sin (+ x eps)) (sin x))
3.3b
(sin (+ x eps))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sin-sum add-cbrt-cube
sub-neg flip3-- diff-log diff-sin associate--l+ flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 23
Calls

2 calls:

6.0ms
(- (sin (+ x eps)) (sin x))
4.0ms
(sin (+ x eps))

series13.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

8.0ms
(- (sin (+ x eps)) (sin x))
5.0ms
(sin (+ x eps))

simplify49.0ms (1.1%)

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05348268

prune54.0ms (1.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New25429
Fresh000
Picked101
Done000
Total26430

Merged error: 0.4b

Counts
30 → 4

localize13.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+ x (+ x eps))
0.2b
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
3.3b
(cos (/ (+ x (+ x eps)) 2))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative associate-+r+ flip3-+ pow-prod-down prod-exp *-commutative sin-cos-mult cbrt-unprod flip-+ unswap-sqr
Counts
3 → 41
Calls

3 calls:

7.0ms
(cos (/ (+ x (+ x eps)) 2))
6.0ms
(+ x (+ x eps))
5.0ms
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))

series22.0ms (0.5%)

Counts
3 → 9
Calls

3 calls:

11.0ms
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
6.0ms
(+ x (+ x eps))
6.0ms
(cos (/ (+ x (+ x eps)) 2))

simplify61.0ms (1.3%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05169541

prune134.0ms (2.9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New43750
Fresh033
Picked011
Done000
Total431154

Merged error: 0.3b

Counts
54 → 11

localize18.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(exp (cos (/ (+ x (+ x eps)) 2)))
0.2b
(* (sin (/ eps 2)) (log (exp (cos (/ (+ x (+ x eps)) 2)))))
0.5b
(log (exp (cos (/ (+ x (+ x eps)) 2))))
3.3b
(cos (/ (+ x (+ x eps)) 2))

rewrite37.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
log-prod exp-prod
pow1 log-pow
associate-*r*
add-exp-log add-cbrt-cube
add-log-exp
distribute-rgt-in distribute-lft-in associate-*l*
rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log unswap-sqr
Counts
4 → 61
Calls

4 calls:

13.0ms
(* (sin (/ eps 2)) (log (exp (cos (/ (+ x (+ x eps)) 2)))))
8.0ms
(log (exp (cos (/ (+ x (+ x eps)) 2))))
7.0ms
(exp (cos (/ (+ x (+ x eps)) 2)))
7.0ms
(cos (/ (+ x (+ x eps)) 2))

series33.0ms (0.7%)

Counts
4 → 12
Calls

4 calls:

11.0ms
(* (sin (/ eps 2)) (log (exp (cos (/ (+ x (+ x eps)) 2)))))
9.0ms
(exp (cos (/ (+ x (+ x eps)) 2)))
8.0ms
(cos (/ (+ x (+ x eps)) 2))
5.0ms
(log (exp (cos (/ (+ x (+ x eps)) 2))))

simplify49.0ms (1.1%)

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05064940

prune195.0ms (4.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New71273
Fresh279
Picked101
Done011
Total741084

Merged error: 0.3b

Counts
84 → 10

localize19.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(* (sin (/ eps 2)) (cbrt (pow (cos (/ (+ x (+ x eps)) 2)) 3)))
0.5b
(cbrt (pow (cos (/ (+ x (+ x eps)) 2)) 3))
0.6b
(pow (cos (/ (+ x (+ x eps)) 2)) 3)
3.3b
(cos (/ (+ x (+ x eps)) 2))

rewrite22.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod
24×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity associate-*r*
10×unpow-prod-down cube-prod
pow1 add-exp-log
add-cbrt-cube
unswap-sqr
add-log-exp sqr-pow
cube-mult pow-unpow unpow3 associate-*l*
pow-to-exp pow-pow pow1/3 pow-prod-down pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 85
Calls

4 calls:

8.0ms
(* (sin (/ eps 2)) (cbrt (pow (cos (/ (+ x (+ x eps)) 2)) 3)))
7.0ms
(cos (/ (+ x (+ x eps)) 2))
2.0ms
(pow (cos (/ (+ x (+ x eps)) 2)) 3)
2.0ms
(cbrt (pow (cos (/ (+ x (+ x eps)) 2)) 3))

series33.0ms (0.7%)

Counts
4 → 12
Calls

4 calls:

12.0ms
(pow (cos (/ (+ x (+ x eps)) 2)) 3)
11.0ms
(* (sin (/ eps 2)) (cbrt (pow (cos (/ (+ x (+ x eps)) 2)) 3)))
5.0ms
(cbrt (pow (cos (/ (+ x (+ x eps)) 2)) 3))
5.0ms
(cos (/ (+ x (+ x eps)) 2))

simplify41.0ms (0.9%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049241255
149241255

prune217.0ms (4.8%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New97097
Fresh088
Picked011
Done011
Total9710107

Merged error: 0.3b

Counts
107 → 10

regimes179.0ms (3.9%)

Accuracy

Total 0.4b remaining (51.1%)

Threshold costs 0.4b (51.1%)

bsearch65.0ms (1.4%)

Steps
ItersRangePoint
9
3.157025505158146e-29
4.740471739071633e-22
4.641753169220233e-22
6
-7.919883562745137e-05
-1.057639949449253e-05
-1.0749927920685414e-05

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04538
14538

end0.0ms (0%)

sample3.1s (68.8%)

Algorithm
intervals
Results
1.5s3290×body1280valid
627.0ms646×body2560valid
523.0ms1853×body640valid
150.0ms767×body320valid
63.0ms1067×body80valid
48.0ms377×body160valid

Profiling

Loading profile data...