Details

Time bar (total: 3.4s)

analyze222.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14

sample63.0ms

Algorithm
intervals
Results
31.0ms52×body2560valid
11.0ms40×body1280valid
7.0ms47×body640valid
4.0ms32×body320valid
2.0ms69×body80valid
1.0ms16×body160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0168
1168

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.9b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

2.3b
(- 1.0 (cos x))
14.8b
(/ (- 1.0 (cos x)) (* x x))

rewrite20.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 → 41
Calls
2 calls:
6.0ms
(- 1.0 (cos x))
12.0ms
(/ (- 1.0 (cos x)) (* x x))

series15.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05871438

prune99.0ms

Filtered
34 candidates to 47 candidates (-38.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New39847
Fresh000
Picked101
Done000
Total40848

Merged error: 0.0b

Counts
48 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (pow x 4) 1/720)
0.1b
(* x (* x 1/24))
0.3b
(* x 1/24)
11.6b
(+ (* (pow x 4) 1/720) (- 1/2 (* x (* x 1/24))))

rewrite19.0ms

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

series13.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (pow x 4) 1/720)
3.0ms
(* x (* x 1/24))
2.0ms
(* x 1/24)
5.0ms
(+ (* (pow x 4) 1/720) (- 1/2 (* x (* x 1/24))))

simplify29.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05078653

prune108.0ms

Filtered
54 candidates to 87 candidates (-61.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New87087
Fresh077
Picked011
Done000
Total87895

Merged error: 0.0b

Counts
95 → 8

localize6.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (- 1.0 (cos x)) x) x)
0.1b
(/ (- 1.0 (cos x)) x)
2.3b
(- 1.0 (cos x))

rewrite25.0ms

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

series13.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/ (/ (- 1.0 (cos x)) x) x)
5.0ms
(/ (- 1.0 (cos x)) x)
3.0ms
(- 1.0 (cos x))

simplify46.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
052451987

prune154.0ms

Filtered
102 candidates to 155 candidates (-52.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1532155
Fresh156
Picked011
Done011
Total1549163

Merged error: 0.0b

Counts
163 → 9

localize7.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- 1.0 (cos x))) x)
0.2b
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (- 1.0 (cos x))) x))
2.3b
(- 1.0 (cos x))
2.3b
(- 1.0 (cos x))

rewrite47.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 → 204
Calls
4 calls:
6.0ms
(/ (sqrt (- 1.0 (cos x))) x)
24.0ms
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (- 1.0 (cos x))) x))
3.0ms
(- 1.0 (cos x))
3.0ms
(- 1.0 (cos x))

series22.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(/ (sqrt (- 1.0 (cos x))) x)
5.0ms
(* (/ (sqrt (- 1.0 (cos x))) x) (/ (sqrt (- 1.0 (cos x))) x))
3.0ms
(- 1.0 (cos x))
6.0ms
(- 1.0 (cos x))

simplify66.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049802689
149802689

prune236.0ms

Filtered
123 candidates to 216 candidates (-75.6%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2133216
Fresh336
Picked011
Done022
Total2169225

Merged error: 0.0b

Counts
225 → 9

regimes64.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 32.0b

bsearch45.0ms

Steps
ItersRangePoint
10
5.855821036270785e-07
120031312.1677242
0.034041023082368414
9
-1.7525930748559126
-4.830644338133403e-06
-0.0311513612479286

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02930
12930

end0.0ms

analyze223.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14

sample1.8s

Algorithm
intervals
Results
815.0ms1584×body2560valid
342.0ms1274×body1280valid
236.0ms1451×body640valid
120.0ms938×body320valid
93.0ms2292×body80valid
38.0ms461×body160valid

Profiling

Loading profile data...