Details

Time bar (total: 1.6s)

analyze7.0ms

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

sample22.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
3.0ms256×pre80true

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
0560115

prune13.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize8.0ms

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

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

Counts
1 → 3
Calls
1 calls:
6.0ms
(/ i (* 2.0 (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i)))))

simplify46.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05066463

prune50.0ms

Filtered
20 candidates to 28 candidates (-40.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New25328
Fresh101
Picked011
Done000
Total26430

Merged error: 0b

Counts
30 → 4

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

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)) (* (* 2.0 2.0) (/ 1.0 i)))))
7.0ms
(/ 1 (- (* i (pow 2.0 4)) (* (* 2.0 2.0) (/ 1.0 i))))

series10.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* i (/ 1 (- (* i (pow 2.0 4)) (* (* 2.0 2.0) (/ 1.0 i)))))
4.0ms
(/ 1 (- (* i (pow 2.0 4)) (* (* 2.0 2.0) (/ 1.0 i))))

simplify61.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049441408
149441408

prune132.0ms

Filtered
53 candidates to 77 candidates (-45.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh022
Picked011
Done011
Total77481

Merged error: 0b

Counts
81 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (sqrt i) (* 2.0 (* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 (sqrt i)))))
0.2b
(* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 (sqrt i)))
0.3b
(/ 2.0 (sqrt i))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt times-frac
36×add-cube-cbrt *-un-lft-identity
28×sqrt-prod
24×add-exp-log add-cbrt-cube
22×associate-*r*
associate-/l*
cbrt-undiv associate-*r/ div-exp prod-exp associate-/r* cbrt-unprod
pow1 associate-/r/
frac-times flip3-- associate-*l/ flip--
associate-*l* div-inv add-log-exp unswap-sqr
frac-2neg clear-num
pow-prod-down *-commutative
Counts
3 → 121
Calls
3 calls:
18.0ms
(/ (sqrt i) (* 2.0 (* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 (sqrt i)))))
15.0ms
(* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 (sqrt i)))
4.0ms
(/ 2.0 (sqrt i))

series22.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(/ (sqrt i) (* 2.0 (* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 (sqrt i)))))
7.0ms
(* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 (sqrt i)))
8.0ms
(/ 2.0 (sqrt i))

simplify41.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
051731971

prune172.0ms

Filtered
93 candidates to 130 candidates (-39.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1300130
Fresh011
Picked011
Done022
Total1304134

Merged error: 0b

Counts
134 → 4

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
41×add-exp-log
21×add-cbrt-cube
17×add-sqr-sqrt prod-exp
13×times-frac associate-*r*
12×add-cube-cbrt *-un-lft-identity div-exp
10×pow1
associate-*r/ cbrt-unprod
cbrt-undiv
associate-/r/
frac-times rec-exp flip3-- 1-exp pow-prod-down associate-*l/ flip--
pow-flip associate-*l* associate-/l*
div-inv add-log-exp unswap-sqr
frac-2neg clear-num associate-/r* *-commutative inv-pow
Counts
2 → 78
Calls
2 calls:
13.0ms
(* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 i))
15.0ms
(/ 1 (* 2.0 (* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 i))))

series15.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 i))
6.0ms
(/ 1 (* 2.0 (* (- (* i (* 2.0 2.0)) (/ 1.0 i)) (/ 2.0 i))))

simplify31.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
050581295

prune103.0ms

Filtered
55 candidates to 84 candidates (-52.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New84084
Fresh000
Picked011
Done033
Total84488

Merged error: 0b

Counts
88 → 4

regimes31.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06515
16515

end0.0ms

sample606.0ms

Algorithm
intervals
Results
415.0ms8000×body80valid
87.0ms8000×pre80true

Profiling

Loading profile data...