Details

Time bar (total: 2.6s)

sample23.0ms

Algorithm
intervals
Results
12.0ms342×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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.7b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series96.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0341425
11212395
24964394
35001394

prune193.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 0.0b

Counts
89 → 6

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×associate-*r/
10×add-cube-cbrt times-frac frac-add
add-exp-log add-cbrt-cube
frac-times flip3-- associate-*r* flip--
un-div-inv
pow1 distribute-rgt-in sub-neg associate-+l+ distribute-lft-in add-log-exp
associate-*l/
prod-exp cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv distribute-lft-out--
Counts
2 → 68
Calls
2 calls:
9.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
9.0ms
(* (/ x y) (- 1 z))

series84.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0416496
11863440
25001435

prune137.0ms

Filtered
74 candidates to 50 candidates (67.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New74074
Fresh055
Picked011
Done000
Total74680

Merged error: 0.0b

Counts
80 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
2.0b
(* (/ x (cbrt y)) z)
4.6b
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
87×add-exp-log
46×prod-exp
35×add-cbrt-cube
30×add-sqr-sqrt
29×associate-*l*
23×times-frac
22×add-cube-cbrt *-un-lft-identity
20×div-exp cbrt-unprod
16×cbrt-prod
11×pow1
10×cbrt-undiv
rec-exp 1-exp
associate-*r* pow-prod-down associate-*l/ add-log-exp
unswap-sqr
pow1/3 *-commutative div-inv
frac-times associate-*r/
Counts
4 → 115
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
8.0ms
(* (/ x (cbrt y)) z)
15.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

series547.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(cbrt y)
175.0ms
(cbrt y)
111.0ms
(* (/ x (cbrt y)) z)
55.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (cbrt y)) z))

simplify55.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0478843
12160646
25001558

prune260.0ms

Filtered
127 candidates to 81 candidates (63.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1261127
Fresh044
Picked011
Done011
Total1267133

Merged error: 0b

Counts
133 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
2.0b
(* (/ x (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y)))) z)
4.6b
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y)))) z))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
131×add-exp-log
72×prod-exp
51×add-cbrt-cube
32×div-exp cbrt-unprod
16×cbrt-undiv
14×associate-*l*
13×add-sqr-sqrt
11×pow1 add-cube-cbrt *-un-lft-identity
rec-exp 1-exp
cbrt-prod times-frac
associate-*r* pow-prod-down associate-*l/ add-log-exp
pow1/3 *-commutative div-inv
frac-times associate-*r/ unswap-sqr
Counts
4 → 110
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
9.0ms
(* (/ x (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y)))) z)
16.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y)))) z))

series502.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt y)
175.0ms
(cbrt y)
108.0ms
(* (/ x (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y)))) z)
48.0ms
(* (/ 1 (* (cbrt y) (cbrt y))) (* (/ x (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y)))) z))

simplify65.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05461553
126731142
250011077

prune254.0ms

Filtered
122 candidates to 67 candidates (54.9%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1220122
Fresh044
Picked011
Done022
Total1227129

Merged error: 0b

Counts
129 → 7

regimes91.0ms

bsearch2.0ms

Profiling

Loading profile data...