Details

Time bar (total: 4.5s)

analyze2.0ms

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

sample99.0ms

Algorithm
intervals
Results
57.0ms161×body1280valid
14.0ms15×body2560valid
12.0ms55×body640valid
6.0msbody160valid
2.0ms14×body320valid
0.0msbody80valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
077
177

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.7b
(- (cos (+ x eps)) (cos x))
4.0b
(cos (+ x eps))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt cos-sum add-cbrt-cube
associate--l- sub-neg flip3-- diff-log flip-- diff-cos distribute-lft-out-- difference-of-squares
Counts
2 → 23
Calls
2 calls:
6.0ms
(- (cos (+ x eps)) (cos x))
4.0ms
(cos (+ x eps))

series14.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(- (cos (+ x eps)) (cos x))
5.0ms
(cos (+ x eps))

simplify60.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04816270
14816270

prune63.0ms

Filtered
23 candidates to 29 candidates (-26.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New21829
Fresh000
Picked101
Done000
Total22830

Merged error: 0.4b

Counts
30 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2))))
0.0b
(+ x (+ x eps))
0.3b
(* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2)))
4.0b
(sin (/ (+ x (+ x eps)) 2))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt
associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
sum-log distribute-lft-out
*-commutative sin-mult
+-commutative associate-+r+ flip3-+ associate-*r/ flip-+ unswap-sqr
Counts
4 → 60
Calls
4 calls:
10.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2))))
5.0ms
(+ x (+ x eps))
10.0ms
(* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2)))
8.0ms
(sin (/ (+ x (+ x eps)) 2))

series35.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2))))
4.0ms
(+ x (+ x eps))
12.0ms
(* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2)))
6.0ms
(sin (/ (+ x (+ x eps)) 2))

simplify58.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04847891
14847891

prune163.0ms

Filtered
53 candidates to 72 candidates (-35.8%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New621072
Fresh257
Picked101
Done000
Total651580

Merged error: 0.3b

Counts
80 → 15

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sin (/ eps 2)) -2)
0.0b
(+ x (+ x eps))
0.3b
(* (* (sin (/ eps 2)) -2) (sin (/ (+ x (+ x eps)) 2)))
4.0b
(sin (/ (+ x (+ x eps)) 2))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt
associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod
sum-log distribute-lft-out
*-commutative
+-commutative associate-+r+ flip3-+ flip-+ unswap-sqr
Counts
4 → 58
Calls
4 calls:
4.0ms
(* (sin (/ eps 2)) -2)
5.0ms
(+ x (+ x eps))
12.0ms
(* (* (sin (/ eps 2)) -2) (sin (/ (+ x (+ x eps)) 2)))
6.0ms
(sin (/ (+ x (+ x eps)) 2))

series27.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (sin (/ eps 2)) -2)
4.0ms
(+ x (+ x eps))
14.0ms
(* (* (sin (/ eps 2)) -2) (sin (/ (+ x (+ x eps)) 2)))
6.0ms
(sin (/ (+ x (+ x eps)) 2))

simplify52.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05630699

prune140.0ms

Filtered
48 candidates to 70 candidates (-45.8%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New70070
Fresh01414
Picked011
Done000
Total701585

Merged error: 0.3b

Counts
85 → 15

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin (/ (+ x (+ x eps)) 2)))
4.0b
(sin (/ (+ x (+ x eps)) 2))
4.0b
(sin (/ (+ x (+ x eps)) 2))
4.0b
(sin (/ (+ x (+ x eps)) 2))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod
pow1/3
Counts
4 → 32
Calls
4 calls:
5.0ms
(cbrt (sin (/ (+ x (+ x eps)) 2)))
6.0ms
(sin (/ (+ x (+ x eps)) 2))
6.0ms
(sin (/ (+ x (+ x eps)) 2))
6.0ms
(sin (/ (+ x (+ x eps)) 2))

series38.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt (sin (/ (+ x (+ x eps)) 2)))
6.0ms
(sin (/ (+ x (+ x eps)) 2))
6.0ms
(sin (/ (+ x (+ x eps)) 2))
6.0ms
(sin (/ (+ x (+ x eps)) 2))

simplify57.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04907469
14907469

prune123.0ms

Filtered
38 candidates to 44 candidates (-15.8%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New44044
Fresh01313
Picked011
Done011
Total441559

Merged error: 0.3b

Counts
59 → 15

regimes312.0ms

Accuracy

93.6% (0.9b remaining)

Error of 1.3b against oracle of 0.4b and baseline of 14.7b

bsearch95.0ms

Steps
ItersRangePoint
10
3.14523817394636e-14
52.849086929477764
2.9676922165611374e-05
7
-2.3599329975581476e+28
-1.328589091502893e+26
-1.35117877873764e+26

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03538
13538

end0.0ms

analyze1.0ms

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

sample3.0s

Algorithm
intervals
Results
1.7s4467×body1280valid
616.0ms655×body2560valid
430.0ms1825×body640valid
105.0ms676×body320valid
37.0ms291×body160valid
5.0ms86×body80valid

Profiling

Loading profile data...