Details

Time bar (total: 11.2s)

sample178.0ms

Algorithm
intervals
Results
93.0ms88×body1280valid
39.0ms61×body640valid
13.0ms28×body320valid
9.0ms69×body80valid
3.0ms10×body160valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
07430
119327
270427
3299427
4500127

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize37.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (- (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.7b
(- (cos x) (cos y))

rewrite98.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:
40.0ms
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
36.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series250.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
244 → 244
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
010794683
143433463
250013456

prune861.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
201×prod-diff
192×add-sqr-sqrt
185×*-un-lft-identity
177×add-cube-cbrt
175×distribute-rgt-in distribute-lft-in
109×times-frac
19×sqrt-prod
15×associate-*l*
12×div-inv
11×pow1 add-exp-log add-cbrt-cube
flip3-- flip--
sub-neg add-log-exp
associate-*r*
fma-neg associate-*r/ difference-of-squares
expm1-log1p-u frac-times pow-prod-down prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out--
diff-log associate-*l/ *-commutative diff-cos
unswap-sqr
Counts
4 → 315
Calls
4 calls:
42.0ms
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
64.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0))))
5.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series248.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
325 → 325
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
013997418
143865860
250015823

prune899.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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:
4.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))

series165.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
03011275
1864852
24512797
35001751

prune705.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
184×add-sqr-sqrt
183×prod-diff
172×*-un-lft-identity
164×add-cube-cbrt
110×times-frac
82×distribute-rgt-in distribute-lft-in
14×sqrt-prod
12×associate-*r* div-inv
11×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
flip3-- flip--
add-log-exp
associate-*l* difference-of-squares
sub-neg fma-neg
expm1-log1p-u frac-times pow-prod-down prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out--
diff-log associate-*l/ *-commutative unswap-sqr
diff-cos
Counts
4 → 291
Calls
4 calls:
65.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
39.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series492.0ms

Counts
4 → 10
Calls
4 calls:
134.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
297.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
60.0ms
(- (cos x) (cos y))

simplify91.0ms

Algorithm
egg-herbie
Counts
301 → 301
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
017307731
150016094

prune986.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes177.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
04332
14332

end0.0ms

sample5.2s

Algorithm
intervals
Results
3.0s2801×body1280valid
1.2s1817×body640valid
330.0ms726×body320valid
322.0ms2321×body80valid
109.0ms335×body160valid