Details

Time bar (total: 11.8s)

sample79.0ms

Algorithm
intervals
Results
22.0ms187×body80valid
17.0ms22×body2560valid
13.0ms21×body1280valid
6.0ms11×body640valid
5.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify29.0ms

Counts
1 → 1
Iterations
IterNodes
done31
331
229
124
012

prune20.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.4b

localize36.0ms

Local error

Found 2 expressions with local error:

0.2b
(sqrt (* (+ (hypot re im) re) 2.0))
0.7b
(+ (hypot re im) re)

rewrite11.0ms

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

series347.0ms

Counts
2 → 6
Calls
2 calls:
263.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
84.0ms
(+ (hypot re im) re)

simplify1.0s

Counts
40 → 40
Iterations
IterNodes
done2010
42010
31359
2470
1176
077

prune263.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 14.0b

localize24.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×*-un-lft-identity sqrt-prod
add-cube-cbrt
pow1
associate-*l*
associate-*r*
add-cbrt-cube add-exp-log add-log-exp
sqrt-div unswap-sqr
expm1-log1p-u fma-def sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ insert-posit16 log1p-expm1-u distribute-lft-out
associate-*l/
+-commutative rem-sqrt-square sum-log sqrt-unprod prod-exp *-commutative cbrt-unprod hypot-def
Counts
3 → 74
Calls
3 calls:
5.0ms
(sqrt (+ (hypot re im) re))
34.0ms
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
9.0ms
(+ (hypot re im) re)

series471.0ms

Counts
3 → 9
Calls
3 calls:
152.0ms
(sqrt (+ (hypot re im) re))
235.0ms
(* (sqrt (+ (hypot re im) re)) (sqrt 2.0))
83.0ms
(+ (hypot re im) re)

simplify985.0ms

Counts
83 → 83
Iterations
IterNodes
done2000
32000
2816
1297
0127

prune500.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 13.9b

localize36.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (* (+ (hypot re im) re) 2.0))
0.4b
(* (sqrt (sqrt (* (+ (hypot re im) re) 2.0))) (sqrt (sqrt (* (+ (hypot re im) re) 2.0))))
0.7b
(+ (hypot re im) re)
0.7b
(+ (hypot re im) re)

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
76×sqrt-pow1
64×pow1
27×sqrt-prod
26×add-sqr-sqrt sqrt-div
23×pow-prod-down
19×pow1/2
18×*-un-lft-identity
16×associate-*l/
14×pow-prod-up add-cube-cbrt
flip3-+ swap-sqr flip-+
pow-sqr add-log-exp
associate-*r* associate-*l*
fma-def add-cbrt-cube add-exp-log
expm1-log1p-u frac-times insert-posit16 log1p-expm1-u unswap-sqr
+-commutative sum-log associate-*r/ distribute-lft-out
pow2 rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
13.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
66.0ms
(* (sqrt (sqrt (* (+ (hypot re im) re) 2.0))) (sqrt (sqrt (* (+ (hypot re im) re) 2.0))))
13.0ms
(+ (hypot re im) re)
8.0ms
(+ (hypot re im) re)

series651.0ms

Counts
4 → 12
Calls
4 calls:
254.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
220.0ms
(* (sqrt (sqrt (* (+ (hypot re im) re) 2.0))) (sqrt (sqrt (* (+ (hypot re im) re) 2.0))))
98.0ms
(+ (hypot re im) re)
78.0ms
(+ (hypot re im) re)

simplify941.0ms

Counts
146 → 146
Iterations
IterNodes
done2019
32019
2801
1326
0152

prune735.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 13.9b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))
0.2b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0))
16.9b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

rewrite11.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:
1.0ms
(sqrt (hypot re im))
1.0ms
(sqrt (hypot re im))
8.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

series823.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(sqrt (hypot re im))
133.0ms
(sqrt (hypot re im))
371.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0))
178.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify1.3s

Counts
69 → 69
Iterations
IterNodes
done2004
42004
31844
2531
1198
093

prune334.0ms

Pruning

16 alts after pruning (14 fresh and 2 done)

Merged error: 13.9b

regimes228.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done12
112
09

end0.0ms

sample2.7s

Algorithm
intervals
Results
866.0ms5992×body80valid
844.0ms682×body2560valid
400.0ms525×body1280valid
267.0ms306×body5120valid
126.0ms285×body640valid
41.0ms132×body320valid
16.0ms78×body160valid