Details

Time bar (total: 8.2s)

sample29.0ms

Algorithm
intervals
Results
6.0ms183×body80valid
5.0msbody5120valid
4.0ms21×body2560valid
3.0ms18×body1280valid
2.0ms15×body640valid
0.0msbody160valid
0.0msbody320valid

simplify21.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01215
11910
22810
33610
44210
54410
done4410

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.6b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
pow1
add-log-exp
fma-neg
add-exp-log expm1-log1p-u flip3-- sqrt-pow1 sqrt-div associate-*l/ add-cbrt-cube flip-- log1p-expm1-u
sub-neg pow1/2 diff-log pow-prod-down sqrt-prod distribute-lft-out-- difference-of-squares
Counts
2 → 43
Calls
2 calls:
4.0ms
(sqrt (* (- (hypot re im) re) 2.0))
3.0ms
(- (hypot re im) re)

series242.0ms

Counts
2 → 6
Calls
2 calls:
181.0ms
(sqrt (* (- (hypot re im) re) 2.0))
61.0ms
(- (hypot re im) re)

simplify2.6s

Counts
49 → 49
Iterations

Useful iterations: done (2.6s)

IterNodesCost
0107626
1229520
2744437
34051382
done5000381

prune118.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 15.3b

localize8.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))
1.5b
(- (hypot re im) re)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×*-un-lft-identity
17×sqrt-prod
15×add-cube-cbrt
prod-diff
pow1 associate-*l*
associate-*r*
add-exp-log add-cbrt-cube add-log-exp
sqrt-div unswap-sqr
expm1-log1p-u flip3-- sqrt-pow1 pow1/2 fma-neg pow-prod-down flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
associate-*l/
sub-neg rem-sqrt-square sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod
Counts
3 → 83
Calls
3 calls:
5.0ms
(sqrt (- (hypot re im) re))
13.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
3.0ms
(- (hypot re im) re)

series370.0ms

Counts
3 → 9
Calls
3 calls:
128.0ms
(sqrt (- (hypot re im) re))
183.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
58.0ms
(- (hypot re im) re)

simplify471.0ms

Counts
92 → 92
Iterations

Useful iterations: done (469.0ms)

IterNodesCost
01601139
1351993
21150892
done5001876

prune222.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 15.3b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (sqrt (- (hypot re im) re))) (* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0)))
0.3b
(* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0))
1.5b
(- (hypot re im) re)
1.5b
(- (hypot re im) re)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
38×sqrt-prod
34×*-un-lft-identity
28×sqrt-div
26×add-cube-cbrt
22×associate-*l*
18×prod-diff
16×pow1
11×add-exp-log add-cbrt-cube
10×pow-prod-down associate-*l/
flip3-- flip--
add-log-exp
associate-*r*
fma-neg unswap-sqr
sqrt-pow1 pow1/2
expm1-log1p-u frac-times prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares
sqrt-unprod
sub-neg diff-log associate-*r/ *-commutative
Counts
4 → 136
Calls
4 calls:
35.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0)))
19.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0))
3.0ms
(- (hypot re im) re)
3.0ms
(- (hypot re im) re)

series503.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0)))
198.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0))
59.0ms
(- (hypot re im) re)
58.0ms
(- (hypot re im) re)

simplify588.0ms

Counts
148 → 148
Iterations

Useful iterations: done (583.0ms)

IterNodesCost
02162495
14982006
215791729
done50001727

prune425.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 15.3b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (hypot re im) re))
0.2b
(* (* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.3b
(* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0)))
1.5b
(- (hypot re im) re)

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
37×sqrt-prod
26×*-un-lft-identity
20×add-cube-cbrt
18×associate-*r*
17×pow1
11×add-exp-log add-cbrt-cube
10×pow-prod-down
associate-*l* prod-diff
sqrt-pow1 pow1/2 sqrt-div associate-*l/ add-log-exp unswap-sqr
expm1-log1p-u flip3-- prod-exp flip-- cbrt-unprod log1p-expm1-u
fma-neg sqrt-unprod distribute-lft-out-- difference-of-squares
*-commutative
sub-neg rem-sqrt-square diff-log
Counts
4 → 119
Calls
4 calls:
5.0ms
(sqrt (- (hypot re im) re))
30.0ms
(* (* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
15.0ms
(* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0)))
7.0ms
(- (hypot re im) re)

series617.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(sqrt (- (hypot re im) re))
186.0ms
(* (* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
246.0ms
(* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0)))
59.0ms
(- (hypot re im) re)

simplify746.0ms

Counts
131 → 131
Iterations

Useful iterations: done (742.0ms)

IterNodesCost
02121873
15121559
219351386
done50011381

prune302.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 15.3b

regimes84.0ms

Accuracy

0% (0.2b remaining)

Error of 13.3b against oracle of 13.0b and baseline of 13.3b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample657.0ms

Algorithm
intervals
Results
191.0ms6029×body80valid
137.0ms701×body2560valid
75.0ms471×body1280valid
68.0ms290×body5120valid
32.0ms268×body640valid
16.0ms158×body320valid
5.0ms83×body160valid