Details

Time bar (total: 13.6s)

sample64.0ms

Algorithm
intervals
Results
15.0ms187×body80valid
13.0ms28×body2560valid
8.0ms21×body1280valid
5.0msbody5120valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify14.0ms

Counts
1 → 1
Iterations
IterNodes
done32
332
230
124
012

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.4b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.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-+ log1p-expm1-u
+-commutative sum-log pow1/2 pow-prod-down sqrt-prod distribute-lft-out
Counts
2 → 32
Calls
2 calls:
7.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
19.0ms
(+ (hypot re im) re)

series378.0ms

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

simplify2.0s

Counts
38 → 38
Iterations
IterNodes
done5000
33748
2604
1174
075

prune225.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 14.1b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

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

series319.0ms

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

simplify1.4s

Counts
58 → 58
Iterations
IterNodes
done5000
21008
1234
099

prune360.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 14.1b

localize36.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))
0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0))
17.0b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

rewrite13.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 log1p-expm1-u add-log-exp
pow1/2
rem-sqrt-square
pow-prod-down fma-udef
Counts
4 → 53
Calls
4 calls:
2.0ms
(sqrt (hypot re im))
2.0ms
(sqrt (hypot re im))
7.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)

series730.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(sqrt (hypot re im))
132.0ms
(sqrt (hypot re im))
306.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0))
204.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify2.6s

Counts
65 → 65
Iterations
IterNodes
done5000
34353
2709
1195
090

prune441.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 14.1b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.4b
(* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)))
17.0b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)
17.0b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×*-un-lft-identity add-cube-cbrt
sqrt-pow1 pow1/2
swap-sqr
add-cbrt-cube associate-*r* associate-*l* add-exp-log
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
fma-udef
pow2 rem-sqrt-square rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
11.0ms
(* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (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)

series715.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(sqrt (hypot re im))
178.0ms
(* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)))
192.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)
200.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify1.3s

Counts
98 → 98
Iterations
IterNodes
done5000
2897
1217
098

prune567.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 14.1b

regimes319.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done12
112
09

end0.0ms

sample1.9s

Algorithm
intervals
Results
573.0ms309×body5120valid
497.0ms6046×body80valid
293.0ms678×body2560valid
279.0ms485×body1280valid
67.0ms274×body640valid
24.0ms133×body320valid
9.0ms75×body160valid