Details

Time bar (total: 1.5s)

sample30.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 50%

Space saved by search: 50%

Guaranteed chance to sample good point: 99.990845%

Results
12.0ms256×body80valid
3.0ms256×pre80true

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (29.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: 17.8b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

17.3b
(/ (* 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:
13.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)))

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New27330
Fresh000
Picked101
Done000
Total28331

Merged error: 0b

Counts
31 → 3

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.6b
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

rewrite30.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:
18.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))

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh022
Picked011
Done000
Total92395

Merged error: 0b

Counts
95 → 3

localize9.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ 1 (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) (* i i)))
17.3b
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) (* i i))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
96×add-exp-log
52×add-cbrt-cube
38×div-exp
36×prod-exp
20×times-frac
19×cbrt-undiv
18×cbrt-unprod
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
rec-exp 1-exp
associate-/r* div-inv
associate-/l*
pow1
frac-2neg associate-*l/ clear-num associate-/l/ add-log-exp
flip3-- pow-flip associate-/r/ flip-- inv-pow
Counts
2 → 91
Calls
2 calls:
15.0ms
(/ 1 (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) (* i i)))
14.0ms
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) (* i i))

series15.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05041258
12605983
25002928

prune65.0ms

Filtered
38 candidates to 97 candidates (-155.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New96197
Fresh101
Picked101
Done011
Total982100

Merged error: 0b

Counts
100 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 4.0 (/ 1 (pow i 2)))
0.4b
(/ 1 (- 16.0 (* 4.0 (/ 1 (pow i 2)))))
0.5b
(/ 1 (pow i 2))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
65×times-frac
62×add-sqr-sqrt
48×*-un-lft-identity
44×add-cube-cbrt
36×add-exp-log
28×associate-*r*
23×unpow-prod-down
14×div-exp
12×add-cbrt-cube
11×associate-/r*
10×prod-exp
unpow2 unswap-sqr sqr-pow
rec-exp 1-exp
pow1 pow-to-exp pow-exp associate-/l*
cbrt-undiv associate-*l* div-inv add-log-exp
pow-flip frac-2neg clear-num associate-/r/ cbrt-unprod inv-pow
flip3-- associate-*r/ pow-prod-down un-div-inv *-commutative flip--
Counts
3 → 153
Calls
3 calls:
11.0ms
(* 4.0 (/ 1 (pow i 2)))
6.0ms
(/ 1 (- 16.0 (* 4.0 (/ 1 (pow i 2)))))
5.0ms
(/ 1 (pow i 2))

series9.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 4.0 (/ 1 (pow i 2)))
4.0ms
(/ 1 (- 16.0 (* 4.0 (/ 1 (pow i 2)))))
2.0ms
(/ 1 (pow i 2))

simplify55.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0470861
12054715
25001610

prune135.0ms

Filtered
79 candidates to 162 candidates (-105.1%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1620162
Fresh000
Picked011
Done011
Total1622164

Merged error: 0b

Counts
164 → 2

regimes25.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample652.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 50%

Space saved by search: 50%

Guaranteed chance to sample good point: 99.990845%

Results
402.0ms8000×body80valid
92.0ms8000×pre80true

Profiling

Loading profile data...