Details

Time bar (total: 9.1s)

sample763.0ms

Algorithm
intervals
Results
641.0ms200×body80valid
13.0ms18×body2560valid
13.0ms13×body5120valid
9.0ms12×body1280valid
4.0msbody640valid
2.0msbody320valid
1.0msbody160valid

simplify146.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
142.0ms
(* 0.5 (sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re))))

prune28.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 10.5b

localize31.0ms

Local error

Found 1 expressions with local error:

0.8b
(- (hypot re im) re)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
prod-diff
add-cube-cbrt
fma-neg add-log-exp
expm1-log1p-u pow1 sub-neg flip3-- add-cbrt-cube diff-log add-exp-log insert-posit16 log1p-expm1-u flip-- distribute-lft-out-- difference-of-squares
Counts
1 → 29
Calls
1 calls:
Slowest
7.0ms
(- (hypot re im) re)

series83.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
83.0ms
(- (hypot re im) re)

simplify558.0ms

Counts
27 → 32
Calls
27 calls:
Slowest
83.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- (* (cbrt re) (* (cbrt re) (cbrt re)))))
43.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- (* (sqrt re) (sqrt re))))
37.0ms
(fma 1 (hypot re im) (- (* (cbrt re) (* (cbrt re) (cbrt re)))))
36.0ms
(fma 1 (hypot re im) (- (* (sqrt re) (sqrt re))))
33.0ms
(fma (- (cbrt re)) (* (cbrt re) (cbrt re)) (* (cbrt re) (* (cbrt re) (cbrt re))))

prune301.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 10.3b

localize22.0ms

Local error

Found 1 expressions with local error:

13.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef insert-posit16 log1p-expm1-u add-log-exp
Counts
1 → 11
Calls
1 calls:
Slowest
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series182.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
182.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify8.0ms

Counts
3 → 14
Calls
3 calls:
Slowest
6.0ms
(- im re)
0.0ms
(- (+ re (- (+ (* +nan.0 (/ (pow im 2) (pow re 2))) (- +nan.0)))))
0.0ms
(- (+ re (- (+ (* +nan.0 (/ (pow im 2) (pow re 2))) (- +nan.0)))))

prune161.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 10.3b

localize67.0ms

Local error

Found 4 expressions with local error:

13.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
13.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
13.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
0.5b
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u add-log-exp
cbrt-prod fma-udef
pow1/3
Counts
4 → 47
Calls
4 calls:
Slowest
1.0ms
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series864.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
276.0ms
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
205.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
201.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
183.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify232.0ms

Counts
15 → 59
Calls
15 calls:
Slowest
163.0ms
(- (+ (* 1/18 (* (pow re 2) (pow (/ 1 (pow im 5)) 1/3))) (pow im 1/3)) (* 1/3 (* re (pow (/ 1 (pow im 2)) 1/3))))
33.0ms
(cbrt (* (cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))) (cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))))
16.0ms
(cbrt (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))))
3.0ms
(- im re)
3.0ms
(- im re)

prune762.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 10.3b

localize58.0ms

Local error

Found 4 expressions with local error:

13.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
13.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
13.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
13.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef insert-posit16 log1p-expm1-u add-log-exp
Counts
4 → 44
Calls
4 calls:
Slowest
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series829.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
228.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
207.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
199.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
195.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify17.0ms

Counts
12 → 56
Calls
12 calls:
Slowest
3.0ms
(- im re)
3.0ms
(- im re)
3.0ms
(- im re)
3.0ms
(- im re)
0.0ms
(- (+ re (- (+ (* +nan.0 (/ (pow im 2) (pow re 2))) (- +nan.0)))))

prune860.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 10.3b

regimes291.0ms

Accuracy

0% (0.2b remaining)

Error of 13.3b against oracle of 13.1b and baseline of 13.3b

bsearch3.0ms

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.3s6021×body80valid
542.0ms709×body2560valid
298.0ms302×body5120valid
256.0ms466×body1280valid
151.0ms271×body640valid
48.0ms154×body320valid
20.0ms77×body160valid