Details

Time bar (total: 3.7s)

sample80.0ms

Algorithm
intervals
Results
36.0ms57×body2560valid
14.0ms37×body1280valid
11.0ms45×body640valid
6.0ms32×body320valid
3.0ms66×body80valid
2.0ms19×body160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1214
2264
3284
4284

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.7b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.2b
(- 1.0 (cos x))
16.9b
(/ (- 1.0 (cos x)) (* x x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
add-exp-log add-cbrt-cube
times-frac associate-/l*
add-cube-cbrt add-log-exp
distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv flip3-- div-exp flip-- associate-/l/
sub-neg frac-2neg diff-log div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
2 → 42
Calls
2 calls:
3.0ms
(- 1.0 (cos x))
7.0ms
(/ (- 1.0 (cos x)) (* x x))

series67.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(- 1.0 (cos x))
49.0ms
(/ (- 1.0 (cos x)) (* x x))

simplify62.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0221271
1735239
22396239
35002239

prune114.0ms

Filtered
48 candidates to 34 candidates (70.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New371148
Fresh000
Picked101
Done000
Total381149

Merged error: 0.2b

Counts
49 → 11

localize9.0ms

Local error

Found 3 expressions with local error:

0.2b
(* 1/24 (pow x 2))
0.3b
(* 1/720 (pow x 4))
12.0b
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- associate--l+ sum-log flip--
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 1/24 (pow x 2))
5.0ms
(* 1/720 (pow x 4))
7.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

series104.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* 1/24 (pow x 2))
35.0ms
(* 1/720 (pow x 4))
45.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

simplify39.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0268347
11132316
25001310

prune133.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New75075
Fresh01010
Picked011
Done000
Total751186

Merged error: 0.2b

Counts
86 → 11

localize7.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- 1.0 (cos x))) x)
0.1b
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (- 1.0 (cos x))) x))
2.2b
(- 1.0 (cos x))
2.2b
(- 1.0 (cos x))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
167×add-sqr-sqrt
156×times-frac
143×*-un-lft-identity
104×sqrt-prod
89×add-cube-cbrt
40×swap-sqr
28×associate-*r* associate-*l*
24×distribute-lft-out--
18×add-exp-log add-cbrt-cube difference-of-squares
11×pow1
unswap-sqr
associate-/l* add-log-exp
cbrt-undiv div-exp div-inv
prod-exp cbrt-unprod
flip3-- associate-/r* flip--
sub-neg sqrt-div diff-log associate-/l/
pow2 frac-times frac-2neg pow-plus associate-*r/ pow-prod-down associate-*l/ clear-num pow-sqr *-commutative pow-prod-up
Counts
4 → 206
Calls
4 calls:
6.0ms
(/ (sqrt (- 1.0 (cos x))) x)
27.0ms
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (- 1.0 (cos x))) x))
3.0ms
(- 1.0 (cos x))
4.0ms
(- 1.0 (cos x))

series171.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ (sqrt (- 1.0 (cos x))) x)
41.0ms
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (- 1.0 (cos x))) x))
22.0ms
(- 1.0 (cos x))
18.0ms
(- 1.0 (cos x))

simplify106.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06672403
133402087
250011922

prune337.0ms

Filtered
218 candidates to 123 candidates (56.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2144218
Fresh369
Picked101
Done011
Total21811229

Merged error: 0.2b

Counts
229 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (log (exp (- 1.0 (cos x))))) x))
2.2b
(- 1.0 (cos x))
2.2b
(- 1.0 (cos x))
2.3b
(log (exp (- 1.0 (cos x))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
91×add-sqr-sqrt
72×times-frac
61×*-un-lft-identity
48×sqrt-prod
43×add-cube-cbrt
40×associate-*r*
28×associate-*l*
24×log-pow
20×exp-prod
16×add-exp-log add-cbrt-cube
10×pow1
distribute-lft-out-- difference-of-squares unswap-sqr
add-log-exp
log-prod
cbrt-undiv div-exp prod-exp cbrt-unprod
sub-neg
flip3-- diff-log exp-sum flip-- div-inv
frac-times log-div exp-diff associate-*r/ rem-log-exp pow-prod-down associate-*l/ *-commutative
Counts
4 → 145
Calls
4 calls:
30.0ms
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (log (exp (- 1.0 (cos x))))) x))
3.0ms
(- 1.0 (cos x))
4.0ms
(- 1.0 (cos x))
5.0ms
(log (exp (- 1.0 (cos x))))

series100.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (log (exp (- 1.0 (cos x))))) x))
18.0ms
(- 1.0 (cos x))
22.0ms
(- 1.0 (cos x))
18.0ms
(log (exp (- 1.0 (cos x))))

simplify67.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06031575
125671213
250011120

prune306.0ms

Filtered
157 candidates to 101 candidates (64.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1552157
Fresh189
Picked101
Done011
Total15711168

Merged error: 0.1b

Counts
168 → 11

regimes98.0ms

Accuracy

99.4% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 31.7b

bsearch87.0ms

Steps
ItersRangePoint
9
8.159003009805276e-07
0.06291072096871789
0.02982085320761324
9
-5.855776674212404
-7.74497267090904e-05
-0.03566864611298506

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04726
14726

end0.0ms

sample1.6s

Algorithm
intervals
Results
740.0ms1543×body2560valid
312.0ms1260×body1280valid
247.0ms1534×body640valid
106.0ms898×body320valid
76.0ms2274×body80valid
44.0ms491×body160valid