Details

Time bar (total: 3.2s)

sample47.0ms

Algorithm
intervals
Results
15.0ms190×body80valid
13.0ms27×body1280valid
6.0ms22×body640valid
2.0ms11×body320valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0135
1224
2284
3284

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (sin y))
0.1b
(fma (cos y) z (+ x (sin y)))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt fma-def
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
+-commutative flip3-+ sum-log flip-+ fma-udef distribute-lft-out
Counts
2 → 27
Calls
2 calls:
3.0ms
(+ x (sin y))
0.0ms
(fma (cos y) z (+ x (sin y)))

series68.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(+ x (sin y))
43.0ms
(fma (cos y) z (+ x (sin y)))

simplify56.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
098137
1220120
2612120
32378120
45001120

prune97.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (sin y))
0.0b
(+ (+ x (sin y)) (* z (cos y)))
0.1b
(* z (cos y))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt fma-def
pow1 add-exp-log add-cbrt-cube
sum-log
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u
+-commutative flip3-+ flip-+ distribute-lft-out
associate-+l+ pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 56
Calls
3 calls:
3.0ms
(+ x (sin y))
19.0ms
(+ (+ x (sin y)) (* z (cos y)))
4.0ms
(* z (cos y))

series102.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+ x (sin y))
42.0ms
(+ (+ x (sin y)) (* z (cos y)))
36.0ms
(* z (cos y))

simplify74.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0208268
1743242
22955242
35001242

prune155.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (cos y))
0.0b
(sqrt (cos y))
0.1b
(* (* z (sqrt (cos y))) (sqrt (cos y)))
0.1b
(* z (sqrt (cos y)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×pow1 sqrt-prod
12×associate-*r*
11×add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 *-commutative unswap-sqr
Counts
4 → 77
Calls
4 calls:
1.0ms
(sqrt (cos y))
1.0ms
(sqrt (cos y))
15.0ms
(* (* z (sqrt (cos y))) (sqrt (cos y)))
5.0ms
(* z (sqrt (cos y)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (cos y))
14.0ms
(sqrt (cos y))
38.0ms
(* (* z (sqrt (cos y))) (sqrt (cos y)))
47.0ms
(* z (sqrt (cos y)))

simplify78.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0164392
1722346
22844340
35002340

prune215.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (sin y)) (cbrt (pow (* z (cos y)) 3)))
0.1b
(* z (cos y))
0.1b
(pow (* z (cos y)) 3)
38.5b
(cbrt (pow (* z (cos y)) 3))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
11×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
cbrt-prod
expm1-log1p-u fma-def log1p-expm1-u distribute-lft-out
pow-unpow associate-*r* associate-*l* sum-log
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt sqr-pow
+-commutative pow-to-exp associate-+l+ flip3-+ pow1/3 *-commutative rem-cbrt-cube flip-+ unswap-sqr
Counts
4 → 84
Calls
4 calls:
25.0ms
(+ (+ x (sin y)) (cbrt (pow (* z (cos y)) 3)))
4.0ms
(* z (cos y))
3.0ms
(pow (* z (cos y)) 3)
2.0ms
(cbrt (pow (* z (cos y)) 3))

series201.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(+ (+ x (sin y)) (cbrt (pow (* z (cos y)) 3)))
35.0ms
(* z (cos y))
66.0ms
(pow (* z (cos y)) 3)
44.0ms
(cbrt (pow (* z (cos y)) 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0251433
11191389
25001384

prune252.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes65.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample1.5s

Algorithm
intervals
Results
465.0ms976×body1280valid
452.0ms5569×body80valid
250.0ms832×body640valid
85.0ms412×body320valid
32.0ms211×body160valid