Details

Time bar (total: 3.2s)

sample563.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 32.520818%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
7.0ms256×body80valid
0.0msbody80invalid

simplify268.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

IterNodesCost
0157
1256
2374
3474
4564
5894
61584
72084
82214
93164
106464
1131854
1250034

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3 (* z z)) (* x y))
0.2b
(* 3 (* z z))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ unswap-sqr
Counts
2 → 30
Calls
2 calls:
5.0ms
(+ (* 3 (* z z)) (* x y))
5.0ms
(* 3 (* z z))

series10.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(+ (* 3 (* z z)) (* x y))
3.0ms
(* 3 (* z z))

simplify79.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0166163
1617147
22424143
35003143

prune57.0ms

Filtered
23 candidates to 36 candidates (-56.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32436
Fresh011
Picked101
Done000
Total33538

Merged error: 0.0b

Counts
38 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* 3 z) z) (* x y))
0.2b
(* (* 3 z) z)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
4.0ms
(+ (* (* 3 z) z) (* x y))
5.0ms
(* (* 3 z) z)

series11.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(+ (* (* 3 z) z) (* x y))
3.0ms
(* (* 3 z) z)

simplify137.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
0175161
1815145
24087142
35001141

prune48.0ms

Filtered
20 candidates to 35 candidates (-75.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New34135
Fresh044
Picked011
Done000
Total34640

Merged error: 0.0b

Counts
40 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
3 → 38
Calls
3 calls:
3.0ms
(+ (* x y) (* z z))
5.0ms
(+ (+ (* x y) (* z z)) (* z z))
8.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

series32.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ (* x y) (* z z))
11.0ms
(+ (+ (* x y) (* z z)) (* z z))
12.0ms
(+ (+ (+ (* x y) (* z z)) (* z z)) (* z z))

simplify123.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0215352
1978316
23975293
35001282

prune61.0ms

Filtered
34 candidates to 47 candidates (-38.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New46147
Fresh044
Picked011
Done011
Total46753

Merged error: 0.0b

Counts
53 → 7

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z))) (* x y))
0.2b
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z)))
0.3b
(* (cbrt 3) (* z z))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
29×pow1 add-exp-log
18×pow-prod-down prod-exp cbrt-unprod
17×add-cbrt-cube
add-sqr-sqrt associate-*l*
add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-prod
associate-*r* *-commutative unswap-sqr
+-commutative flip3-+ sum-log flip-+
Counts
3 → 62
Calls
3 calls:
12.0ms
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z))) (* x y))
14.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z)))
6.0ms
(* (cbrt 3) (* z z))

series25.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z))) (* x y))
9.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* z z)))
4.0ms
(* (cbrt 3) (* z z))

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0265553
11032424
25002368

prune88.0ms

Filtered
38 candidates to 71 candidates (-86.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New69271
Fresh314
Picked011
Done022
Total72678

Merged error: 0.0b

Counts
78 → 6

regimes400.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample1.2s

Algorithm
intervals
sampling

Space saved by range analysis: 32.520818%

Space saved by search: 0.146413%

Guaranteed chance to sample good point: 0%

Results
239.0ms8000×body80valid
11.0ms273×body80invalid

Profiling

Loading profile data...