Details

Time bar (total: 2.1s)

sample78.0ms

Algorithm
intervals
Results
33.0ms67×body1280valid
14.0ms37×body640valid
7.0ms144×body80valid
6.0ms30×body320valid
5.0ms113×body80nan
2.0ms14×body160valid

simplify119.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (8.0ms)

IterNodesCost
0156
1246
2516
31066
43044
57744
641424
750014

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 12.6b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x y))
0.0b
(/ (pow (/ x (+ x y)) x) x)
7.2b
(pow (/ x (+ x y)) x)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
118×*-un-lft-identity
90×unpow-prod-down
80×add-sqr-sqrt add-cube-cbrt
25×associate-/l*
19×distribute-lft-out
16×add-exp-log
12×associate-/r/
div-exp associate-/r* add-cbrt-cube div-inv
flip3-+ flip-+
sqr-pow
pow1 pow-exp
pow-unpow add-log-exp
cbrt-undiv pow-to-exp frac-2neg clear-num
pow-pow
Counts
3 → 172
Calls
3 calls:
5.0ms
(/ x (+ x y))
11.0ms
(/ (pow (/ x (+ x y)) x) x)
7.0ms
(pow (/ x (+ x y)) x)

series405.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ x (+ x y))
136.0ms
(/ (pow (/ x (+ x y)) x) x)
230.0ms
(pow (/ x (+ x y)) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05371436
126401406
250011406

prune336.0ms

Filtered
181 candidates to 131 candidates (72.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1783181
Fresh000
Picked101
Done000
Total1793182

Merged error: 0.5b

Counts
182 → 3

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (exp (* -1 y)) x)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
associate-/r* add-cbrt-cube associate-/l*
add-exp-log
pow1 cbrt-undiv exp-neg frac-2neg mul-1-neg div-exp clear-num div-inv associate-/l/ add-log-exp
Counts
1 → 28
Calls
1 calls:
4.0ms
(/ (exp (* -1 y)) x)

series19.0ms

Counts
1 → 3
Calls
1 calls:
19.0ms
(/ (exp (* -1 y)) x)

simplify48.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0114186
1303172
21435169
35001169

prune56.0ms

Filtered
31 candidates to 23 candidates (74.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New30131
Fresh022
Picked101
Done000
Total31334

Merged error: 0.5b

Counts
34 → 3

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 1 (* x (exp y)))
0.0b
(* x (exp y))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log
add-cbrt-cube
add-sqr-sqrt
pow1
add-cube-cbrt *-un-lft-identity
div-exp prod-exp
times-frac associate-*r* associate-*l* associate-/l*
cbrt-undiv rec-exp pow-flip 1-exp pow-prod-down cbrt-unprod add-log-exp
frac-2neg clear-num associate-/r* *-commutative div-inv inv-pow unswap-sqr
Counts
2 → 46
Calls
2 calls:
5.0ms
(/ 1 (* x (exp y)))
5.0ms
(* x (exp y))

series46.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(/ 1 (* x (exp y)))
21.0ms
(* x (exp y))

simplify94.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0173200
1786167
24230160
35002160

prune57.0ms

Filtered
52 candidates to 28 candidates (53.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh022
Picked011
Done000
Total51455

Merged error: 0.5b

Counts
55 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (pow y 2))
0.0b
(+ (* 1/2 (pow y 2)) (+ y 1))
0.2b
(/ 1 (* x (+ (* 1/2 (pow y 2)) (+ y 1))))
2.8b
(* x (+ (* 1/2 (pow y 2)) (+ y 1)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log
19×add-sqr-sqrt
13×add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity associate-*r*
pow1 add-log-exp
prod-exp
associate-*l*
unswap-sqr
unpow-prod-down associate-*r/ div-exp
flip3-+ times-frac sum-log cbrt-unprod flip-+ associate-/l*
cbrt-undiv rec-exp pow-flip 1-exp pow-prod-down associate-/r/ *-commutative unpow2 sqr-pow
+-commutative distribute-rgt-in pow-to-exp associate-+r+ frac-2neg distribute-lft-in pow-exp clear-num associate-/r* div-inv inv-pow
Counts
4 → 92
Calls
4 calls:
5.0ms
(* 1/2 (pow y 2))
6.0ms
(+ (* 1/2 (pow y 2)) (+ y 1))
9.0ms
(/ 1 (* x (+ (* 1/2 (pow y 2)) (+ y 1))))
8.0ms
(* x (+ (* 1/2 (pow y 2)) (+ y 1)))

series317.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(* 1/2 (pow y 2))
17.0ms
(+ (* 1/2 (pow y 2)) (+ y 1))
50.0ms
(/ 1 (* x (+ (* 1/2 (pow y 2)) (+ y 1))))
40.0ms
(* x (+ (* 1/2 (pow y 2)) (+ y 1)))

simplify68.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0420654
12221552
25001546

prune140.0ms

Filtered
104 candidates to 62 candidates (59.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1040104
Fresh022
Picked011
Done011
Total1044108

Merged error: 0.5b

Counts
108 → 4

regimes60.0ms

bsearch77.0ms

Steps
ItersRangePoint
10
-63280.15344050627
-5.037762374958283e-11
-32.7487936042176

Profiling

Loading profile data...