Details

Time bar (total: 4.6s)

sample21.0ms

Algorithm
intervals
Results
10.0ms323×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2426
3496
4556
5616
6636
7636

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.8b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r* associate-*l/ associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod 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 → 117
Calls
3 calls:
6.0ms
(/ (+ x 4.0) y)
15.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
7.0ms
(* (/ x y) z)

series103.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ (+ x 4.0) y)
44.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
22.0ms
(* (/ x y) z)

simplify46.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0399743
11422683
25001668

prune305.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

4.0b
(* (/ x y) z)
13.3b
(cbrt (* (/ x y) z))
13.3b
(cbrt (* (/ x y) z))
13.3b
(cbrt (* (/ x y) z))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×associate-*l*
12×add-cube-cbrt *-un-lft-identity
10×times-frac
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
cbrt-prod cbrt-div pow1/3 associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
Counts
4 → 70
Calls
4 calls:
6.0ms
(* (/ x y) z)
4.0ms
(cbrt (* (/ x y) z))
7.0ms
(cbrt (* (/ x y) z))
4.0ms
(cbrt (* (/ x y) z))

series275.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (/ x y) z)
83.0ms
(cbrt (* (/ x y) z))
79.0ms
(cbrt (* (/ x y) z))
87.0ms
(cbrt (* (/ x y) z))

simplify57.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0222383
1730335
22840307
35001303

prune251.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.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))
5.9b
(/ (* x z) y)

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
168×*-un-lft-identity
160×times-frac
115×add-sqr-sqrt
112×prod-diff
110×add-cube-cbrt
28×div-inv distribute-lft-out
16×fma-neg
10×add-exp-log add-cbrt-cube
associate-/r*
associate-/l* add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
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 → 206
Calls
3 calls:
6.0ms
(/ (+ x 4.0) y)
20.0ms
(- (/ (+ x 4.0) y) (/ (* x z) y))
5.0ms
(/ (* x z) y)

series95.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05893240
120582330
250012301

prune348.0ms

Pruning

6 alts after pruning (5 fresh and 1 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 (/ y z)))
5.7b
(/ x (/ y z))

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
1696×times-frac
1263×*-un-lft-identity
995×add-sqr-sqrt
974×add-cube-cbrt
704×prod-diff
140×distribute-lft-out
115×div-inv
17×associate-/r/
16×fma-neg associate-/r*
10×add-exp-log add-cbrt-cube
associate-/l*
difference-of-squares
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u distribute-lft-out--
frac-2neg clear-num associate-/l/
sub-neg flip3-- flip3-+ diff-log frac-sub flip-- flip-+
Counts
3 → 851
Calls
3 calls:
6.0ms
(/ (+ x 4.0) y)
56.0ms
(- (/ (+ x 4.0) y) (/ x (/ y z)))
6.0ms
(/ x (/ y z))

series102.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ x 4.0) y)
45.0ms
(- (/ (+ x 4.0) y) (/ x (/ y z)))
29.0ms
(/ x (/ y z))

simplify358.0ms

Algorithm
egg-herbie
Counts
860 → 860
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0227327297
1500121297

prune1.6s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

regimes123.0ms

Accuracy

85.4% (0.2b remaining)

Error of 0.3b 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

sample529.0ms

Algorithm
intervals
Results
310.0ms10106×body80valid