Details

Time bar (total: 3.4s)

sample27.0ms

Algorithm
intervals
Results
6.0ms191×body80valid
5.0ms24×body2560valid
2.0ms15×body1280valid
2.0ms15×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify7.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1308
2338
3338
done338

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.5b
(+ (sqrt (+ (* re re) (* im im))) re)
31.7b
(sqrt (+ (* re re) (* im im)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
add-sqr-sqrt fma-def sqrt-prod
add-cube-cbrt
add-log-exp
pow1
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log hypot-def distribute-lft-out
Counts
2 → 38
Calls
2 calls:
35.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
8.0ms
(sqrt (+ (* re re) (* im im)))

series88.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify88.0ms

Counts
44 → 44
Iterations

Useful iterations: 4 (85.0ms)

IterNodesCost
0155205
1421183
21067180
33190179
45001178
done5001178

prune133.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 7.8b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot re im)
0.5b
(+ (* (sqrt 1) (hypot re im)) re)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u
+-commutative hypot-udef fma-def flip3-+ sum-log flip-+
Counts
2 → 24
Calls
2 calls:
0.0ms
(hypot re im)
9.0ms
(+ (* (sqrt 1) (hypot re im)) re)

series108.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(hypot re im)
62.0ms
(+ (* (sqrt 1) (hypot re im)) re)

simplify97.0ms

Counts
30 → 30
Iterations

Useful iterations: 4 (94.0ms)

IterNodesCost
0111124
1285109
2788106
33168104
45001103
done5001103

prune108.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 7.7b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(hypot re im)
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
7.3b
(+ (* (sqrt 1) (* (sqrt (hypot re im)) (sqrt (hypot re im)))) re)

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×pow1
18×sqrt-prod
12×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2 swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u log1p-expm1-u unswap-sqr
pow-prod-down pow-sqr
hypot-udef
+-commutative pow2 fma-def flip3-+ pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod flip-+
Counts
4 → 85
Calls
4 calls:
0.0ms
(hypot re im)
0.0ms
(hypot re im)
12.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
33.0ms
(+ (* (sqrt 1) (* (sqrt (hypot re im)) (sqrt (hypot re im)))) re)

series207.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot re im)
52.0ms
(hypot re im)
46.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
63.0ms
(+ (* (sqrt 1) (* (sqrt (hypot re im)) (sqrt (hypot re im)))) re)

simplify177.0ms

Counts
97 → 97
Iterations

Useful iterations: 3 (171.0ms)

IterNodesCost
0186390
1680325
24049286
35001282
done5001282

prune260.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 7.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
8.0b
(+ (* (sqrt 1) (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im))))) re)

rewrite142.0ms

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

series412.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(cbrt (hypot re im))
115.0ms
(cbrt (hypot re im))
115.0ms
(cbrt (hypot re im))
62.0ms
(+ (* (sqrt 1) (* (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) (* (sqrt (cbrt (hypot re im))) (sqrt (hypot re im))))) re)

simplify124.0ms

Counts
65 → 65
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0160523
1535462
23004435
35001426
done5001426

prune294.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 7.7b

regimes173.0ms

Accuracy

19.5% (4.7b remaining)

Error of 12.1b against oracle of 7.4b and baseline of 13.2b

bsearch37.0ms

Steps
ItersRangePoint
6
-2.781626725963439e+169
-2.703227677368954e+168
-9.189817498010996e+168

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
13014
done3014

end0.0ms

sample723.0ms

Algorithm
intervals
Results
199.0ms6052×body80valid
142.0ms720×body2560valid
74.0ms445×body1280valid
68.0ms273×body5120valid
40.0ms297×body640valid
13.0ms145×body320valid
4.0ms68×body160valid