Details

Time bar (total: 4.1s)

sample91.0ms

Algorithm
intervals
Results
35.0ms44×body2560valid
19.0ms49×body1280valid
12.0ms49×body640valid
7.0ms32×body320valid
4.0ms64×body80valid
2.0ms18×body160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1214
2264
3284
4284

prune3.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: 31.6b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

1.9b
(- 1.0 (cos x))
13.7b
(/ (- 1.0 (cos x)) (* x x))

rewrite21.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:
6.0ms
(- 1.0 (cos x))
13.0ms
(/ (- 1.0 (cos x)) (* x x))

series103.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0221271
1735239
22396239
35002239

prune105.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.0b

Counts
49 → 11

localize7.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sqrt (- 1.0 (cos x))) x)
0.2b
(/ (sqrt (- 1.0 (cos x))) x)
1.9b
(- 1.0 (cos x))
1.9b
(- 1.0 (cos x))

rewrite24.0ms

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

series222.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(/ (sqrt (- 1.0 (cos x))) x)
91.0ms
(/ (sqrt (- 1.0 (cos x))) x)
21.0ms
(- 1.0 (cos x))
18.0ms
(- 1.0 (cos x))

simplify101.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
02421020
1706972
22968960
35002960

prune298.0ms

Filtered
138 candidates to 92 candidates (66.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1353138
Fresh3710
Picked101
Done000
Total13910149

Merged error: 0.0b

Counts
149 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sqrt (- 1.0 (cos x))) x)
0.2b
(* (sqrt (- 1.0 (cos x))) (/ 1 x))
1.9b
(- 1.0 (cos x))
1.9b
(- 1.0 (cos x))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
46×*-un-lft-identity
37×times-frac
30×add-cube-cbrt
28×sqrt-prod
15×add-exp-log
13×associate-*r*
11×add-cbrt-cube
associate-*l* associate-/l* add-log-exp
distribute-lft-out-- difference-of-squares
pow1 sqrt-div unswap-sqr
flip3-- flip--
prod-exp
div-exp associate-/r*
cbrt-undiv frac-times sub-neg diff-log associate-*l/ cbrt-unprod div-inv associate-/l/
rec-exp frac-2neg 1-exp associate-*r/ pow-prod-down clear-num un-div-inv *-commutative
Counts
4 → 125
Calls
4 calls:
6.0ms
(/ (sqrt (- 1.0 (cos x))) x)
11.0ms
(* (sqrt (- 1.0 (cos x))) (/ 1 x))
4.0ms
(- 1.0 (cos x))
4.0ms
(- 1.0 (cos x))

series221.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(/ (sqrt (- 1.0 (cos x))) x)
92.0ms
(* (sqrt (- 1.0 (cos x))) (/ 1 x))
18.0ms
(- 1.0 (cos x))
19.0ms
(- 1.0 (cos x))

simplify45.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0398957
11459883
25001871

prune295.0ms

Filtered
137 candidates to 90 candidates (65.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1352137
Fresh189
Picked101
Done000
Total13710147

Merged error: 0.0b

Counts
147 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ 1.0 (cos x))
0.4b
(* (sqrt (+ 1.0 (cos x))) x)
1.9b
(- (* 1.0 1.0) (* (cos x) (cos x)))
1.9b
(- 1.0 (cos x))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×add-log-exp
add-cube-cbrt associate-*l*
pow1 add-exp-log add-cbrt-cube
sqrt-prod
associate-*r*
sub-neg flip3-- flip3-+ sqrt-div diff-log associate-*l/ flip-- flip-+ distribute-lft-out difference-of-squares unswap-sqr
+-commutative sqr-cos pow-prod-down prod-exp sum-log *-commutative cbrt-unprod associate--r+ distribute-lft-out--
Counts
4 → 65
Calls
4 calls:
3.0ms
(+ 1.0 (cos x))
7.0ms
(* (sqrt (+ 1.0 (cos x))) x)
4.0ms
(- (* 1.0 1.0) (* (cos x) (cos x)))
7.0ms
(- 1.0 (cos x))

series145.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(+ 1.0 (cos x))
84.0ms
(* (sqrt (+ 1.0 (cos x))) x)
33.0ms
(- (* 1.0 1.0) (* (cos x) (cos x)))
19.0ms
(- 1.0 (cos x))

simplify119.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0320431
11094396
24300396
35002396

prune226.0ms

Filtered
77 candidates to 55 candidates (71.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New76177
Fresh099
Picked101
Done000
Total771087

Merged error: 0.0b

Counts
87 → 10

regimes92.0ms

Accuracy

98.9% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 31.3b

bsearch74.0ms

Steps
ItersRangePoint
8
2.0262054515877825e-05
0.3235305135594418
0.030296156057222207
10
-85019.06990604498
-4.503960361653909e-11
-0.03159820685045102

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04931
14931

end0.0ms

sample1.7s

Algorithm
intervals
Results
752.0ms1648×body2560valid
290.0ms1252×body1280valid
215.0ms1469×body640valid
208.0ms2220×body80valid
103.0ms907×body320valid
36.0ms504×body160valid