Details

Time bar (total: 3.6s)

sample105.0ms

Algorithm
intervals
Results
46.0ms108×body1280valid
19.0ms80×body640valid
13.0ms245×body80valid
6.0ms40×body320valid
3.0ms23×body160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
025811
125811

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series17.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))
4.0ms
(+ (exp (neg im)) (exp im))

simplify49.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05449437

prune42.0ms

Filtered
27 candidates to 41 candidates (-51.9%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New40141
Fresh000
Picked101
Done000
Total41142

Merged error: 0b

Counts
42 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×add-cbrt-cube
times-frac
pow1
add-exp-log
add-log-exp
associate-*l* pow-prod-down prod-exp associate-/r* cbrt-unprod associate-/l*
cbrt-undiv +-commutative frac-2neg flip3-+ div-exp associate-*r* clear-num sum-log *-commutative flip-+ div-inv
Counts
3 → 56
Calls
3 calls:
7.0ms
(+ (* 0.5 (/ (cos re) (exp im))) (* (exp im) (* 0.5 (cos re))))
4.0ms
(/ (cos re) (exp im))
6.0ms
(* (exp im) (* 0.5 (cos re)))

series37.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ (* 0.5 (/ (cos re) (exp im))) (* (exp im) (* 0.5 (cos re))))
8.0ms
(/ (cos re) (exp im))
9.0ms
(* (exp im) (* 0.5 (cos re)))

simplify40.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05007658

prune62.0ms

Filtered
47 candidates to 65 candidates (-38.3%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New65065
Fresh000
Picked011
Done000
Total65166

Merged error: 0b

Counts
66 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01415
11415

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.3s2980×body1280valid
639.0ms2472×body640valid
476.0ms8500×body80valid
215.0ms1233×body320valid
73.0ms634×body160valid

Profiling

Loading profile data...