Details

Time bar (total: 3.2s)

sample30.0ms

Algorithm
intervals
Results
9.0ms208×body80valid
5.0ms14×body5120valid
4.0ms14×body2560valid
3.0ms12×body1280valid
1.0msbody640valid
0.0msbody160valid
0.0msbody320valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0248
1308
2338
3338

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.9b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
0.7b
(+ (sqrt (+ (* re re) (* im im))) re)
29.6b
(sqrt (+ (* re re) (* im im)))

rewrite20.0ms

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

series255.0ms

Counts
3 → 9
Calls
3 calls:
173.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
44.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
38.0ms
(sqrt (+ (* re re) (* im im)))

simplify76.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0264372
1830337
22660322
35002320

prune170.0ms

Filtered
62 candidates to 56 candidates (90.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New57562
Fresh000
Picked101
Done000
Total58563

Merged error: 5.0b

Counts
63 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series245.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (49.0ms)

IterNodesCost
0183173
1519156
21741150
35001148

prune98.0ms

Filtered
38 candidates to 34 candidates (89.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New36238
Fresh134
Picked011
Done000
Total37643

Merged error: 5.0b

Counts
43 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

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

series367.0ms

Counts
3 → 9
Calls
3 calls:
123.0ms
(sqrt (+ (hypot re im) re))
186.0ms
(* (sqrt 2.0) (sqrt (+ (hypot re im) re)))
59.0ms
(+ (hypot re im) re)

simplify110.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0287433
1995403
24338388
35001387

prune168.0ms

Filtered
80 candidates to 61 candidates (76.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh044
Picked011
Done011
Total80686

Merged error: 5.0b

Counts
86 → 6

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity sqrt-pow1 add-cbrt-cube log1p-expm1-u add-log-exp
pow1/2 pow-prod-down sqrt-prod fma-udef
Counts
2 → 23
Calls
2 calls:
3.0ms
(sqrt (* 2.0 (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

series371.0ms

Counts
2 → 6
Calls
2 calls:
230.0ms
(sqrt (* 2.0 (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)))
140.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify52.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0129225
1378193
21445178
35002174

prune69.0ms

Filtered
29 candidates to 24 candidates (82.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New28129
Fresh033
Picked101
Done022
Total29635

Merged error: 5.0b

Counts
35 → 6

regimes95.0ms

Accuracy

22.8% (4.7b remaining)

Error of 11.8b against oracle of 7.1b and baseline of 13.2b

bsearch54.0ms

Steps
ItersRangePoint
7
-2.614450835621939e+149
-7.000880430181569e+147
-5.478528329622074e+148

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02312
12312

end0.0ms

sample870.0ms

Algorithm
intervals
Results
281.0ms6071×body80valid
188.0ms686×body2560valid
101.0ms475×body1280valid
85.0ms265×body5120valid
46.0ms273×body640valid
22.0ms152×body320valid
7.0ms78×body160valid