Details

Time bar (total: 2.8s)

sample20.0ms

Algorithm
intervals
Results
10.0ms336×body80valid

simplify111.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0275
1765
21685
32645
43545
54425
69125
724305
850015

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: 15.4b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* z z) (+ z 1.0))
14.9b
(/ (* x y) (* (* z z) (+ z 1.0)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log add-cbrt-cube
12×prod-exp cbrt-unprod
pow1
cbrt-undiv div-exp
*-un-lft-identity
add-sqr-sqrt associate-*r/ associate-*r*
add-cube-cbrt pow-prod-down
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in times-frac associate-*l* clear-num associate-/r* *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 51
Calls
2 calls:
7.0ms
(* (* z z) (+ z 1.0))
10.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

series119.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(* (* z z) (+ z 1.0))
67.0ms
(/ (* x y) (* (* z z) (+ z 1.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0380385
12326297
25001297

prune85.0ms

Filtered
57 candidates to 33 candidates (57.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New52557
Fresh000
Picked101
Done000
Total53558

Merged error: 9.2b

Counts
58 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ z 1.0))
7.6b
(* (/ x (* z z)) (/ y (+ z 1.0)))
7.9b
(/ x (* z z))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
34×add-sqr-sqrt times-frac
31×add-exp-log add-cbrt-cube
24×add-cube-cbrt
18×associate-*r*
10×cbrt-undiv div-exp
prod-exp cbrt-unprod
associate-*l* distribute-lft-out
associate-/l*
pow1 associate-/r*
associate-/r/ div-inv unswap-sqr
add-log-exp
frac-2neg flip3-+ clear-num flip-+
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
3 → 107
Calls
3 calls:
5.0ms
(/ y (+ z 1.0))
17.0ms
(* (/ x (* z z)) (/ y (+ z 1.0)))
4.0ms
(/ x (* z z))

series107.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ y (+ z 1.0))
49.0ms
(* (/ x (* z z)) (/ y (+ z 1.0)))
22.0ms
(/ x (* z z))

simplify60.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0523706
12630610
25002610

prune205.0ms

Filtered
116 candidates to 78 candidates (67.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1106116
Fresh134
Picked101
Done000
Total1129121

Merged error: 0.0b

Counts
121 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
0.5b
(cbrt x)
0.5b
(* (cbrt x) (cbrt x))
1.0b
(* (/ (* (cbrt x) (cbrt x)) z) (* (/ (cbrt x) z) (/ y (+ z 1.0))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
75×add-exp-log
57×add-cbrt-cube
33×prod-exp cbrt-unprod
24×add-sqr-sqrt
22×cbrt-undiv cbrt-prod div-exp
16×pow1 add-cube-cbrt *-un-lft-identity
13×associate-*l*
pow1/3
associate-*r*
swap-sqr
frac-times associate-*r/ pow-prod-down
add-log-exp unswap-sqr
times-frac associate-*l/
pow-sqr *-commutative pow-prod-up
pow2 pow-plus div-inv
Counts
4 → 117
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
5.0ms
(* (cbrt x) (cbrt x))
16.0ms
(* (/ (* (cbrt x) (cbrt x)) z) (* (/ (cbrt x) z) (/ y (+ z 1.0))))

series693.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt x)
188.0ms
(cbrt x)
247.0ms
(* (cbrt x) (cbrt x))
79.0ms
(* (/ (* (cbrt x) (cbrt x)) z) (* (/ (cbrt x) z) (/ y (+ z 1.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
05931097
13318791
25001676

prune266.0ms

Filtered
129 candidates to 77 candidates (59.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1263129
Fresh268
Picked011
Done000
Total12810138

Merged error: 0.0b

Counts
138 → 10

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ z 1.0))
0.8b
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))
3.7b
(* (/ x z) (/ y (+ z 1.0)))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
94×add-exp-log
58×add-cbrt-cube
48×*-un-lft-identity
46×add-sqr-sqrt times-frac
40×prod-exp
34×add-cube-cbrt
31×div-exp
26×associate-*l*
22×cbrt-unprod
19×associate-*r*
18×cbrt-undiv
10×pow1
distribute-lft-out
frac-times associate-*r/
rec-exp 1-exp
pow-prod-down associate-*l/ associate-/r* associate-/r/ div-inv unswap-sqr
associate-/l* add-log-exp
flip3-+ *-commutative flip-+
frac-2neg clear-num
Counts
3 → 149
Calls
3 calls:
8.0ms
(/ y (+ z 1.0))
23.0ms
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))
22.0ms
(* (/ x z) (/ y (+ z 1.0)))

series146.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ y (+ z 1.0))
44.0ms
(* (/ 1 z) (* (/ x z) (/ y (+ z 1.0))))
66.0ms
(* (/ x z) (/ y (+ z 1.0)))

simplify97.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07821119
14277918
25001910

prune428.0ms

Filtered
158 candidates to 96 candidates (60.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1544158
Fresh358
Picked101
Done101
Total1599168

Merged error: 0b

Counts
168 → 9

regimes131.0ms

bsearch3.0ms

Profiling

Loading profile data...