Details

Time bar (total: 9.0s)

sample31.0ms

Algorithm
intervals
Results
9.0ms190×body80valid
5.0ms27×body2560valid
3.0ms13×body5120valid
2.0ms12×body1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify22.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01215
11910
22810
33610
44210
54410
done4410

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.3b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

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

series294.0ms

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

simplify2.8s

Counts
62 → 62
Iterations

Useful iterations: 3 (384.0ms)

IterNodesCost
0115686
1238572
2760489
34109434
done5000434

prune153.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 13.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(hypot re im)
0.0b
(hypot re im)
16.1b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
sqrt-prod
hypot-udef
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 45
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
0.0ms
(hypot re im)
0.0ms
(hypot re im)
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series326.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(sqrt (hypot re im))
50.0ms
(hypot re im)
45.0ms
(hypot re im)
144.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify844.0ms

Counts
57 → 57
Iterations

Useful iterations: done (842.0ms)

IterNodesCost
069452
1131360
2373314
31625310
done5001307

prune198.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 13.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (hypot re im)))
0.1b
(sqrt (sqrt (hypot re im)))
0.5b
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
16.1b
(fma (sqrt (hypot re im)) (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (- re))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
86×sqrt-prod
54×add-sqr-sqrt
40×sqrt-pow1
31×pow1
20×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
expm1-log1p-u rem-sqrt-square log1p-expm1-u add-log-exp
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod fma-udef
Counts
4 → 129
Calls
4 calls:
1.0ms
(sqrt (sqrt (hypot re im)))
1.0ms
(sqrt (sqrt (hypot re im)))
12.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
0.0ms
(fma (sqrt (hypot re im)) (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (- re))

series460.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(sqrt (sqrt (hypot re im)))
114.0ms
(sqrt (sqrt (hypot re im)))
87.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
147.0ms
(fma (sqrt (hypot re im)) (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (- re))

simplify847.0ms

Counts
141 → 141
Iterations

Useful iterations: done (843.0ms)

IterNodesCost
01321875
12551043
2957942
done5001938

prune307.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 13.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (pow (sqrt (sqrt (hypot re im))) 3)) (sqrt (sqrt (hypot re im))))
0.6b
(cbrt (pow (sqrt (sqrt (hypot re im))) 3))
0.7b
(pow (sqrt (sqrt (hypot re im))) 3)
16.1b
(fma (sqrt (hypot re im)) (* (cbrt (pow (sqrt (sqrt (hypot re im))) 3)) (sqrt (sqrt (hypot re im)))) (- re))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
108×sqrt-prod
80×add-sqr-sqrt
72×cbrt-prod
36×unpow-prod-down cube-prod
29×add-cube-cbrt *-un-lft-identity
27×associate-*l* unswap-sqr
pow1 associate-*r*
add-exp-log
add-cbrt-cube sqr-pow
pow-pow
expm1-log1p-u sqrt-pow1 log1p-expm1-u add-log-exp
cube-mult pow-unpow unpow3
pow1/2
pow-to-exp pow1/3 pow-prod-down pow-exp prod-exp *-commutative sqrt-pow2 rem-cbrt-cube cbrt-unprod fma-udef rem-cube-cbrt
Counts
4 → 163
Calls
4 calls:
25.0ms
(* (cbrt (pow (sqrt (sqrt (hypot re im))) 3)) (sqrt (sqrt (hypot re im))))
3.0ms
(cbrt (pow (sqrt (sqrt (hypot re im))) 3))
3.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
0.0ms
(fma (sqrt (hypot re im)) (* (cbrt (pow (sqrt (sqrt (hypot re im))) 3)) (sqrt (sqrt (hypot re im)))) (- re))

series487.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* (cbrt (pow (sqrt (sqrt (hypot re im))) 3)) (sqrt (sqrt (hypot re im))))
112.0ms
(cbrt (pow (sqrt (sqrt (hypot re im))) 3))
137.0ms
(pow (sqrt (sqrt (hypot re im))) 3)
146.0ms
(fma (sqrt (hypot re im)) (* (cbrt (pow (sqrt (sqrt (hypot re im))) 3)) (sqrt (sqrt (hypot re im)))) (- re))

simplify1.0s

Counts
175 → 175
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01873115
14232132
216021600
done50001597

prune372.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 13.1b

regimes66.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample673.0ms

Algorithm
intervals
Results
199.0ms6013×body80valid
135.0ms687×body2560valid
76.0ms495×body1280valid
76.0ms300×body5120valid
33.0ms256×body640valid
14.0ms157×body320valid
6.0ms92×body160valid