Details

Time bar (total: 7.1s)

sample131.0ms

Algorithm
intervals
Results
69.0ms173×body1280valid
30.0ms116×body640valid
8.0ms52×body320valid
6.0ms148×body80valid
3.0ms31×body160valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
21047
32137
43647
58507
614157
719687
849837
950017

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: 57.9b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
5.1b
(- (exp (- 0.0 im)) (exp im))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg
distribute-rgt-in flip3-- distribute-lft-in fma-neg associate-*r/ associate-*l* exp-sum *-commutative flip--
Counts
2 → 15
Calls
2 calls:
7.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
4.0ms
(- (exp (- 0.0 im)) (exp im))

series119.0ms

Counts
2 → 6
Calls
2 calls:
79.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
39.0ms
(- (exp (- 0.0 im)) (exp im))

simplify44.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
0165147
1447145
21428144
35001141

prune59.0ms

Filtered
21 candidates to 14 candidates (66.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New18321
Fresh000
Picked101
Done000
Total19322

Merged error: 0.1b

Counts
22 → 3

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 1/60 (pow im 5))
0.1b
(* (* 0.5 (cos re)) (- (* im -2) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))
0.1b
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-*l*
flip3-- associate-*r* flip-- fma-udef sqr-pow
Counts
3 → 12
Calls
3 calls:
3.0ms
(* 1/60 (pow im 5))
6.0ms
(* (* 0.5 (cos re)) (- (* im -2) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))
1.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))

series334.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(* 1/60 (pow im 5))
168.0ms
(* (* 0.5 (cos re)) (- (* im -2) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))
115.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))

simplify64.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0156147
1516144
22075144
35001142

prune64.0ms

Filtered
21 candidates to 12 candidates (57.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New19221
Fresh022
Picked101
Done000
Total20424

Merged error: 0.1b

Counts
24 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/60 (pow im 5))
0.1b
(* (* 0.5 (cos re)) (- (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))
0.1b
(* (* 0.5 (cos re)) (* im -2))
0.1b
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
associate-*r* associate-*l*
fma-udef
distribute-neg-in
distribute-rgt-in neg-mul-1 distribute-lft-in distribute-rgt-neg-out sqr-pow
Counts
4 → 15
Calls
4 calls:
3.0ms
(* 1/60 (pow im 5))
4.0ms
(* (* 0.5 (cos re)) (- (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))
4.0ms
(* (* 0.5 (cos re)) (* im -2))
1.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))

series475.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* 1/60 (pow im 5))
259.0ms
(* (* 0.5 (cos re)) (- (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))
49.0ms
(* (* 0.5 (cos re)) (* im -2))
120.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))

simplify59.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0165120
1527119
21830118
35001108

prune93.0ms

Filtered
27 candidates to 19 candidates (70.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New27027
Fresh033
Picked011
Done000
Total27431

Merged error: 0.1b

Counts
31 → 4

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
0.1b
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
0.1b
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
39.3b
(/ (* (* 0.5 (cos re)) (- (pow (* im -2) 3) (pow (fma (pow im 3) 1/3 (* 1/60 (pow im 5))) 3))) (+ (* (* im -2) (* im -2)) (+ (* (fma (pow im 3) 1/3 (* 1/60 (pow im 5))) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))) (* (* im -2) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l*
fma-udef
associate-*r/ associate-*r* associate-*l* associate-/r/ *-commutative associate-/l/ sqr-pow
difference-cubes flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv difference-of-squares
Counts
4 → 16
Calls
4 calls:
1.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
1.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
1.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
21.0ms
(/ (* (* 0.5 (cos re)) (- (pow (* im -2) 3) (pow (fma (pow im 3) 1/3 (* 1/60 (pow im 5))) 3))) (+ (* (* im -2) (* im -2)) (+ (* (fma (pow im 3) 1/3 (* 1/60 (pow im 5))) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))) (* (* im -2) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))))

series899.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
122.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
116.0ms
(fma (pow im 3) 1/3 (* 1/60 (pow im 5)))
544.0ms
(/ (* (* 0.5 (cos re)) (- (pow (* im -2) 3) (pow (fma (pow im 3) 1/3 (* 1/60 (pow im 5))) 3))) (+ (* (* im -2) (* im -2)) (+ (* (fma (pow im 3) 1/3 (* 1/60 (pow im 5))) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))) (* (* im -2) (fma (pow im 3) 1/3 (* 1/60 (pow im 5)))))))

simplify38.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0235463
1973443
25001439

prune121.0ms

Filtered
28 candidates to 21 candidates (75.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New25328
Fresh022
Picked011
Done011
Total25732

Merged error: 0.1b

Counts
32 → 7

regimes182.0ms

Accuracy

0% (0.6b remaining)

Error of 0.7b against oracle of 0.1b and baseline of 0.7b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02713
13113
23813
33813

end0.0ms

sample4.2s

Algorithm
intervals
Results
2.5s5701×body1280valid
866.0ms3623×body640valid
230.0ms1460×body320valid
204.0ms4549×body80valid
70.0ms702×body160valid