Details

Time bar (total: 1.3m)

sample356.0ms

Algorithm
intervals
Results
174.0ms174×body1280valid
83.0ms118×body640valid
57.0ms132×body80valid
18.0ms43×body320valid
8.0ms28×body160valid

simplify220.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
220.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.5b

localize34.0ms

Local error

Found 2 expressions with local error:

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

rewrite220.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
141.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
76.0ms
(- (exp (- 0 im)) (exp im))

series184.0ms

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

simplify34.1s

Counts
208 → 192
Calls
208 calls:
Slowest
443.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))))))
434.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))))))
405.0ms
(fma (sqrt (exp (- 0 im))) (sqrt (exp (- 0 im))) (- (* (exp im) 1)))
336.0ms
(* (fma (- (exp im)) 1 (* (exp im) 1)) (* 0.5 (cos re)))
326.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)))

prune2.8s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

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

rewrite137.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
97.0ms
(* im (- (* (* im -1/3) im) 2))
16.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
15.0ms
(* (* im -1/3) im)
8.0ms
(* im -1/3)

series448.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
218.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
155.0ms
(* im (- (* (* im -1/3) im) 2))
49.0ms
(* (* im -1/3) im)
26.0ms
(* im -1/3)

simplify7.2s

Counts
62 → 110
Calls
62 calls:
Slowest
638.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
445.0ms
(- (+ (* 1.0 (* im (cos re))) (+ (* 0.16666666666666666 (* (pow im 3) (cos re))) (* 0.008333333333333333 (* (pow im 5) (cos re))))))
425.0ms
(+ (+ (log 0.5) (log (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)))
418.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

prune1.4s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize43.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 -1/3) im) im) (* -2 im))))
0.1b
(* (* im -1/3) im)
0.1b
(* (* (* im -1/3) im) im)

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-cbrt-cube add-exp-log
13×pow-prod-down prod-exp cbrt-unprod
12×associate-*r*
11×add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
associate-*l*
expm1-log1p-u *-commutative insert-posit16 log1p-expm1-u add-log-exp
fma-udef
distribute-rgt-in distribute-lft-in unswap-sqr
Counts
4 → 89
Calls
4 calls:
Slowest
52.0ms
(* (* (* im -1/3) im) im)
17.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* (* (* im -1/3) im) im) (* -2 im))))
14.0ms
(* (* im -1/3) im)
9.0ms
(* im -1/3)

series387.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
264.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* (* (* im -1/3) im) im) (* -2 im))))
51.0ms
(* (* (* im -1/3) im) im)
49.0ms
(* (* im -1/3) im)
23.0ms
(* im -1/3)

simplify7.4s

Counts
52 → 101
Calls
52 calls:
Slowest
569.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
525.0ms
(+ (log (* 0.5 (cos re))) (log (fma (pow im 5) -1/60 (+ (* (* (* im -1/3) im) im) (* -2 im)))))
492.0ms
(* (* (* (* (* im im) im) (* (* -1/3 -1/3) -1/3)) (* (* im im) im)) (* (* im im) im))
459.0ms
(sqrt (fma (pow im 5) -1/60 (+ (* (* (* im -1/3) im) im) (* -2 im))))
443.0ms
(* (* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im)) (* (* im im) im))

prune1.4s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize51.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 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0)))
0.0b
(* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im)

rewrite55.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 insert-posit16 log1p-expm1-u add-log-exp
pow-sqr
fma-udef
pow2 distribute-rgt-in rem-square-sqrt distribute-lft-in pow-plus sqrt-unprod
Counts
4 → 117
Calls
4 calls:
Slowest
34.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0)))
8.0ms
(* (sqrt 2) (sqrt 2))
5.0ms
(* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im)
5.0ms
(* im -1/3)

series532.0ms

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

simplify5.9s

Counts
92 → 127
Calls
92 calls:
Slowest
363.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))
356.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))
348.0ms
(* (* (* (* 0.5 (cos re)) (* 0.5 (cos re))) (* 0.5 (cos re))) (* (* (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0)) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0))) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0))))
336.0ms
(* (* (* (* 0.5 0.5) 0.5) (* (* (cos re) (cos re)) (cos re))) (* (* (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0)) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0))) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0))))
331.0ms
(* (* (* (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))))) (* (* im im) im))

prune1.7s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes639.0ms

Accuracy

0% (0.7b remaining)

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

bsearch4.0ms

end0.0ms

sample12.1s

Algorithm
intervals
Results
7.1s5655×body1280valid
2.7s3523×body640valid
1.1s4239×body80valid
645.0ms1517×body320valid
238.0ms721×body160valid