Details

Time bar (total: 1.4m)

sample327.0ms

Algorithm
intervals
Results
203.0ms191×body1280valid
64.0ms113×body640valid
21.0ms53×body320valid
19.0ms150×body80valid
3.0ms11×body160valid

simplify317.0ms

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

localize35.0ms

Local error

Found 2 expressions with local error:

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

rewrite229.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
132.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
88.0ms
(- (exp (- 0 im)) (exp im))

series192.0ms

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

simplify33.5s

Counts
208 → 192
Calls
208 calls:
Slowest
502.0ms
(fma (- (cbrt (exp im))) (* (cbrt (exp im)) (cbrt (exp im))) (* (cbrt (exp im)) (* (cbrt (exp im)) (cbrt (exp im)))))
459.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))))))
403.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)))
378.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)))
364.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))))))

prune2.6s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize55.0ms

Local error

Found 4 expressions with local error:

0.3b
(* im -1/3)
0.2b
(* (* 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))

rewrite191.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
113.0ms
(* im (- (* (* im -1/3) im) 2))
36.0ms
(* (* im -1/3) im)
29.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
10.0ms
(* im -1/3)

series459.0ms

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

simplify7.3s

Counts
62 → 110
Calls
62 calls:
Slowest
699.0ms
(+ (log (* 0.5 (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
514.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
439.0ms
(+ (+ (log 0.5) (log (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
410.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
404.0ms
(sqrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

prune1.3s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.1b

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

rewrite21.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
15.0ms
(* (cbrt im) (cbrt im))
1.0ms
(cbrt im)
1.0ms
(cbrt im)
1.0ms
(cbrt im)

series1.1s

Counts
4 → 12
Calls
4 calls:
Slowest
306.0ms
(* (cbrt im) (cbrt im))
294.0ms
(cbrt im)
265.0ms
(cbrt im)
244.0ms
(cbrt im)

simplify982.0ms

Counts
63 → 97
Calls
63 calls:
Slowest
172.0ms
(* (cbrt -1) (pow (* im -1) 1/3))
124.0ms
(* (cbrt -1) (pow (* im -1) 1/3))
121.0ms
(* (pow (cbrt -1) 2) (pow (pow im 2) 1/3))
101.0ms
(* (cbrt -1) (pow (* im -1) 1/3))
89.0ms
(* (* (cbrt (cbrt im)) (cbrt (cbrt im))) (* (cbrt (cbrt im)) (cbrt (cbrt im))))

prune1.4s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize93.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
0.7b
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
0.7b
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
0.5b
(* (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)))))

rewrite22.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
15.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)))))
2.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
1.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
1.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

series978.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
256.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)))))
249.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
241.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
231.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

simplify21.6s

Counts
65 → 97
Calls
65 calls:
Slowest
806.0ms
(* (sqrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (sqrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))))
657.0ms
(* (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
634.0ms
(* (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
510.0ms
(* (sqrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (sqrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))))
490.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))

prune1.3s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes384.0ms

Accuracy

0% (0.7b remaining)

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

bsearch3.0ms

end0.0ms

sample12.4s

Algorithm
intervals
Results
6.7s5716×body1280valid
3.5s3632×body640valid
826.0ms1428×body320valid
773.0ms4352×body80valid
193.0ms672×body160valid