Details

Time bar (total: 13.7s)

sample257.0ms

Algorithm
intervals
Results
135.0ms94×body1280valid
56.0ms56×body640valid
26.0ms75×body80valid
16.0ms23×body320valid
4.0msbody160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
07430
119327
270427
3299427
4500127

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize36.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))
2.0b
(- (cos x) (cos y))

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

series275.0ms

Counts
4 → 10
Calls
4 calls:
132.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
90.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
53.0ms
(- (cos x) (cos y))

simplify86.0ms

Algorithm
egg-herbie
Counts
301 → 301
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
017307731
150016094

prune1.0s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize47.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 5.0)
1.0b
(* (cbrt 5.0) (cbrt 5.0))
2.0b
(- (cos x) (cos y))
2.0b
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (sqrt (* (cbrt 5.0) (cbrt 5.0))))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
22×*-un-lft-identity
20×add-cube-cbrt
19×cbrt-prod
11×pow1
prod-diff
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u unswap-sqr
fma-neg
pow-prod-down pow-sqr pow-prod-up
pow2 sub-neg flip3-- pow-plus diff-log prod-exp *-commutative flip-- cbrt-unprod fma-udef diff-cos distribute-lft-out-- difference-of-squares
Counts
4 → 94
Calls
4 calls:
0.0ms
(cbrt 5.0)
5.0ms
(* (cbrt 5.0) (cbrt 5.0))
4.0ms
(- (cos x) (cos y))
1.0ms
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (sqrt (* (cbrt 5.0) (cbrt 5.0))))))

series54.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 5.0)
0.0ms
(* (cbrt 5.0) (cbrt 5.0))
53.0ms
(- (cos x) (cos y))
0.0ms
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (sqrt (* (cbrt 5.0) (cbrt 5.0))))))

simplify38.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0325834
11016680
25001657

prune771.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize53.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 5.0)
1.0b
(* (cbrt 5.0) (cbrt 5.0))
2.0b
(- (cos x) (cos y))
2.0b
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (sqrt (* (cbrt 5.0) (cbrt 5.0))))))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
22×*-un-lft-identity
20×add-cube-cbrt
19×cbrt-prod
11×pow1
prod-diff
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l* add-log-exp
expm1-log1p-u add-cbrt-cube log1p-expm1-u unswap-sqr
fma-neg
pow-prod-down pow-sqr pow-prod-up
pow2 sub-neg flip3-- pow-plus diff-log prod-exp *-commutative flip-- cbrt-unprod fma-udef diff-cos distribute-lft-out-- difference-of-squares
Counts
4 → 94
Calls
4 calls:
0.0ms
(cbrt 5.0)
5.0ms
(* (cbrt 5.0) (cbrt 5.0))
4.0ms
(- (cos x) (cos y))
0.0ms
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (sqrt (* (cbrt 5.0) (cbrt 5.0))))))

series53.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 5.0)
0.0ms
(* (cbrt 5.0) (cbrt 5.0))
53.0ms
(- (cos x) (cos y))
0.0ms
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (sqrt (* (cbrt 5.0) (cbrt 5.0))))))

simplify152.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 3 (138.0ms)

IterNodesCost
0305825
1926680
24824648
35001639

prune777.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.1b

localize46.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))
2.0b
(fma (* (cbrt (cos x)) (cbrt (cos x))) (cbrt (cos x)) (- (* (cos y) 1)))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
175×add-sqr-sqrt
174×prod-diff
163×*-un-lft-identity
157×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--
associate-*l*
add-log-exp difference-of-squares
sub-neg
expm1-log1p-u frac-times pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
fma-neg distribute-lft-out--
associate-*l/ *-commutative unswap-sqr
diff-log fma-udef
Counts
4 → 272
Calls
4 calls:
59.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)))
4.0ms
(- 3.0 (sqrt 5.0))
0.0ms
(fma (* (cbrt (cos x)) (cbrt (cos x))) (cbrt (cos x)) (- (* (cos y) 1)))

series385.0ms

Counts
4 → 10
Calls
4 calls:
135.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
90.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
159.0ms
(fma (* (cbrt (cos x)) (cbrt (cos x))) (cbrt (cos x)) (- (* (cos y) 1)))

simplify89.0ms

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
016467619
150016045

prune1.2s

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.1b

regimes208.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
05248
15448
25448

end0.0ms

sample7.8s

Algorithm
intervals
Results
4.3s2786×body1280valid
1.8s1776×body640valid
678.0ms2349×body80valid
577.0ms749×body320valid
186.0ms340×body160valid