Details

Time bar (total: 4.2s)

sample98.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
39.0ms84×body1280valid
17.0ms70×body640valid
14.0ms268×body80valid
8.0ms48×body320valid
2.0ms21×body160valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0237
1587
2957
32097
44597
55967
611987
719317
850017

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

series17.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0248347
11228286
25001284

prune45.0ms

Filtered
28 candidates to 41 candidates (-46.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342

Merged error: 0b

Counts
42 → 3

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

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

series38.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0284450
11619391
25001384

prune61.0ms

Filtered
44 candidates to 60 candidates (-36.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh011
Picked011
Done011
Total60363

Merged error: 0b

Counts
63 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (exp im) (exp im))
0.1b
(pow (exp im) 3)
0.3b
(/ (* (* 0.5 (cos re)) (+ (pow (exp (neg im)) 3) (pow (exp im) 3))) (+ (* (exp (neg im)) (exp (neg im))) (- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))))
5.5b
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
21×exp-prod
20×add-cube-cbrt *-un-lft-identity associate-/r/
18×frac-add
16×add-cbrt-cube
14×exp-neg
13×add-exp-log
12×pow1 neg-sub0 exp-diff
10×flip3-- flip--
frac-times
associate-*r/ add-log-exp
pow-pow pow-prod-down associate-*l/ prod-exp pow-sqr pow-prod-up cbrt-unprod
cbrt-undiv unpow-prod-down pow-unpow times-frac cube-prod swap-sqr div-exp associate-*r* associate-*l* associate-/r*
flip3-+ un-div-inv flip-+ associate-/l/
pow2 cube-mult pow-to-exp sub-neg distribute-rgt-out-- frac-2neg pow-plus diff-log unpow3 pow-exp clear-num *-commutative div-inv associate-/l* rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 118
Calls
4 calls:
6.0ms
(* (exp im) (exp im))
3.0ms
(pow (exp im) 3)
37.0ms
(/ (* (* 0.5 (cos re)) (+ (pow (exp (neg im)) 3) (pow (exp im) 3))) (+ (* (exp (neg im)) (exp (neg im))) (- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))))
6.0ms
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (exp im) (exp im))
4.0ms
(pow (exp im) 3)
69.0ms
(/ (* (* 0.5 (cos re)) (+ (pow (exp (neg im)) 3) (pow (exp im) 3))) (+ (* (exp (neg im)) (exp (neg im))) (- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))))
7.0ms
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

simplify171.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (155.0ms)

IterNodesCost
08722114
145641581
250021562

prune155.0ms

Filtered
75 candidates to 130 candidates (-73.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1300130
Fresh000
Picked011
Done022
Total1303133

Merged error: 0b

Counts
133 → 3

regimes224.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
0129
1129

end0.0ms

sample3.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
1.2s2890×body1280valid
600.0ms2422×body640valid
470.0ms8613×body80valid
225.0ms1305×body320valid
71.0ms580×body160valid

Profiling

Loading profile data...