Details

Time bar (total: 22.1s)

sample128.0ms

Algorithm
intervals
Results
18.0ms197×body80valid
9.0ms19×body2560valid
9.0ms14×body5120valid
6.0ms15×body1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify102.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.4b

localize11.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)

rewrite33.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))
9.0ms
(- (hypot re im) re)

series398.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(hypot re im)
261.0ms
(sqrt (* (- (hypot re im) re) 2.0))
82.0ms
(- (hypot re im) re)

simplify2.8s

Counts
62 → 62
Iterations

Useful iterations: done (2.8s)

IterNodesCost
0115686
1232572
2519489
31768434
done5000423

prune210.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 11.2b

localize21.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))

rewrite13.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))
2.0ms
(sqrt (hypot re im))
8.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series804.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(sqrt (hypot re im))
149.0ms
(sqrt (hypot re im))
332.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
191.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify4.9s

Counts
65 → 65
Iterations

Useful iterations: 4 (3.5s)

IterNodesCost
093753
1201559
2507486
31529465
44452460
done5000460

prune377.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 11.1b

localize29.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))

rewrite41.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)))
3.0ms
(sqrt (sqrt (hypot re im)))
23.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))

series716.0ms

Counts
4 → 12
Calls
4 calls:
188.0ms
(sqrt (sqrt (hypot re im)))
191.0ms
(sqrt (sqrt (hypot re im)))
129.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
208.0ms
(fma (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (hypot re im)) (- re))

simplify4.2s

Counts
141 → 141
Iterations

Useful iterations: 4 (2.2s)

IterNodesCost
01321875
12461020
2590942
31488921
44300907
done5000907

prune566.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 11.1b

localize43.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))

rewrite47.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:
37.0ms
(* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im))))
3.0ms
(cbrt (sqrt (hypot re im)))
3.0ms
(cbrt (sqrt (hypot re im)))
1.0ms
(fma (* (* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (sqrt (cbrt (sqrt (hypot re im))))) (sqrt (hypot re im)) (- re))

series860.0ms

Counts
4 → 12
Calls
4 calls:
202.0ms
(* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im))))
207.0ms
(cbrt (sqrt (hypot re im)))
157.0ms
(cbrt (sqrt (hypot re im)))
293.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.3s

Counts
82 → 82
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
01501336
13261273
28791116
326421086
done50001086

prune520.0ms

Pruning

8 alts after pruning (4 fresh and 4 done)

Merged error: 11.1b

regimes97.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
647.0ms6047×body80valid
326.0ms655×body2560valid
203.0ms495×body1280valid
184.0ms286×body5120valid
111.0ms278×body640valid
28.0ms144×body320valid
12.0ms95×body160valid