Details

Time bar (total: 4.4s)

analyze350.0ms (8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%37.5%12.6%7
50%37.5%12.6%8
50%31.2%18.8%9
50%31.2%18.8%10
50%28.1%22%11
50%28.1%22%12
50%26.5%23.5%13
50%26.5%23.5%14

sample84.0ms (1.9%)

Algorithm
intervals
Results
20.0ms40×body1280valid
12.0ms38×body1280invalid
12.0ms43×body640valid
10.0ms34×body640invalid
7.0ms139×body80valid
3.0ms21×body320invalid
3.0ms19×body320valid
2.0ms17×body160invalid
2.0ms15×body160valid
1.0ms17×body80invalid

simplify93.0ms (2.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
0543911

prune6.0ms (0.1%)

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 (0.2%)

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 (0.3%)

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 (0.4%)

Counts
2 → 6
Calls

2 calls:

13.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))
4.0ms
(+ (exp (neg im)) (exp im))

simplify52.0ms (1.2%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05312437

prune67.0ms (1.5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh000
Picked101
Done000
Total39342

Merged error: 0b

Counts
42 → 3

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite19.0ms (0.4%)

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))))
6.0ms
(* (exp im) (* 0.5 (cos re)))
4.0ms
(/ (cos re) (exp im))

series36.0ms (0.8%)

Counts
3 → 9
Calls

3 calls:

19.0ms
(+ (* 0.5 (/ (cos re) (exp im))) (* (exp im) (* 0.5 (cos re))))
9.0ms
(* (exp im) (* 0.5 (cos re)))
8.0ms
(/ (cos re) (exp im))

simplify41.0ms (0.9%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05028658

prune86.0ms (2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New65065
Fresh022
Picked011
Done000
Total65368

Merged error: 0b

Counts
68 → 3

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite33.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod *-un-lft-identity
17×associate-*r*
14×add-sqr-sqrt add-cube-cbrt
12×unpow-prod-down cube-prod
10×pow1 add-exp-log
add-cbrt-cube
distribute-lft-out
cube-div add-log-exp
cbrt-div flip3-+ flip-+
cube-mult pow-unpow unpow3 pow-prod-down prod-exp cbrt-unprod sqr-pow
associate-*r/
+-commutative pow-to-exp pow-pow pow1/3 associate-*l* pow-exp sum-log *-commutative rem-cbrt-cube rem-cube-cbrt
Counts
4 → 98
Calls

4 calls:

12.0ms
(* (* 0.5 (cos re)) (cbrt (pow (+ (exp (neg im)) (exp im)) 3)))
6.0ms
(pow (+ (exp (neg im)) (exp im)) 3)
6.0ms
(cbrt (pow (+ (exp (neg im)) (exp im)) 3))
5.0ms
(+ (exp (neg im)) (exp im))

series31.0ms (0.7%)

Counts
4 → 12
Calls

4 calls:

13.0ms
(* (* 0.5 (cos re)) (cbrt (pow (+ (exp (neg im)) (exp im)) 3)))
11.0ms
(pow (+ (exp (neg im)) (exp im)) 3)
4.0ms
(cbrt (pow (+ (exp (neg im)) (exp im)) 3))
3.0ms
(+ (exp (neg im)) (exp im))

simplify42.0ms (1%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
053401145

prune166.0ms (3.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done011
Total1103113

Merged error: 0b

Counts
113 → 3

localize11.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ 2 (* im im))))
0.1b
(* 1/12 (pow im 4))

rewrite16.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
12×add-exp-log
11×add-sqr-sqrt
10×associate-*r*
add-cbrt-cube
pow1
add-cube-cbrt *-un-lft-identity prod-exp
unpow-prod-down associate-*l* cbrt-unprod
pow-prod-down unswap-sqr
associate-*r/ *-commutative add-log-exp sqr-pow
distribute-rgt-in pow-to-exp distribute-lft-in flip3-+ pow-exp flip-+
Counts
2 → 47
Calls

2 calls:

10.0ms
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ 2 (* im im))))
5.0ms
(* 1/12 (pow im 4))

series29.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

25.0ms
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ 2 (* im im))))
4.0ms
(* 1/12 (pow im 4))

simplify43.0ms (1%)

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05515613

prune94.0ms (2.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New53053
Fresh000
Picked011
Done022
Total53356

Merged error: 0b

Counts
56 → 3

regimes215.0ms (4.9%)

Accuracy

Total 0.0b remaining (54.7%)

Threshold costs 0.0b (54.7%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01415
11415

end0.0ms (0%)

sample2.8s (63.9%)

Algorithm
intervals
Results
810.0ms1556×body1280valid
511.0ms1534×body1280invalid
340.0ms1259×body640valid
291.0ms1302×body640invalid
233.0ms4225×body80valid
114.0ms627×body320valid
113.0ms621×body320invalid
40.0ms333×body160valid
38.0ms319×body160invalid
34.0ms561×body80invalid

Profiling

Loading profile data...