Details

Time bar (total: 8.2s)

sample111.0ms

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

simplify2.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01011
12311
25611
38611
419111
530411
645111
779211
8110711
9126211
10156611
11171911
12190411
13203711
14222111
15235611
16254111
17267411
18286111
19299411
20317911
21331511
22349911
23363211
24381811
25395111
26413611
27427111
28445611
29458911
30477611
31490911
done500011

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

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

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

series19.0ms

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

simplify1.2s

Counts
41 → 41
Iterations

Useful iterations: 3 (438.0ms)

IterNodesCost
087548
1253530
2924441
34606437
done5000437

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

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series45.0ms

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

simplify1.1s

Counts
65 → 65
Iterations

Useful iterations: 3 (384.0ms)

IterNodesCost
0117824
1301760
21010680
33922672
done5001672

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

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11415
done1415

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.2s3053×body1280valid
643.0ms2567×body640valid
488.0ms8502×body80valid
213.0ms1261×body320valid
73.0ms644×body160valid

Profiling

Loading profile data...