Details

Time bar (total: 1.2m)

sample332.0ms

Algorithm
intervals
Results
164.0ms181×body1280valid
100.0ms131×body640valid
24.0ms51×body320valid
18.0ms165×body80valid
4.0ms16×body160valid

simplify218.0ms

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

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 57.9b

localize18.0ms

Local error

Found 2 expressions with local error:

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

rewrite234.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
168.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
62.0ms
(- (exp (- 0 im)) (exp im))

series164.0ms

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

simplify33.6s

Counts
208 → 192
Calls
208 calls:
Slowest
570.0ms
(* (fma (- (cbrt (exp im))) (* (cbrt (exp im)) (cbrt (exp im))) (* (cbrt (exp im)) (* (cbrt (exp im)) (cbrt (exp im))))) (* 0.5 (cos re)))
445.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))))))
411.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))))))
387.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)))
359.0ms
(fma (exp (fma 1 0 (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (exp im) 1)))

prune2.6s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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

rewrite143.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
79.0ms
(* im (- (* (* im -1/3) im) 2))
28.0ms
(* (* im -1/3) im)
28.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
5.0ms
(* im -1/3)

series449.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
213.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
162.0ms
(* im (- (* (* im -1/3) im) 2))
46.0ms
(* (* im -1/3) im)
28.0ms
(* im -1/3)

simplify7.1s

Counts
62 → 110
Calls
62 calls:
Slowest
606.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
456.0ms
(+ (log (* 0.5 (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
420.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
391.0ms
(sqrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
385.0ms
(+ (+ (log 0.5) (log (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))

prune1.4s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize58.0ms

Local error

Found 4 expressions with local error:

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

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
*-un-lft-identity add-cube-cbrt
cbrt-prod
add-exp-log
expm1-log1p-u add-cbrt-cube swap-sqr associate-*r* associate-*l* insert-posit16 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 → 70
Calls
4 calls:
Slowest
55.0ms
(* (cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))))
16.0ms
(cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
11.0ms
(cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
11.0ms
(cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))

series2.0s

Counts
4 → 12
Calls
4 calls:
Slowest
744.0ms
(* (cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))))
471.0ms
(cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
421.0ms
(cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
398.0ms
(cbrt (* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))

simplify8.4s

Counts
45 → 82
Calls
45 calls:
Slowest
412.0ms
(- (+ (* 1/9 (* (pow (cbrt 0.5) 2) (* (exp (* 1/3 (+ (* 2 (log im)) (log 4)))) (pow im 2)))) (* (exp (* 1/3 (+ (* 2 (log im)) (log 4)))) (pow (cbrt 0.5) 2))) (* 4/3 (* (pow re 2) (* (pow (cbrt 0.5) 2) (* (pow im 2) (exp (* 1/3 (- (log 1/16) (* 4 (log im))))))))))
369.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
349.0ms
(+ (* 20/3 (/ (* (cbrt 0.5) (exp (* 1/3 (- (log (* 1/60 (cos re))) (* 5 (log (/ -1 im))))))) (pow im 2))) (* (cbrt 0.5) (exp (* 1/3 (- (log (* 1/60 (cos re))) (* 5 (log (/ -1 im))))))))
348.0ms
(* (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))) (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
339.0ms
(+ (* 20/3 (/ (* (cbrt 0.5) (exp (* 1/3 (- (log (* 1/60 (cos re))) (* 5 (log (/ -1 im))))))) (pow im 2))) (* (cbrt 0.5) (exp (* 1/3 (- (log (* 1/60 (cos re))) (* 5 (log (/ -1 im))))))))

prune1.2s

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 0.0b

localize406.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt im)
0.7b
(cbrt im)
0.7b
(cbrt im)
0.5b
(* (cbrt im) (cbrt im))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×*-un-lft-identity add-cube-cbrt
11×pow1
pow1/3
swap-sqr associate-*r* associate-*l* add-exp-log
expm1-log1p-u add-cbrt-cube insert-posit16 log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 85
Calls
4 calls:
Slowest
12.0ms
(* (cbrt im) (cbrt im))
2.0ms
(cbrt im)
1.0ms
(cbrt im)
1.0ms
(cbrt im)

series1.1s

Counts
4 → 12
Calls
4 calls:
Slowest
276.0ms
(cbrt im)
273.0ms
(cbrt im)
272.0ms
(* (cbrt im) (cbrt im))
257.0ms
(cbrt im)

simplify1.0s

Counts
63 → 97
Calls
63 calls:
Slowest
165.0ms
(* (cbrt -1) (pow (* im -1) 1/3))
151.0ms
(* (cbrt -1) (pow (* im -1) 1/3))
138.0ms
(* (pow (cbrt -1) 2) (pow (pow im 2) 1/3))
111.0ms
(* (cbrt -1) (pow (* im -1) 1/3))
80.0ms
(* (* (cbrt (cbrt im)) (cbrt (cbrt im))) (* (cbrt (cbrt im)) (cbrt (cbrt im))))

prune1.2s

Pruning

14 alts after pruning (11 fresh and 3 done)

Merged error: 0.0b

regimes460.0ms

Accuracy

0% (0.7b remaining)

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

bsearch5.0ms

end0.0ms

sample12.1s

Algorithm
intervals
Results
7.4s5706×body1280valid
2.7s3572×body640valid
766.0ms1481×body320valid
636.0ms4481×body80valid
263.0ms670×body160valid