Details

Time bar (total: 13.5s)

sample404.0ms

Algorithm
intervals
Results
35.0ms190×body80valid
17.0ms22×body1280valid
15.0ms17×body2560valid
10.0msbody5120valid
6.0ms10×body640valid
4.0msbody320valid
1.0msbody160valid

simplify516.0ms

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

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.8b

localize16.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (hypot re im) re)
0.0b
(sqrt (* (- (hypot re im) re) 2.0))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
prod-diff add-cube-cbrt
pow1
add-log-exp
fma-neg
expm1-log1p-u sqrt-pow1 flip3-- add-cbrt-cube sqrt-div associate-*l/ add-exp-log insert-posit16 log1p-expm1-u flip--
sub-neg pow1/2 diff-log pow-prod-down sqrt-prod distribute-lft-out-- difference-of-squares
Counts
2 → 45
Calls
2 calls:
Slowest
8.0ms
(sqrt (* (- (hypot re im) re) 2.0))
7.0ms
(- (hypot re im) re)

series340.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
256.0ms
(sqrt (* (- (hypot re im) re) 2.0))
84.0ms
(- (hypot re im) re)

simplify1.1s

Counts
35 → 51
Calls
35 calls:
Slowest
254.0ms
(sqrt (* (- (* (hypot re im) (hypot re im)) (* re re)) 2.0))
174.0ms
(sqrt (* (- (pow (hypot re im) 3) (pow re 3)) 2.0))
71.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- (* (sqrt re) (sqrt re))))
56.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- (* (cbrt re) (* (cbrt re) (cbrt re)))))
55.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- (* re 1)))

prune588.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 14.6b

localize35.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (hypot re im) re)
0.4b
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×*-un-lft-identity
13×add-cube-cbrt
12×sqrt-prod
prod-diff
associate-*l*
pow1 associate-*r*
add-cbrt-cube add-exp-log add-log-exp unswap-sqr
fma-neg pow-prod-down
expm1-log1p-u sqrt-pow1 flip3-- pow1/2 sqrt-div associate-*l/ insert-posit16 log1p-expm1-u flip-- distribute-lft-out-- difference-of-squares
sub-neg sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod
Counts
2 → 66
Calls
2 calls:
Slowest
39.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
10.0ms
(- (hypot re im) re)

series315.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
233.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
83.0ms
(- (hypot re im) re)

simplify1.6s

Counts
60 → 72
Calls
60 calls:
Slowest
333.0ms
(* (* (* (sqrt (- (hypot re im) re)) (sqrt (- (hypot re im) re))) (sqrt (- (hypot re im) re))) (* (* (sqrt 2.0) (sqrt 2.0)) (sqrt 2.0)))
213.0ms
(* (sqrt (- (* (hypot re im) (hypot re im)) (* re re))) (sqrt 2.0))
201.0ms
(* (sqrt (- (pow (hypot re im) 3) (pow re 3))) (sqrt 2.0))
73.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- (* (cbrt re) (* (cbrt re) (cbrt re)))))
50.0ms
(* (- (hypot re im) re) 2.0)

prune686.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 14.6b

localize40.0ms

Local error

Found 4 expressions with local error:

16.1b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))

rewrite7.0ms

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

series808.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
344.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
175.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
156.0ms
(sqrt (hypot re im))
133.0ms
(sqrt (hypot re im))

simplify141.0ms

Counts
25 → 69
Calls
25 calls:
Slowest
45.0ms
(* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0)
35.0ms
(* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0)
15.0ms
(sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
6.0ms
(sqrt (sqrt (hypot re im)))
5.0ms
(sqrt (hypot re im))

prune722.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 14.5b

localize27.0ms

Local error

Found 4 expressions with local error:

9.0b
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) (- re))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×*-un-lft-identity add-cube-cbrt
10×sqrt-pow1 pow1/2
swap-sqr add-log-exp
add-cbrt-cube associate-*r* associate-*l* add-exp-log
pow-prod-up
expm1-log1p-u insert-posit16 log1p-expm1-u unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square sum-log
pow2 neg-sub0 +-commutative associate-+r- rem-square-sqrt fma-def flip3-+ pow-plus sqrt-unprod unsub-neg neg-log prod-exp *-commutative cbrt-unprod flip-+
Counts
4 → 103
Calls
4 calls:
Slowest
21.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
10.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) (- re))
2.0ms
(sqrt (hypot re im))
2.0ms
(sqrt (hypot re im))

series352.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
112.0ms
(sqrt (hypot re im))
102.0ms
(sqrt (hypot re im))
70.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) (- re))
68.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))

simplify1.2s

Counts
84 → 115
Calls
84 calls:
Slowest
238.0ms
(* (exp (* (sqrt (hypot re im)) (sqrt (hypot re im)))) (exp (- re)))
218.0ms
(* (exp (* (sqrt (hypot re im)) (sqrt (hypot re im)))) (/ 1 (exp re)))
163.0ms
(* (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))))
96.0ms
(* (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))) (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))))
23.0ms
(+ 1/2 (/ 1 2))

prune1.3s

Pruning

17 alts after pruning (16 fresh and 1 done)

Merged error: 14.5b

regimes331.0ms

Accuracy

0% (0.3b remaining)

Error of 13.6b against oracle of 13.4b and baseline of 13.6b

bsearch1.0ms

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.3s5955×body80valid
642.0ms727×body2560valid
313.0ms494×body1280valid
266.0ms312×body5120valid
216.0ms285×body640valid
53.0ms148×body320valid
37.0ms79×body160valid