Details

Time bar (total: 4.1s)

sample111.0ms

Algorithm
intervals
Results
39.0ms96×body1280valid
22.0ms93×body640valid
19.0ms290×body80valid
8.0ms53×body320valid
2.0ms15×body160valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0237
1587
2957
32097
44597
55967
611987
719317
850017

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

simplify37.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0248347
11228286
25001284

prune47.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0b

Counts
42 → 2

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

series40.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
8.0ms
(* (* 0.5 (cos re)) (exp im))
12.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

prune62.0ms

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh011
Picked011
Done000
Total60262

Merged error: 0b

Counts
62 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp im) (exp im))
0.0b
(pow (exp (neg im)) 3)
0.2b
(/ (* (* 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)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
28×exp-prod
24×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
20×associate-/r/
18×frac-add
16×add-cbrt-cube
15×exp-neg
13×add-exp-log neg-sub0 exp-diff
12×pow1
11×pow-pow
10×flip3-- flip--
frac-times
associate-*r/ add-log-exp
pow-prod-down associate-*l/ prod-exp pow-sqr pow-prod-up cbrt-unprod
cbrt-undiv distribute-lft-neg-in unpow-prod-down pow-unpow distribute-rgt-neg-in times-frac cube-prod swap-sqr div-exp associate-*r* associate-*l* associate-/r*
cube-div flip3-+ un-div-inv flip-+ associate-/l/
pow2 cube-mult pow-to-exp neg-mul-1 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 → 127
Calls
4 calls:
6.0ms
(* (exp im) (exp im))
5.0ms
(pow (exp (neg im)) 3)
40.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)))

series86.0ms

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

simplify178.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (162.0ms)

IterNodesCost
09032176
145571617
250021595

prune174.0ms

Filtered
84 candidates to 139 candidates (-65.5%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1390139
Fresh000
Picked011
Done011
Total1392141

Merged error: 0b

Counts
141 → 2

regimes141.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
Results
1.2s2923×body1280valid
620.0ms2546×body640valid
426.0ms8666×body80valid
195.0ms1220×body320valid
65.0ms615×body160valid

Profiling

Loading profile data...