Details

Time bar (total: 1.8s)

analyze6.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

sample21.0ms

Algorithm
intervals
Results
12.0ms256×body80valid
3.0ms256×pre80true

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
0550715

prune8.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.0b

Counts
2 → 2

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r/ add-log-exp
cbrt-undiv times-frac div-exp prod-exp cbrt-unprod associate-/l*
pow1 flip3-- associate-/r/ flip--
sub-neg frac-2neg diff-log clear-num associate-/r* div-inv
Counts
2 → 36
Calls
2 calls:
7.0ms
(- (* i (* 2.0 2.0)) (/ 1.0 i))
12.0ms
(/ i (* 2.0 (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i)))))

series12.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04891638
14891638

prune68.0ms

Filtered
31 candidates to 42 candidates (-35.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh011
Picked011
Done000
Total40444

Merged error: 0b

Counts
44 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
44×times-frac
37×add-cube-cbrt *-un-lft-identity
28×sqrt-prod
22×associate-*l*
20×add-exp-log add-cbrt-cube
associate-/l*
associate-/r*
pow1 cbrt-undiv div-exp add-log-exp
flip3-- associate-/r/ flip--
frac-times associate-*r/ prod-exp cbrt-unprod
sub-neg associate-*r* div-inv unswap-sqr
frac-2neg associate-*l/ clear-num
distribute-rgt-in distribute-lft-in diff-log pow-prod-down *-commutative
Counts
4 → 132
Calls
4 calls:
5.0ms
(- (* (pow 2.0 3) i) (* 2.0 (/ 1.0 i)))
12.0ms
(/ (sqrt i) (* (/ 2.0 (sqrt i)) (- (* (pow 2.0 3) i) (* 2.0 (/ 1.0 i)))))
4.0ms
(/ 2.0 (sqrt i))
14.0ms
(* (/ 2.0 (sqrt i)) (- (* (pow 2.0 3) i) (* 2.0 (/ 1.0 i))))

series28.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (* (pow 2.0 3) i) (* 2.0 (/ 1.0 i)))
8.0ms
(/ (sqrt i) (* (/ 2.0 (sqrt i)) (- (* (pow 2.0 3) i) (* 2.0 (/ 1.0 i)))))
8.0ms
(/ 2.0 (sqrt i))
7.0ms
(* (/ 2.0 (sqrt i)) (- (* (pow 2.0 3) i) (* 2.0 (/ 1.0 i))))

simplify37.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
056032251

prune224.0ms

Filtered
107 candidates to 144 candidates (-34.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh022
Picked011
Done011
Total1444148

Merged error: 0b

Counts
148 → 4

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 4.0 (pow i 6))
0.0b
(- (* i (neg (* i 0.25))) (+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6))))
0.0b
(+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×add-log-exp
add-exp-log
associate-*r*
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down
pow1 associate-*l* prod-exp unswap-sqr
diff-log sum-log sqr-pow
+-commutative pow-to-exp sub-neg flip3-- flip3-+ pow-exp *-commutative flip-- cbrt-unprod flip-+ associate--r+
Counts
3 → 49
Calls
3 calls:
5.0ms
(* 4.0 (pow i 6))
9.0ms
(- (* i (neg (* i 0.25))) (+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6))))
5.0ms
(+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6)))

series22.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* 4.0 (pow i 6))
6.0ms
(- (* i (neg (* i 0.25))) (+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6))))
11.0ms
(+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6)))

simplify60.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
05021759

prune98.0ms

Filtered
39 candidates to 58 candidates (-48.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New58058
Fresh011
Picked011
Done022
Total58462

Merged error: 0b

Counts
62 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
302×add-exp-log add-cbrt-cube
168×prod-exp cbrt-unprod
114×pow1
76×cbrt-undiv div-exp
36×pow-prod-up
26×times-frac
23×pow-prod-down
22×pow-sqr
20×add-sqr-sqrt
18×pow-plus
14×add-cube-cbrt *-un-lft-identity
13×pow2
div-inv
associate-/l* difference-of-squares
associate-/r*
add-log-exp
frac-2neg clear-num associate-/r/
flip3-- swap-sqr associate-*r* associate-*l* *-commutative flip-- associate-/l/ unswap-sqr
Counts
3 → 220
Calls
3 calls:
8.0ms
(* (* i i) (* i i))
36.0ms
(/ (/ (* (* i i) (* i i)) (* (* 2.0 i) (* 2.0 i))) (- (* (* 2.0 i) (* 2.0 i)) 1.0))
24.0ms
(/ (* (* i i) (* i i)) (* (* 2.0 i) (* 2.0 i)))

series13.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049622473
149622473

prune129.0ms

Filtered
69 candidates to 229 candidates (-231.9%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2290229
Fresh000
Picked011
Done033
Total2294233

Merged error: 0b

Counts
233 → 4

regimes63.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03015
13015

end0.0ms

sample597.0ms

Algorithm
intervals
Results
401.0ms8000×body80valid
90.0ms8000×pre80true

Profiling

Loading profile data...