Details

Time bar (total: 3.9s)

sample44.0ms

Algorithm
intervals
Results
12.0ms183×body80valid
10.0ms33×body640valid
9.0ms21×body1280valid
2.0ms12×body320valid
1.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0135
1224
2284
3284

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 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))

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

series110.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ x (sin y))
38.0ms
(+ (+ x (sin y)) (* z (cos y)))
41.0ms
(* z (cos y))

simplify76.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0208268
1743242
22955242
35001242

prune364.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
60×pow1
30×sqrt-pow1
23×pow-prod-down
18×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
11×pow1/2
10×add-exp-log associate-*r* associate-*l* pow-prod-up add-cbrt-cube
pow-sqr
sqrt-prod
expm1-log1p-u swap-sqr log1p-expm1-u add-log-exp
prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 104
Calls
4 calls:
2.0ms
(sqrt (* z (cos y)))
3.0ms
(* z (cos y))
3.0ms
(* z (cos y))
14.0ms
(* (sqrt (* z (cos y))) (sqrt (* z (cos y))))

series159.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0248430
11224373
25001361

prune250.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (sqrt (* z (cos y)))) (cbrt (sqrt (* z (cos y)))))
0.3b
(cbrt (sqrt (* z (cos y))))
0.3b
(cbrt (sqrt (* z (cos y))))
0.3b
(cbrt (sqrt (* z (cos y))))

rewrite17.0ms

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

series419.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (cbrt (sqrt (* z (cos y)))) (cbrt (sqrt (* z (cos y)))))
102.0ms
(cbrt (sqrt (* z (cos y))))
99.0ms
(cbrt (sqrt (* z (cos y))))
102.0ms
(cbrt (sqrt (* z (cos y))))

simplify41.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0268884
1977815
25001749

prune349.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

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

series133.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(+ x (sin y))
67.0ms
(* (sqrt z) (cos y))
41.0ms
(* (sqrt z) (* (sqrt z) (cos y)))

simplify92.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0257360
1916304
23588300
35002300

prune182.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes95.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
0115
1115

end0.0ms

sample1.4s

Algorithm
intervals
Results
449.0ms974×body1280valid
355.0ms5619×body80valid
235.0ms785×body640valid
92.0ms408×body320valid
40.0ms214×body160valid