Details

Time bar (total: 2.2s)

sample17.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms256×pre80true

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
03212
117211
29749
350018

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 15.6b

localize11.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)))

rewrite23.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:
7.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
14.0ms
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

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

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
0.3b
(/ i (/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i))
14.3b
(/ (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)) i)

rewrite37.0ms

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

series255.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05341135
12701958
25003947

prune196.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u
cbrt-undiv sub-neg frac-2neg fma-neg diff-log div-exp prod-diff clear-num div-inv
Counts
2 → 47
Calls
2 calls:
7.0ms
(- (* 16.0 i) (* 4.0 (/ 1 i)))
5.0ms
(/ i (- (* 16.0 i) (* 4.0 (/ 1 i))))

series150.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(- (* 16.0 i) (* 4.0 (/ 1 i)))
89.0ms
(/ i (- (* 16.0 i) (* 4.0 (/ 1 i))))

simplify225.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0247430
1957391
24947386
35001386

prune103.0ms

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.2b
(/ 1 (pow i 4))
0.6b
(/ 1 (pow i 2))

rewrite15.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:
1.0ms
(fma 0.00390625 (/ 1 (pow i 4)) (fma 0.015625 (/ 1 (pow i 2)) 0.0625))
5.0ms
(/ 1 (pow i 4))
5.0ms
(/ 1 (pow i 2))

series78.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0300623
11163535
25001459

prune192.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes13.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample364.0ms

Algorithm
intervals
Results
217.0ms8000×body80valid
58.0ms8000×pre80true