Details

Time bar (total: 4.9s)

sample1.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 10.562134%

Guaranteed chance to sample good point: 72.740301%

Results
8.0ms256×body80valid
1.0ms28×body80invalid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0114
1184
2324
3474
4574
5754
61094
71784
83974
913694
1050014

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.8b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* y (- z x))
0.0b
(+ x (* y (- z x)))
8.3b
(/ (+ x (* y (- z x))) z)

rewrite18.0ms

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

series23.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(* y (- z x))
7.0ms
(+ x (* y (- z x)))
10.0ms
(/ (+ x (* y (- z x))) z)

simplify113.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0259420
11042388
24770388
35001388

prune256.0ms

Filtered
54 candidates to 79 candidates (-46.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75479
Fresh000
Picked101
Done000
Total76480

Merged error: 3.3b

Counts
80 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x z) y)
0.0b
(- (+ (/ x z) y) (/ (* x y) z))
6.1b
(/ (* x y) z)

rewrite21.0ms

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

series17.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0253328
11102308
25001304

prune65.0ms

Filtered
41 candidates to 61 candidates (-48.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New60161
Fresh033
Picked011
Done000
Total60565

Merged error: 0b

Counts
65 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x z) y)
0.0b
(- (+ (/ x z) y) (* x (/ y z)))
6.8b
(* x (/ y z))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×*-un-lft-identity associate-*r*
11×add-cube-cbrt
10×times-frac add-log-exp
add-exp-log add-cbrt-cube
pow1
associate-*r/ associate-*l*
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
cbrt-undiv +-commutative sub-neg flip3-- div-exp pow-prod-down associate--l+ *-commutative flip-- div-inv distribute-lft-out
Counts
3 → 60
Calls
3 calls:
7.0ms
(+ (/ x z) y)
8.0ms
(- (+ (/ x z) y) (* x (/ y z)))
7.0ms
(* x (/ y z))

series17.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0311352
11363332
25002328

prune64.0ms

Filtered
46 candidates to 69 candidates (-50.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh033
Picked011
Done011
Total69574

Merged error: 0b

Counts
74 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
8.3b
(/ (+ x (* (* (cbrt y) (cbrt y)) (* (cbrt y) (- z x)))) z)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
pow1/3 associate-/r* associate-/l*
associate-/l/
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
Counts
4 → 62
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)
6.0ms
(/ (+ x (* (* (cbrt y) (cbrt y)) (* (cbrt y) (- z x)))) z)

series80.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt y)
22.0ms
(cbrt y)
21.0ms
(cbrt y)
16.0ms
(/ (+ x (* (* (cbrt y) (cbrt y)) (* (cbrt y) (- z x)))) z)

simplify84.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0210609
1672555
22805520
35002506

prune67.0ms

Filtered
58 candidates to 74 candidates (-27.6%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh022
Picked011
Done022
Total74579

Merged error: 0b

Counts
79 → 5

regimes239.0ms

Accuracy

82% (0.6b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
8
7.445071848133084e-120
2.0044519881584103e-115
1.5065005487170533e-115
7
-7.123138986255774e+123
-3.482822058169624e+121
-9.942164469417033e+122

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12310

end0.0ms

sample2.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 10.562134%

Guaranteed chance to sample good point: 72.740301%

Results
253.0ms8000×body80valid
36.0ms972×body80invalid

Profiling

Loading profile data...