Details

Time bar (total: 4.4s)

sample21.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0114
1144
2144

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.9b

localize7.0ms

Local error

Found 1 expressions with local error:

6.9b
(/ (+ x y) (- 1.0 (/ y z)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
29×times-frac
13×add-cube-cbrt
10×difference-of-squares
distribute-lft-out
associate-/r*
distribute-lft-out--
associate-/l*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/
pow1 cbrt-undiv expm1-log1p-u flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 52
Calls
1 calls:
18.0ms
(/ (+ x y) (- 1.0 (/ y z)))

series59.0ms

Counts
1 → 3
Calls
1 calls:
59.0ms
(/ (+ x y) (- 1.0 (/ y z)))

simplify56.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0208432
1632414
21909414
35002414

prune129.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.7b

localize8.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ 1 (- 1.0 (/ y z)))
6.6b
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
45×times-frac
41×*-un-lft-identity
24×add-cube-cbrt associate-*r*
15×add-exp-log
14×difference-of-squares
add-cbrt-cube
distribute-lft-out--
associate-/r*
pow1
div-exp associate-*l* prod-exp associate-/r/
associate-/l* unswap-sqr
cbrt-undiv expm1-log1p-u frac-times rec-exp flip3-- flip3-+ 1-exp associate-*l/ flip-- cbrt-unprod flip-+ log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative distribute-lft-out inv-pow
Counts
2 → 101
Calls
2 calls:
13.0ms
(/ 1 (- 1.0 (/ y z)))
42.0ms
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

series104.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ 1 (- 1.0 (/ y z)))
58.0ms
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

simplify49.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0351684
11631607
25001557

prune212.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.7b

localize14.0ms

Local error

Found 4 expressions with local error:

1.9b
(/ (* (cbrt (+ x y)) (cbrt (+ x y))) (* (cbrt (- 1.0 (/ y z))) (cbrt (- 1.0 (/ y z)))))
7.2b
(cbrt (- 1.0 (/ y z)))
7.2b
(cbrt (- 1.0 (/ y z)))
7.2b
(cbrt (- 1.0 (/ y z)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-div
22×add-sqr-sqrt
18×cbrt-prod
16×add-exp-log
13×*-un-lft-identity
flip3-- flip--
frac-times associate-/r/ add-cbrt-cube associate-/l/
add-cube-cbrt
flip3-+ flip-+ difference-of-squares
pow1 cbrt-undiv expm1-log1p-u times-frac associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod log1p-expm1-u add-log-exp
pow1/3 distribute-lft-out--
frac-2neg clear-num associate-/r* div-inv associate-/l*
Counts
4 → 93
Calls
4 calls:
27.0ms
(/ (* (cbrt (+ x y)) (cbrt (+ x y))) (* (cbrt (- 1.0 (/ y z))) (cbrt (- 1.0 (/ y z)))))
6.0ms
(cbrt (- 1.0 (/ y z)))
6.0ms
(cbrt (- 1.0 (/ y z)))
6.0ms
(cbrt (- 1.0 (/ y z)))

series1.4s

Counts
4 → 12
Calls
4 calls:
475.0ms
(/ (* (cbrt (+ x y)) (cbrt (+ x y))) (* (cbrt (- 1.0 (/ y z))) (cbrt (- 1.0 (/ y z)))))
321.0ms
(cbrt (- 1.0 (/ y z)))
327.0ms
(cbrt (- 1.0 (/ y z)))
315.0ms
(cbrt (- 1.0 (/ y z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04881096
11337971
25002925

prune412.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.7b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 1.0) (* (/ y z) (/ y z)))
0.2b
(* (/ y z) (/ y z))
6.1b
(/ (+ x y) (- (* 1.0 1.0) (* (/ y z) (/ y z))))
13.0b
(* (/ (+ x y) (- (* 1.0 1.0) (* (/ y z) (/ y z)))) (+ 1.0 (/ y z)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
73×times-frac
72×*-un-lft-identity
69×add-sqr-sqrt
52×add-cube-cbrt
35×associate-*l*
23×add-exp-log add-cbrt-cube
17×associate-*r*
13×pow1 swap-sqr
10×distribute-lft-out difference-of-squares
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
expm1-log1p-u associate-/r* associate-/r/ log1p-expm1-u associate-/l*
frac-times flip3-- flip3-+ associate-*r/ flip-- flip-+
pow-prod-down associate-*l/ *-commutative associate-/l/
pow2 distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-plus fma-neg diff-log prod-diff clear-num pow-sqr pow-prod-up
Counts
4 → 178
Calls
4 calls:
3.0ms
(- (* 1.0 1.0) (* (/ y z) (/ y z)))
13.0ms
(* (/ y z) (/ y z))
11.0ms
(/ (+ x y) (- (* 1.0 1.0) (* (/ y z) (/ y z))))
49.0ms
(* (/ (+ x y) (- (* 1.0 1.0) (* (/ y z) (/ y z)))) (+ 1.0 (/ y z)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (* 1.0 1.0) (* (/ y z) (/ y z)))
29.0ms
(* (/ y z) (/ y z))
76.0ms
(/ (+ x y) (- (* 1.0 1.0) (* (/ y z) (/ y z))))
105.0ms
(* (/ (+ x y) (- (* 1.0 1.0) (* (/ y z) (/ y z)))) (+ 1.0 (/ y z)))

simplify125.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
08571670
146671508
250011508

prune454.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 4.7b

regimes155.0ms

Accuracy

74.6% (0.5b remaining)

Error of 6.6b against oracle of 6.1b and baseline of 8.1b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03628
13628

end0.0ms

sample626.0ms

Algorithm
intervals
Results
437.0ms7999×body80valid
0.0msbody1280valid