Details

Time bar (total: 1.8m)

sample355.0ms

Algorithm
intervals
Results
179.0ms189×body1280valid
113.0ms125×body640valid
19.0ms50×body320valid
17.0ms141×body80valid
5.0ms19×body160valid

simplify279.0ms

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

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 58.3b

localize38.0ms

Local error

Found 2 expressions with local error:

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

rewrite195.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
124.0ms
(* (* 0.5 (cos re)) (- (exp (- 0 im)) (exp im)))
62.0ms
(- (exp (- 0 im)) (exp im))

series151.0ms

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

simplify33.4s

Counts
208 → 192
Calls
208 calls:
Slowest
677.0ms
(* (* 0.5 (cos re)) (fma (- (sqrt (exp im))) (sqrt (exp im)) (* (sqrt (exp im)) (sqrt (exp im)))))
416.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))))))
362.0ms
(fma (exp (fma 1 0 (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (exp im) 1)))
355.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))))))
343.0ms
(fma (exp (fma (sqrt 0) (sqrt 0) (- (* (sqrt im) (sqrt im))))) (exp (fma (- (sqrt im)) (sqrt im) (* (sqrt im) (sqrt im)))) (- (* (sqrt (exp im)) (sqrt (exp im)))))

prune2.6s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize54.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-cbrt-cube add-exp-log
10×add-sqr-sqrt
associate-*r*
*-un-lft-identity add-cube-cbrt
pow-prod-down prod-exp cbrt-unprod
associate-*l*
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp
*-commutative fma-udef
distribute-rgt-in distribute-lft-in unswap-sqr
Counts
4 → 76
Calls
4 calls:
Slowest
28.0ms
(* (* im -1/3) im)
23.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
10.0ms
(* im -1/3)
0.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))

series428.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
263.0ms
(* (* 0.5 (cos re)) (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
96.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
47.0ms
(* (* im -1/3) im)
21.0ms
(* im -1/3)

simplify5.7s

Counts
40 → 88
Calls
40 calls:
Slowest
599.0ms
(* (* (* (* im -1/3) (* im -1/3)) (* im -1/3)) (* (* im im) im))
443.0ms
(+ (log (* 0.5 (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
426.0ms
(+ (+ (log 0.5) (log (cos re))) (log (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))
386.0ms
(fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))
353.0ms
(sqrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

prune920.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

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

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

series955.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
261.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
251.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)))))
228.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
214.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

simplify21.4s

Counts
65 → 97
Calls
65 calls:
Slowest
777.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
642.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))))
608.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))))
561.0ms
(* (* (cbrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (cbrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))) (* (cbrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (cbrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))))
480.0ms
(* (cbrt (* (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)))))) (cbrt (* (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)))))))

prune1.4s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize68.0ms

Local error

Found 4 expressions with local error:

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

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 (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))))

series988.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
281.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
252.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))
244.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)))))
211.0ms
(cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))

simplify21.8s

Counts
65 → 97
Calls
65 calls:
Slowest
970.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))))
568.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))))
501.0ms
(* (cbrt (* (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)))))) (cbrt (* (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)))))))
474.0ms
(* (* (cbrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (cbrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))) (* (cbrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (cbrt (cbrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2)))))))
474.0ms
(* (cbrt (sqrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))) (cbrt (sqrt (fma (pow im 5) -1/60 (* im (- (* (* im -1/3) im) 2))))))

prune1.3s

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.0b

regimes290.0ms

Accuracy

0% (0.6b remaining)

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

bsearch3.0ms

end0.0ms

sample12.8s

Algorithm
intervals
Results
6.7s5682×body1280valid
3.4s3671×body640valid
1.2s1456×body320valid
784.0ms4462×body80valid
196.0ms689×body160valid