Details

Time bar (total: 3.5s)

sample22.0ms

Algorithm
intervals
Results
11.0ms321×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.6b

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

rewrite27.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:
5.0ms
(/ (+ x 4.0) y)
11.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series91.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0399743
11422683
25001668

prune280.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
25×*-un-lft-identity
22×add-cube-cbrt
18×prod-diff
13×associate-*l*
11×distribute-rgt-in distribute-lft-in
10×times-frac
add-exp-log add-cbrt-cube
associate-*r*
pow1
expm1-log1p-u frac-times sub-neg flip3-- associate-*r/ prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp difference-of-squares unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative fma-udef div-inv distribute-lft-out--
Counts
2 → 73
Calls
2 calls:
1.0ms
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
10.0ms
(* (/ x y) (- 1 z))

series88.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(fma 4.0 (/ 1 y) (* (/ x y) (- 1 z)))
42.0ms
(* (/ x y) (- 1 z))

simplify41.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0402603
11761405
25002402

prune160.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.4b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
1.9b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite26.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 expm1-log1p-u div-exp log1p-expm1-u add-log-exp
associate-*l/
pow1/3 *-commutative unswap-sqr
div-inv
Counts
4 → 94
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
12.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
9.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series489.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt z)
167.0ms
(cbrt z)
46.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
107.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify46.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0344652
11553478
25002431

prune309.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.4b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z))))
1.9b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
57×add-exp-log
35×add-cbrt-cube
33×prod-exp cbrt-unprod
30×pow1
18×pow-prod-down
16×add-sqr-sqrt
14×associate-*l*
13×add-cube-cbrt *-un-lft-identity
10×times-frac
cbrt-undiv cbrt-prod div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l/
pow1/3 associate-*r* *-commutative unswap-sqr
div-inv
Counts
4 → 102
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
15.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z))))
9.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series533.0ms

Counts
4 → 12
Calls
4 calls:
199.0ms
(cbrt z)
176.0ms
(cbrt z)
43.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (* (cbrt (* (cbrt z) (cbrt z))) (cbrt (cbrt z))))
115.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify72.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
04121064
11837769
25002721

prune378.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes117.0ms

Accuracy

85.4% (0.2b remaining)

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

bsearch61.0ms

Steps
ItersRangePoint
3
3.305079171899502e-82
3.995605072536917e-82
3.6071842534283706e-82
10
-1.1767907291362438e+65
-3.867614672345071e+48
-6.854015064451374e+56

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample566.0ms

Algorithm
intervals
Results
347.0ms10036×body80valid