Details

Time bar (total: 2.1s)

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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

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

series133.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0390550
11886402
25001398

prune96.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0)))
15.1b
(/ (* i i) (* (/ (+ (- (pow 1.0 3)) (pow (* 2.0 i) 6)) (fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0)))) (* 2.0 2.0)))
22.6b
(/ (+ (- (pow 1.0 3)) (pow (* 2.0 i) 6)) (fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0))))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
46×add-exp-log add-cbrt-cube
29×*-un-lft-identity
17×prod-exp cbrt-unprod
16×times-frac
15×cbrt-undiv div-exp
13×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
associate-/l*
distribute-rgt-neg-in associate-/r*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num div-inv associate-/l/
neg-sub0 associate-+l- flip3-+ div-sub associate-*l/ associate-/r/ flip-+ fma-udef
Counts
3 → 86
Calls
3 calls:
0.0ms
(fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0)))
29.0ms
(/ (* i i) (* (/ (+ (- (pow 1.0 3)) (pow (* 2.0 i) 6)) (fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0)))) (* 2.0 2.0)))
63.0ms
(/ (+ (- (pow 1.0 3)) (pow (* 2.0 i) 6)) (fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0))))

series483.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0)))
150.0ms
(/ (* i i) (* (/ (+ (- (pow 1.0 3)) (pow (* 2.0 i) 6)) (fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0)))) (* 2.0 2.0)))
269.0ms
(/ (+ (- (pow 1.0 3)) (pow (* 2.0 i) 6)) (fma (pow (* 2.0 i) 3) (* 2.0 i) (* 1.0 (fma (* 2.0 i) (* 2.0 i) 1.0))))

simplify72.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05252118
125221628
250011615

prune250.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.0ms

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

series115.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(fma 0.00390625 (/ 1 (pow i 4)) (fma 0.015625 (/ 1 (pow i 2)) 0.0625))
39.0ms
(fma 0.015625 (/ 1 (pow i 2)) 0.0625)
26.0ms
(/ 1 (pow i 4))
18.0ms
(/ 1 (pow i 2))

simplify38.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0310683
11198587
25002511

prune231.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes19.0ms

Accuracy

100% (0.0b remaining)

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

bsearch21.0ms

Steps
ItersRangePoint
4
1895.1935248159823
3532.9415190508507
1923.1709384006522

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04024
14024

end0.0ms

sample387.0ms

Algorithm
intervals
Results
231.0ms8000×body80valid
62.0ms8000×pre80true