Details

Time bar (total: 1.5s)

analyze6.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
0%50%50%2
0%50%50%3
37.5%12.5%50%4
43.7%6.2%50%5
46.9%3.1%50%6
48.4%1.6%50%7
49.2%0.8%50%8
49.6%0.4%50%9
49.8%0.2%50%10
49.9%0.1%50%11
49.9%0%50%12
50%0%50%13
50%0%50%14

sample20.0ms (1.3%)

Algorithm
intervals
Results
12.0ms256×body80valid
3.0ms256×pre80true

simplify44.0ms (2.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0550715

prune15.0ms (1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize17.0ms (1.1%)

Local error

Found 1 expressions with local error:

0.3b
(/ i (* 2.0 (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i)))))

rewrite13.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
associate-*r/
cbrt-undiv add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac div-exp prod-exp cbrt-unprod associate-/l*
associate-/r/
pow1 flip3-- frac-2neg clear-num associate-/r* flip-- div-inv add-log-exp
Counts
1 → 25
Calls

1 calls:

12.0ms
(/ i (* 2.0 (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i)))))

series6.0ms (0.4%)

Counts
1 → 3
Calls

1 calls:

6.0ms
(/ i (* 2.0 (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i)))))

simplify31.0ms (2%)

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
04960463
14960463

prune68.0ms (4.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New24428
Fresh101
Picked101
Done000
Total26430

Merged error: 0b

Counts
30 → 4

localize9.0ms (0.6%)

Local error

Found 1 expressions with local error:

0.1b
(/ (/ i 2.0) (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i))))

rewrite15.0ms (1%)

Algorithm
rewrite-expression-head
Rules
31×times-frac
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×add-exp-log add-cbrt-cube associate-/l*
cbrt-undiv div-exp
div-inv
associate-*r/ prod-exp associate-/r/ cbrt-unprod
pow1 flip3-- frac-2neg clear-num associate-/r* flip-- associate-/l/ add-log-exp
Counts
1 → 48
Calls

1 calls:

13.0ms
(/ (/ i 2.0) (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i))))

series6.0ms (0.4%)

Counts
1 → 3
Calls

1 calls:

6.0ms
(/ (/ i 2.0) (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i))))

simplify40.0ms (2.7%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04970889
14970889

prune91.0ms (6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New51051
Fresh033
Picked011
Done000
Total51455

Merged error: 0b

Counts
55 → 4

localize11.0ms (0.7%)

Local error

Found 2 expressions with local error:

0.1b
(* i (/ 1 (- (* i (pow 2.0 4)) (* (/ 1.0 i) (* 2.0 2.0)))))
0.5b
(/ 1 (- (* i (pow 2.0 4)) (* (/ 1.0 i) (* 2.0 2.0))))

rewrite22.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×times-frac
19×*-un-lft-identity
18×add-cube-cbrt
15×add-exp-log associate-*r*
add-cbrt-cube
pow1
div-exp prod-exp associate-/r/
associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv rec-exp flip3-- 1-exp flip-- cbrt-unprod div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 71
Calls

2 calls:

11.0ms
(* i (/ 1 (- (* i (pow 2.0 4)) (* (/ 1.0 i) (* 2.0 2.0)))))
7.0ms
(/ 1 (- (* i (pow 2.0 4)) (* (/ 1.0 i) (* 2.0 2.0))))

series10.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

6.0ms
(* i (/ 1 (- (* i (pow 2.0 4)) (* (/ 1.0 i) (* 2.0 2.0)))))
5.0ms
(/ 1 (- (* i (pow 2.0 4)) (* (/ 1.0 i) (* 2.0 2.0))))

simplify66.0ms (4.4%)

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049811408
149811408

prune173.0ms (11.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh022
Picked011
Done011
Total77481

Merged error: 0b

Counts
81 → 4

localize10.0ms (0.7%)

Local error

Found 2 expressions with local error:

0.2b
(* (/ 2.0 i) (- (* i (pow 2.0 3)) (* (/ 1.0 i) 2.0)))
0.3b
(/ 1 (* (/ 2.0 i) (- (* i (pow 2.0 3)) (* (/ 1.0 i) 2.0))))

rewrite23.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
28×add-exp-log
17×add-sqr-sqrt
16×add-cbrt-cube
13×times-frac associate-*l*
12×add-cube-cbrt *-un-lft-identity
10×div-exp
prod-exp
pow1
cbrt-undiv associate-/r/
frac-times flip3-- associate-*r/ flip-- cbrt-unprod
rec-exp 1-exp associate-*r* associate-/l*
sub-neg pow-flip pow-prod-down associate-*l/ div-inv add-log-exp unswap-sqr
distribute-rgt-in frac-2neg distribute-lft-in clear-num associate-/r* *-commutative inv-pow
Counts
2 → 75
Calls

2 calls:

11.0ms
(* (/ 2.0 i) (- (* i (pow 2.0 3)) (* (/ 1.0 i) 2.0)))
10.0ms
(/ 1 (* (/ 2.0 i) (- (* i (pow 2.0 3)) (* (/ 1.0 i) 2.0))))

series16.0ms (1.1%)

Counts
2 → 6
Calls

2 calls:

10.0ms
(* (/ 2.0 i) (- (* i (pow 2.0 3)) (* (/ 1.0 i) 2.0)))
6.0ms
(/ 1 (* (/ 2.0 i) (- (* i (pow 2.0 3)) (* (/ 1.0 i) 2.0))))

simplify45.0ms (3%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049771346
149771346

prune159.0ms (10.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh011
Picked011
Done022
Total81485

Merged error: 0b

Counts
85 → 4

regimes33.0ms (2.2%)

Accuracy

Total 0.1b remaining (45%)

Threshold costs 0.1b (45%)

bsearch0.0ms (0%)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02915
12915

end0.0ms (0%)

sample562.0ms (37.2%)

Algorithm
intervals
Results
381.0ms8000×body80valid
83.0ms8000×pre80true

Profiling

Loading profile data...