Details

Time bar (total: 1.8s)

sample18.0ms

Algorithm
intervals
Results
6.0ms206×body80valid
2.0ms16×body640valid
2.0ms19×body320valid
1.0msbody1280valid
0.0msbody160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150025

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

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.2b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.0b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 associate-*l* add-log-exp
times-frac associate-*l/ associate-/r*
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sub-neg frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 63
Calls
3 calls:
6.0ms
(* (- 1.0 x) y)
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series143.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(* (- 1.0 x) y)
64.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
45.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0338401
11456359
25001359

prune121.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh000
Picked101
Done000
Total70373

Merged error: 0.0b

Counts
73 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ y 1.0))
0.0b
(* (- 1.0 x) (/ y (+ y 1.0)))
2.2b
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
28×add-sqr-sqrt
25×times-frac
21×add-cube-cbrt
18×associate-*r*
10×add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-*l* add-log-exp
associate-/r* associate-/r/
flip3-- flip-- associate-/l*
cbrt-undiv frac-times flip3-+ div-exp associate-*l/ prod-exp cbrt-unprod flip-+ div-inv unswap-sqr
sub-neg frac-2neg diff-log associate-*r/ pow-prod-down clear-num *-commutative distribute-lft-out-- difference-of-squares
Counts
3 → 88
Calls
3 calls:
5.0ms
(/ y (+ y 1.0))
11.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
3.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series147.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ y (+ y 1.0))
45.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
68.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0400572
11790526
25001526

prune139.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh022
Picked011
Done000
Total973100

Merged error: 0.0b

Counts
100 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.1b
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
3.1b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
16.4b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
15×*-un-lft-identity associate-*l*
11×add-cube-cbrt
pow1 times-frac associate-*r*
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
sub-neg associate-*l/ difference-of-squares
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/r* associate-/r/ associate--r+
frac-times associate-*r/ pow-prod-down *-commutative div-inv associate-/l/ distribute-lft-out-- unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 105
Calls
4 calls:
7.0ms
(* (- 1.0 x) y)
14.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
3.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
12.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series349.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (- 1.0 x) y)
76.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
152.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
88.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify90.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
05671027
13078900
25001900

prune182.0ms

Filtered
117 candidates to 82 candidates (70.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh011
Picked011
Done011
Total1173120

Merged error: 0.0b

Counts
120 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
0.0b
(- (/ 1 y) (/ x y))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×*-un-lft-identity
14×times-frac
add-log-exp difference-of-squares
div-inv distribute-lft-out--
add-cube-cbrt associate-+l+
sub-neg distribute-rgt-out--
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
+-commutative flip3-- flip3-+ diff-log sum-log frac-sub flip-- flip-+ sub-div
Counts
2 → 43
Calls
2 calls:
16.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
12.0ms
(- (/ 1 y) (/ x y))

series52.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(+ (* 1.0 (- (/ 1 y) (/ x y))) x)
20.0ms
(- (/ 1 y) (/ x y))

simplify80.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0224317
1627291
22875282
35001274

prune67.0ms

Filtered
49 candidates to 33 candidates (67.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New48149
Fresh000
Picked011
Done022
Total48452

Merged error: 0.0b

Counts
52 → 4

regimes70.0ms

bsearch3.0ms

Profiling

Loading profile data...