Details

Time bar (total: 3.5s)

sample819.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 11.444092%

Guaranteed chance to sample good point: 83.54125%

Results
7.0ms256×body80valid
1.0ms20×body80invalid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1204
2344
3514
4584
5644
6814
71124
81594
92734
103704
114284
124504
134654
144654

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- x 1.0) z)
0.0b
(+ (* x y) (* (- x 1.0) z))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
associate-*l/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 33
Calls
2 calls:
6.0ms
(* (- x 1.0) z)
4.0ms
(+ (* x y) (* (- x 1.0) z))

series12.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* (- x 1.0) z)
7.0ms
(+ (* x y) (* (- x 1.0) z))

simplify100.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0187183
1775166
24041166
35001166

prune50.0ms

Filtered
28 candidates to 39 candidates (-39.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New37239
Fresh000
Picked011
Done000
Total37340

Merged error: 0.0b

Counts
40 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
3.8b
(* (- (* x x) (* 1.0 1.0)) z)
5.9b
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
times-frac associate-*l* associate-*l/ associate-/r*
associate-*r*
cbrt-undiv flip3-- flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/ distribute-lft-out
+-commutative frac-2neg pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* difference-of-squares unswap-sqr
Counts
3 → 59
Calls
3 calls:
6.0ms
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
6.0ms
(* (- (* x x) (* 1.0 1.0)) z)
9.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

series28.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(+ (* x y) (/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0)))
6.0ms
(* (- (* x x) (* 1.0 1.0)) z)
8.0ms
(/ (* (- (* x x) (* 1.0 1.0)) z) (+ x 1.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0370531
11763466
25001457

prune78.0ms

Filtered
48 candidates to 68 candidates (-41.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh011
Picked011
Done011
Total68371

Merged error: 0.0b

Counts
71 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x y) (* (- x 1.0) z))
0.0b
(sqrt (+ (* x y) (* (- x 1.0) z)))
0.0b
(sqrt (+ (* x y) (* (- x 1.0) z)))
0.3b
(* (sqrt (+ (* x y) (* (- x 1.0) z))) (sqrt (+ (* x y) (* (- x 1.0) z))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
4.0ms
(+ (* x y) (* (- x 1.0) z))
3.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
3.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
10.0ms
(* (sqrt (+ (* x y) (* (- x 1.0) z))) (sqrt (+ (* x y) (* (- x 1.0) z))))

series54.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* x y) (* (- x 1.0) z))
18.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
18.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
10.0ms
(* (sqrt (+ (* x y) (* (- x 1.0) z))) (sqrt (+ (* x y) (* (- x 1.0) z))))

simplify44.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0266940
11018860
25001834

prune130.0ms

Filtered
65 candidates to 110 candidates (-69.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1091110
Fresh000
Picked011
Done022
Total1094113

Merged error: 0b

Counts
113 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (* x y) (* (- x 1.0) z)))
0.2b
(pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3)
0.3b
(* (sqrt (+ (* x y) (* (- x 1.0) z))) (cbrt (pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3)))
11.5b
(cbrt (pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
48×cbrt-prod
35×sqrt-prod
23×add-cube-cbrt *-un-lft-identity
22×unpow-prod-down cube-prod
21×associate-*r*
18×sqrt-div
14×unswap-sqr
10×cube-div
pow1 flip3-+ flip-+
cbrt-div
add-exp-log
associate-*l* add-cbrt-cube
sqr-pow
frac-times add-log-exp
cube-mult pow-unpow pow-pow unpow3
sqrt-pow1 pow1/2 associate-*r/ associate-*l/
pow-to-exp rem-sqrt-square pow1/3 pow-prod-down pow-exp prod-exp *-commutative sqrt-pow2 rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 138
Calls
4 calls:
3.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
5.0ms
(pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3)
14.0ms
(* (sqrt (+ (* x y) (* (- x 1.0) z))) (cbrt (pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3)))
5.0ms
(cbrt (pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3))

series192.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(sqrt (+ (* x y) (* (- x 1.0) z)))
144.0ms
(pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3)
11.0ms
(* (sqrt (+ (* x y) (* (- x 1.0) z))) (cbrt (pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3)))
18.0ms
(cbrt (pow (sqrt (+ (* x y) (* (- x 1.0) z))) 3))

simplify60.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03891702
115301347
250011267

prune173.0ms

Filtered
78 candidates to 150 candidates (-92.3%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1500150
Fresh000
Picked011
Done033
Total1504154

Merged error: 0b

Counts
154 → 4

regimes203.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0114
1114

end0.0ms

sample1.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 11.444092%

Guaranteed chance to sample good point: 83.54125%

Results
240.0ms8000×body80valid
27.0ms951×body80invalid

Profiling

Loading profile data...