Details

Time bar (total: 10.3s)

sample180.0ms

Algorithm
intervals
Results
91.0ms83×body1280valid
38.0ms57×body640valid
14.0ms19×body320valid
12.0ms84×body80valid
4.0ms13×body160valid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
07430
119327
270427
3299427
4500127

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

localize32.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.6b
(- (cos x) (cos y))

rewrite57.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:
15.0ms
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
18.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- 3.0 (sqrt 5.0))
5.0ms
(- (cos x) (cos y))

series242.0ms

Counts
4 → 10
Calls
4 calls:
93.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))
59.0ms
(- (cos x) (cos y))

simplify121.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
010794683
143433463
250013456

prune825.0ms

Filtered
244 candidates to 110 candidates (45.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2386244
Fresh011
Picked101
Done000
Total2397246

Merged error: 0.1b

Counts
246 → 7

localize58.0ms

Local error

Found 4 expressions with local error:

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
261×prod-diff
252×add-sqr-sqrt
241×*-un-lft-identity
235×add-cube-cbrt
205×distribute-rgt-in distribute-lft-in
163×times-frac
31×sqrt-prod
18×associate-*l* div-inv
11×pow1 add-exp-log add-cbrt-cube
sub-neg add-log-exp
associate-*r*
fma-neg associate-*r/
difference-of-squares
expm1-log1p-u flip3-- pow-prod-down prod-exp flip-- cbrt-unprod log1p-expm1-u
distribute-lft-out-- unswap-sqr
diff-log *-commutative
diff-cos
Counts
4 → 374
Calls
4 calls:
16.0ms
(* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0)))
33.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0))))
11.0ms
(- 3.0 (sqrt 5.0))
9.0ms
(- (cos x) (cos y))

series252.0ms

Counts
4 → 10
Calls
4 calls:
114.0ms
(* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0)))
87.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0))))
0.0ms
(- 3.0 (sqrt 5.0))
50.0ms
(- (cos x) (cos y))

simplify175.0ms

Algorithm
egg-herbie
Counts
384 → 384
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
012689591
146607418
250017405

prune878.0ms

Filtered
384 candidates to 116 candidates (30.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3822384
Fresh156
Picked101
Done000
Total3847391

Merged error: 0.1b

Counts
391 → 7

localize39.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.6b
(+ (cos x) (cos y))
1.0b
(- 3.0 (sqrt 5.0))
1.7b
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
97×prod-diff
95×*-un-lft-identity
89×add-cube-cbrt
55×times-frac
41×distribute-rgt-in distribute-lft-in
14×sqrt-prod
10×add-log-exp
pow1 add-exp-log associate-*r* associate-*l* add-cbrt-cube div-inv
difference-of-squares
expm1-log1p-u sub-neg fma-neg cos-mult log1p-expm1-u
flip3-- fma-def flip--
sqr-cos diff-log associate-*r/ distribute-lft-out-- unswap-sqr
+-commutative flip3-+ sum-cos pow-prod-down prod-exp associate--l+ sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out associate--r+ sub-div
Counts
4 → 188
Calls
4 calls:
14.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(+ (cos x) (cos y))
5.0ms
(- 3.0 (sqrt 5.0))
6.0ms
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

series195.0ms

Counts
4 → 10
Calls
4 calls:
86.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
37.0ms
(+ (cos x) (cos y))
0.0ms
(- 3.0 (sqrt 5.0))
72.0ms
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

simplify103.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09493670
135072700
250012436

prune674.0ms

Filtered
198 candidates to 88 candidates (44.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1980198
Fresh066
Picked011
Done000
Total1987205

Merged error: 0.1b

Counts
205 → 7

localize44.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin x))
0.6b
(cbrt (sin x))
1.0b
(- 3.0 (sqrt 5.0))
1.6b
(- (cos x) (cos y))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
27×prod-diff
26×add-cube-cbrt
10×sqrt-prod
add-log-exp
cbrt-prod fma-neg
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
difference-of-squares
sub-neg flip3-- pow1/3 diff-log flip-- distribute-lft-out--
diff-cos
Counts
4 → 93
Calls
4 calls:
2.0ms
(cbrt (sin x))
2.0ms
(cbrt (sin x))
5.0ms
(- 3.0 (sqrt 5.0))
5.0ms
(- (cos x) (cos y))

series243.0ms

Counts
4 → 10
Calls
4 calls:
93.0ms
(cbrt (sin x))
93.0ms
(cbrt (sin x))
0.0ms
(- 3.0 (sqrt 5.0))
57.0ms
(- (cos x) (cos y))

simplify46.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0423857
11276616
25002501

prune556.0ms

Filtered
103 candidates to 66 candidates (64.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1030103
Fresh055
Picked011
Done011
Total1037110

Merged error: 0.1b

Counts
110 → 7

regimes210.0ms

Accuracy

0% (0.3b 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
03635
13635

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.9s2734×body1280valid
1.2s1792×body640valid
366.0ms2408×body80valid
340.0ms709×body320valid
107.0ms357×body160valid