Details

Time bar (total: 7.7s)

sample142.0ms

Algorithm
intervals
Results
77.0ms174×body1280valid
31.0ms116×body640valid
8.0ms49×body320valid
7.0ms142×body80valid
3.0ms27×body160valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1447
2997
31857
43187
57667
612707
718017
847437
950017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.8b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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:
12.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
7.0ms
(- (exp (- 0.0 im)) (exp im))

series120.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0268399
11086345
25001344

prune115.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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))
6.0ms
(* 1/3 (pow im 3))
12.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series336.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0541829
12757736
25001733

prune333.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt associate-*r*
16×add-exp-log
15×add-cube-cbrt *-un-lft-identity
10×add-cbrt-cube
associate-*l* add-log-exp
unpow-prod-down unswap-sqr
prod-exp
pow1
cube-prod sqr-pow
distribute-lft-neg-in distribute-rgt-neg-in sum-log *-commutative cbrt-unprod
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 pow-prod-down 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))
6.0ms
(* 1/3 (pow im 3))
11.0ms
(* (cos re) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

series330.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
51.0ms
(* 1/60 (pow im 5))
41.0ms
(* 1/3 (pow im 3))
175.0ms
(* (cos re) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))

simplify73.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0470786
12270710
25001707

prune353.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.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:
6.0ms
(* (cbrt (cos re)) (cbrt (cos re)))
1.0ms
(cbrt (cos re))
1.0ms
(cbrt (cos re))
2.0ms
(cbrt (cos re))

series484.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(* (cbrt (cos re)) (cbrt (cos re)))
106.0ms
(cbrt (cos re))
104.0ms
(cbrt (cos re))
103.0ms
(cbrt (cos re))

simplify102.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0122441
1481389
23180357
35001351

prune328.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes170.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
15011
26611
36611

end0.0ms

sample4.4s

Algorithm
intervals
Results
2.6s5738×body1280valid
953.0ms3570×body640valid
249.0ms1459×body320valid
224.0ms4381×body80valid
83.0ms702×body160valid