Details

Time bar (total: 9.9s)

sample181.0ms

Algorithm
intervals
Results
91.0ms169×body1280valid
41.0ms114×body640valid
14.0ms59×body320valid
14.0ms150×body80valid
5.0ms32×body160valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
718017
847437
950017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 57.8b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
5.6b
(- (exp (- 0.0 im)) (exp im))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r*
add-log-exp
add-cube-cbrt sub-neg pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 40
Calls
2 calls:
59.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
31.0ms
(- (exp (- 0.0 im)) (exp im))

series116.0ms

Counts
2 → 6
Calls
2 calls:
78.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
38.0ms
(- (exp (- 0.0 im)) (exp im))

simplify38.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0268399
11086345
25001344

prune117.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/60 (pow im 5)) (* 2 im))
0.0b
(* 1/60 (pow im 5))
0.1b
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.1b
(* 1/3 (pow im 3))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
29×associate-*r*
26×add-sqr-sqrt
19×add-exp-log
14×add-cube-cbrt *-un-lft-identity
13×add-cbrt-cube
pow1 prod-exp
unpow-prod-down
associate-*l* unswap-sqr
add-log-exp
cbrt-unprod
cube-prod sqr-pow
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down *-commutative
pow-to-exp distribute-neg-in flip3-+ associate-*r/ pow-exp flip-+ distribute-neg-frac
+-commutative distribute-rgt-in cube-mult neg-mul-1 distribute-lft-in unpow3 sum-log distribute-rgt-neg-out
Counts
4 → 97
Calls
4 calls:
3.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
6.0ms
(* 1/60 (pow im 5))
60.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
7.0ms
(* 1/3 (pow im 3))

series395.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(+ (* 1/60 (pow im 5)) (* 2 im))
48.0ms
(* 1/60 (pow im 5))
177.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
39.0ms
(* 1/3 (pow im 3))

simplify81.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0548742
12683667
25002666

prune319.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.008333333333333333 (* (cos re) (pow im 5)))
0.1b
(* (cos re) (pow im 3))
0.1b
(* 0.16666666666666666 (* (cos re) (pow im 3)))
0.1b
(* (cos re) im)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
31×add-exp-log
21×add-sqr-sqrt
18×prod-exp add-cbrt-cube
17×associate-*r*
12×add-cube-cbrt *-un-lft-identity associate-*l*
10×pow1
cbrt-unprod
unswap-sqr
unpow-prod-down cube-prod *-commutative add-log-exp
pow-to-exp pow-prod-down pow-exp
sqr-pow
cube-mult unpow3
Counts
4 → 87
Calls
4 calls:
9.0ms
(* 0.008333333333333333 (* (cos re) (pow im 5)))
8.0ms
(* (cos re) (pow im 3))
10.0ms
(* 0.16666666666666666 (* (cos re) (pow im 3)))
4.0ms
(* (cos re) im)

series348.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(* 0.008333333333333333 (* (cos re) (pow im 5)))
79.0ms
(* (cos re) (pow im 3))
91.0ms
(* 0.16666666666666666 (* (cos re) (pow im 3)))
40.0ms
(* (cos re) im)

simplify58.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0352500
11573419
25001419

prune276.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))) (cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
0.6b
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.6b
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
0.6b
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
78×cbrt-prod
37×add-sqr-sqrt
33×*-un-lft-identity
29×add-cube-cbrt
23×distribute-rgt-neg-in
21×distribute-lft-neg-in
18×cbrt-div distribute-neg-frac
15×swap-sqr
13×associate-*r* associate-*l*
11×pow1
flip3-+ pow1/3 flip-+
neg-mul-1
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 131
Calls
4 calls:
143.0ms
(* (cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))) (cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
17.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
17.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
17.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series708.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(* (cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))) (cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
176.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
169.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
168.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify74.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04573161
117473026
250012857

prune634.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes370.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
14114
25914
36914
46914

end0.0ms

sample5.7s

Algorithm
intervals
Results
3.2s5840×body1280valid
1.2s3534×body640valid
394.0ms4265×body80valid
366.0ms1493×body320valid
111.0ms646×body160valid