Details

Time bar (total: 9.2s)

sample3.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 13.259888%

Guaranteed chance to sample good point: 82.514161%

Results
9.0ms256×body80valid
1.0ms21×body80invalid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.2b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
0.0b
(/ (+ x 4.0) y)
4.2b
(* (/ x y) z)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r* associate-*l/ associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
8.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
5.0ms
(/ (+ x 4.0) y)
9.0ms
(* (/ x y) z)

series19.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
4.0ms
(/ (+ x 4.0) y)
6.0ms
(* (/ x y) z)

simplify115.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24964394
35001394

prune140.0ms

Filtered
63 candidates to 88 candidates (-39.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New81788
Fresh000
Picked101
Done000
Total82789

Merged error: 0.0b

Counts
89 → 7

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ (+ x 4.0) y) (/ (* x z) y))
0.0b
(/ (+ x 4.0) y)
5.1b
(/ (* x z) y)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
16×times-frac
14×add-cube-cbrt
10×add-exp-log add-cbrt-cube
associate-/r*
associate-/l* add-log-exp
div-inv distribute-lft-out
pow1 cbrt-undiv div-exp
frac-2neg clear-num associate-/l/ difference-of-squares
sub-neg flip3-- distribute-rgt-out-- flip3-+ diff-log prod-exp frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out-- sub-div
Counts
3 → 72
Calls
3 calls:
12.0ms
(- (/ (+ x 4.0) y) (/ (* x z) y))
5.0ms
(/ (+ x 4.0) y)
4.0ms
(/ (* x z) y)

series18.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(- (/ (+ x 4.0) y) (/ (* x z) y))
4.0ms
(/ (+ x 4.0) y)
5.0ms
(/ (* x z) y)

simplify34.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0300420
11150393
25001393

prune108.0ms

Filtered
55 candidates to 81 candidates (-47.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New78381
Fresh426
Picked101
Done000
Total83588

Merged error: 0b

Counts
88 → 5

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (* x z) (/ 1 y)))
5.1b
(* (* x z) (/ 1 y))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log *-un-lft-identity
21×times-frac
19×add-sqr-sqrt add-cube-cbrt
17×add-cbrt-cube
13×associate-*r*
12×prod-exp
pow1
cbrt-unprod
div-exp add-log-exp
distribute-lft-out associate-/l*
cbrt-undiv associate-*r/ pow-prod-down associate-/r* un-div-inv div-inv
rec-exp 1-exp frac-sub associate-/l/ sub-div
sub-neg flip3-- distribute-rgt-out-- frac-2neg flip3-+ diff-log associate-*l* clear-num *-commutative flip-- flip-+
Counts
3 → 88
Calls
3 calls:
5.0ms
(/ (+ x 4.0) y)
9.0ms
(- (/ (+ x 4.0) y) (* (* x z) (/ 1 y)))
8.0ms
(* (* x z) (/ 1 y))

series21.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ (+ x 4.0) y)
9.0ms
(- (/ (+ x 4.0) y) (* (* x z) (/ 1 y)))
8.0ms
(* (* x z) (/ 1 y))

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0437507
11944451
25002436

prune111.0ms

Filtered
60 candidates to 97 candidates (-61.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done000
Total975102

Merged error: 0b

Counts
102 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (+ x 4.0) y) (/ 1 (/ y (* x z))))
0.0b
(/ (+ x 4.0) y)
0.4b
(/ 1 (/ y (* x z)))
5.1b
(/ y (* x z))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
59×times-frac
53×*-un-lft-identity
48×add-sqr-sqrt
32×add-exp-log
31×add-cube-cbrt
20×add-cbrt-cube
15×div-exp
11×associate-/r*
10×associate-/l*
cbrt-undiv div-inv
add-log-exp difference-of-squares
pow1 distribute-lft-out
prod-exp distribute-lft-out--
rec-exp frac-2neg 1-exp clear-num
cbrt-unprod associate-/l/
sub-neg flip3-- pow-flip flip3-+ diff-log associate-/r/ frac-sub flip-- flip-+ inv-pow
Counts
4 → 133
Calls
4 calls:
24.0ms
(- (/ (+ x 4.0) y) (/ 1 (/ y (* x z))))
5.0ms
(/ (+ x 4.0) y)
6.0ms
(/ 1 (/ y (* x z)))
4.0ms
(/ y (* x z))

series27.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (/ (+ x 4.0) y) (/ 1 (/ y (* x z))))
4.0ms
(/ (+ x 4.0) y)
8.0ms
(/ 1 (/ y (* x z)))
5.0ms
(/ y (* x z))

simplify55.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0471847
12145729
25002722

prune130.0ms

Filtered
83 candidates to 145 candidates (-74.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1450145
Fresh033
Picked011
Done011
Total1455150

Merged error: 0b

Counts
150 → 5

regimes165.0ms

Accuracy

35.1% (2.2b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
7
9.774962464997371e-154
4.3330685936022e-152
4.2510798617965315e-152

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02413
12413

end0.0ms

sample4.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 13.259888%

Guaranteed chance to sample good point: 82.514161%

Results
324.0ms8000×body80valid
31.0ms751×body80invalid

Profiling

Loading profile data...