Details

Time bar (total: 9.5s)

sample179.0ms

Algorithm
intervals
Results
98.0ms195×body1280valid
40.0ms129×body640valid
12.0ms56×body320valid
9.0ms130×body80valid
3.0ms22×body160valid

simplify84.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.5b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite78.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:
53.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
24.0ms
(- (exp (- 0.0 im)) (exp im))

series115.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
38.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

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 3 expressions with local error:

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))

rewrite66.0ms

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

series255.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(* 1/60 (pow im 5))
171.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
35.0ms
(* 1/3 (pow im 3))

simplify71.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0489659
12438583
25002580

prune264.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
21×add-exp-log
18×associate-*r*
16×associate-*l*
15×add-cube-cbrt *-un-lft-identity add-cbrt-cube
unpow-prod-down prod-exp unswap-sqr
pow1
cube-prod associate-*r/ cbrt-unprod add-log-exp sqr-pow
times-frac associate-/r* *-commutative
cbrt-undiv distribute-lft-neg-out pow-to-exp flip3-+ div-exp pow-exp associate-/r/ flip-+ associate-/l/
distribute-lft-neg-in distribute-rgt-in cube-mult neg-mul-1 flip3-- distribute-rgt-neg-in frac-2neg distribute-lft-in unpow3 distribute-frac-neg pow-prod-down clear-num flip-- div-inv associate-/l*
Counts
4 → 108
Calls
4 calls:
5.0ms
(* (pow im 6) 1/9)
23.0ms
(* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9)))
6.0ms
(* 1/3 (pow im 3))
28.0ms
(/ (* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9))) (- (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

series945.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (pow im 6) 1/9)
513.0ms
(* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9)))
39.0ms
(* 1/3 (pow im 3))
344.0ms
(/ (* (- (* 0.5 (cos re))) (+ (- (* (+ (* 1/60 (pow im 5)) (* 2 im)) (+ (* 1/60 (pow im 5)) (* 2 im)))) (* (pow im 6) 1/9))) (- (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

simplify140.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
06591702
142601430
250021430

prune436.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize17.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.2b
(* (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)))))))

rewrite216.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)))))
6.0ms
(* 1/3 (pow im 3))
6.0ms
(* 1/3 (pow im 3))
146.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)))))))

series432.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(* (* 0.5 (cos re)) (- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im)))))
34.0ms
(* 1/3 (pow im 3))
39.0ms
(* 1/3 (pow im 3))
185.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)))))))

simplify130.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
06421774
134531577
250021474

prune445.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes190.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
14611
26511
36511

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.9s5759×body1280valid
1.1s3538×body640valid
327.0ms1487×body320valid
299.0ms4313×body80valid
99.0ms695×body160valid