Details

Time bar (total: 4.8s)

sample86.0ms

Algorithm
intervals
Results
35.0ms88×body1280valid
17.0ms75×body640valid
12.0ms259×body80valid
4.0ms30×body320valid
3.0ms28×body160valid

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

Filtered
1 candidates to 0 candidates (0.0%)
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
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))
0.0b
(+ (exp (neg im)) (exp im))

rewrite19.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)))
9.0ms
(+ (exp (neg im)) (exp im))

series85.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0248347
11228286
25001284

prune81.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342

Merged error: 0b

Counts
42 → 3

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.3b
(* (* 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))))

rewrite41.0ms

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

series191.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (exp (neg im)) (exp im))
22.0ms
(+ (exp (neg im)) (exp im))
83.0ms
(* (* 0.5 (cos re)) (sqrt (+ (exp (neg im)) (exp im))))
60.0ms
(* (* (* 0.5 (cos re)) (sqrt (+ (exp (neg im)) (exp im)))) (sqrt (+ (exp (neg im)) (exp im))))

simplify55.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
03841083
11941885
25002874

prune190.0ms

Filtered
93 candidates to 55 candidates (59.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done011
Total93396

Merged error: 0b

Counts
96 → 3

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (/ (+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im))) (- (exp (neg im)) (exp im))))
0.5b
(/ (+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im))) (- (exp (neg im)) (exp im)))
5.3b
(- (exp (neg im)) (exp im))
5.5b
(+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
51×add-sqr-sqrt
50×times-frac
31×associate-*r*
27×add-cube-cbrt
24×distribute-lft-out
18×add-exp-log add-cbrt-cube
12×distribute-rgt-neg-in distribute-lft-out-- difference-of-squares
10×add-log-exp
pow1
prod-exp cbrt-unprod
associate-/r* associate-/l*
associate-/r/
cbrt-undiv flip3-- div-exp pow-prod-down flip--
neg-sub0 associate-+l- flip3-+ sum-log flip-+ div-inv associate-/l/
+-commutative sub-neg frac-2neg diff-log div-sub associate-*r/ associate-*l* neg-log clear-num *-commutative
Counts
4 → 132
Calls
4 calls:
25.0ms
(* (* 0.5 (cos re)) (/ (+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im))) (- (exp (neg im)) (exp im))))
17.0ms
(/ (+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im))) (- (exp (neg im)) (exp im)))
6.0ms
(- (exp (neg im)) (exp im))
10.0ms
(+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im)))

series439.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(* (* 0.5 (cos re)) (/ (+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im))) (- (exp (neg im)) (exp im))))
136.0ms
(/ (+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im))) (- (exp (neg im)) (exp im)))
34.0ms
(- (exp (neg im)) (exp im))
83.0ms
(+ (neg (exp (+ im im))) (pow (exp -1) (* 2 im)))

simplify77.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05652215
126721928
250011868

prune401.0ms

Filtered
144 candidates to 90 candidates (62.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1440144
Fresh000
Picked011
Done022
Total1443147

Merged error: 0b

Counts
147 → 3

regimes126.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
0137
1137

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.2s2933×body1280valid
571.0ms2408×body640valid
417.0ms8494×body80valid
188.0ms1212×body320valid
64.0ms615×body160valid

Profiling

Loading profile data...