Details

Time bar (total: 1.6s)

sample34.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 50%

Space saved by search: 50%

Guaranteed chance to sample good point: 99.993896%

Results
12.0ms256×body80valid
3.0ms256×pre80true

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (28.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: 19.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

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

series13.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0342496
11633364
25001364

prune55.0ms

Filtered
29 candidates to 46 candidates (-58.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0b

Counts
47 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 4.0 (pow i 2))
0.0b
(- (* 4.0 (pow i 2)) 1.0)
18.5b
(/ (* i i) (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log
26×add-cbrt-cube
12×add-sqr-sqrt prod-exp
10×cbrt-unprod
associate-*r*
cbrt-undiv add-cube-cbrt *-un-lft-identity div-exp
add-log-exp
unpow-prod-down unswap-sqr
pow1 associate-*l*
flip3-- associate-*l/ associate-/r/ flip-- unpow2 sqr-pow
pow-to-exp sub-neg frac-2neg times-frac diff-log pow-exp clear-num associate-/r* *-commutative div-inv associate-/l*
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 4.0 (pow i 2))
4.0ms
(- (* 4.0 (pow i 2)) 1.0)
11.0ms
(/ (* i i) (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)))

series13.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0409514
11929402
25002402

prune82.0ms

Filtered
44 candidates to 75 candidates (-70.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New74175
Fresh112
Picked011
Done000
Total75378

Merged error: 0b

Counts
78 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (pow i 2))
0.0b
(- (* 4.0 (pow i 2)) 1.0)
0.3b
(/ 1 (/ (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)) (* i i)))
18.6b
(/ (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)) (* i i))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
103×add-exp-log
56×add-cbrt-cube
39×prod-exp
38×div-exp
23×add-sqr-sqrt
20×times-frac
19×cbrt-undiv cbrt-unprod
17×add-cube-cbrt *-un-lft-identity
associate-*r*
rec-exp 1-exp
associate-/r* div-inv add-log-exp
pow1
unpow-prod-down associate-/l* unswap-sqr
associate-*l*
flip3-- frac-2neg associate-*l/ clear-num flip-- associate-/l/ unpow2 sqr-pow
pow-to-exp sub-neg pow-flip diff-log pow-exp associate-/r/ *-commutative inv-pow
Counts
4 → 130
Calls
4 calls:
6.0ms
(* 4.0 (pow i 2))
4.0ms
(- (* 4.0 (pow i 2)) 1.0)
11.0ms
(/ 1 (/ (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)) (* i i)))
12.0ms
(/ (* (- (* 4.0 (pow i 2)) 1.0) (* 2.0 2.0)) (* i i))

series26.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06111281
130561032
250021007

prune122.0ms

Filtered
66 candidates to 142 candidates (-115.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1411142
Fresh101
Picked101
Done011
Total1432145

Merged error: 0b

Counts
145 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 4.0 (/ 1 (pow i 2)))
0.2b
(/ 1 (pow i 2))
0.3b
(/ 1 (- 16.0 (* 4.0 (/ 1 (pow i 2)))))

rewrite27.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:
13.0ms
(* 4.0 (/ 1 (pow i 2)))
4.0ms
(/ 1 (pow i 2))
4.0ms
(/ 1 (- 16.0 (* 4.0 (/ 1 (pow i 2)))))

series8.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0470861
12054715
25001610

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

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

sample628.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 50%

Space saved by search: 50%

Guaranteed chance to sample good point: 99.993896%

Results
396.0ms8000×body80valid
84.0ms8000×pre80true

Profiling

Loading profile data...