Details

Time bar (total: 4.9s)

sample85.0ms

Algorithm
intervals
Results
37.0ms97×body1280valid
15.0ms70×body640valid
12.0ms255×body80valid
5.0ms35×body320valid
2.0ms19×body160valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0237
1587
2957
32097
44597
56297
614157
721487
850027

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

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (exp (- im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (+ (exp (- 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 (- im)) (exp im))
13.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

series87.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ (exp (- im)) (exp im))
59.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

simplify38.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0249347
11229286
25001284

prune91.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38341
Fresh000
Picked011
Done000
Total38442

Merged error: 0b

Counts
42 → 4

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 1/12 (pow im 4)) (+ (pow im 2) 2))
0.0b
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ (pow im 2) 2)))
0.1b
(* 1/12 (pow im 4))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
13×add-exp-log
12×add-sqr-sqrt
10×associate-*r* add-cbrt-cube
pow1 add-log-exp
add-cube-cbrt *-un-lft-identity
prod-exp
unpow-prod-down associate-*l* cbrt-unprod
pow-prod-down sum-log unswap-sqr
flip3-+ associate-*r/ *-commutative flip-+ sqr-pow
+-commutative distribute-rgt-in pow-to-exp associate-+r+ distribute-lft-in pow-exp
Counts
3 → 60
Calls
3 calls:
8.0ms
(+ (* 1/12 (pow im 4)) (+ (pow im 2) 2))
12.0ms
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ (pow im 2) 2)))
5.0ms
(* 1/12 (pow im 4))

series207.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(+ (* 1/12 (pow im 4)) (+ (pow im 2) 2))
124.0ms
(* (* 0.5 (cos re)) (+ (* 1/12 (pow im 4)) (+ (pow im 2) 2)))
40.0ms
(* 1/12 (pow im 4))

simplify57.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0356504
11865439
25002436

prune140.0ms

Filtered
69 candidates to 44 candidates (63.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh022
Picked011
Done011
Total69473

Merged error: 0b

Counts
73 → 4

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp im) -2)
0.1b
(pow (exp im) 3)
0.1b
(pow (exp (- im)) 3)
5.3b
(- (pow (exp im) -2) 1)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
22×*-un-lft-identity
19×pow-pow
17×add-cube-cbrt
16×exp-prod
12×unpow-prod-down
pow-unpow
pow1
cube-prod add-cbrt-cube add-log-exp difference-of-squares sqr-pow
add-exp-log
distribute-lft-neg-in pow-to-exp distribute-rgt-neg-in difference-of-sqr-1 pow-exp
cube-div cube-mult unpow3 rem-cube-cbrt
neg-sub0 exp-neg neg-mul-1 sub-neg flip3-- exp-diff diff-log flip-- distribute-lft-out--
Counts
4 → 103
Calls
4 calls:
3.0ms
(pow (exp im) -2)
3.0ms
(pow (exp im) 3)
5.0ms
(pow (exp (- im)) 3)
6.0ms
(- (pow (exp im) -2) 1)

series107.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp im) -2)
25.0ms
(pow (exp im) 3)
26.0ms
(pow (exp (- im)) 3)
34.0ms
(- (pow (exp im) -2) 1)

simplify58.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0341415
11531378
25001353

prune307.0ms

Filtered
115 candidates to 67 candidates (58.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1150115
Fresh011
Picked011
Done022
Total1154119

Merged error: 0b

Counts
119 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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 (- im)) (exp im))
5.0ms
(+ (exp (- im)) (exp im))
11.0ms
(* (* 0.5 (cos re)) (sqrt (+ (exp (- im)) (exp im))))
21.0ms
(* (* (* 0.5 (cos re)) (sqrt (+ (exp (- im)) (exp im)))) (sqrt (+ (exp (- im)) (exp im))))

series199.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (exp (- im)) (exp im))
27.0ms
(+ (exp (- im)) (exp im))
84.0ms
(* (* 0.5 (cos re)) (sqrt (+ (exp (- im)) (exp im))))
64.0ms
(* (* (* 0.5 (cos re)) (sqrt (+ (exp (- im)) (exp im)))) (sqrt (+ (exp (- im)) (exp im))))

simplify61.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
03881083
11995885
25002870

prune368.0ms

Filtered
93 candidates to 56 candidates (60.2%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New93093
Fresh000
Picked011
Done033
Total93497

Merged error: 0b

Counts
97 → 4

regimes140.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.7s

Algorithm
intervals
Results
1.2s3052×body1280valid
557.0ms2503×body640valid
393.0ms8424×body80valid
169.0ms1201×body320valid
59.0ms618×body160valid

Profiling

Loading profile data...