Details

Time bar (total: 2.2s)

sample20.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
03112
116811
29659
350018

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.6b

localize9.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-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:
11.0ms
(- (* (* 2.0 i) (* 2.0 i)) 1.0)
22.0ms
(/ (* i i) (* (- (* (* 2.0 i) (* 2.0 i)) 1.0) (* 2.0 2.0)))

series142.0ms

Counts
2 → 6
Calls
2 calls:
59.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)))

simplify45.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0342496
11633364
25001364

prune80.0ms

Pruning

2 alts after pruning (2 fresh and 0 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)))
14.1b
(/ (* i i) (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

rewrite70.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:
26.0ms
(* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0)))
38.0ms
(/ (* i i) (* (* (+ (* 2.0 i) (sqrt 1.0)) (- (* 2.0 i) (sqrt 1.0))) (* 2.0 2.0)))

series375.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
06281179
13646850
25001825

prune144.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize13.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.2b
(/ (pow (sqrt 1.0) 4) (pow i 4))
0.2b
(/ (* 0.015625 1.0) (pow i 2))

rewrite72.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:
52.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))

series205.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(+ (+ 0.0625 (/ (* 0.015625 1.0) (pow i 2))) (* 0.00390625 (/ (pow (sqrt 1.0) 4) (pow i 4))))
102.0ms
(/ (pow (sqrt 1.0) 4) (pow i 4))
29.0ms
(/ (* 0.015625 1.0) (pow i 2))

simplify68.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05901436
126321227
250021119

prune351.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 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
03721
13721

end0.0ms

sample384.0ms

Algorithm
intervals
Results
225.0ms8000×body80valid
65.0ms8000×pre80true