Details

Time bar (total: 3.3s)

sample84.0ms

Algorithm
intervals
Results
33.0ms87×body1280valid
18.0ms75×body640valid
12.0ms295×body80valid
5.0ms38×body320valid
3.0ms29×body160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0237
1607
21127
32367
45206
57026
615146
722846
850016

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite37.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:
27.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))
9.0ms
(+ (exp (- im)) (exp im))

series88.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0258374
11276311
25002307

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

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

series125.0ms

Counts
2 → 6
Calls
2 calls:
85.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
40.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

sample2.5s

Algorithm
intervals
Results
1.1s3043×body1280valid
511.0ms2453×body640valid
356.0ms8444×body80valid
173.0ms1229×body320valid
57.0ms609×body160valid