Details

Time bar (total: 2.4s)

sample21.0ms

Algorithm
intervals
Results
10.0ms328×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.1b

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.5b
(* (/ x y) z)

rewrite26.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)
42.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
25.0ms
(* (/ x y) z)

simplify43.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0399743
11422683
25001668

prune295.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
3.4b
(* (/ x y) (- 1 z))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
25×*-un-lft-identity
22×add-cube-cbrt
18×prod-diff
13×associate-*l*
11×distribute-rgt-in distribute-lft-in
10×times-frac
add-exp-log add-cbrt-cube
associate-*r*
pow1
expm1-log1p-u frac-times sub-neg flip3-- associate-*r/ prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp difference-of-squares unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv distribute-lft-out--
Counts
2 → 73
Calls
2 calls:
1.0ms
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
10.0ms
(* (/ x y) (- 1 z))

series89.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
42.0ms
(* (/ x y) (- 1 z))

simplify41.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0402603
11761405
25002402

prune165.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (+ x 4.0) (/ 1 y) (- (* (/ x y) z)))
3.5b
(* (/ x y) z)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
pow1
associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv
Counts
2 → 44
Calls
2 calls:
1.0ms
(fma (+ x 4.0) (/ 1 y) (- (* (/ x y) z)))
6.0ms
(* (/ x y) z)

series65.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(fma (+ x 4.0) (/ 1 y) (- (* (/ x y) z)))
20.0ms
(* (/ x y) z)

simplify60.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0191242
1672210
22619206
35001199

prune142.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
9.3b
(cbrt (/ x y))
9.3b
(cbrt (/ x y))
9.3b
(cbrt (/ x y))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
39×cbrt-prod
27×times-frac
25×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×pow1 add-exp-log
15×cbrt-div
10×add-cbrt-cube
associate-*l/
pow-prod-down prod-exp cbrt-unprod
frac-times
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r/ div-inv
associate-*r* associate-*l* *-commutative
Counts
4 → 103
Calls
4 calls:
18.0ms
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
2.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))

series202.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
61.0ms
(cbrt (/ x y))
62.0ms
(cbrt (/ x y))
58.0ms
(cbrt (/ x y))

simplify67.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0270794
1819672
23040622
35001583

prune331.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes88.0ms

Accuracy

88.2% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.5b

bsearch87.0ms

Steps
ItersRangePoint
9
166951548.0487144
3755575935281402.0
2083989822.488266
10
-3.0114919178034e+62
-5.310717090027774e+52
-7.609461543067301e+55

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample511.0ms

Algorithm
intervals
Results
301.0ms10098×body80valid