Details

Time bar (total: 2.7s)

sample21.0ms

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.5b

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

series90.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune189.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.5b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
2.3b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log
21×add-cbrt-cube
18×pow1 add-sqr-sqrt
17×prod-exp cbrt-unprod
15×add-cube-cbrt *-un-lft-identity
14×associate-*l*
10×times-frac
cbrt-prod pow-prod-down
associate-*r*
cbrt-undiv div-exp add-log-exp
associate-*l/
pow1/3 *-commutative unswap-sqr
div-inv
Counts
4 → 86
Calls
4 calls:
0.0ms
(cbrt z)
0.0ms
(cbrt z)
42.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
14.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series492.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt z)
174.0ms
(cbrt z)
41.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
108.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0338616
11545447
25002401

prune259.0ms

Filtered
98 candidates to 69 candidates (70.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite53.0ms

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

series67.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(- (+ x 4.0) (* x z))
44.0ms
(/ (- (+ x 4.0) (* x z)) y)

simplify82.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0206339
1735314
23242314
35001314

prune107.0ms

Filtered
50 candidates to 37 candidates (74.0%)
Pruning

5 alts after pruning (2 fresh and 3 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.5b
(* x (/ z y))

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

series88.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0349430
11432403
25001403

prune176.0ms

Filtered
88 candidates to 61 candidates (69.3%)
Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes128.0ms

Accuracy

64.2% (0.6b remaining)

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

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02621
12621

end0.0ms

sample519.0ms

Algorithm
intervals
Results
303.0ms10024×body80valid