Details

Time bar (total: 9.2s)

sample120.0ms

Algorithm
intervals
Results
64.0ms135×body1280valid
20.0ms73×body640valid
6.0ms140×body80valid
5.0ms122×body80overflowed
5.0ms30×body320valid
1.0ms11×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

prune2.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)))
6.2b
(- (exp (- 0.0 im)) (exp im))

rewrite173.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:
117.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
54.0ms
(- (exp (- 0.0 im)) (exp im))

series109.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0268399
11086345
25001344

prune119.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/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
0.1b
(* 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))

rewrite164.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 add-log-exp
unpow-prod-down
associate-*l* unswap-sqr
cbrt-unprod
cube-prod sqr-pow
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down sum-log *-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 associate-+r+ distribute-lft-in unpow3 distribute-rgt-neg-out
Counts
4 → 99
Calls
4 calls:
21.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
13.0ms
(* 1/60 (pow im 5))
113.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
13.0ms
(* 1/3 (pow im 3))

series299.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0541829
12757736
25001733

prune306.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite219.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div distribute-neg-frac
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
73.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))))
47.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
48.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
49.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))

series1.5s

Counts
4 → 12
Calls
4 calls:
558.0ms
(* (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))))
303.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
296.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
294.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))

simplify66.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04502043
118351862
250011758

prune425.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

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.7b
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
0.7b
(* (cbrt (* 0.5 (cos re))) (cbrt (* 0.5 (cos re))))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
16×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log distribute-lft-neg-in cbrt-div distribute-rgt-neg-in distribute-neg-frac
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
flip3-+ flip-+
neg-mul-1 associate-*r/ pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 82
Calls
4 calls:
31.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
30.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
47.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
23.0ms
(* (cbrt (* 0.5 (cos re))) (cbrt (* 0.5 (cos re))))

series859.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
166.0ms
(cbrt (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
300.0ms
(cbrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))
224.0ms
(* (cbrt (* 0.5 (cos re))) (cbrt (* 0.5 (cos re))))

simplify62.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04801390
117951297
250021263

prune502.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.0b

regimes299.0ms

Accuracy

0% (0.6b remaining)

Error of 0.8b against oracle of 0.2b 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

sample3.6s

Algorithm
intervals
Results
2.0s4250×body1280valid
636.0ms2376×body640valid
204.0ms4321×body80valid
157.0ms3600×body80overflowed
147.0ms873×body320valid
46.0ms413×body160valid