Details

Time bar (total: 4.2s)

sample129.0ms

Algorithm
intervals
Results
47.0ms109×body1280valid
29.0ms99×body640valid
24.0ms289×body80valid
9.0ms48×body320valid
3.0ms22×body160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0237
1607
21127
32367
45206
57026
615146
722846
850016

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
*-un-lft-identity associate-*r*
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt associate-*r/
distribute-rgt-in expm1-log1p-u distribute-lft-in flip3-+ associate-*l* *-commutative flip-+ log1p-expm1-u distribute-lft-out add-log-exp
Counts
1 → 25
Calls
1 calls:
31.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

series59.0ms

Counts
1 → 3
Calls
1 calls:
59.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

simplify35.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0219263
11151215
25001213

prune61.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
0.0b
(/ (* 0.5 (cos re)) (exp im))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
fma-def add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log
add-log-exp
associate-/r* div-inv
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
+-commutative frac-2neg flip3-+ prod-exp clear-num sum-log cbrt-unprod flip-+ distribute-lft-out associate-/l*
Counts
2 → 44
Calls
2 calls:
10.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
4.0ms
(/ (* 0.5 (cos re)) (exp im))

series120.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
37.0ms
(/ (* 0.5 (cos re)) (exp im))

simplify40.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0249366
11279315
25002309

prune131.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129
1129

end0.0ms

sample3.5s

Algorithm
intervals
Results
1.4s3110×body1280valid
756.0ms8779×body80valid
682.0ms2467×body640valid
228.0ms1176×body320valid
80.0ms577×body160valid