Details

Time bar (total: 3.5s)

sample21.0ms

Algorithm
intervals
Results
10.0ms324×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.2b

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

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

series96.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (+ x 4.0) y)
47.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
22.0ms
(* (/ x y) z)

simplify43.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0399743
11422683
25001668

prune280.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

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

series750.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt z)
181.0ms
(cbrt z)
275.0ms
(cbrt z)
120.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify131.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0255402
1952317
24648303
35001298

prune271.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
8.4b
(cbrt (/ x y))
8.4b
(cbrt (/ x y))
8.4b
(cbrt (/ x y))

rewrite38.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:
30.0ms
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
1.0ms
(cbrt (/ x y))
1.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))

series227.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (* (cbrt (/ x y)) (cbrt (/ x y))) (* (cbrt (/ x y)) z))
61.0ms
(cbrt (/ x y))
68.0ms
(cbrt (/ x y))
69.0ms
(cbrt (/ x y))

simplify69.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0270794
1819672
23040622
35001583

prune322.0ms

Pruning

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

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

series91.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0409748
11644688
25001677

prune275.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0b

regimes177.0ms

Accuracy

86.1% (0.2b remaining)

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

bsearch3.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample501.0ms

Algorithm
intervals
Results
298.0ms10132×body80valid