Details

Time bar (total: 1.2m)

sample260.0ms

Algorithm
intervals
Results
124.0ms174×body1280valid
90.0ms138×body640valid
14.0ms155×body80valid
12.0ms37×body320valid
5.0ms26×body160valid

simplify242.0ms

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

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 55.9b

localize18.0ms

Local error

Found 2 expressions with local error:

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

rewrite227.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
150.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
69.0ms
(- (exp (- 0 im)) (exp im))

series200.0ms

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

simplify33.2s

Counts
208 → 192
Calls
208 calls:
Slowest
581.0ms
(* (* 0.5 (cos re)) (fma (- (exp im)) 1 (* (exp im) 1)))
437.0ms
(fma (exp (fma (sqrt 0) (sqrt 0) (- (* im 1)))) (exp (fma (- im) 1 (* im 1))) (- (* (cbrt (exp im)) (* (cbrt (exp im)) (cbrt (exp im))))))
359.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)))
352.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))))))
345.0ms
(fma (exp (fma (sqrt 0) (sqrt 0) (- (* (cbrt im) (* (cbrt im) (cbrt im)))))) (exp (fma (- (cbrt im)) (* (cbrt im) (cbrt im)) (* (cbrt im) (* (cbrt im) (cbrt im))))) (- (* (sqrt (exp im)) (sqrt (exp im)))))

prune2.7s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite132.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
86.0ms
(* im (- (* (* im -1/3) im) 2))
21.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
14.0ms
(* (* im -1/3) im)
9.0ms
(* im -1/3)

series460.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
257.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
138.0ms
(* im (- (* (* im -1/3) im) 2))
35.0ms
(* (* im -1/3) im)
29.0ms
(* im -1/3)

simplify6.8s

Counts
62 → 110
Calls
62 calls:
Slowest
526.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
450.0ms
(+ (+ (log 0.5) (log (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
430.0ms
(+ (log (* 0.5 (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
415.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
409.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

prune1.3s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log
13×add-cbrt-cube
11×pow1 associate-*r*
10×*-un-lft-identity add-cube-cbrt
associate-*l*
prod-exp
cbrt-unprod
expm1-log1p-u unpow-prod-down pow-prod-down insert-posit16 log1p-expm1-u add-log-exp unswap-sqr
*-commutative
sqr-pow
pow-to-exp pow-exp fma-udef
Counts
4 → 81
Calls
4 calls:
Slowest
32.0ms
(* (fma (fma (* im -1/3) im -2) im (* -1/60 (pow im 5))) (* 0.5 (cos re)))
9.0ms
(* -1/60 (pow im 5))
5.0ms
(* im -1/3)
0.0ms
(fma (fma (* im -1/3) im -2) im (* -1/60 (pow im 5)))

series681.0ms

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

simplify4.1s

Counts
49 → 93
Calls
49 calls:
Slowest
309.0ms
(* (* (* -1/60 -1/60) -1/60) (* (* (pow im 5) (pow im 5)) (pow im 5)))
273.0ms
(- (* 0.5 (* (pow re 2) im)) (+ (* 1.0 im) (* 0.16666666666666666 (pow im 3))))
238.0ms
(+ (log (fma (fma (* im -1/3) im -2) im (* -1/60 (pow im 5)))) (+ (log 0.5) (log (cos re))))
233.0ms
(* (* (* (fma (fma (* im -1/3) im -2) im (* -1/60 (pow im 5))) (fma (fma (* im -1/3) im -2) im (* -1/60 (pow im 5)))) (fma (fma (* im -1/3) im -2) im (* -1/60 (pow im 5)))) (* (* (* 0.5 (cos re)) (* 0.5 (cos re))) (* 0.5 (cos re))))
230.0ms
(- (+ (* 1/3 (pow im 3)) (+ (* 1/60 (pow im 5)) (* 2 im))))

prune1.2s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

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

rewrite83.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
41.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))
17.0ms
(* (sqrt 2) (sqrt 2))
11.0ms
(* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))))
11.0ms
(* im -1/3)

series687.0ms

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

simplify6.6s

Counts
95 → 129
Calls
95 calls:
Slowest
783.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))))))
385.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))))
337.0ms
(* (* (* (* 0.5 0.5) 0.5) (* (* (cos re) (cos re)) (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))))
331.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* im (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2))))) 0)))
316.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))

prune1.8s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes558.0ms

Accuracy

0% (0.6b remaining)

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

bsearch2.0ms

end0.0ms

sample12.1s

Algorithm
intervals
Results
7.2s5816×body1280valid
3.1s3549×body640valid
681.0ms1441×body320valid
569.0ms4420×body80valid
317.0ms685×body160valid