Details

Time bar (total: 8.3s)

sample172.0ms

Algorithm
intervals
Results
101.0ms191×body1280valid
30.0ms104×body640valid
10.0ms161×body80valid
9.0ms48×body320valid
3.0ms21×body160valid

simplify142.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
718017
847437
950017

prune5.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: 58.4b

Counts
2 → 1

localize20.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r*
add-log-exp
add-cube-cbrt sub-neg pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 40
Calls
2 calls:
23.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
14.0ms
(- (exp (- 0.0 im)) (exp im))

series179.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0268399
11086345
25001344

prune163.0ms

Filtered
46 candidates to 30 candidates (65.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New43346
Fresh000
Picked101
Done000
Total44347

Merged error: 0.1b

Counts
47 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
29×associate-*r*
26×add-sqr-sqrt
19×add-exp-log
14×add-cube-cbrt *-un-lft-identity
13×add-cbrt-cube
pow1 prod-exp add-log-exp
unpow-prod-down
associate-*l* unswap-sqr
cbrt-unprod
cube-prod sqr-pow
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down sum-log *-commutative
pow-to-exp distribute-neg-in flip3-+ associate-*r/ pow-exp flip-+ distribute-neg-frac
+-commutative distribute-rgt-in cube-mult neg-mul-1 associate-+r+ distribute-lft-in unpow3 distribute-rgt-neg-out
Counts
4 → 99
Calls
4 calls:
8.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
5.0ms
(* 1/60 (pow im 5))
12.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
6.0ms
(* 1/3 (pow im 3))

series419.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
0541829
12757736
25001733

prune402.0ms

Filtered
111 candidates to 71 candidates (64.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1047111
Fresh022
Picked101
Done000
Total1059114

Merged error: 0.0b

Counts
114 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cos re) (pow im 3))
0.1b
(* (cos re) (pow im 5))
0.1b
(* 0.16666666666666666 (* (cos re) (pow im 3)))
0.1b
(* (cos re) im)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×add-exp-log
23×associate-*r*
15×add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity prod-exp
12×associate-*l*
pow1 unpow-prod-down unswap-sqr
cbrt-unprod
cube-prod *-commutative add-log-exp sqr-pow
pow-to-exp pow-exp
pow-prod-down
cube-mult unpow3
Counts
4 → 93
Calls
4 calls:
7.0ms
(* (cos re) (pow im 3))
6.0ms
(* (cos re) (pow im 5))
6.0ms
(* 0.16666666666666666 (* (cos re) (pow im 3)))
5.0ms
(* (cos re) im)

series384.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (cos re) (pow im 3))
139.0ms
(* (cos re) (pow im 5))
103.0ms
(* 0.16666666666666666 (* (cos re) (pow im 3)))
40.0ms
(* (cos re) im)

simplify62.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0334504
11459438
25002438

prune355.0ms

Filtered
105 candidates to 66 candidates (62.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1023105
Fresh178
Picked011
Done000
Total10311114

Merged error: 0.0b

Counts
114 → 11

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (cos re)) (cbrt (cos re)))
0.4b
(cbrt (cos re))
0.4b
(cbrt (cos re))
0.4b
(cbrt (cos re))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
7.0ms
(* (cbrt (cos re)) (cbrt (cos re)))
1.0ms
(cbrt (cos re))
1.0ms
(cbrt (cos re))
2.0ms
(cbrt (cos re))

series561.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(* (cbrt (cos re)) (cbrt (cos re)))
125.0ms
(cbrt (cos re))
111.0ms
(cbrt (cos re))
112.0ms
(cbrt (cos re))

simplify110.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0122441
1481389
23180357
35001351

prune404.0ms

Filtered
85 candidates to 60 candidates (70.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New83285
Fresh189
Picked101
Done011
Total851196

Merged error: 0.0b

Counts
96 → 11

regimes300.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03014
14114
25914
36914
46914

end0.0ms

sample4.3s

Algorithm
intervals
Results
2.5s5673×body1280valid
913.0ms3621×body640valid
243.0ms1470×body320valid
218.0ms4381×body80valid
73.0ms696×body160valid