Details

Time bar (total: 31.3s)

sample80.0ms

Algorithm
intervals
Results
21.0ms21×body2560valid
18.0ms203×body80valid
4.0ms11×body1280valid
3.0msbody5120valid
3.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify80.0ms

Counts
1 → 1
Iterations
IterNodes
done31
331
229
124
012

prune38.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.0b

localize58.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.3b
(sqrt (* (+ (hypot re im) re) 2.0))
0.8b
(+ (hypot re im) re)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
pow1 *-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
expm1-log1p-u fma-def add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
sqrt-pow1 flip3-+ sqrt-div associate-*l/ flip-+
+-commutative hypot-udef sum-log pow1/2 pow-prod-down sqrt-prod distribute-lft-out
Counts
3 → 45
Calls
3 calls:
1.0ms
(hypot re im)
22.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
16.0ms
(+ (hypot re im) re)

series569.0ms

Counts
3 → 9
Calls
3 calls:
85.0ms
(hypot re im)
376.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
107.0ms
(+ (hypot re im) re)

simplify3.8s

Counts
54 → 54
Iterations
IterNodes
done5000
31405
2487
1190
089

prune847.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 11.6b

localize63.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(sqrt (+ (hypot re im) re))
0.4b
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
0.8b
(+ (hypot re im) re)

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
16×*-un-lft-identity
15×sqrt-prod
10×add-cube-cbrt
pow1
associate-*l*
add-cbrt-cube associate-*r* add-exp-log add-log-exp
expm1-log1p-u sqrt-div insert-posit16 log1p-expm1-u unswap-sqr
fma-def sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out
associate-*l/
+-commutative rem-sqrt-square hypot-udef sum-log sqrt-unprod prod-exp *-commutative cbrt-unprod hypot-def
Counts
4 → 85
Calls
4 calls:
1.0ms
(hypot re im)
11.0ms
(sqrt (+ (hypot re im) re))
43.0ms
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
12.0ms
(+ (hypot re im) re)

series773.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(hypot re im)
216.0ms
(sqrt (+ (hypot re im) re))
351.0ms
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
109.0ms
(+ (hypot re im) re)

simplify6.0s

Counts
97 → 97
Iterations
IterNodes
done5000
32516
2826
1311
0139

prune1.4s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 11.6b

localize83.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.3b
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
6.3b
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
23×pow1
22×sqrt-prod
13×*-un-lft-identity add-cube-cbrt
11×sqrt-pow1
10×pow1/2
swap-sqr
add-cbrt-cube associate-*r* associate-*l* add-exp-log add-log-exp
pow-prod-up
expm1-log1p-u pow-prod-down insert-posit16 log1p-expm1-u unswap-sqr
pow-sqr
flip3-+ sqrt-div associate-*l/ flip-+
pow2 +-commutative rem-sqrt-square sum-log rem-square-sqrt fma-def pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 99
Calls
4 calls:
5.0ms
(sqrt (hypot re im))
34.0ms
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
22.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
15.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series700.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(sqrt (hypot re im))
350.0ms
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
95.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
116.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify5.3s

Counts
111 → 111
Iterations
IterNodes
done5000
32590
2839
1340
0147

prune1.2s

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 11.5b

localize181.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))
6.8b
(+ (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
add-log-exp
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
pow1/3
+-commutative sum-log fma-def flip3-+ flip-+
Counts
4 → 57
Calls
4 calls:
3.0ms
(cbrt (hypot re im))
3.0ms
(cbrt (hypot re im))
3.0ms
(cbrt (hypot re im))
101.0ms
(+ (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

series855.0ms

Counts
4 → 12
Calls
4 calls:
252.0ms
(cbrt (hypot re im))
252.0ms
(cbrt (hypot re im))
236.0ms
(cbrt (hypot re im))
116.0ms
(+ (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

simplify5.2s

Counts
69 → 69
Iterations
IterNodes
done5035
31787
2509
1162
068

prune1.0s

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 11.5b

regimes799.0ms

Accuracy

0% (0.3b remaining)

Error of 13.5b against oracle of 13.2b and baseline of 13.5b

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done12
112
09

end0.0ms

sample2.1s

Algorithm
intervals
Results
566.0ms5997×body80valid
532.0ms480×body1280valid
359.0ms717×body2560valid
176.0ms295×body5120valid
77.0ms301×body640valid
24.0ms136×body320valid
13.0ms74×body160valid