Details

Time bar (total: 3.6s)

sample111.0ms

Algorithm
intervals
Results
39.0ms100×body1280valid
22.0ms91×body640valid
20.0ms283×body80valid
7.0ms36×body320valid
2.0ms17×body160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
025811
125811

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

rewrite18.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:
11.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))
6.0ms
(+ (exp (neg im)) (exp im))

series24.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05344437

prune43.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

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

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

series42.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05011658

prune72.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.2s3053×body1280valid
633.0ms2567×body640valid
471.0ms8502×body80valid
218.0ms1261×body320valid
73.0ms644×body160valid

Profiling

Loading profile data...