Details

Time bar (total: 4.9s)

sample60.0ms

Algorithm
intervals
Results
23.0ms51×body1280valid
11.0ms39×body640valid
10.0ms138×body80valid
4.0ms20×body320valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0115
1115

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.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
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative flip3-+ sum-log flip-+
Counts
3 → 47
Calls
3 calls:
3.0ms
(+ (* x (cos y)) (* z (sin y)))
4.0ms
(* z (sin y))
3.0ms
(* x (cos y))

series147.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0183248
1698227
22213227
35001227

prune140.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

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

rewrite10.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*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))

series469.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
100.0ms
(cbrt (cos y))
102.0ms
(cbrt (cos y))
102.0ms
(cbrt (cos y))

simplify99.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0122441
1481389
23180357
35001352

prune262.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
Counts
4 → 38
Calls
4 calls:
1.0ms
(cbrt (cos y))
3.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
3.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
3.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(cbrt (cos y))
117.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
116.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
120.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))

simplify152.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 4 (148.0ms)

IterNodesCost
076322
1205278
2660261
33312261
45003260

prune208.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity pow1/3 add-cbrt-cube add-log-exp
Counts
4 → 36
Calls
4 calls:
3.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
3.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
3.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
3.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))

series476.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
116.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
122.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))
118.0ms
(cbrt (* (cbrt (cos y)) (cbrt (cos y))))

simplify82.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
049352
1118300
2344292
31330292
45002292

prune211.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

regimes105.0ms

Accuracy

0% (0.3b 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
01512
11512

end0.0ms

sample1.8s

Algorithm
intervals
Results
738.0ms1581×body1280valid
378.0ms1262×body640valid
322.0ms4259×body80valid
125.0ms586×body320valid
50.0ms312×body160valid