Details

Time bar (total: 5.2s)

sample96.0ms

Algorithm
intervals
Results
40.0ms97×body1280valid
17.0ms70×body640valid
17.0ms255×body80valid
6.0ms35×body320valid
2.0ms19×body160valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (10.0ms)

IterNodesCost
0237
1607
21127
32367
45206
57026
615146
722846
850016

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt associate-*r* add-log-exp
fma-def pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u distribute-lft-out
+-commutative distribute-rgt-in distribute-lft-in associate-*l* sum-log *-commutative
Counts
2 → 42
Calls
2 calls:
6.0ms
(+ (exp (- im)) (exp im))
10.0ms
(* (* 0.5 (cos re)) (+ (exp (- im)) (exp im)))

series86.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0258374
11276311
25002307

prune109.0ms

Filtered
48 candidates to 35 candidates (72.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New45348
Fresh000
Picked011
Done000
Total45449

Merged error: 0b

Counts
49 → 4

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
2 → 32
Calls
2 calls:
1.0ms
(fma (pow im 4) 1/12 (fma im im 2))
5.0ms
(* (* 0.5 (cos re)) (fma (pow im 4) 1/12 (fma im im 2)))

series169.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(fma (pow im 4) 1/12 (fma im im 2))
123.0ms
(* (* 0.5 (cos re)) (fma (pow im 4) 1/12 (fma im im 2)))

simplify33.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0182279
1901232
25001230

prune85.0ms

Filtered
38 candidates to 26 candidates (68.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh112
Picked101
Done011
Total39342

Merged error: 0b

Counts
42 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (cos re) (fma 0.5 (pow im 2) 1.0)) (* 0.041666666666666664 (* (cos re) (pow im 4))))
0.0b
(* (cos re) (fma 0.5 (pow im 2) 1.0))
0.0b
(* (cos re) (pow im 4))
0.1b
(* 0.041666666666666664 (* (cos re) (pow im 4)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×add-exp-log
17×add-sqr-sqrt
13×add-cbrt-cube
11×associate-*r* prod-exp
10×add-cube-cbrt *-un-lft-identity
associate-*l*
pow1
add-log-exp
cbrt-unprod
expm1-log1p-u unpow-prod-down fma-udef log1p-expm1-u unswap-sqr
*-commutative
distribute-rgt-in pow-to-exp associate-+l+ distribute-lft-in pow-prod-down pow-exp sqr-pow
+-commutative fma-def flip3-+ sum-log flip-+
Counts
4 → 86
Calls
4 calls:
4.0ms
(+ (* (cos re) (fma 0.5 (pow im 2) 1.0)) (* 0.041666666666666664 (* (cos re) (pow im 4))))
4.0ms
(* (cos re) (fma 0.5 (pow im 2) 1.0))
5.0ms
(* (cos re) (pow im 4))
6.0ms
(* 0.041666666666666664 (* (cos re) (pow im 4)))

series425.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(+ (* (cos re) (fma 0.5 (pow im 2) 1.0)) (* 0.041666666666666664 (* (cos re) (pow im 4))))
87.0ms
(* (cos re) (fma 0.5 (pow im 2) 1.0))
91.0ms
(* (cos re) (pow im 4))
116.0ms
(* 0.041666666666666664 (* (cos re) (pow im 4)))

simplify54.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0351655
11470585
25002571

prune235.0ms

Filtered
98 candidates to 68 candidates (69.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New98098
Fresh011
Picked011
Done011
Total983101

Merged error: 0b

Counts
101 → 3

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)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
37×*-un-lft-identity
32×add-cube-cbrt
24×unpow-prod-down
21×prod-diff
19×pow-pow
16×exp-prod
10×sqr-pow
pow-unpow
pow1 fma-neg
cube-prod add-cbrt-cube add-log-exp difference-of-squares
add-exp-log
expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u
distribute-lft-neg-in expm1-def distribute-rgt-neg-in difference-of-sqr-1
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 → 142
Calls
4 calls:
3.0ms
(pow (exp im) -2)
3.0ms
(pow (exp im) 3)
5.0ms
(pow (exp (- im)) 3)
7.0ms
(- (pow (exp im) -2) 1)

series108.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (exp im) -2)
24.0ms
(pow (exp im) 3)
28.0ms
(pow (exp (- im)) 3)
37.0ms
(- (pow (exp im) -2) 1)

simplify74.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0426734
11889507
25002446

prune398.0ms

Filtered
154 candidates to 86 candidates (55.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1540154
Fresh000
Picked011
Done022
Total1543157

Merged error: 0b

Counts
157 → 3

regimes135.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 (0.0ms)

IterNodesCost
0137
1137

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.3s3052×body1280valid
619.0ms2503×body640valid
426.0ms8424×body80valid
197.0ms1201×body320valid
69.0ms618×body160valid