Details

Time bar (total: 2.8s)

sample20.0ms

Algorithm
intervals
Results
9.0ms335×body80valid

simplify13.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.7b

localize8.0ms

Local error

Found 3 expressions with local error:

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

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

series93.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0399743
11422683
25001668

prune278.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity associate-*l*
10×times-frac
add-exp-log add-cbrt-cube
pow1 add-log-exp
expm1-log1p-u fma-neg associate-*r* prod-diff log1p-expm1-u
prod-exp cbrt-unprod fma-udef unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down associate-*l/ associate--l+ *-commutative flip-- div-inv
Counts
3 → 65
Calls
3 calls:
2.0ms
(- (fma 4.0 (/ 1 y) (/ x y)) (* (/ x y) z))
0.0ms
(fma 4.0 (/ 1 y) (/ x y))
7.0ms
(* (/ x y) z)

series99.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(- (fma 4.0 (/ 1 y) (/ x y)) (* (/ x y) z))
29.0ms
(fma 4.0 (/ 1 y) (/ x y))
21.0ms
(* (/ x y) z)

simplify112.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0248404
1954367
24828355
35001346

prune199.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.7b
(* (/ (cbrt x) y) z)
3.7b
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
66×add-exp-log
35×add-cbrt-cube
33×prod-exp
30×add-sqr-sqrt
29×associate-*l*
23×times-frac
22×add-cube-cbrt *-un-lft-identity
20×cbrt-unprod
18×div-exp
16×cbrt-prod
11×pow1
10×cbrt-undiv
1-exp
expm1-log1p-u associate-*r* pow-prod-down associate-*l/ log1p-expm1-u add-log-exp
unswap-sqr
pow1/3 *-commutative div-inv
frac-times associate-*r/
Counts
4 → 117
Calls
4 calls:
1.0ms
(cbrt x)
0.0ms
(cbrt x)
10.0ms
(* (/ (cbrt x) y) z)
23.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

series520.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(cbrt x)
182.0ms
(cbrt x)
116.0ms
(* (/ (cbrt x) y) z)
49.0ms
(* (/ (* (cbrt x) (cbrt x)) 1) (* (/ (cbrt x) y) z))

simplify64.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0479791
12318609
25002552

prune362.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity prod-diff
19×add-cube-cbrt
12×times-frac
add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1 expm1-log1p-u fma-neg associate-/r* log1p-expm1-u
cbrt-undiv div-exp fma-udef
sub-neg flip3-- frac-2neg diff-log prod-exp associate--l+ clear-num flip-- cbrt-unprod associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 74
Calls
3 calls:
5.0ms
(- (fma 4.0 (/ 1 y) (/ x y)) (/ (* x z) y))
0.0ms
(fma 4.0 (/ 1 y) (/ x y))
3.0ms
(/ (* x z) y)

series96.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(- (fma 4.0 (/ 1 y) (/ x y)) (/ (* x z) y))
27.0ms
(fma 4.0 (/ 1 y) (/ x y))
19.0ms
(/ (* x z) y)

simplify46.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0318878
11365653
25001651

prune175.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes70.0ms

Accuracy

0% (1.6b remaining)

Error of 1.7b against oracle of 0.0b and baseline of 1.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample489.0ms

Algorithm
intervals
Results
287.0ms10135×body80valid