Details

Time bar (total: 6.9s)

sample134.0ms

Algorithm
intervals
Results
72.0ms173×body1280valid
28.0ms116×body640valid
8.0ms52×body320valid
7.0ms148×body80valid
3.0ms31×body160valid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
718017
847417
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 associate-*r/ associate-*l* *-commutative flip--
Counts
2 → 13
Calls
2 calls:
7.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
4.0ms
(- (exp (- 0.0 im)) (exp im))

series124.0ms

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

simplify171.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0158142
1420142
21300141
34559139
45001139

prune54.0ms

Filtered
19 candidates to 13 candidates (68.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New16319
Fresh000
Picked101
Done000
Total17320

Merged error: 0.1b

Counts
20 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
associate-*r*
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-*l* sqr-pow
+-commutative flip3-- flip3-+ unpow3 flip-- flip-+
Counts
4 → 17
Calls
4 calls:
5.0ms
(+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))
3.0ms
(* 1/60 (pow im 5))
9.0ms
(* (* 0.5 (cos re)) (- (* im -2) (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))))
3.0ms
(* 1/3 (pow im 3))

series410.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))
53.0ms
(* 1/60 (pow im 5))
181.0ms
(* (* 0.5 (cos re)) (- (* im -2) (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))))
36.0ms
(* 1/3 (pow im 3))

simplify153.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0214203
1736200
23502199
35001199

prune83.0ms

Filtered
29 candidates to 16 candidates (55.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New26329
Fresh022
Picked101
Done000
Total27532

Merged error: 0.1b

Counts
32 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
associate-*r*
distribute-neg-in associate-*l*
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ distribute-neg-frac sqr-pow
neg-mul-1 flip3-+ unpow3 distribute-rgt-neg-out flip-+
Counts
4 → 21
Calls
4 calls:
3.0ms
(* 1/60 (pow im 5))
12.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))))
4.0ms
(* (* 0.5 (cos re)) (* im -2))
3.0ms
(* 1/3 (pow im 3))

series425.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* 1/60 (pow im 5))
286.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))))
51.0ms
(* (* 0.5 (cos re)) (* im -2))
36.0ms
(* 1/3 (pow im 3))

simplify127.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0218172
1737168
23270166
35002162

prune108.0ms

Filtered
33 candidates to 23 candidates (69.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New33033
Fresh044
Picked011
Done000
Total33538

Merged error: 0.1b

Counts
38 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r*
*-commutative
associate-/l*
difference-of-squares
unpow3 sqr-pow
associate-*r/ associate-*l* associate-/r/ associate-/l/
flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv
Counts
4 → 24
Calls
4 calls:
3.0ms
(* 1/3 (pow im 3))
3.0ms
(* 1/3 (pow im 3))
3.0ms
(* 1/3 (pow im 3))
25.0ms
(/ (* (* 0.5 (cos re)) (- (* (* im -2) (* im -2)) (* (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5))) (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))))) (+ (* im -2) (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))))

series531.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* 1/3 (pow im 3))
42.0ms
(* 1/3 (pow im 3))
35.0ms
(* 1/3 (pow im 3))
417.0ms
(/ (* (* 0.5 (cos re)) (- (* (* im -2) (* im -2)) (* (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5))) (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))))) (+ (* im -2) (+ (* 1/3 (pow im 3)) (* 1/60 (pow im 5)))))

simplify35.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0207392
1888361
25001359

prune106.0ms

Filtered
36 candidates to 23 candidates (63.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh123
Picked101
Done011
Total36541

Merged error: 0.1b

Counts
41 → 5

regimes113.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
03314
15014
25714
35714

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.3s5701×body1280valid
859.0ms3623×body640valid
221.0ms1460×body320valid
215.0ms4549×body80valid
70.0ms702×body160valid