Details

Time bar (total: 17.6s)

sample46.0ms

Algorithm
intervals
Results
26.0ms203×body80valid
5.0ms21×body2560valid
2.0ms11×body1280valid
2.0msbody5120valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Counts
1 → 1
Iterations
IterNodes
done31
331
229
124
012

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.0b

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

rewrite15.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:
0.0ms
(hypot re im)
8.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
6.0ms
(+ (hypot re im) re)

series394.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(hypot re im)
249.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
80.0ms
(+ (hypot re im) re)

simplify1.6s

Counts
54 → 54
Iterations
IterNodes
done5000
31418
2487
1190
089

prune339.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 11.6b

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

rewrite78.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:
0.0ms
(hypot re im)
15.0ms
(sqrt (+ (hypot re im) re))
49.0ms
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
11.0ms
(+ (hypot re im) re)

series656.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(hypot re im)
194.0ms
(sqrt (+ (hypot re im) re))
296.0ms
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
103.0ms
(+ (hypot re im) re)

simplify3.1s

Counts
97 → 97
Iterations
IterNodes
done5000
32515
2826
1311
0139

prune516.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 11.6b

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

rewrite63.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:
1.0ms
(sqrt (hypot re im))
15.0ms
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
22.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
23.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series548.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(sqrt (hypot re im))
274.0ms
(sqrt (* (+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) 2.0))
55.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
92.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify2.7s

Counts
111 → 111
Iterations
IterNodes
done5000
32594
2839
1339
0147

prune548.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 11.5b

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

rewrite92.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:
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
86.0ms
(+ (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

series614.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt (hypot re im))
169.0ms
(cbrt (hypot re im))
169.0ms
(cbrt (hypot re im))
106.0ms
(+ (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im)))) re)

simplify3.3s

Counts
69 → 69
Iterations
IterNodes
done5009
31775
2509
1162
068

prune465.0ms

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 11.5b

regimes284.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done12
112
09

end0.0ms

sample2.0s

Algorithm
intervals
Results
623.0ms295×body5120valid
475.0ms5997×body80valid
371.0ms717×body2560valid
189.0ms480×body1280valid
78.0ms301×body640valid
49.0ms74×body160valid
30.0ms136×body320valid