Details

Time bar (total: 1.3m)

sample340.0ms

Algorithm
intervals
Results
171.0ms175×body1280valid
69.0ms121×body640valid
58.0ms134×body80valid
18.0ms47×body320valid
5.0ms19×body160valid

simplify217.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
217.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 57.8b

localize24.0ms

Local error

Found 2 expressions with local error:

4.9b
(- (exp (- 0 im)) (exp im))
0.0b
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))

rewrite184.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-cbrt-cube add-exp-log
associate-*r*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- associate-*r/ insert-posit16 log1p-expm1-u flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
2 → 186
Calls
2 calls:
Slowest
123.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
53.0ms
(- (exp (- 0 im)) (exp im))

series160.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
113.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
47.0ms
(- (exp (- 0 im)) (exp im))

simplify33.8s

Counts
208 → 192
Calls
208 calls:
Slowest
622.0ms
(* (fma (- (sqrt (exp im))) (sqrt (exp im)) (* (sqrt (exp im)) (sqrt (exp im)))) (* 0.5 (cos re)))
464.0ms
(fma (exp (fma (* (cbrt 0) (cbrt 0)) (cbrt 0) (- (* im 1)))) (exp (fma (- im) 1 (* im 1))) (- (* (cbrt (exp im)) (* (cbrt (exp im)) (cbrt (exp im))))))
378.0ms
(fma (exp (fma 1 0 (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (exp im) 1)))
348.0ms
(fma (exp (fma (* (cbrt 0) (cbrt 0)) (cbrt 0) (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (exp im) 1)))
337.0ms
(* (* 0.5 (cos re)) (fma (- (sqrt (exp im))) (sqrt (exp im)) (* (sqrt (exp im)) (sqrt (exp im)))))

prune2.7s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize55.0ms

Local error

Found 4 expressions with local error:

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

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-cbrt-cube add-exp-log
16×add-sqr-sqrt
12×*-un-lft-identity associate-*r* add-cube-cbrt
associate-*l* pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in distribute-lft-in prod-diff
expm1-log1p-u *-commutative insert-posit16 log1p-expm1-u add-log-exp
sub-neg associate-*r/ fma-udef unswap-sqr
flip3-- flip--
Counts
4 → 98
Calls
4 calls:
Slowest
63.0ms
(* im (- (* (* im -1/3) im) 2))
34.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
29.0ms
(* (* im -1/3) im)
17.0ms
(* im -1/3)

series427.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
217.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
146.0ms
(* im (- (* (* im -1/3) im) 2))
48.0ms
(* (* im -1/3) im)
16.0ms
(* im -1/3)

simplify7.0s

Counts
62 → 110
Calls
62 calls:
Slowest
532.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
417.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
407.0ms
(+ (log (* 0.5 (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
388.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
380.0ms
(+ (+ (log 0.5) (log (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))

prune1.4s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize62.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (sqrt 2) (sqrt 2))
0.3b
(* im -1/3)
0.1b
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))
0.0b
(* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
28×pow1
18×sqrt-prod
17×*-un-lft-identity add-cube-cbrt
15×add-cbrt-cube associate-*r* add-exp-log
13×associate-*l*
sqrt-pow1 pow1/2 swap-sqr pow-prod-down
prod-exp cbrt-unprod unswap-sqr
pow-prod-up
expm1-log1p-u *-commutative fma-udef insert-posit16 log1p-expm1-u add-log-exp
pow-sqr
distribute-rgt-in distribute-lft-in
pow2 rem-square-sqrt pow-plus sqrt-unprod
Counts
4 → 119
Calls
4 calls:
Slowest
35.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))
14.0ms
(* (sqrt 2) (sqrt 2))
11.0ms
(* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))))
6.0ms
(* im -1/3)

series588.0ms

Counts
4 → 10
Calls
4 calls:
Slowest
337.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))
231.0ms
(* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))))
20.0ms
(* im -1/3)
0.0ms
(* (sqrt 2) (sqrt 2))

simplify6.4s

Counts
95 → 129
Calls
95 calls:
Slowest
776.0ms
(* (* (* im im) im) (* (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))))
353.0ms
(* (* (* (* 0.5 (cos re)) (* 0.5 (cos re))) (* 0.5 (cos re))) (* (* (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)) (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0))) (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0))))
329.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))
306.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))
302.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))

prune1.9s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize88.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (sqrt 2) (sqrt 2))
1.0b
(* (sqrt 2) (sqrt 2))
1.0b
(* (sqrt 2) (sqrt 2))
0.7b
(cbrt (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
54×sqrt-prod
49×pow1
29×*-un-lft-identity add-cube-cbrt
24×sqrt-pow1 pow1/2 swap-sqr
18×associate-*r* associate-*l*
15×pow-prod-up
12×unswap-sqr
10×add-cbrt-cube add-exp-log
pow-prod-down pow-sqr
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
cbrt-prod pow2 rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
pow1/3
Counts
4 → 170
Calls
4 calls:
Slowest
16.0ms
(* (sqrt 2) (sqrt 2))
9.0ms
(* (sqrt 2) (sqrt 2))
9.0ms
(* (sqrt 2) (sqrt 2))
1.0ms
(cbrt (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))

series784.0ms

Counts
4 → 6
Calls
4 calls:
Slowest
784.0ms
(cbrt (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))
0.0ms
(* (sqrt 2) (sqrt 2))
0.0ms
(* (sqrt 2) (sqrt 2))
0.0ms
(* (sqrt 2) (sqrt 2))

simplify3.3s

Counts
168 → 176
Calls
168 calls:
Slowest
265.0ms
(cbrt (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))
248.0ms
(cbrt (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))
246.0ms
(- (+ (exp (* 1/3 (+ (log im) (log (- (pow (sqrt 2) 2)))))) (+ (* 1/180 (/ (* (exp (* 1/3 (+ (log im) (log (- (pow (sqrt 2) 2)))))) (pow im 4)) (pow (sqrt 2) 2))) (* 1/9 (/ (* (exp (* 1/3 (+ (log im) (log (- (pow (sqrt 2) 2)))))) (pow im 2)) (pow (sqrt 2) 2))))) (* 1/81 (/ (* (exp (* 1/3 (+ (log im) (log (- (pow (sqrt 2) 2)))))) (pow im 4)) (pow (sqrt 2) 4))))
235.0ms
(- (+ (exp (* 1/3 (- (log 1/60) (* 5 (log (/ -1 im)))))) (+ (* 20 (/ (* (exp (* 1/3 (- (log 1/60) (* 5 (log (/ -1 im)))))) (pow (sqrt 2) 2)) (pow im 4))) (* 20/3 (/ (exp (* 1/3 (- (log 1/60) (* 5 (log (/ -1 im)))))) (pow im 2))))) (* 400/9 (/ (exp (* 1/3 (- (log 1/60) (* 5 (log (/ -1 im)))))) (pow im 4))))
218.0ms
(cbrt (* (cbrt (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0))) (cbrt (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))))

prune3.9s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes503.0ms

Accuracy

0% (0.7b remaining)

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

bsearch5.0ms

end0.0ms

sample12.4s

Algorithm
intervals
Results
7.1s5752×body1280valid
3.3s3507×body640valid
887.0ms1503×body320valid
607.0ms4550×body80valid
237.0ms687×body160valid