Details

Time bar (total: 4.7s)

sample1.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 38.955688%

Guaranteed chance to sample good point: 65.13023%

Results
12.0ms256×body80valid
2.0ms53×body80nan

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1337
2427
3447
4447

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.3b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ (* x y) (* x z))
1.2b
(+ (+ (* x y) (* x z)) (* y z))
17.4b
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sum-log
add-exp-log flip3-+ sqrt-prod add-cbrt-cube flip-+
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 distribute-lft-out
Counts
3 → 40
Calls
3 calls:
3.0ms
(+ (* x y) (* x z))
6.0ms
(+ (+ (* x y) (* x z)) (* y z))
5.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

series46.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ (* x y) (* x z))
7.0ms
(+ (+ (* x y) (* x z)) (* y z))
33.0ms
(sqrt (+ (+ (* x y) (* x z)) (* y z)))

simplify121.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0256358
1972331
23980326
35002326

prune83.0ms

Filtered
38 candidates to 49 candidates (-28.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New44549
Fresh000
Picked101
Done000
Total45550

Merged error: 18.3b

Counts
50 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ y z))
1.2b
(+ (* x (+ y z)) (* y z))
17.4b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite19.0ms

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

series48.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(* x (+ y z))
7.0ms
(+ (* x (+ y z)) (* y z))
33.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify39.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0281332
11182313
25001312

prune90.0ms

Filtered
43 candidates to 60 candidates (-39.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New54660
Fresh404
Picked011
Done000
Total58765

Merged error: 18.3b

Counts
65 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (* x (+ y z)) (* y z))
1.2b
(+ (* x (+ y z)) (* y z))
17.4b
(sqrt (+ (* x (+ y z)) (* y z)))
17.4b
(sqrt (+ (* x (+ y z)) (* y z)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log associate-+l+ flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative distribute-rgt-in rem-sqrt-square distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 56
Calls
4 calls:
6.0ms
(+ (* x (+ y z)) (* y z))
8.0ms
(+ (* x (+ y z)) (* y z))
5.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
6.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (* x (+ y z)) (* y z))
7.0ms
(+ (* x (+ y z)) (* y z))
32.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
33.0ms
(sqrt (+ (* x (+ y z)) (* y z)))

simplify88.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0191502
1680474
22965472
35002472

prune101.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh145
Picked101
Done011
Total69675

Merged error: 18.3b

Counts
75 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (* x (+ y z)) (* y z))
1.4b
(+ (* x y) (* z (+ x y)))
17.4b
(sqrt (+ (* x (+ y z)) (* y z)))
17.4b
(sqrt (+ (* x y) (* z (+ x y))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative distribute-rgt-in rem-sqrt-square associate-+l+ associate-+r+ distribute-lft-in sqrt-pow1 pow1/2 sum-log
Counts
4 → 56
Calls
4 calls:
6.0ms
(+ (* x (+ y z)) (* y z))
4.0ms
(+ (* x y) (* z (+ x y)))
8.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
4.0ms
(sqrt (+ (* x y) (* z (+ x y))))

series81.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+ (* x (+ y z)) (* y z))
7.0ms
(+ (* x y) (* z (+ x y)))
32.0ms
(sqrt (+ (* x (+ y z)) (* y z)))
33.0ms
(sqrt (+ (* x y) (* z (+ x y))))

simplify40.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0291501
11186473
25001473

prune87.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh044
Picked011
Done011
Total67774

Merged error: 18.3b

Counts
74 → 7

regimes184.0ms

Accuracy

0% (0.1b remaining)

Error of 19.8b against oracle of 19.7b and baseline of 19.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 38.955688%

Guaranteed chance to sample good point: 65.13023%

Results
377.0ms8000×body80valid
86.0ms1835×body80nan

Profiling

Loading profile data...