Details

Time bar (total: 4.6s)

sample19.0ms

Algorithm
intervals
Results
9.0ms323×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2426
3496
4556
5616
6636
7636

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.8b

localize7.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)

rewrite25.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:
5.0ms
(/ (+ x 4.0) y)
10.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series91.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ (+ x 4.0) y)
41.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
24.0ms
(* (/ x y) z)

simplify45.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0399743
11422683
25001668

prune281.0ms

Filtered
126 candidates to 89 candidates (70.6%)
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))

rewrite20.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))
4.0ms
(cbrt (* (/ x y) z))
4.0ms
(cbrt (* (/ x y) z))

series268.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (/ x y) z)
80.0ms
(cbrt (* (/ x y) z))
82.0ms
(cbrt (* (/ x y) z))
85.0ms
(cbrt (* (/ x y) z))

simplify57.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0222383
1730335
22840307
35001303

prune397.0ms

Filtered
82 candidates to 63 candidates (76.8%)
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)

rewrite40.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:
8.0ms
(/ (+ x 4.0) y)
16.0ms
(- (/ (+ x 4.0) y) (/ (* x z) y))
4.0ms
(/ (* x z) y)

series110.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05893240
120582330
250012301

prune323.0ms

Filtered
215 candidates to 102 candidates (47.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize10.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))

rewrite158.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:
5.0ms
(/ (+ x 4.0) y)
55.0ms
(- (/ (+ x 4.0) y) (/ x (/ y z)))
6.0ms
(/ x (/ y z))

series93.0ms

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

simplify208.0ms

Algorithm
egg-herbie
Counts
860 → 860
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
0227327297
1500121297

prune1.7s

Filtered
860 candidates to 375 candidates (43.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

regimes119.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

sample494.0ms

Algorithm
intervals
Results
285.0ms10106×body80valid