Details

Time bar (total: 1.4s)

sample23.0ms

Algorithm
intervals
Results
13.0ms256×body80valid
3.0ms256×pre80true

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
0585015

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.3b

Counts
2 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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 → 37
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)))))

series11.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04972643
14972643

prune60.0ms

Filtered
31 candidates to 43 candidates (-38.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh101
Picked011
Done000
Total41445

Merged error: 0b

Counts
45 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* i (* 2.0 2.0)) (/ 1.0 i))
0.3b
(* (/ (sqrt i) 2.0) (/ (sqrt i) (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i)))))
0.5b
(/ (sqrt i) (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
32×times-frac
31×add-sqr-sqrt
29×add-exp-log add-cbrt-cube
23×add-cube-cbrt *-un-lft-identity
22×associate-*l*
19×sqrt-prod
12×associate-*r*
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-/l*
pow1 associate-*r/ add-log-exp
associate-/r/
flip3-- flip-- div-inv unswap-sqr
frac-times sub-neg frac-2neg diff-log pow-prod-down associate-*l/ clear-num associate-/r* *-commutative
Counts
3 → 102
Calls
3 calls:
7.0ms
(- (* i (* 2.0 2.0)) (/ 1.0 i))
20.0ms
(* (/ (sqrt i) 2.0) (/ (sqrt i) (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i)))))
11.0ms
(/ (sqrt i) (* 2.0 (- (* i (* 2.0 2.0)) (/ 1.0 i))))

series25.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
050071868

prune126.0ms

Filtered
77 candidates to 111 candidates (-44.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1110111
Fresh022
Picked011
Done011
Total1114115

Merged error: 0b

Counts
115 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ 0.00390625 (pow i 4)) (+ (/ 0.015625 (* i i)) 0.0625))
0.2b
(/ 0.00390625 (pow i 4))
0.3b
(/ 0.015625 (* i i))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
24×times-frac
21×add-sqr-sqrt add-cube-cbrt
13×add-exp-log
12×unpow-prod-down
10×add-cbrt-cube
associate-/r* add-log-exp
associate-/l*
div-exp
sqr-pow
pow1 cbrt-undiv sum-log distribute-lft-out
frac-2neg flip3-+ frac-add clear-num flip-+ div-inv
+-commutative pow-to-exp associate-+r+ pow-exp prod-exp cbrt-unprod
Counts
3 → 83
Calls
3 calls:
18.0ms
(+ (/ 0.00390625 (pow i 4)) (+ (/ 0.015625 (* i i)) 0.0625))
4.0ms
(/ 0.00390625 (pow i 4))
4.0ms
(/ 0.015625 (* i i))

series10.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (/ 0.00390625 (pow i 4)) (+ (/ 0.015625 (* i i)) 0.0625))
3.0ms
(/ 0.00390625 (pow i 4))
3.0ms
(/ 0.015625 (* i i))

simplify42.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05004966

prune113.0ms

Filtered
62 candidates to 92 candidates (-48.4%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New92092
Fresh011
Picked011
Done022
Total92496

Merged error: 0b

Counts
96 → 4

localize12.0ms

Local error

Found 2 expressions with local error:

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)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity diff-log sum-log add-cbrt-cube
+-commutative sub-neg flip3-- flip3-+ flip-- flip-+ associate--r+
Counts
2 → 25
Calls
2 calls:
6.0ms
(- (* i (neg (* i 0.25))) (+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6))))
4.0ms
(+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6)))

series18.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(- (* i (neg (* i 0.25))) (+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6))))
12.0ms
(+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6)))

simplify37.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05180596

prune51.0ms

Filtered
22 candidates to 31 candidates (-40.9%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New31031
Fresh000
Picked011
Done033
Total31435

Merged error: 0b

Counts
35 → 4

regimes31.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
11315

end0.0ms

sample620.0ms

Algorithm
intervals
Results
403.0ms8000×body80valid
83.0ms8000×pre80true

Profiling

Loading profile data...