Details

Time bar (total: 1.3m)

sample344.0ms

Algorithm
intervals
Results
169.0ms176×body1280valid
108.0ms117×body640valid
20.0ms171×body80valid
19.0ms50×body320valid
5.0ms20×body160valid

simplify319.0ms

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

localize31.0ms

Local error

Found 2 expressions with local error:

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

rewrite222.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
159.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
56.0ms
(- (exp (- 0 im)) (exp im))

series164.0ms

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

simplify35.4s

Counts
208 → 192
Calls
208 calls:
Slowest
529.0ms
(* (fma (- (cbrt (exp im))) (* (cbrt (exp im)) (cbrt (exp im))) (* (cbrt (exp im)) (* (cbrt (exp im)) (cbrt (exp im))))) (* 0.5 (cos re)))
417.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))))))
409.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))))))
381.0ms
(fma (exp (fma 1 0 (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (sqrt (exp im)) (sqrt (exp im)))))
357.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

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.2b
(* (* 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))

rewrite135.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
78.0ms
(* im (- (* (* im -1/3) im) 2))
23.0ms
(* (* im -1/3) im)
22.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
11.0ms
(* im -1/3)

series475.0ms

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

simplify7.2s

Counts
62 → 110
Calls
62 calls:
Slowest
625.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
443.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
439.0ms
(+ (log (* 0.5 (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
428.0ms
(+ (+ (log 0.5) (log (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
371.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

prune1.3s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite149.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1 add-cbrt-cube add-exp-log
13×pow-prod-down prod-exp cbrt-unprod
11×add-sqr-sqrt
10×associate-*r*
*-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
70.0ms
(* im (* (* im -1/3) im))
40.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* im (* (* im -1/3) im)) (* -2 im))))
27.0ms
(* (* im -1/3) im)
10.0ms
(* im -1/3)

series391.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
251.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* im (* (* im -1/3) im)) (* -2 im))))
64.0ms
(* im (* (* im -1/3) im))
48.0ms
(* (* im -1/3) im)
28.0ms
(* im -1/3)

simplify7.5s

Counts
51 → 101
Calls
51 calls:
Slowest
566.0ms
(* (* (* im im) im) (* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im)))
553.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
506.0ms
(+ (+ (log 0.5) (log (cos re))) (log (fma (pow im 5) -1/60 (+ (* im (* (* im -1/3) im)) (* -2 im)))))
474.0ms
(* (* (* im im) im) (* (* (* (* im -1/3) im) (* (* im -1/3) im)) (* (* im -1/3) im)))
443.0ms
(* (* (* im im) im) (* (* (* (* im im) im) (* (* -1/3 -1/3) -1/3)) (* (* im im) im)))

prune1.2s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

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

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

series627.0ms

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

simplify6.6s

Counts
92 → 127
Calls
92 calls:
Slowest
672.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))))
386.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))
381.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))
362.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (+ (* (fma (* im -1/3) im (- (* (sqrt 2) (sqrt 2)))) im) 0)))
334.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))

prune1.7s

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

regimes858.0ms

Accuracy

34% (0.5b remaining)

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

bsearch11.0ms

end0.0ms

sample12.3s

Algorithm
intervals
Results
7.2s5680×body1280valid
3.0s3603×body640valid
799.0ms1439×body320valid
651.0ms4460×body80valid
224.0ms673×body160valid