Details

Time bar (total: 4.3s)

sample600.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
18.0ms40×body1280valid
13.0ms45×body640valid
9.0ms135×body80valid
8.0ms23×body320valid
2.0ms13×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1115

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

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

series28.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(+ (* x (cos y)) (* z (sin y)))
7.0ms
(* z (sin y))
7.0ms
(* x (cos y))

simplify69.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0183248
1698227
22213227
35001227

prune89.0ms

Filtered
39 candidates to 56 candidates (-43.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New461056
Fresh000
Picked101
Done000
Total471057

Merged error: 0.0b

Counts
57 → 10

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

rewrite11.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:
5.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))

series76.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
17.0ms
(cbrt (cos y))
18.0ms
(cbrt (cos y))
16.0ms
(cbrt (cos y))

simplify105.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0125433
1507381
23337357
35001351

prune109.0ms

Filtered
60 candidates to 85 candidates (-41.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New83285
Fresh279
Picked101
Done000
Total86995

Merged error: 0.0b

Counts
95 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* z (sin y))
0.2b
(* (* x (pow (pow (cos y) 2) 1/3)) (cbrt (cos y)))
0.3b
(pow (cos y) 2)
0.3b
(cbrt (cos y))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log
13×add-sqr-sqrt
12×prod-exp
11×add-cube-cbrt *-un-lft-identity
10×add-cbrt-cube
pow1 associate-*r*
cbrt-prod cbrt-unprod
pow-exp
associate-*l* add-log-exp
pow-to-exp unpow-prod-down pow-unpow
pow-prod-down *-commutative
pow-pow unpow1/3 pow1/3 unpow2 unswap-sqr sqr-pow
Counts
4 → 72
Calls
4 calls:
4.0ms
(* z (sin y))
8.0ms
(* (* x (pow (pow (cos y) 2) 1/3)) (cbrt (cos y)))
2.0ms
(pow (cos y) 2)
1.0ms
(cbrt (cos y))

series35.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* z (sin y))
6.0ms
(* (* x (pow (pow (cos y) 2) 1/3)) (cbrt (cos y)))
3.0ms
(pow (cos y) 2)
19.0ms
(cbrt (cos y))

simplify43.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0297419
11306364
25002350

prune118.0ms

Filtered
52 candidates to 84 candidates (-61.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh088
Picked011
Done000
Total84993

Merged error: 0.0b

Counts
93 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x (cbrt (pow (cos y) 2))) (cbrt (cos y)))
0.3b
(pow (cos y) 2)
0.3b
(cbrt (pow (cos y) 2))
0.3b
(cbrt (cos y))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×cbrt-prod
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×pow1 add-exp-log
unpow-prod-down associate-*r* add-cbrt-cube
add-log-exp
pow-unpow pow-prod-down prod-exp cbrt-unprod
pow1/3 unpow2 sqr-pow
pow-to-exp pow-pow associate-*l* pow-exp *-commutative
Counts
4 → 66
Calls
4 calls:
7.0ms
(* (* x (cbrt (pow (cos y) 2))) (cbrt (cos y)))
2.0ms
(pow (cos y) 2)
2.0ms
(cbrt (pow (cos y) 2))
1.0ms
(cbrt (cos y))

series52.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (* x (cbrt (pow (cos y) 2))) (cbrt (cos y)))
3.0ms
(pow (cos y) 2)
26.0ms
(cbrt (pow (cos y) 2))
16.0ms
(cbrt (cos y))

simplify38.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0236416
11087359
25001345

prune86.0ms

Filtered
50 candidates to 78 candidates (-56.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh077
Picked011
Done011
Total78987

Merged error: 0.0b

Counts
87 → 9

regimes209.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01810
11810

end0.0ms

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
698.0ms1514×body1280valid
504.0ms4309×body80valid
363.0ms1270×body640valid
118.0ms603×body320valid
42.0ms304×body160valid

Profiling

Loading profile data...