Details

Time bar (total: 6.2s)

sample1.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.21875%

Guaranteed chance to sample good point: 65.979381%

Results
22.0ms45×body1280valid
17.0ms56×body1280invalid
8.0ms31×body640valid
8.0ms151×body80valid
8.0ms36×body640invalid
5.0ms33×body320invalid
4.0ms22×body320valid
2.0ms17×body160invalid
1.0msbody160valid
1.0ms11×body80invalid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0237
1587
2957
32097
44597
55967
611987
719317
850017

prune6.0ms

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

series17.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+ (exp (neg im)) (exp im))
14.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

prune51.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh000
Picked101
Done000
Total39342

Merged error: 0b

Counts
42 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

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

series38.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0284450
11619391
25002384

prune64.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New59160
Fresh112
Picked011
Done000
Total60363

Merged error: 0b

Counts
63 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

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

series25.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (/ 1 (exp im)) (exp im))
16.0ms
(* (* 0.5 (cos re)) (+ (/ 1 (exp im)) (exp im)))
3.0ms
(/ 1 (exp im))

simplify53.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0311486
11667403
25001403

prune63.0ms

Filtered
44 candidates to 80 candidates (-81.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh011
Picked011
Done011
Total80383

Merged error: 0b

Counts
83 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1
18×add-exp-log *-un-lft-identity sqrt-div add-cbrt-cube
16×sqrt-prod
14×associate-*r*
12×add-sqr-sqrt
10×add-cube-cbrt associate-*r/
flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+
frac-times distribute-lft-out add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l* associate-*l/ *-commutative
Counts
4 → 89
Calls
4 calls:
5.0ms
(sqrt (+ (exp (neg im)) (exp im)))
5.0ms
(sqrt (+ (exp (neg im)) (exp im)))
10.0ms
(* (* 0.5 (cos re)) (sqrt (+ (exp (neg im)) (exp im))))
16.0ms
(* (* (* 0.5 (cos re)) (sqrt (+ (exp (neg im)) (exp im)))) (sqrt (+ (exp (neg im)) (exp im))))

series45.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (exp (neg im)) (exp im)))
6.0ms
(sqrt (+ (exp (neg im)) (exp im)))
17.0ms
(* (* 0.5 (cos re)) (sqrt (+ (exp (neg im)) (exp im))))
16.0ms
(* (* (* 0.5 (cos re)) (sqrt (+ (exp (neg im)) (exp im)))) (sqrt (+ (exp (neg im)) (exp im))))

simplify56.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
03911187
119301007
25001984

prune80.0ms

Filtered
64 candidates to 101 candidates (-57.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1010101
Fresh000
Picked011
Done022
Total1013104

Merged error: 0b

Counts
104 → 3

regimes187.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.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 24.21875%

Guaranteed chance to sample good point: 65.979381%

Results
754.0ms1464×body1280valid
493.0ms1513×body1280invalid
347.0ms1259×body640valid
267.0ms1186×body640invalid
233.0ms4351×body80valid
108.0ms627×body320valid
100.0ms638×body320invalid
37.0ms299×body160valid
32.0ms296×body160invalid
26.0ms416×body80invalid

Profiling

Loading profile data...