Details

Time bar (total: 4.2s)

analyze372.0ms

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

sample88.0ms

Algorithm
intervals
Results
22.0ms45×body1280valid
15.0ms45×body1280invalid
14.0ms51×body640valid
9.0ms40×body640invalid
7.0ms136×body80valid
3.0ms17×body320invalid
3.0ms15×body320valid
1.0ms11×body160invalid
1.0msbody160valid
1.0ms16×body80invalid

simplify91.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
0543911

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

simplify52.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05312437

prune47.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0b

Counts
42 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series37.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05028658

prune68.0ms

Filtered
50 candidates to 65 candidates (-30.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New65065
Fresh011
Picked011
Done000
Total65267

Merged error: 0b

Counts
67 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
31×pow1
30×*-un-lft-identity
26×sqrt-prod
24×add-sqr-sqrt sqrt-div
18×add-exp-log add-cbrt-cube
14×flip3-+ flip-+
12×add-cube-cbrt associate-*r/
11×swap-sqr pow-prod-down
prod-exp cbrt-unprod
frac-times sqrt-pow1 pow1/2 associate-*r* associate-*l* distribute-lft-out add-log-exp
pow-prod-up
associate-*l/ unswap-sqr
pow-sqr
+-commutative sum-log *-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 116
Calls
4 calls:
5.0ms
(+ (exp (neg im)) (exp im))
7.0ms
(+ (exp (neg im)) (exp im))
18.0ms
(* (* 0.5 (cos re)) (* (sqrt (+ (exp (neg im)) (exp im))) (sqrt (+ (exp (neg im)) (exp im)))))
14.0ms
(* (sqrt (+ (exp (neg im)) (exp im))) (sqrt (+ (exp (neg im)) (exp im))))

series24.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (exp (neg im)) (exp im))
3.0ms
(+ (exp (neg im)) (exp im))
13.0ms
(* (* 0.5 (cos re)) (* (sqrt (+ (exp (neg im)) (exp im))) (sqrt (+ (exp (neg im)) (exp im)))))
4.0ms
(* (sqrt (+ (exp (neg im)) (exp im))) (sqrt (+ (exp (neg im)) (exp im))))

simplify71.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049851353
149851353

prune150.0ms

Filtered
68 candidates to 128 candidates (-88.2%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1280128
Fresh000
Picked011
Done011
Total1282130

Merged error: 0b

Counts
130 → 2

regimes168.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01415
11415

end0.0ms

sample2.9s

Algorithm
intervals
Results
806.0ms1453×body1280valid
527.0ms1496×body1280invalid
371.0ms1264×body640valid
297.0ms1228×body640invalid
262.0ms4334×body80valid
114.0ms660×body320invalid
109.0ms604×body320valid
45.0ms345×body160valid
40.0ms315×body160invalid
34.0ms523×body80invalid

Profiling

Loading profile data...