Details

Time bar (total: 17.6s)

sample34.0ms

Algorithm
intervals
Results
9.0ms195×body80valid
5.0ms20×body2560valid
3.0ms13×body1280valid
3.0msbody5120valid
2.0msbody640valid
1.0msbody320valid
1.0msbody160valid

simplify29.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01215
12410
23010
33210
done3210

prune35.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.4b

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

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

series470.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(hypot re im)
318.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
100.0ms
(+ re (hypot re im))

simplify4.9s

Counts
51 → 51
Iterations

Useful iterations: 4 (2.3s)

IterNodesCost
086414
1187377
2459354
31219345
43260344
done5001344

prune200.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 13.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
8.6b
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
23×pow1
22×sqrt-prod
14×add-cube-cbrt *-un-lft-identity
11×sqrt-pow1
10×pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u pow-prod-down log1p-expm1-u unswap-sqr
fma-def pow-sqr
flip3-+ sqrt-div associate-*l/ flip-+
+-commutative pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 97
Calls
4 calls:
2.0ms
(sqrt (hypot re im))
19.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
27.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
13.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

series575.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(sqrt (hypot re im))
278.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
97.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
71.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

simplify3.0s

Counts
109 → 109
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01431359
1308755
2807698
32369668
done5000658

prune409.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 13.1b

localize36.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (hypot re im)))
0.3b
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
0.8b
(pow (sqrt (sqrt (hypot re im))) 3)
11.7b
(+ re (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod
71×add-sqr-sqrt
27×unpow-prod-down cube-prod
24×add-cube-cbrt *-un-lft-identity associate-*r* unswap-sqr
10×pow1 add-exp-log
associate-*l*
sqrt-pow1
add-cbrt-cube
add-log-exp
pow-pow sqr-pow
expm1-log1p-u pow1/2 log1p-expm1-u
pow-unpow fma-def prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 pow-exp
+-commutative flip3-+ sum-log *-commutative pow-prod-up sqrt-pow2 cbrt-unprod flip-+ rem-cube-cbrt
Counts
4 → 151
Calls
4 calls:
5.0ms
(sqrt (sqrt (hypot re im)))
47.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
9.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
12.0ms
(+ re (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)))

series529.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(sqrt (sqrt (hypot re im)))
76.0ms
(* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3))
217.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
76.0ms
(+ re (* (sqrt (sqrt (hypot re im))) (pow (sqrt (sqrt (hypot re im))) 3)))

simplify1.4s

Counts
163 → 163
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01552501
13572124
211721463
done50001319

prune573.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 13.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (hypot re im)))
0.3b
(* (sqrt (sqrt (hypot re im))) (pow (pow (hypot re im) 1/4) 3))
0.8b
(pow (pow (hypot re im) 1/4) 3)
10.3b
(+ re (* (sqrt (sqrt (hypot re im))) (pow (pow (hypot re im) 1/4) 3)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
43×sqrt-prod
41×unpow-prod-down
24×unswap-sqr
23×cube-prod
20×add-cube-cbrt *-un-lft-identity associate-*r*
15×sqr-pow
14×add-exp-log
associate-*l*
pow-exp
add-cbrt-cube
pow1 add-log-exp
prod-exp
expm1-log1p-u pow-to-exp sqrt-pow1 log1p-expm1-u
pow-unpow fma-def
cube-mult rem-sqrt-square pow1/2 unpow3
+-commutative pow-pow flip3-+ sum-log *-commutative cbrt-unprod flip-+ rem-cube-cbrt
Counts
4 → 141
Calls
4 calls:
3.0ms
(sqrt (sqrt (hypot re im)))
49.0ms
(* (sqrt (sqrt (hypot re im))) (pow (pow (hypot re im) 1/4) 3))
6.0ms
(pow (pow (hypot re im) 1/4) 3)
7.0ms
(+ re (* (sqrt (sqrt (hypot re im))) (pow (pow (hypot re im) 1/4) 3)))

series517.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(sqrt (sqrt (hypot re im)))
77.0ms
(* (sqrt (sqrt (hypot re im))) (pow (pow (hypot re im) 1/4) 3))
220.0ms
(pow (pow (hypot re im) 1/4) 3)
70.0ms
(+ re (* (sqrt (sqrt (hypot re im))) (pow (pow (hypot re im) 1/4) 3)))

simplify1.5s

Counts
153 → 153
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01682413
13802096
212582007
done50001996

prune641.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 13.1b

regimes204.0ms

Accuracy

41.4% (1.3b remaining)

Error of 15.2b against oracle of 13.9b and baseline of 16.2b

bsearch103.0ms

Steps
ItersRangePoint
6
-3.290796722930356e+197
-4.295207093644367e+196
-7.139122052802705e+196

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02032
12532
done2532

end0.0ms

sample2.1s

Algorithm
intervals
Results
968.0ms5940×body80valid
352.0ms707×body2560valid
190.0ms301×body640valid
172.0ms542×body1280valid
116.0ms255×body5120valid
30.0ms166×body320valid
12.0ms89×body160valid