Details

Time bar (total: 4.4s)

sample95.0ms

Algorithm
intervals
Results
36.0ms92×body1280valid
23.0ms94×body640valid
15.0ms294×body80valid
5.0ms32×body320valid
1.0ms12×body160valid

simplify67.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
(+ (exp (neg im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (exp (neg im)) (exp im)))

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

series85.0ms

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

prune82.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0b

Counts
42 → 2

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

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

series155.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(* (* 0.5 (cos re)) (exp im))
81.0ms
(+ (/ (* 0.5 (cos re)) (exp im)) (* (* 0.5 (cos re)) (exp im)))
40.0ms
(/ (* 0.5 (cos re)) (exp im))

simplify49.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0284450
11619391
25001384

prune108.0ms

Filtered
60 candidates to 44 candidates (73.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New60060
Fresh011
Picked011
Done000
Total60262

Merged error: 0b

Counts
62 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp (neg im)) (exp (neg im)))
0.1b
(pow (exp (neg im)) 3)
0.1b
(pow (exp im) 3)
5.1b
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
89×exp-prod
50×*-un-lft-identity
38×add-sqr-sqrt
36×add-cube-cbrt
27×distribute-rgt-neg-in
23×distribute-lft-neg-in
15×pow-pow pow-prod-down
13×pow1 pow-sqr pow-prod-up
neg-mul-1
exp-neg add-cbrt-cube
neg-sub0 exp-diff
unpow-prod-down pow-unpow cube-prod add-log-exp
add-exp-log frac-times
swap-sqr associate-*r* associate-*l*
cube-div cube-mult pow-to-exp unpow3 associate-*r/ associate-*l/ pow-exp rem-cube-cbrt sqr-pow
pow2 sub-neg flip3-- distribute-rgt-out-- pow-plus diff-log prod-exp un-div-inv *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 146
Calls
4 calls:
14.0ms
(* (exp (neg im)) (exp (neg im)))
5.0ms
(pow (exp (neg im)) 3)
3.0ms
(pow (exp im) 3)
6.0ms
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

series119.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (exp (neg im)) (exp (neg im)))
26.0ms
(pow (exp (neg im)) 3)
23.0ms
(pow (exp im) 3)
49.0ms
(- (* (exp im) (exp im)) (* (exp (neg im)) (exp im)))

simplify153.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (144.0ms)

IterNodesCost
0456606
12521503
25001449

prune381.0ms

Filtered
158 candidates to 89 candidates (56.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1580158
Fresh000
Picked011
Done011
Total1582160

Merged error: 0b

Counts
160 → 2

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

sample2.9s

Algorithm
intervals
Results
1.2s2956×body1280valid
614.0ms2505×body640valid
432.0ms8552×body80valid
201.0ms1226×body320valid
69.0ms636×body160valid

Profiling

Loading profile data...