Details

Time bar (total: 14.0s)

sample247.0ms

Algorithm
intervals
Results
135.0ms96×body1280valid
60.0ms62×body640valid
15.0ms23×body320valid
14.0ms69×body80valid
3.0msbody160valid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
07430
119327
270427
3299427
4500127

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize35.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (/ (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y))) 2.0) (fma (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y) (fma (/ (- (sqrt 5.0) 1.0) 2.0) (cos x) 1.0))) 3.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))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
152×add-sqr-sqrt
143×*-un-lft-identity
137×add-cube-cbrt
130×times-frac
105×prod-diff
41×distribute-rgt-in distribute-lft-in
14×sqrt-prod
13×associate-/l*
11×add-exp-log add-cbrt-cube div-inv
add-log-exp
pow1 fma-neg associate-*r* associate-*l*
difference-of-squares
expm1-log1p-u sub-neg log1p-expm1-u
cbrt-undiv flip3-- div-exp associate-/r* flip-- distribute-lft-out--
diff-log associate-*r/ unswap-sqr
frac-2neg pow-prod-down prod-exp clear-num *-commutative cbrt-unprod diff-cos associate-/l/
Counts
4 → 250
Calls
4 calls:
10.0ms
(/ (/ (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y))) 2.0) (fma (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y) (fma (/ (- (sqrt 5.0) 1.0) 2.0) (cos x) 1.0))) 3.0)
38.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series1.1s

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

simplify85.0ms

Algorithm
egg-herbie
Counts
260 → 260
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
014067067
150025887

prune1.1s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y))) 2.0) (/ (/ 1 (fma (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y) (fma (/ (- (sqrt 5.0) 1.0) 2.0) (cos x) 1.0))) 3.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))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
158×add-sqr-sqrt
138×*-un-lft-identity
131×add-cube-cbrt
126×times-frac
105×prod-diff
49×associate-*r*
41×distribute-rgt-in distribute-lft-in
21×add-exp-log
15×add-cbrt-cube
14×sqrt-prod
10×div-inv
associate-*l*
pow1 add-log-exp
fma-neg div-exp prod-exp unswap-sqr
difference-of-squares
expm1-log1p-u sub-neg cbrt-unprod log1p-expm1-u
cbrt-undiv flip3-- associate-*r/ flip-- distribute-lft-out--
diff-log pow-prod-down *-commutative
rec-exp 1-exp diff-cos
Counts
4 → 248
Calls
4 calls:
21.0ms
(* (fma (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y))) 2.0) (/ (/ 1 (fma (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y) (fma (/ (- (sqrt 5.0) 1.0) 2.0) (cos x) 1.0))) 3.0))
43.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series1.1s

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

simplify81.0ms

Algorithm
egg-herbie
Counts
258 → 258
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015026211
150015037

prune1.1s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize48.0ms

Local error

Found 4 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt *-un-lft-identity
13×add-cube-cbrt
prod-diff
cbrt-prod add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-neg
pow1/3
sub-neg flip3-- diff-log flip-- fma-udef diff-cos distribute-lft-out-- difference-of-squares
Counts
4 → 65
Calls
4 calls:
1.0ms
(cbrt 5.0)
1.0ms
(cbrt 5.0)
0.0ms
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (sqrt (* (cbrt 5.0) (cbrt 5.0))))))
4.0ms
(- (cos x) (cos y))

series56.0ms

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

simplify104.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0257683
1693549
23378516
35001494

prune653.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize55.0ms

Local error

Found 4 expressions with local error:

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

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3 fma-udef
Counts
4 → 46
Calls
4 calls:
1.0ms
(cbrt 5.0)
1.0ms
(cbrt 5.0)
0.0ms
(fma (* (cbrt 3.0) (cbrt 3.0)) (cbrt 3.0) (- (* (sqrt (cbrt 5.0)) (sqrt (* (cbrt 5.0) (cbrt 5.0))))))
0.0ms
(fma (* (cbrt (cos x)) (cbrt (cos x))) (cbrt (cos x)) (- (cos y)))

series163.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 4 (101.0ms)

IterNodesCost
099405
1221340
2704331
32916320
45003307

prune518.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes222.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05749
15949
25949

end0.0ms

sample7.0s

Algorithm
intervals
Results
3.7s2694×body1280valid
1.7s1836×body640valid
718.0ms780×body320valid
480.0ms2319×body80valid
180.0ms371×body160valid