Details

Time bar (total: 21.2s)

sample160.0ms

Algorithm
intervals
Results
14.0ms197×body80valid
8.0ms19×body2560valid
7.0ms14×body5120valid
4.0ms15×body1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify97.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.4b

localize21.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.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:
1.0ms
(hypot re im)
19.0ms
(sqrt (* (- (hypot re im) re) 2.0))
16.0ms
(- (hypot re im) re)

series448.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(hypot re im)
249.0ms
(sqrt (* (- (hypot re im) re) 2.0))
134.0ms
(- (hypot re im) re)

simplify2.7s

Counts
62 → 62
Iterations

Useful iterations: done (2.7s)

IterNodesCost
0115686
1232572
2519489
31768434
done5000423

prune210.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 11.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (hypot re im))
0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
14.6b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite9.0ms

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

series754.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(sqrt (hypot re im))
121.0ms
(sqrt (hypot re im))
330.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
192.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify5.0s

Counts
65 → 65
Iterations

Useful iterations: 4 (3.5s)

IterNodesCost
093753
1201559
2507486
31529465
44452460
done5000460

prune349.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 11.1b

localize19.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))))
14.5b
(fma (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (hypot re im)) (- re))

rewrite47.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:
5.0ms
(sqrt (sqrt (hypot re im)))
5.0ms
(sqrt (sqrt (hypot re im)))
29.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
0.0ms
(fma (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (hypot re im)) (- re))

series657.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(sqrt (sqrt (hypot re im)))
158.0ms
(sqrt (sqrt (hypot re im)))
118.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
199.0ms
(fma (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (hypot re im)) (- re))

simplify3.9s

Counts
141 → 141
Iterations

Useful iterations: 4 (2.3s)

IterNodesCost
01321875
12461020
2590942
31488921
44300907
done5000907

prune499.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 11.1b

localize29.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im))))
0.5b
(cbrt (sqrt (hypot re im)))
0.5b
(cbrt (sqrt (hypot re im)))
14.6b
(fma (* (* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (sqrt (cbrt (sqrt (hypot re im))))) (sqrt (hypot re im)) (- re))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt sqrt-prod
12×cbrt-prod add-cube-cbrt *-un-lft-identity
associate-*r*
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* unswap-sqr
pow1/3
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 70
Calls
4 calls:
13.0ms
(* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im))))
2.0ms
(cbrt (sqrt (hypot re im)))
2.0ms
(cbrt (sqrt (hypot re im)))
0.0ms
(fma (* (* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (sqrt (cbrt (sqrt (hypot re im))))) (sqrt (hypot re im)) (- re))

series764.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im))))
153.0ms
(cbrt (sqrt (hypot re im)))
173.0ms
(cbrt (sqrt (hypot re im)))
248.0ms
(fma (* (* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (sqrt (cbrt (sqrt (hypot re im))))) (sqrt (hypot re im)) (- re))

simplify3.0s

Counts
82 → 82
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
01501336
13261273
28791116
326421086
done50001086

prune530.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 11.1b

regimes119.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample1.8s

Algorithm
intervals
Results
490.0ms6047×body80valid
388.0ms655×body2560valid
267.0ms286×body5120valid
214.0ms495×body1280valid
76.0ms278×body640valid
27.0ms144×body320valid
11.0ms95×body160valid