Details

Time bar (total: 4.7s)

sample121.0ms

Algorithm
intervals
Results
43.0ms87×body1280valid
26.0ms295×body80valid
23.0ms75×body640valid
8.0ms38×body320valid
4.0ms29×body160valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0237
1607
21127
32367
45206
57026
615146
722846
850016

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.0ms

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

series85.0ms

Counts
2 → 6
Calls
2 calls:
62.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
22.0ms
(+ (exp (- im)) (exp im))

simplify38.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0258374
11276311
25002307

prune118.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

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

rewrite16.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)))
5.0ms
(/ (* 0.5 (cos re)) (exp im))

series121.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0249366
11279315
25002309

prune126.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.9s

Algorithm
intervals
Results
1.7s3043×body1280valid
766.0ms8444×body80valid
753.0ms2453×body640valid
262.0ms1229×body320valid
103.0ms609×body160valid