Details

Time bar (total: 6.4s)

analyze502.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

sample158.0ms

Algorithm
intervals
Results
81.0ms58×body2560valid
46.0ms88×body1280valid
15.0ms60×body640valid
6.0ms34×body320valid
1.0msbody160valid
1.0msbody80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (9.0ms)

IterNodesCost
02297
12297

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.5b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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 → 51
Calls
2 calls:
6.0ms
(/ (- 1.0 (cos x)) (sin x))
3.0ms
(- 1.0 (cos x))

series12.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05058605

prune132.0ms

Filtered
42 candidates to 57 candidates (-35.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New421557
Fresh000
Picked101
Done000
Total431558

Merged error: 0.2b

Counts
58 → 15

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×associate-*r*
12×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down
unswap-sqr
associate-*l* prod-exp add-cbrt-cube
cube-prod sqr-pow
pow1 pow-to-exp pow-exp *-commutative cbrt-unprod add-log-exp
cube-mult unpow3
Counts
2 → 56
Calls
2 calls:
5.0ms
(* 1/240 (pow x 5))
6.0ms
(* 1/24 (pow x 3))

series8.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* 1/240 (pow x 5))
4.0ms
(* 1/24 (pow x 3))

simplify37.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05108391

prune119.0ms

Filtered
38 candidates to 62 candidates (-63.2%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New62062
Fresh01414
Picked011
Done000
Total621577

Merged error: 0.2b

Counts
77 → 15

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
24×*-un-lft-identity
20×times-frac
19×add-cube-cbrt
16×add-exp-log
13×associate-*r*
10×add-cbrt-cube
pow1
associate-*l* add-log-exp
div-exp prod-exp
flip3-- associate-/r* flip-- associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv distribute-lft-out-- difference-of-squares
sub-neg pow-flip frac-2neg diff-log associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
3 → 86
Calls
3 calls:
3.0ms
(/ 1 (sin x))
10.0ms
(* (- 1.0 (cos x)) (/ 1 (sin x)))
3.0ms
(- 1.0 (cos x))

series17.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ 1 (sin x))
10.0ms
(* (- 1.0 (cos x)) (/ 1 (sin x)))
3.0ms
(- 1.0 (cos x))

simplify40.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05161778

prune110.0ms

Filtered
55 candidates to 95 candidates (-72.7%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New94195
Fresh21113
Picked011
Done011
Total9614110

Merged error: 0.2b

Counts
110 → 14

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 1.0 (cos x)) (sin x))
0.2b
(exp (/ (- 1.0 (cos x)) (sin x)))
0.9b
(log (exp (/ (- 1.0 (cos x)) (sin x))))
1.4b
(- 1.0 (cos x))

rewrite26.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 → 111
Calls
4 calls:
6.0ms
(/ (- 1.0 (cos x)) (sin x))
6.0ms
(exp (/ (- 1.0 (cos x)) (sin x)))
7.0ms
(log (exp (/ (- 1.0 (cos x)) (sin x))))
4.0ms
(- 1.0 (cos x))

series30.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
055251215

prune153.0ms

Filtered
88 candidates to 123 candidates (-39.8%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New1185123
Fresh2911
Picked101
Done022
Total12116137

Merged error: 0.1b

Counts
137 → 16

regimes225.0ms

Accuracy

96.6% (1.1b remaining)

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

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04553
14553

end0.0ms

sample4.7s

Algorithm
intervals
Results
2.4s1656×body2560valid
1.3s2777×body1280valid
505.0ms1850×body640valid
174.0ms923×body320valid
61.0ms447×body160valid
35.0msbody5120valid
25.0ms340×body80valid

Profiling

Loading profile data...