Details

Time bar (total: 1.3m)

sample356.0ms

Algorithm
intervals
Results
221.0ms198×body1280valid
68.0ms115×body640valid
23.0ms130×body80valid
20.0ms51×body320valid
5.0ms20×body160valid

simplify291.0ms

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

prune21.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 58.5b

localize28.0ms

Local error

Found 2 expressions with local error:

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

rewrite161.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
104.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
53.0ms
(- (exp (- 0 im)) (exp im))

series202.0ms

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

simplify34.2s

Counts
208 → 192
Calls
208 calls:
Slowest
701.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))))))
500.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))))))
394.0ms
(fma (exp (fma (* (cbrt 0) (cbrt 0)) (cbrt 0) (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (sqrt (exp im)) (sqrt (exp im)))))
374.0ms
(fma (exp (fma (sqrt 0) (sqrt 0) (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (exp im) 1)))
362.0ms
(fma (exp (fma 1 0 (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (exp im) 1)))

prune2.5s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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

rewrite129.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
85.0ms
(* im (- (* (* im -1/3) im) 2))
21.0ms
(* (* im -1/3) im)
16.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
5.0ms
(* im -1/3)

series411.0ms

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

simplify7.5s

Counts
62 → 110
Calls
62 calls:
Slowest
675.0ms
(* (* 0.5 (cos re)) (* im (- (* (* im -1/3) im) 2)))
598.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
530.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
449.0ms
(+ (+ (log 0.5) (log (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
449.0ms
(+ (log (* 0.5 (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

localize39.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
35.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)

series531.0ms

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

simplify6.1s

Counts
92 → 127
Calls
92 calls:
Slowest
480.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))
400.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))))
345.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0)))
320.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0)))
311.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0)))

prune1.7s

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize39.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (* -2 0.5) (cos re)) im)
0.1b
(* (* im 0.16666666666666666) (* im im))
0.0b
(* (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im))) (cos re))
0.0b
(- (* (* (* -2 0.5) (cos re)) im) (* (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im))) (cos re)))

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
27×pow1 add-cbrt-cube add-exp-log
15×pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt
*-un-lft-identity associate-*r* add-cube-cbrt
add-log-exp
associate-*l*
expm1-log1p-u insert-posit16 log1p-expm1-u
*-commutative
sub-neg flip3-- fma-neg diff-log prod-diff flip-- unswap-sqr
Counts
4 → 87
Calls
4 calls:
Slowest
68.0ms
(* (* (* -2 0.5) (cos re)) im)
63.0ms
(- (* (* (* -2 0.5) (cos re)) im) (* (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im))) (cos re)))
29.0ms
(* (* im 0.16666666666666666) (* im im))
8.0ms
(* (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im))) (cos re))

series494.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
245.0ms
(- (* (* (* -2 0.5) (cos re)) im) (* (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im))) (cos re)))
113.0ms
(* (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im))) (cos re))
70.0ms
(* (* im 0.16666666666666666) (* im im))
65.0ms
(* (* (* -2 0.5) (cos re)) im)

simplify8.0s

Counts
50 → 99
Calls
50 calls:
Slowest
734.0ms
(* (* (* (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im))) (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im)))) (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im)))) (* (* (cos re) (cos re)) (cos re)))
523.0ms
(* (* (* (* im im) im) (* (* 0.16666666666666666 0.16666666666666666) 0.16666666666666666)) (* (* (* im im) im) (* (* im im) im)))
499.0ms
(sqrt (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im))))
470.0ms
(* (* (* (* im im) im) (* (* 0.16666666666666666 0.16666666666666666) 0.16666666666666666)) (* (* (* im im) (* im im)) (* im im)))
403.0ms
(* (sqrt (fma (pow im 5) 0.008333333333333333 (* (* im 0.16666666666666666) (* im im)))) (sqrt (cos re)))

prune1.2s

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 0.0b

regimes716.0ms

Accuracy

0% (0.7b remaining)

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

bsearch8.0ms

end0.0ms

sample12.5s

Algorithm
intervals
Results
7.8s5835×body1280valid
2.5s3502×body640valid
1.0s4396×body80valid
637.0ms1460×body320valid
224.0ms671×body160valid