Details

Time bar (total: 1.4m)

sample312.0ms

Algorithm
intervals
Results
156.0ms180×body1280valid
76.0ms133×body640valid
27.0ms16×body160valid
17.0ms151×body80valid
17.0ms41×body320valid

simplify681.0ms

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

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 57.5b

localize18.0ms

Local error

Found 2 expressions with local error:

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

rewrite202.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
129.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
64.0ms
(- (exp (- 0 im)) (exp im))

series147.0ms

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

simplify37.1s

Counts
208 → 192
Calls
208 calls:
Slowest
763.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))))))
746.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))))))
511.0ms
(* (fma (- (cbrt (exp im))) (* (cbrt (exp im)) (cbrt (exp im))) (* (cbrt (exp im)) (* (cbrt (exp im)) (cbrt (exp im))))) (* 0.5 (cos re)))
428.0ms
(fma (exp (fma 1 0 (- (* (cbrt im) (* (cbrt im) (cbrt im)))))) (exp (fma (- (cbrt im)) (* (cbrt im) (cbrt im)) (* (cbrt im) (* (cbrt im) (cbrt im))))) (- (* (cbrt (exp im)) (* (cbrt (exp im)) (cbrt (exp im))))))
386.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.6s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

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

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
82.0ms
(* im (- (* (* im -1/3) im) 2))
34.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
15.0ms
(* (* im -1/3) im)
5.0ms
(* im -1/3)

series499.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
284.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))
48.0ms
(* (* im -1/3) im)
16.0ms
(* im -1/3)

simplify7.9s

Counts
62 → 110
Calls
62 calls:
Slowest
731.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
493.0ms
(sqrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
490.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
419.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
398.0ms
(* (* im (- (* (* im -1/3) im) 2)) (* 0.5 (cos re)))

prune1.4s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.1b

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

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

series637.0ms

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

simplify6.8s

Counts
95 → 129
Calls
95 calls:
Slowest
692.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))))))
408.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))))
394.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))))
367.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))
355.0ms
(- (+ (* 1/3 (pow im 3)) (* (pow (sqrt 2) 2) im)))

prune1.8s

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0.0b

localize56.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2))))
1.0b
(* (sqrt (sqrt 2)) (sqrt (sqrt 2)))
1.0b
(* (sqrt (sqrt 2)) (sqrt (sqrt 2)))
0.3b
(* im -1/3)

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
512×sqrt-pow1
387×pow1
262×pow-prod-up
256×pow1/2
132×sqrt-prod
112×pow-sqr
92×add-sqr-sqrt
82×pow-prod-down
31×swap-sqr
30×*-un-lft-identity add-cube-cbrt
22×add-cbrt-cube associate-*r* associate-*l* add-exp-log
20×pow-plus unswap-sqr
15×pow2
11×prod-exp cbrt-unprod
sqrt-unprod
expm1-log1p-u *-commutative insert-posit16 log1p-expm1-u add-log-exp
rem-square-sqrt
Counts
4 → 357
Calls
4 calls:
Slowest
96.0ms
(* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2))))
27.0ms
(* (sqrt (sqrt 2)) (sqrt (sqrt 2)))
23.0ms
(* (sqrt (sqrt 2)) (sqrt (sqrt 2)))
11.0ms
(* im -1/3)

series28.0ms

Counts
4 → 6
Calls
4 calls:
Slowest
28.0ms
(* im -1/3)
0.0ms
(* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2))))
0.0ms
(* (sqrt (sqrt 2)) (sqrt (sqrt 2)))
0.0ms
(* (sqrt (sqrt 2)) (sqrt (sqrt 2)))

simplify7.5s

Counts
491 → 363
Calls
491 calls:
Slowest
345.0ms
(+ (/ 1 2) 1/2)
228.0ms
(* (* (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2)))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2)))) (* (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2)))))
227.0ms
(* (* (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (* (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2)))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2)))))
189.0ms
(* (* (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2)))) (* (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2))) (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (sqrt (sqrt 2)))))
178.0ms
(* (* (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2)))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2)))) (* (* (* (sqrt (sqrt 2)) (sqrt (sqrt 2))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2)))) (* (sqrt (sqrt 2)) (sqrt (sqrt 2)))))

prune5.5s

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.0b

regimes706.0ms

Accuracy

0% (0.9b remaining)

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

bsearch8.0ms

end0.0ms

sample12.3s

Algorithm
intervals
Results
7.1s5705×body1280valid
2.5s3596×body640valid
1.1s4413×body80valid
917.0ms1595×body320valid
212.0ms692×body160valid