Details

Time bar (total: 4.1s)

sample109.0ms

Algorithm
intervals
Results
41.0ms104×body1280valid
22.0ms96×body640valid
16.0ms253×body80valid
8.0ms51×body320valid
2.0ms19×body160valid

simplify61.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 (100.0%)
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
(* (* 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))

series21.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0248347
11228286
25001284

prune45.0ms

Filtered
41 candidates to 28 candidates (31.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342

Merged error: 0b

Counts
42 → 3

localize11.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.0b
(/ (* 0.5 (cos re)) (exp im))

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

series39.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
9.0ms
(* (* 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 (44.0ms)

IterNodesCost
0284450
11619391
25002384

prune62.0ms

Filtered
60 candidates to 44 candidates (26.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh011
Picked011
Done011
Total60363

Merged error: 0b

Counts
63 → 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.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))
5.0ms
(+ (exp (neg im)) (exp im))
18.0ms
(* (* 0.5 (cos re)) (* (sqrt (+ (exp (neg im)) (exp im))) (sqrt (+ (exp (neg im)) (exp im)))))
16.0ms
(* (sqrt (+ (exp (neg im)) (exp im))) (sqrt (+ (exp (neg im)) (exp im))))

series25.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (exp (neg im)) (exp im))
4.0ms
(+ (exp (neg im)) (exp im))
14.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))))

simplify58.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
03621260
116071042
250021024

prune147.0ms

Filtered
128 candidates to 67 candidates (47.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1280128
Fresh000
Picked011
Done022
Total1283131

Merged error: 0b

Counts
131 → 3

regimes253.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0137
1137

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.2s2920×body1280valid
603.0ms2442×body640valid
444.0ms8532×body80valid
212.0ms1257×body320valid
71.0ms619×body160valid

Profiling

Loading profile data...