Details

Time bar (total: 3.7s)

sample50.0ms

Algorithm
intervals
Results
15.0ms31×body1280valid
12.0ms180×body80valid
8.0ms26×body640valid
2.0ms10×body320valid
1.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0135
1224
2284
3284

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

series66.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
098137
1220120
2612120
32378120
45001120

prune274.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.5b
(* (cbrt (+ x (sin y))) (cbrt (+ x (sin y))))
0.5b
(cbrt (+ x (sin y)))
0.5b
(cbrt (+ x (sin y)))
0.5b
(cbrt (+ x (sin y)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
23.0ms
(* (cbrt (+ x (sin y))) (cbrt (+ x (sin y))))
2.0ms
(cbrt (+ x (sin y)))
3.0ms
(cbrt (+ x (sin y)))
2.0ms
(cbrt (+ x (sin y)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (cbrt (+ x (sin y))) (cbrt (+ x (sin y))))
57.0ms
(cbrt (+ x (sin y)))
58.0ms
(cbrt (+ x (sin y)))
55.0ms
(cbrt (+ x (sin y)))

simplify58.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03531062
113501002
25001932

prune380.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (+ x (sin y)))
0.5b
(cbrt (+ x (sin y)))
0.6b
(cbrt (cbrt (+ x (sin y))))
0.6b
(cbrt (* (cbrt (+ x (sin y))) (cbrt (+ x (sin y)))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-div
20×cbrt-prod
14×*-un-lft-identity
flip3-+ flip-+
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log expm1-log1p-u frac-times pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
distribute-lft-out
associate-*r/ associate-*l/
Counts
4 → 70
Calls
4 calls:
3.0ms
(cbrt (+ x (sin y)))
4.0ms
(cbrt (+ x (sin y)))
5.0ms
(cbrt (cbrt (+ x (sin y))))
13.0ms
(cbrt (* (cbrt (+ x (sin y))) (cbrt (+ x (sin y)))))

series217.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(cbrt (+ x (sin y)))
56.0ms
(cbrt (+ x (sin y)))
54.0ms
(cbrt (cbrt (+ x (sin y))))
54.0ms
(cbrt (* (cbrt (+ x (sin y))) (cbrt (+ x (sin y)))))

simplify41.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0450876
11440829
25001816

prune356.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (fma (cos y) z (+ x (sin y))))
0.0b
(fma (cos y) z (+ x (sin y)))
0.0b
(fma (cos y) z (+ x (sin y)))
0.3b
(* (sqrt (fma (cos y) z (+ x (sin y)))) (sqrt (fma (cos y) z (+ x (sin y)))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
fma-udef
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
1.0ms
(sqrt (fma (cos y) z (+ x (sin y))))
0.0ms
(fma (cos y) z (+ x (sin y)))
0.0ms
(fma (cos y) z (+ x (sin y)))
7.0ms
(* (sqrt (fma (cos y) z (+ x (sin y)))) (sqrt (fma (cos y) z (+ x (sin y)))))

series207.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sqrt (fma (cos y) z (+ x (sin y))))
39.0ms
(fma (cos y) z (+ x (sin y)))
37.0ms
(fma (cos y) z (+ x (sin y)))
41.0ms
(* (sqrt (fma (cos y) z (+ x (sin y)))) (sqrt (fma (cos y) z (+ x (sin y)))))

simplify142.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0186668
1643577
23624548
35001525

prune211.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes75.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.2s

Algorithm
intervals
Results
424.0ms1020×body1280valid
281.0ms5536×body80valid
211.0ms837×body640valid
68.0ms408×body320valid
23.0ms199×body160valid