Details

Time bar (total: 4.3s)

sample145.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
36.0ms42×body1280valid
20.0ms42×body1280invalid
16.0ms37×body640valid
11.0ms146×body80valid
11.0ms33×body640invalid
11.0ms122×body80invalid
6.0ms26×body320invalid
6.0ms22×body320valid
2.0msbody160valid
2.0ms12×body160invalid

simplify62.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))
10.0ms
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))

series17.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0248347
11228286
25001284

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

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

series35.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0284450
11619391
25001384

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

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

rewrite55.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)
36.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)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (exp im) (exp im))
4.0ms
(pow (exp im) 3)
67.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)))

simplify168.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (153.0ms)

IterNodesCost
08722114
145641581
250021562

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

regimes244.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.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 100%

Results
773.0ms1470×body1280valid
484.0ms1420×body1280invalid
342.0ms1237×body640valid
268.0ms1185×body640invalid
253.0ms4331×body80valid
234.0ms4282×body80invalid
113.0ms661×body320valid
111.0ms644×body320invalid
34.0ms301×body160valid
32.0ms279×body160invalid

Profiling

Loading profile data...