Details

Time bar (total: 9.5s)

sample164.0ms

Algorithm
intervals
Results
90.0ms197×body1280valid
31.0ms114×body640valid
15.0ms159×body80valid
9.0ms48×body320valid
3.0ms22×body160valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.2b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite82.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:
55.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
26.0ms
(- (exp (- 0.0 im)) (exp im))

series116.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0268399
11086345
25001344

prune122.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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

rewrite75.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:
9.0ms
(+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))
5.0ms
(* 1/60 (pow im 5))
51.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
7.0ms
(* 1/3 (pow im 3))

series321.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0541829
12757736
25001733

prune332.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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))
0.1b
(* 1/3 (pow im 3))
0.3b
(* (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))))

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
136×pow1
74×pow-prod-down
60×sqrt-pow1
38×associate-*r*
35×add-sqr-sqrt
21×add-exp-log
19×add-cube-cbrt *-un-lft-identity
17×pow-prod-up
16×associate-*r/
15×add-cbrt-cube
14×distribute-neg-frac
12×pow1/2 sqrt-div
11×associate-*l* pow-sqr
10×prod-exp
unswap-sqr
unpow-prod-down cube-prod
flip3-+ flip-+
cbrt-unprod
frac-times swap-sqr sqrt-prod *-commutative add-log-exp sqr-pow
distribute-lft-neg-in distribute-rgt-neg-in
cube-mult pow-to-exp distribute-neg-in unpow3 associate-*l/ pow-exp
pow2 distribute-rgt-in neg-mul-1 distribute-lft-in pow-plus sqrt-unprod rem-square-sqrt distribute-rgt-neg-out
Counts
4 → 166
Calls
4 calls:
51.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
7.0ms
(* 1/3 (pow im 3))
6.0ms
(* 1/3 (pow im 3))
153.0ms
(* (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))) (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))))

series442.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
06421774
134531577
250021474

prune501.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
60×add-sqr-sqrt
44×associate-*r*
35×sqrt-prod
28×sqrt-div
26×unpow-prod-down cube-prod
24×add-cube-cbrt *-un-lft-identity
20×add-exp-log unswap-sqr
16×associate-*r/
14×distribute-neg-frac
13×pow1 associate-*l*
11×add-cbrt-cube
prod-exp
cube-div sqrt-pow1 sqr-pow
pow-pow flip3-+ flip-+
cube-mult frac-times pow-to-exp unpow3 pow-exp add-log-exp
pow-unpow pow-prod-down *-commutative cbrt-unprod
pow1/2 associate-*l/
pow-prod-up sqrt-pow2 rem-cube-cbrt
Counts
4 → 162
Calls
4 calls:
7.0ms
(* 1/3 (pow im 3))
7.0ms
(* 1/3 (pow im 3))
107.0ms
(* (sqrt (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))) (pow (sqrt (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))) 3))
23.0ms
(pow (sqrt (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))) 3)

series624.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* 1/3 (pow im 3))
35.0ms
(* 1/3 (pow im 3))
192.0ms
(* (sqrt (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))) (pow (sqrt (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))) 3))
354.0ms
(pow (sqrt (sqrt (* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))))) 3)

simplify125.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
07363214
134482536
250022336

prune591.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0.0b

regimes362.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
14611
26511
36511

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.7s5805×body1280valid
1.0s3608×body640valid
355.0ms4512×body80valid
287.0ms1471×body320valid
104.0ms720×body160valid