Details

Time bar (total: 7.3s)

analyze533.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
37.5%62.5%0%4
43.7%56.2%0%5
46.9%53.1%0%6
48.4%51.5%0%7
49.2%50.8%0%8
49.6%50.4%0%9
49.8%50.2%0%10
49.9%50.1%0%11
49.9%50%0%12
50%50%0%13
50%49.9%0%14

sample155.0ms

Algorithm
intervals
Results
77.0ms53×body2560valid
42.0ms80×body1280valid
18.0ms67×body640valid
6.0ms34×body320valid
2.0ms12×body160valid
1.0ms10×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0114
1144
2164
3164

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.9b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (- 1.0 (cos x)) (sin x))
1.5b
(- 1.0 (cos x))

rewrite12.0ms

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

series13.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(/ (- 1.0 (cos x)) (sin x))
3.0ms
(- 1.0 (cos x))

simplify78.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0233396
1673373
22640373
35002373

prune145.0ms

Filtered
42 candidates to 58 candidates (-38.1%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New441458
Fresh000
Picked101
Done000
Total451459

Merged error: 0.1b

Counts
59 → 14

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/240 (pow x 5)) (* 1/2 x))
0.0b
(+ (* 1/24 (pow x 3)) (+ (* 1/240 (pow x 5)) (* 1/2 x)))
0.0b
(* 1/240 (pow x 5))
0.1b
(* 1/24 (pow x 3))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×associate-*r*
14×add-exp-log
11×add-cube-cbrt *-un-lft-identity add-log-exp
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
cube-mult associate-+r+ unpow3
Counts
4 → 80
Calls
4 calls:
4.0ms
(+ (* 1/240 (pow x 5)) (* 1/2 x))
8.0ms
(+ (* 1/24 (pow x 3)) (+ (* 1/240 (pow x 5)) (* 1/2 x)))
5.0ms
(* 1/240 (pow x 5))
7.0ms
(* 1/24 (pow x 3))

series28.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (* 1/240 (pow x 5)) (* 1/2 x))
6.0ms
(+ (* 1/24 (pow x 3)) (+ (* 1/240 (pow x 5)) (* 1/2 x)))
4.0ms
(* 1/240 (pow x 5))
4.0ms
(* 1/24 (pow x 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0355458
11538429
25002428

prune164.0ms

Filtered
59 candidates to 92 candidates (-55.9%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh01313
Picked011
Done000
Total9214106

Merged error: 0.1b

Counts
106 → 14

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 1.0 (cos x)) (sin x))
0.3b
(exp (/ (- 1.0 (cos x)) (sin x)))
1.0b
(log (exp (/ (- 1.0 (cos x)) (sin x))))
1.5b
(- 1.0 (cos x))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt *-un-lft-identity
45×times-frac
38×exp-prod
33×add-cube-cbrt
20×log-pow
11×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-/l*
log-prod div-sub associate-/r* div-inv
flip3-- exp-diff flip-- associate-/l/
cbrt-undiv sub-neg log-div frac-2neg diff-log div-exp rem-log-exp clear-num rem-exp-log
Counts
4 → 112
Calls
4 calls:
6.0ms
(/ (- 1.0 (cos x)) (sin x))
6.0ms
(exp (/ (- 1.0 (cos x)) (sin x)))
9.0ms
(log (exp (/ (- 1.0 (cos x)) (sin x))))
4.0ms
(- 1.0 (cos x))

series29.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ (- 1.0 (cos x)) (sin x))
11.0ms
(exp (/ (- 1.0 (cos x)) (sin x)))
7.0ms
(log (exp (/ (- 1.0 (cos x)) (sin x))))
3.0ms
(- 1.0 (cos x))

simplify88.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0303818
1799768
22970766
35001766

prune184.0ms

Filtered
88 candidates to 124 candidates (-40.9%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1204124
Fresh3912
Picked101
Done011
Total12414138

Merged error: 0.0b

Counts
138 → 14

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1 (/ (sin x) (- 1.0 (cos x))))
0.2b
(/ (sin x) (- 1.0 (cos x)))
1.5b
(- 1.0 (cos x))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
105×add-sqr-sqrt *-un-lft-identity
71×add-cube-cbrt
26×associate-/r*
17×distribute-lft-out-- difference-of-squares
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp
flip3-- flip-- div-inv associate-/l*
add-log-exp
pow1 cbrt-undiv
rec-exp frac-2neg 1-exp clear-num
sub-neg pow-flip diff-log inv-pow
Counts
3 → 159
Calls
3 calls:
11.0ms
(/ 1 (/ (sin x) (- 1.0 (cos x))))
6.0ms
(/ (sin x) (- 1.0 (cos x)))
4.0ms
(- 1.0 (cos x))

series18.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(/ 1 (/ (sin x) (- 1.0 (cos x))))
8.0ms
(/ (sin x) (- 1.0 (cos x)))
3.0ms
(- 1.0 (cos x))

simplify61.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05101593
123961450
250021337

prune115.0ms

Filtered
86 candidates to 168 candidates (-95.3%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1680168
Fresh01212
Picked011
Done011
Total16814182

Merged error: 0.0b

Counts
182 → 14

regimes218.0ms

Accuracy

98.1% (0.6b remaining)

Error of 0.8b against oracle of 0.2b and baseline of 31.9b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03726
13726

end0.0ms

analyze503.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
37.5%62.5%0%4
43.7%56.2%0%5
46.9%53.1%0%6
48.4%51.5%0%7
49.2%50.8%0%8
49.6%50.4%0%9
49.8%50.2%0%10
49.9%50.1%0%11
49.9%50%0%12
50%50%0%13
50%49.9%0%14

sample4.8s

Algorithm
intervals
Results
2.4s1629×body2560valid
1.4s2774×body1280valid
496.0ms1835×body640valid
167.0ms918×body320valid
70.0ms485×body160valid
28.0ms356×body80valid
18.0msbody5120valid

Profiling

Loading profile data...