Details

Time bar (total: 18.6s)

sample130.0ms

Algorithm
intervals
Results
67.0ms172×body1280valid
30.0ms118×body640valid
7.0ms44×body320valid
6.0ms148×body80valid
2.0ms20×body160valid

simplify5.2s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01112
12112
24412
310412
420912
530512
645112
752412
878512
9148512
10194012
11197812
12201912
done201912

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.3b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite247.0ms

Algorithm
rewrite-expression-head
Rules
216×prod-diff
119×add-sqr-sqrt *-un-lft-identity
115×add-cube-cbrt
110×exp-sum
44×distribute-rgt-in distribute-lft-in
14×fma-neg
13×sub-neg
pow1 add-exp-log add-cbrt-cube
associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 184
Calls
2 calls:
154.0ms
(* (* 0.5 (cos re)) (- (exp (- 0.0 im)) (exp im)))
80.0ms
(- (exp (- 0.0 im)) (exp im))

series123.0ms

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

simplify1.1s

Counts
190 → 190
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02847174
16314912
215553505
done50002656

prune209.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 1 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r*
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod
distribute-neg-in fma-udef
distribute-rgt-in expm1-log1p-u neg-mul-1 distribute-lft-in associate-*l* *-commutative distribute-rgt-neg-out log1p-expm1-u add-log-exp
Counts
1 → 30
Calls
1 calls:
23.0ms
(* (* 0.5 (cos re)) (- (fma 1/3 (pow im 3) (fma 1/60 (pow im 5) (* 2 im)))))

series171.0ms

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

simplify2.8s

Counts
33 → 33
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
092780
1262757
21017649
34877642
done5000642

prune114.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log
24×prod-exp
23×associate-*r*
22×add-cbrt-cube
17×add-sqr-sqrt
13×pow1
12×cbrt-unprod
10×add-cube-cbrt *-un-lft-identity
pow-prod-down
associate-*l*
unpow-prod-down cube-prod unswap-sqr
distribute-lft-neg-in expm1-log1p-u pow-to-exp distribute-rgt-neg-in pow-exp *-commutative log1p-expm1-u add-log-exp
distribute-neg-in fma-udef sqr-pow
distribute-rgt-in cube-mult neg-mul-1 distribute-lft-in unpow3 distribute-rgt-neg-out
Counts
3 → 89
Calls
3 calls:
35.0ms
(* (* -1/3 (pow im 3)) (* 0.5 (cos re)))
25.0ms
(* (* 0.5 (cos re)) (- (fma 1/60 (pow im 5) (* 2 im))))
13.0ms
(* -1/3 (pow im 3))

series378.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(* (* -1/3 (pow im 3)) (* 0.5 (cos re)))
270.0ms
(* (* 0.5 (cos re)) (- (fma 1/60 (pow im 5) (* 2 im))))
40.0ms
(* -1/3 (pow im 3))

simplify939.0ms

Counts
98 → 98
Iterations

Useful iterations: done (936.0ms)

IterNodesCost
01651288
14401175
217581017
done5000987

prune276.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re)))) (cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re)))))
0.6b
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))
0.6b
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))
0.6b
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 66
Calls
4 calls:
34.0ms
(* (cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re)))) (cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re)))))
12.0ms
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))
15.0ms
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))
12.0ms
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))

series877.0ms

Counts
4 → 12
Calls
4 calls:
249.0ms
(* (cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re)))) (cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re)))))
208.0ms
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))
211.0ms
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))
209.0ms
(cbrt (* (fma (pow im 5) -1/60 (* -2 im)) (* 0.5 (cos re))))

simplify1.3s

Counts
78 → 78
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01251928
12821778
27991574
330021308
done50001257

prune319.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes172.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01925
12725
23125
33825
done3825

end0.0ms

sample4.0s

Algorithm
intervals
Results
2.3s5766×body1280valid
821.0ms3498×body640valid
214.0ms1448×body320valid
198.0ms4456×body80valid
68.0ms678×body160valid