Details

Time bar (total: 4.5s)

analyze2.0ms

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

sample100.0ms

Algorithm
intervals
Results
51.0ms137×body1280valid
16.0ms18×body2560valid
13.0ms60×body640valid
11.0ms30×body320valid
1.0msbody160valid
0.0msbody80valid

simplify3.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: 39.3b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (cos (+ x eps)) (cos x))
3.8b
(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))

simplify62.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04816270
14816270

prune64.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.3b

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)))
3.8b
(sin (/ (+ x (+ x eps)) 2))

rewrite37.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:
11.0ms
(* -2 (* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2))))
5.0ms
(+ x (+ x eps))
13.0ms
(* (sin (/ eps 2)) (sin (/ (+ x (+ x eps)) 2)))
7.0ms
(sin (/ (+ x (+ x eps)) 2))

series36.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)))
7.0ms
(sin (/ (+ x (+ x eps)) 2))

simplify60.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04847891
14847891

prune151.0ms

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

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New65772
Fresh347
Picked011
Done000
Total681280

Merged error: 0.3b

Counts
80 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (sin (/ (+ x (+ x eps)) 2)))
3.8b
(sin (/ (+ x (+ x eps)) 2))
3.8b
(sin (/ (+ x (+ x eps)) 2))
3.8b
(sin (/ (+ x (+ x eps)) 2))

rewrite26.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:
6.0ms
(cbrt (sin (/ (+ x (+ x eps)) 2)))
7.0ms
(sin (/ (+ x (+ x eps)) 2))
7.0ms
(sin (/ (+ x (+ x eps)) 2))
7.0ms
(sin (/ (+ x (+ x eps)) 2))

series40.0ms

Counts
4 → 12
Calls
4 calls:
21.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))

simplify58.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04907469
14907469

prune154.0ms

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

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New44044
Fresh01010
Picked011
Done011
Total441256

Merged error: 0.3b

Counts
56 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin (/ eps 2)) (cbrt (pow (sin (/ (+ x (+ x eps)) 2)) 3)))
0.6b
(pow (sin (/ (+ x (+ x eps)) 2)) 3)
3.8b
(sin (/ (+ x (+ x eps)) 2))
6.1b
(cbrt (pow (sin (/ (+ x (+ x eps)) 2)) 3))

rewrite38.0ms

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:
13.0ms
(* (sin (/ eps 2)) (cbrt (pow (sin (/ (+ x (+ x eps)) 2)) 3)))
7.0ms
(pow (sin (/ (+ x (+ x eps)) 2)) 3)
7.0ms
(sin (/ (+ x (+ x eps)) 2))
9.0ms
(cbrt (pow (sin (/ (+ x (+ x eps)) 2)) 3))

series38.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (sin (/ eps 2)) (cbrt (pow (sin (/ (+ x (+ x eps)) 2)) 3)))
15.0ms
(pow (sin (/ (+ x (+ x eps)) 2)) 3)
6.0ms
(sin (/ (+ x (+ x eps)) 2))
6.0ms
(cbrt (pow (sin (/ (+ x (+ x eps)) 2)) 3))

simplify60.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049371267
149371267

prune130.0ms

Filtered
55 candidates to 97 candidates (-76.4%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New96197
Fresh099
Picked011
Done022
Total9613109

Merged error: 0.3b

Counts
109 → 13

regimes207.0ms

Accuracy

97.7% (0.3b remaining)

Error of 0.7b against oracle of 0.3b and baseline of 15.0b

bsearch113.0ms

Steps
ItersRangePoint
9
6.581657935485426e-10
0.0007933650446723445
9.533176048648487e-06
10
-0.2907404391033222
-1.9224311918263173e-14
-1.2823417273874109e-05

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.6s4407×body1280valid
608.0ms672×body2560valid
421.0ms1865×body640valid
108.0ms699×body320valid
35.0ms283×body160valid
4.0ms74×body80valid

Profiling

Loading profile data...