Details

Time bar (total: 2.2s)

sample22.0ms

Algorithm
intervals
Results
9.0ms325×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.9b

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

rewrite85.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:
18.0ms
(/ (+ x 4.0) y)
47.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
17.0ms
(* (/ x y) z)

series87.0ms

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

simplify119.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune196.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×associate-*r/
10×add-cube-cbrt times-frac frac-add
add-exp-log add-cbrt-cube
frac-times flip3-- associate-*r* flip--
un-div-inv
pow1 distribute-rgt-in sub-neg associate-+l+ distribute-lft-in add-log-exp
associate-*l/
prod-exp cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv distribute-lft-out--
Counts
2 → 68
Calls
2 calls:
17.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
28.0ms
(* (/ x y) (- 1 z))

series76.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
37.0ms
(* (/ x y) (- 1 z))

simplify51.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0416496
11863440
25001435

prune171.0ms

Pruning

5 alts after pruning (4 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 (/ z y)))
6.9b
(* x (/ z y))

rewrite80.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:
17.0ms
(/ (+ x 4.0) y)
48.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
12.0ms
(* x (/ z y))

series85.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25001403

prune207.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

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

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

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.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

prune71.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes77.0ms

Accuracy

91% (0.1b remaining)

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

bsearch72.0ms

Steps
ItersRangePoint
9
3.5460757390073244e-61
2.589985082272168e-53
6.107865634613209e-56
9
-1.3192299431227616e-20
-5.970814129027036e-26
-1.0719821882384945e-20

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03618
13618

end0.0ms

sample545.0ms

Algorithm
intervals
Results
279.0ms10090×body80valid