Details

Time bar (total: 4.7s)

sample53.0ms

Algorithm
intervals
Results
20.0ms41×body2560valid
10.0ms39×body1280valid
7.0ms43×body640valid
4.0ms31×body320valid
3.0ms79×body80valid
2.0ms23×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: 27.8b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.8b
(- 1.0 (cos x))
12.2b
(/ (- 1.0 (cos x)) (* x x))

rewrite13.0ms

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

series66.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0279446
11006326
25001317

prune128.0ms

Filtered
64 candidates to 43 candidates (67.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New55964
Fresh000
Picked101
Done000
Total56965

Merged error: 0.1b

Counts
65 → 9

localize11.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)
2.8b
(- 1.0 (cos x))
2.8b
(- 1.0 (cos x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt *-un-lft-identity
52×add-cube-cbrt
48×times-frac
40×sqrt-prod
18×prod-diff
16×associate-/l*
10×distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
fma-neg associate-/r*
pow1 expm1-log1p-u flip3-- sqrt-div flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
4 → 158
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))

series213.0ms

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

simplify182.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 3 (163.0ms)

IterNodesCost
03011368
19361148
249531118
350011112

prune301.0ms

Filtered
170 candidates to 110 candidates (64.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1691170
Fresh178
Picked011
Done000
Total1709179

Merged error: 0.1b

Counts
179 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (- 1.0 (cos x))) (cbrt (- 1.0 (cos x))))
2.8b
(- 1.0 (cos x))
2.8b
(- 1.0 (cos x))
2.8b
(- 1.0 (cos x))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
53×*-un-lft-identity
33×add-cube-cbrt
28×cbrt-prod
27×prod-diff
12×cbrt-div
11×pow1
10×swap-sqr add-log-exp
flip3-- fma-neg flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log pow1/3
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u unswap-sqr
sub-neg diff-log
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 142
Calls
4 calls:
10.0ms
(* (cbrt (- 1.0 (cos x))) (cbrt (- 1.0 (cos x))))
4.0ms
(- 1.0 (cos x))
4.0ms
(- 1.0 (cos x))
4.0ms
(- 1.0 (cos x))

series198.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(* (cbrt (- 1.0 (cos x))) (cbrt (- 1.0 (cos x))))
18.0ms
(- 1.0 (cos x))
18.0ms
(- 1.0 (cos x))
19.0ms
(- 1.0 (cos x))

simplify168.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 3 (155.0ms)

IterNodesCost
02831323
19281020
24905923
35001914

prune288.0ms

Filtered
154 candidates to 93 candidates (60.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1522154
Fresh077
Picked101
Done011
Total15310163

Merged error: 0.0b

Counts
163 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(pow (sqrt (cbrt (- 1.0 (cos x)))) 4)
2.2b
(log (pow (exp 1) (pow (sqrt (cbrt (- 1.0 (cos x)))) 4)))
2.8b
(- 1.0 (cos x))
2.8b
(- 1.0 (cos x))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt *-un-lft-identity
24×add-cube-cbrt
18×prod-diff
14×unpow-prod-down
sqrt-prod add-log-exp
log-prod
pow1 add-exp-log fma-neg
cbrt-prod
expm1-log1p-u pow-pow add-cbrt-cube log1p-expm1-u
pow-unpow rem-log-exp distribute-lft-out-- difference-of-squares
pow-to-exp sub-neg flip3-- sqrt-pow1 diff-log pow-exp flip-- sqr-pow
pow1/2 pow1/3 log-pow sqrt-pow2
Counts
4 → 107
Calls
4 calls:
9.0ms
(pow (sqrt (cbrt (- 1.0 (cos x)))) 4)
3.0ms
(log (pow (exp 1) (pow (sqrt (cbrt (- 1.0 (cos x)))) 4)))
5.0ms
(- 1.0 (cos x))
4.0ms
(- 1.0 (cos x))

series536.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(pow (sqrt (cbrt (- 1.0 (cos x)))) 4)
341.0ms
(log (pow (exp 1) (pow (sqrt (cbrt (- 1.0 (cos x)))) 4)))
19.0ms
(- 1.0 (cos x))
18.0ms
(- 1.0 (cos x))

simplify52.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03611013
11252721
25001693

prune323.0ms

Filtered
119 candidates to 79 candidates (66.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh088
Picked011
Done011
Total11910129

Merged error: 0.0b

Counts
129 → 10

regimes90.0ms

Accuracy

99.4% (0.2b remaining)

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

bsearch72.0ms

Steps
ItersRangePoint
10
0.00022027325057658872
62623256.830634765
0.03061966180240735
9
-17.831791951177678
-3.7534567552478157e-06
-0.027340075628349603

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample1.9s

Algorithm
intervals
Results
934.0ms1622×body2560valid
311.0ms1231×body1280valid
244.0ms1482×body640valid
120.0ms979×body320valid
85.0ms2213×body80valid
39.0ms473×body160valid

Profiling

Loading profile data...