Details

Time bar (total: 2.5s)

sample18.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms256×pre80true

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
03212
117211
29749
350018

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.3b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite22.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 expm1-log1p-u add-cube-cbrt flip3-- frac-2neg *-un-lft-identity times-frac clear-num associate-/r* flip-- log1p-expm1-u div-inv associate-/l* add-log-exp
Counts
1 → 29
Calls
1 calls:
21.0ms
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

series79.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0319406
11586285
25001285

prune53.0ms

Filtered
32 candidates to 19 candidates (59.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite78.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*
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 90
Calls
2 calls:
56.0ms
(* (/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0)) (/ i (* 2.0 2.0)))
19.0ms
(/ i (- (* (* 2.0 i) (* 2.0 i)) 1.0))

series156.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0549997
12561859
25001846

prune180.0ms

Filtered
96 candidates to 73 candidates (76.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (/ 1 (/ (- (* (* 2.0 i) (* 2.0 i)) 1.0) i)) (/ i (* 2.0 2.0)))
0.3b
(/ 1 (/ (- (* (* 2.0 i) (* 2.0 i)) 1.0) i))
15.0b
(/ (- (* (* 2.0 i) (* 2.0 i)) 1.0) i)

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
212×times-frac
157×add-sqr-sqrt
108×*-un-lft-identity
104×add-cube-cbrt
94×add-exp-log
53×associate-*l*
46×add-cbrt-cube
43×div-exp
28×prod-exp
25×difference-of-squares
19×cbrt-undiv associate-/r*
12×cbrt-unprod
11×div-inv
10×unswap-sqr
rec-exp 1-exp
associate-*r* associate-/l*
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/ associate-/l/
frac-times flip3-- pow-flip div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- inv-pow
Counts
3 → 240
Calls
3 calls:
63.0ms
(* (/ 1 (/ (- (* (* 2.0 i) (* 2.0 i)) 1.0) i)) (/ i (* 2.0 2.0)))
20.0ms
(/ 1 (/ (- (* (* 2.0 i) (* 2.0 i)) 1.0) i))
28.0ms
(/ (- (* (* 2.0 i) (* 2.0 i)) 1.0) i)

series265.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010912824
150012469

prune466.0ms

Filtered
249 candidates to 170 candidates (68.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 0.00390625 (/ 1 (pow i 4)) (fma 0.015625 (/ 1 (pow i 2)) 0.0625))
0.1b
(/ 1 (pow i 4))
0.3b
(/ 1 (pow i 2))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
21×add-exp-log
15×associate-/r*
12×div-exp
sqr-pow
add-cbrt-cube
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
unpow2
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv pow-flip frac-2neg clear-num div-inv inv-pow
fma-udef
Counts
3 → 124
Calls
3 calls:
0.0ms
(fma 0.00390625 (/ 1 (pow i 4)) (fma 0.015625 (/ 1 (pow i 2)) 0.0625))
4.0ms
(/ 1 (pow i 4))
4.0ms
(/ 1 (pow i 2))

series77.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(fma 0.00390625 (/ 1 (pow i 4)) (fma 0.015625 (/ 1 (pow i 2)) 0.0625))
31.0ms
(/ 1 (pow i 4))
16.0ms
(/ 1 (pow i 2))

simplify37.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0300623
11163535
25001459

prune206.0ms

Filtered
133 candidates to 57 candidates (42.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes18.0ms

Accuracy

100% (0.0b remaining)

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

bsearch43.0ms

Steps
ItersRangePoint
8
6.5002133467297405
9777.759552888077
204.76020695153215

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample380.0ms

Algorithm
intervals
Results
222.0ms8000×body80valid
65.0ms8000×pre80true