Details

Time bar (total: 3.9s)

sample41.0ms

Algorithm
intervals
Results
14.0ms34×body1280valid
10.0ms180×body80valid
5.0ms19×body640valid
2.0ms12×body320valid
1.0ms11×body160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0135
1224
2284
3284

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (sin y))
0.0b
(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)))

series69.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
098137
1220120
2612120
32378120
45001120

prune100.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.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))

rewrite24.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))
17.0ms
(+ (+ x (sin y)) (* z (cos y)))
4.0ms
(* z (cos y))

series104.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0208268
1743242
22955242
35001242

prune175.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* z (cos y))) (cbrt (* z (cos y))))
0.6b
(cbrt (* z (cos y)))
0.6b
(cbrt (* z (cos y)))
0.6b
(cbrt (* z (cos y)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 66
Calls
4 calls:
8.0ms
(* (cbrt (* z (cos y))) (cbrt (* z (cos y))))
2.0ms
(cbrt (* z (cos y)))
2.0ms
(cbrt (* z (cos y)))
2.0ms
(cbrt (* z (cos y)))

series518.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (cbrt (* z (cos y))) (cbrt (* z (cos y))))
127.0ms
(cbrt (* z (cos y)))
124.0ms
(cbrt (* z (cos y)))
120.0ms
(cbrt (* z (cos y)))

simplify119.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0179463
1700412
23661382
35001357

prune250.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt z) (* (cbrt (cos y)) (cbrt (* z (cos y)))))
0.6b
(cbrt z)
0.6b
(cbrt (* z (cos y)))
0.6b
(cbrt (* z (cos y)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1/3 associate-*l*
pow-prod-down add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
prod-exp cbrt-unprod
associate-*r* *-commutative
Counts
4 → 59
Calls
4 calls:
12.0ms
(* (cbrt z) (* (cbrt (cos y)) (cbrt (* z (cos y)))))
0.0ms
(cbrt z)
2.0ms
(cbrt (* z (cos y)))
2.0ms
(cbrt (* z (cos y)))

series579.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(* (cbrt z) (* (cbrt (cos y)) (cbrt (* z (cos y)))))
175.0ms
(cbrt z)
127.0ms
(cbrt (* z (cos y)))
122.0ms
(cbrt (* z (cos y)))

simplify88.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0220446
1728410
23246388
35001369

prune281.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes90.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample1.3s

Algorithm
intervals
Results
425.0ms1011×body1280valid
315.0ms5568×body80valid
199.0ms781×body640valid
77.0ms404×body320valid
34.0ms236×body160valid