Details

Time bar (total: 5.1s)

sample53.0ms

Algorithm
intervals
Results
18.0ms46×body1280valid
12.0ms49×body640valid
7.0ms134×body80valid
3.0ms20×body320valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0124
1154
2154

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

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

series131.0ms

Counts
3 → 9
Calls
3 calls:
63.0ms
(+ (* x (cos y)) (* z (sin y)))
33.0ms
(* x (cos y))
35.0ms
(* z (sin y))

simplify72.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0195268
1748244
22510244
35003243

prune170.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (cos y)) (cbrt (cos y)))
0.3b
(cbrt (cos y))
0.3b
(cbrt (cos y))
0.3b
(cbrt (cos y))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
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 → 81
Calls
4 calls:
16.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))

series444.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
95.0ms
(cbrt (cos y))
94.0ms
(cbrt (cos y))
95.0ms
(cbrt (cos y))

simplify105.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0128471
1500419
23232387
35002381

prune293.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(expm1 (log1p (* (cbrt (cos y)) (cbrt (cos y)))))
0.3b
(cbrt (cos y))
0.3b
(cbrt (cos y))
0.3b
(cbrt (cos y))

rewrite5.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
expm1-log1p expm1-udef
Counts
4 → 50
Calls
4 calls:
0.0ms
(expm1 (log1p (* (cbrt (cos y)) (cbrt (cos y)))))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))

series720.0ms

Counts
4 → 12
Calls
4 calls:
426.0ms
(expm1 (log1p (* (cbrt (cos y)) (cbrt (cos y)))))
103.0ms
(cbrt (cos y))
96.0ms
(cbrt (cos y))
95.0ms
(cbrt (cos y))

simplify211.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 4 (207.0ms)

IterNodesCost
090301
1242258
2837244
34774242
45001239

prune249.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (cos y))
0.3b
(cbrt (cos y))
0.3b
(cbrt (cbrt (cos y)))
0.4b
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 53
Calls
4 calls:
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))
2.0ms
(cbrt (cbrt (cos y)))
7.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))

series387.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (cos y))
94.0ms
(cbrt (cos y))
91.0ms
(cbrt (cbrt (cos y)))
107.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))

simplify221.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (216.0ms)

IterNodesCost
0112336
1284306
2880295
34875295
45001294

prune292.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

regimes119.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02524
12524

end0.0ms

sample1.5s

Algorithm
intervals
Results
614.0ms1491×body1280valid
303.0ms1256×body640valid
220.0ms4304×body80valid
98.0ms610×body320valid
38.0ms339×body160valid