Details

Time bar (total: 1.2s)

sample32.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 50%

Space saved by search: 50%

Guaranteed chance to sample good point: 99.993896%

Results
17.0ms256×body80valid
3.0ms256×pre80true

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
03112
116811
29659
350018

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 18.1b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite15.0ms

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

series6.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0311392
11550273
25001273

prune35.0ms

Filtered
17 candidates to 30 candidates (-76.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New28230
Fresh000
Picked101
Done000
Total29231

Merged error: 0b

Counts
31 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
31×times-frac
25×add-exp-log add-cbrt-cube
21×add-cube-cbrt *-un-lft-identity
18×associate-*l*
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*r* difference-of-squares
pow1 associate-/r* associate-/r/ unswap-sqr
div-inv associate-/l*
flip3-- flip-- add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 86
Calls
2 calls:
16.0ms
(* (/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0)) (/ i (* 2.0 2.0)))
9.0ms
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

series11.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0530978
12493842
25001833

prune119.0ms

Filtered
69 candidates to 92 candidates (-33.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh011
Picked011
Done000
Total92294

Merged error: 0b

Counts
94 → 2

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1 (pow i 4))
0.2b
(/ 1 (pow i 2))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
35×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
20×add-exp-log
15×associate-/r*
12×div-exp
sqr-pow
pow-to-exp rec-exp 1-exp pow-exp add-cbrt-cube associate-/l*
unpow2
pow1 cbrt-undiv pow-flip frac-2neg clear-num div-inv inv-pow add-log-exp
Counts
2 → 110
Calls
2 calls:
5.0ms
(/ 1 (pow i 4))
5.0ms
(/ 1 (pow i 2))

series5.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(/ 1 (pow i 4))
2.0ms
(/ 1 (pow i 2))

simplify35.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0265482
11039408
25001332

prune87.0ms

Filtered
43 candidates to 116 candidates (-169.8%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1160116
Fresh000
Picked011
Done011
Total1162118

Merged error: 0b

Counts
118 → 2

regimes26.0ms

Accuracy

100% (0.0b remaining)

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

bsearch21.0ms

Steps
ItersRangePoint
9
0.2973726174146943
71489105.79069951
4729.253973792567

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03516
13516

end0.0ms

sample643.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 50%

Space saved by search: 50%

Guaranteed chance to sample good point: 99.993896%

Results
413.0ms8000×body80valid
84.0ms8000×pre80true

Profiling

Loading profile data...