Details

Time bar (total: 3.0s)

sample19.0ms

Algorithm
intervals
Results
9.0ms311×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite47.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:
7.0ms
(/ (+ x 4.0) y)
29.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
7.0ms
(* (/ x y) z)

series96.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ x 4.0) y)
47.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
21.0ms
(* (/ x y) z)

simplify115.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune191.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

2.9b
(/ (- (+ x 4.0) (* x z)) y)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
associate-/l/
pow1 cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- div-inv add-log-exp
Counts
1 → 30
Calls
1 calls:
33.0ms
(/ (- (+ x 4.0) (* x z)) y)

series48.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0166252
1579234
22446234
35002234

prune76.0ms

Filtered
33 candidates to 26 candidates (78.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*r*
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)
26.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
10.0ms
(* x (/ z y))

series90.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ (+ x 4.0) y)
45.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
19.0ms
(* x (/ z y))

simplify40.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0349430
11432403
25001403

prune193.0ms

Filtered
88 candidates to 61 candidates (69.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
0.0ms
(cbrt x)
0.0ms
(cbrt x)
1.0ms
(cbrt x)

series748.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(* (cbrt x) (cbrt x))
177.0ms
(cbrt x)
181.0ms
(cbrt x)
178.0ms
(cbrt x)

simplify88.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0115288
1472261
22959238
35003235

prune374.0ms

Filtered
85 candidates to 64 candidates (75.3%)
Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes133.0ms

Accuracy

95.4% (0.1b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample509.0ms

Algorithm
intervals
Results
293.0ms10091×body80valid