Details

Time bar (total: 3.5s)

sample106.0ms

Algorithm
intervals
Results
44.0ms94×body1280valid
21.0ms80×body640valid
14.0ms257×body80valid
6.0ms37×body320valid
6.0ms22×body160valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0237
1587
2957
32097
44597
55967
611987
719317
850017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp (neg im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (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:
5.0ms
(+ (exp (neg im)) (exp im))
9.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))

series84.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0248347
11228286
25001284

prune77.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New40141
Fresh000
Picked101
Done000
Total41142

Merged error: 0b

Counts
42 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

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

series151.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(* (* 0.5 (cos re)) (exp im))
82.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
36.0ms
(/ (* 0.5 (cos re)) (exp im))

simplify49.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0284450
11619391
25001384

prune103.0ms

Filtered
60 candidates to 44 candidates (73.3%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh000
Picked011
Done000
Total60161

Merged error: 0b

Counts
61 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129
1129

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.2s3004×body1280valid
573.0ms2424×body640valid
413.0ms8445×body80valid
191.0ms1234×body320valid
70.0ms641×body160valid

Profiling

Loading profile data...