Details

Time bar (total: 2.2s)

sample22.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
5.0ms256×pre80true

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
03112
116811
29659
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)))

rewrite33.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:
10.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)))

series144.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0342496
11633364
25001364

prune82.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite64.0ms

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

series393.0ms

Counts
2 → 6
Calls
2 calls:
180.0ms
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
213.0ms
(/ (* i i) (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06281179
13646850
25001825

prune144.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite69.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 add-log-exp
pow1 cbrt-undiv prod-exp sum-log
frac-2neg flip3-+ associate-*r/ frac-add clear-num flip-+ div-inv unpow2
+-commutative associate-+l+ cbrt-unprod
Counts
3 → 157
Calls
3 calls:
50.0ms
(+ (+ 0.0625 (/ (* 0.015625 1.0) (pow i 2))) (* 0.00390625 (/ (pow (sqrt 1.0) 4) (pow i 4))))
8.0ms
(/ (pow (sqrt 1.0) 4) (pow i 4))
5.0ms
(/ (* 0.015625 1.0) (pow i 2))

series222.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(+ (+ 0.0625 (/ (* 0.015625 1.0) (pow i 2))) (* 0.00390625 (/ (pow (sqrt 1.0) 4) (pow i 4))))
114.0ms
(/ (pow (sqrt 1.0) 4) (pow i 4))
27.0ms
(/ (* 0.015625 1.0) (pow i 2))

simplify67.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05901436
126321227
250021119

prune359.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes22.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch23.0ms

Steps
ItersRangePoint
4
1895.1935248159823
3532.9415190508507
1923.1709384006522

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03721
13721

end0.0ms

sample380.0ms

Algorithm
intervals
Results
221.0ms8000×body80valid
69.0ms8000×pre80true