Details

Time bar (total: 12.4s)

sample217.0ms

Algorithm
intervals
Results
119.0ms95×body1280valid
43.0ms48×body640valid
17.0ms30×body320valid
14.0ms73×body80valid
4.0ms10×body160valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
07430
119327
270427
3299427
4500127

prune31.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize56.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.5b
(- (cos x) (cos y))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
133×add-sqr-sqrt
123×prod-diff
119×*-un-lft-identity
109×add-cube-cbrt
56×times-frac
52×distribute-rgt-in distribute-lft-in
14×sqrt-prod
12×associate-*r* associate-*l*
flip3-- flip--
pow1 add-exp-log add-cbrt-cube add-log-exp difference-of-squares
sub-neg fma-neg div-inv
distribute-lft-out--
expm1-log1p-u frac-times associate-*r/ log1p-expm1-u
unswap-sqr
diff-log pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod diff-cos
Counts
4 → 234
Calls
4 calls:
27.0ms
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
25.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- 3.0 (sqrt 5.0))
5.0ms
(- (cos x) (cos y))

series274.0ms

Counts
4 → 10
Calls
4 calls:
94.0ms
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
89.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
91.0ms
(- (cos x) (cos y))

simplify125.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
010794683
143433463
250013456

prune856.0ms

Filtered
244 candidates to 110 candidates (45.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2395244
Fresh011
Picked101
Done000
Total2406246

Merged error: 0.2b

Counts
246 → 6

localize274.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.5b
(+ (* (cos y) (cos y)) (* (cos x) (cos y)))
1.0b
(- 3.0 (sqrt 5.0))
1.3b
(- (pow (cos x) 3) (pow (cos y) 3))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
240×prod-diff
200×add-sqr-sqrt
177×*-un-lft-identity
163×add-cube-cbrt
87×unpow-prod-down cube-prod
55×times-frac
41×distribute-rgt-in distribute-lft-in
33×sqr-pow
25×cube-mult unpow3
20×difference-of-squares
15×fma-neg
14×sqrt-prod
10×add-log-exp
distribute-lft-out--
pow1 add-exp-log associate-*r* associate-*l* add-cbrt-cube div-inv
expm1-log1p-u sub-neg log1p-expm1-u
flip3-- flip--
diff-log associate-*r/ cos-mult unswap-sqr
difference-cubes +-commutative sqr-cos associate-+l+ distribute-rgt-out fma-def flip3-+ pow-prod-down frac-add prod-exp sum-log *-commutative cbrt-unprod flip-+
Counts
4 → 358
Calls
4 calls:
14.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
6.0ms
(+ (* (cos y) (cos y)) (* (cos x) (cos y)))
5.0ms
(- 3.0 (sqrt 5.0))
15.0ms
(- (pow (cos x) 3) (pow (cos y) 3))

series226.0ms

Counts
4 → 10
Calls
4 calls:
84.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
58.0ms
(+ (* (cos y) (cos y)) (* (cos x) (cos y)))
0.0ms
(- 3.0 (sqrt 5.0))
84.0ms
(- (pow (cos x) 3) (pow (cos y) 3))

simplify241.0ms

Algorithm
egg-herbie
Counts
368 → 368
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012906297
149974409
250014409

prune971.0ms

Filtered
368 candidates to 107 candidates (29.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3662368
Fresh145
Picked011
Done000
Total3677374

Merged error: 0.2b

Counts
374 → 7

localize38.0ms

Local error

Found 4 expressions with local error:

1.0b
(- 3.0 (sqrt 5.0))
1.5b
(- (cos x) (cos y))
1.5b
(- (cos x) (cos y))
1.5b
(- (cos x) (cos y))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
46×*-un-lft-identity
45×prod-diff
38×add-cube-cbrt
12×fma-neg add-log-exp
10×sqrt-prod
difference-of-squares
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out--
diff-cos
Counts
4 → 125
Calls
4 calls:
5.0ms
(- 3.0 (sqrt 5.0))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))
5.0ms
(- (cos x) (cos y))

series158.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(- 3.0 (sqrt 5.0))
52.0ms
(- (cos x) (cos y))
56.0ms
(- (cos x) (cos y))
51.0ms
(- (cos x) (cos y))

simplify146.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
03011275
1864852
24512797
35001751

prune631.0ms

Filtered
135 candidates to 80 candidates (59.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh055
Picked011
Done011
Total1357142

Merged error: 0.2b

Counts
142 → 7

localize40.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.5b
(- (cos x) (cos y))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
138×add-sqr-sqrt
118×*-un-lft-identity
106×add-cube-cbrt
105×prod-diff
74×times-frac
41×distribute-rgt-in distribute-lft-in
28×associate-*l*
17×sqrt-prod
11×add-exp-log add-cbrt-cube difference-of-squares
associate-*r*
pow1 add-log-exp
div-inv
fma-neg distribute-lft-out--
expm1-log1p-u sub-neg log1p-expm1-u unswap-sqr
flip3-- prod-exp flip-- cbrt-unprod
diff-log associate-*r/ pow-prod-down *-commutative
cbrt-undiv div-exp associate-*l/ diff-cos
Counts
4 → 221
Calls
4 calls:
11.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
15.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- 3.0 (sqrt 5.0))
5.0ms
(- (cos x) (cos y))

series234.0ms

Counts
4 → 10
Calls
4 calls:
88.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
88.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
59.0ms
(- (cos x) (cos y))

simplify123.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
011163998
142642949
250012942

prune785.0ms

Filtered
231 candidates to 111 candidates (48.1%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New2256231
Fresh044
Picked101
Done022
Total22612238

Merged error: 0.0b

Counts
238 → 12

regimes219.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04341
14341

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.6s2746×body1280valid
1.5s1786×body640valid
502.0ms803×body320valid
418.0ms2291×body80valid
151.0ms374×body160valid

Profiling

Loading profile data...