Details

Time bar (total: 8.1s)

sample140.0ms

Algorithm
intervals
Results
76.0ms188×body1280valid
32.0ms122×body640valid
9.0ms58×body320valid
6.0ms129×body80valid
2.0ms19×body160valid

simplify89.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: 58.2b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite83.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:
57.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
25.0ms
(- (exp (- 0.0 im)) (exp im))

series112.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0268399
11086345
25001344

prune109.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize18.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.2b
(* 1/3 (pow im 3))

rewrite73.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))
5.0ms
(* 1/60 (pow im 5))
52.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
7.0ms
(* 1/3 (pow im 3))

series377.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0548742
12683667
25002664

prune296.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
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 → 87
Calls
4 calls:
66.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)))))
8.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
8.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
10.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

series635.0ms

Counts
4 → 12
Calls
4 calls:
174.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)))))
155.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
155.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))
151.0ms
(cbrt (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

simplify63.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03932049
114431928
250011792

prune433.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite209.0ms

Algorithm
rewrite-expression-head
Rules
50×associate-*r*
34×add-sqr-sqrt
28×add-exp-log
22×add-cbrt-cube
20×add-cube-cbrt *-un-lft-identity sqrt-prod
18×pow1
15×prod-exp
14×sqrt-div distribute-neg-frac
11×cbrt-unprod
10×associate-*r/
pow-prod-down
unpow-prod-down cube-prod associate-*l* unswap-sqr
flip3-+ flip-+
distribute-lft-neg-in distribute-rgt-neg-in
frac-times *-commutative add-log-exp sqr-pow
cube-mult pow-to-exp neg-mul-1 unpow3 associate-*l/ pow-exp
Counts
4 → 131
Calls
4 calls:
55.0ms
(* (* 0.5 (cos re)) (sqrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
6.0ms
(* 1/3 (pow im 3))
6.0ms
(* 1/3 (pow im 3))
136.0ms
(* (* (* 0.5 (cos re)) (sqrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (sqrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))

series398.0ms

Counts
4 → 12
Calls
4 calls:
162.0ms
(* (* 0.5 (cos re)) (sqrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
39.0ms
(* 1/3 (pow im 3))
34.0ms
(* 1/3 (pow im 3))
164.0ms
(* (* (* 0.5 (cos re)) (sqrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (sqrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))

simplify97.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06231750
130671455
250011454

prune425.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes160.0ms

Accuracy

0% (0.8b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 0.8b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
14611
26511
36511

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.4s5769×body1280valid
883.0ms3648×body640valid
228.0ms1500×body320valid
208.0ms4417×body80valid
77.0ms734×body160valid