Details

Time bar (total: 2.1s)

sample19.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms256×pre80true

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
03212
117211
29749
350018

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

series135.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
79.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

prune94.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (fma 2.0 i (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
14.1b
(/ (* i i) (* (* (fma 2.0 i (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log add-cbrt-cube
22×prod-exp cbrt-unprod
12×prod-diff
10×cbrt-undiv add-sqr-sqrt div-exp
distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in
sqrt-prod
pow1 associate-*r/
associate-*r* associate-*l*
expm1-log1p-u sub-neg flip3-- associate-*l/ associate-/r/ flip-- log1p-expm1-u add-log-exp
frac-2neg times-frac pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 75
Calls
2 calls:
16.0ms
(* (fma 2.0 i (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
24.0ms
(/ (* i i) (* (* (fma 2.0 i (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

series358.0ms

Counts
2 → 6
Calls
2 calls:
169.0ms
(* (fma 2.0 i (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
188.0ms
(/ (* i i) (* (* (fma 2.0 i (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05671169
13025833
25002820

prune138.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (/ (pow (sqrt 1.0) 4) (pow i 4)) 0.00390625 (+ 0.0625 (/ (* 0.015625 1.0) (pow i 2))))
0.2b
(/ (pow (sqrt 1.0) 4) (pow i 4))
0.2b
(/ (* 0.015625 1.0) (pow i 2))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
87×unpow-prod-down
78×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
28×add-exp-log
24×sqrt-prod
21×sqr-pow
15×div-exp associate-/r*
11×associate-/l*
10×add-cbrt-cube
pow-to-exp pow-exp
pow1 cbrt-undiv expm1-log1p-u prod-exp log1p-expm1-u add-log-exp
frac-2neg clear-num div-inv unpow2
cbrt-unprod fma-udef
Counts
3 → 156
Calls
3 calls:
0.0ms
(fma (/ (pow (sqrt 1.0) 4) (pow i 4)) 0.00390625 (+ 0.0625 (/ (* 0.015625 1.0) (pow i 2))))
8.0ms
(/ (pow (sqrt 1.0) 4) (pow i 4))
5.0ms
(/ (* 0.015625 1.0) (pow i 2))

series209.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(fma (/ (pow (sqrt 1.0) 4) (pow i 4)) 0.00390625 (+ 0.0625 (/ (* 0.015625 1.0) (pow i 2))))
103.0ms
(/ (pow (sqrt 1.0) 4) (pow i 4))
31.0ms
(/ (* 0.015625 1.0) (pow i 2))

simplify55.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04661305
120571091
25001983

prune371.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes20.0ms

Accuracy

100% (0.0b remaining)

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

bsearch44.0ms

Steps
ItersRangePoint
8
0.50163782953455
244.25361255399255
219.76498440921787

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03319
13319

end0.0ms

sample386.0ms

Algorithm
intervals
Results
219.0ms8000×body80valid
73.0ms8000×pre80true