Details

Time bar (total: 3.9s)

analyze870.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 16.723669%

Guaranteed chance to sample good point: 80.547424%

sample19.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
1.0ms36×body80invalid

simplify115.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0275
1765
21685
32645
43545
54425
69125
724305
850015

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (* z z) (+ z 1.0))
16.4b
(/ (* x y) (* (* z z) (+ z 1.0)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log add-cbrt-cube
12×prod-exp cbrt-unprod
pow1
cbrt-undiv div-exp
*-un-lft-identity
add-sqr-sqrt associate-*r/ associate-*r*
add-cube-cbrt pow-prod-down
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in times-frac associate-*l* clear-num associate-/r* *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 51
Calls
2 calls:
8.0ms
(* (* z z) (+ z 1.0))
12.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

series20.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* (* z z) (+ z 1.0))
14.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0380385
12326297
25001297

prune73.0ms

Filtered
33 candidates to 57 candidates (-72.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New51657
Fresh000
Picked101
Done000
Total52658

Merged error: 7.4b

Counts
58 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ z 1.0))
4.9b
(* (/ x (* z z)) (/ y (+ z 1.0)))
8.2b
(/ x (* z z))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
34×add-sqr-sqrt times-frac
31×add-exp-log add-cbrt-cube
24×add-cube-cbrt
18×associate-*r*
10×cbrt-undiv div-exp
prod-exp cbrt-unprod
associate-*l* distribute-lft-out
associate-/l*
pow1 associate-/r*
associate-/r/ div-inv unswap-sqr
add-log-exp
frac-2neg flip3-+ clear-num flip-+
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
3 → 107
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
13.0ms
(* (/ x (* z z)) (/ y (+ z 1.0)))
4.0ms
(/ x (* z z))

series23.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
13.0ms
(* (/ x (* z z)) (/ y (+ z 1.0)))
5.0ms
(/ x (* z z))

simplify59.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0523706
12630610
25002610

prune153.0ms

Filtered
78 candidates to 116 candidates (-48.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1106116
Fresh325
Picked101
Done000
Total1148122

Merged error: 0.0b

Counts
122 → 8

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ z 1.0))
1.2b
(* (/ x z) (/ y (+ z 1.0)))
1.7b
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
94×add-exp-log
58×add-cbrt-cube
48×*-un-lft-identity
46×add-sqr-sqrt times-frac
40×prod-exp
34×add-cube-cbrt
31×div-exp
26×associate-*l*
22×cbrt-unprod
19×associate-*r*
18×cbrt-undiv
10×pow1
distribute-lft-out
frac-times associate-*r/
rec-exp 1-exp
pow-prod-down associate-*l/ associate-/r* associate-/r/ div-inv unswap-sqr
associate-/l* add-log-exp
flip3-+ *-commutative flip-+
frac-2neg clear-num
Counts
3 → 149
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
14.0ms
(* (/ x z) (/ y (+ z 1.0)))
14.0ms
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))

series30.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
11.0ms
(* (/ x z) (/ y (+ z 1.0)))
14.0ms
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))

simplify94.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07821119
14274918
25001910

prune173.0ms

Filtered
96 candidates to 158 candidates (-64.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1535158
Fresh167
Picked101
Done000
Total15511166

Merged error: 0.0b

Counts
166 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.2b
(* (/ x z) (/ y (+ z 1.0)))
1.3b
(* (/ 1 (* (cbrt z) (cbrt z))) (/ (* (/ x z) (/ y (+ z 1.0))) (cbrt z)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
221×add-exp-log
92×prod-exp
91×div-exp
82×add-cbrt-cube
43×cbrt-undiv add-sqr-sqrt
40×cbrt-unprod
36×times-frac
33×*-un-lft-identity
28×associate-*r*
26×add-cube-cbrt
20×associate-*l*
12×rec-exp 1-exp
cbrt-prod
pow1
unswap-sqr
div-inv add-log-exp
distribute-lft-out
frac-times pow1/3 associate-*r/ pow-prod-down associate-*l/ associate-/r/ *-commutative
flip3-+ flip-+
Counts
4 → 169
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
13.0ms
(* (/ x z) (/ y (+ z 1.0)))
24.0ms
(* (/ 1 (* (cbrt z) (cbrt z))) (/ (* (/ x z) (/ y (+ z 1.0))) (cbrt z)))

series76.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt z)
26.0ms
(cbrt z)
11.0ms
(* (/ x z) (/ y (+ z 1.0)))
16.0ms
(* (/ 1 (* (cbrt z) (cbrt z))) (/ (* (/ x z) (/ y (+ z 1.0))) (cbrt z)))

simplify102.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
010281880
146881468
250011363

prune148.0ms

Filtered
100 candidates to 181 candidates (-81.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1810181
Fresh01010
Picked011
Done000
Total18111192

Merged error: 0.0b

Counts
192 → 11

regimes313.0ms

Accuracy

-9.9% (3.4b remaining)

Error of 3.5b against oracle of 0.1b and baseline of 3.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03732
13732

end0.0ms

analyze879.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 16.723669%

Guaranteed chance to sample good point: 80.547424%

sample471.0ms

Algorithm
intervals
Results
262.0ms8000×body80valid
35.0ms1018×body80invalid

Profiling

Loading profile data...