Details

Time bar (total: 20.4s)

sample92.0ms

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

simplify78.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

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

rewrite25.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:
0.0ms
(hypot re im)
12.0ms
(sqrt (* (- (hypot re im) re) 2.0))
10.0ms
(- (hypot re im) re)

series340.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(hypot re im)
205.0ms
(sqrt (* (- (hypot re im) re) 2.0))
85.0ms
(- (hypot re im) re)

simplify2.7s

Counts
62 → 62
Iterations

Useful iterations: done (2.7s)

IterNodesCost
0115686
1232572
2519489
31768434
done5000423

prune206.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 11.2b

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

series770.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(sqrt (hypot re im))
106.0ms
(sqrt (hypot re im))
340.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
216.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify5.0s

Counts
65 → 65
Iterations

Useful iterations: 4 (3.6s)

IterNodesCost
093753
1201559
2507486
31529465
44452460
done5000460

prune337.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 11.1b

localize35.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 (hypot re im)) (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (- re))

rewrite46.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:
3.0ms
(sqrt (sqrt (hypot re im)))
2.0ms
(sqrt (sqrt (hypot re im)))
21.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))

series674.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(sqrt (sqrt (hypot re im)))
156.0ms
(sqrt (sqrt (hypot re im)))
135.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
213.0ms
(fma (sqrt (hypot re im)) (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (- re))

simplify4.1s

Counts
141 → 141
Iterations

Useful iterations: 4 (2.3s)

IterNodesCost
01321875
12461020
2590942
31487921
44271907
done5000907

prune428.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 11.1b

localize52.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 (sqrt (hypot re im)) (* (* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (sqrt (cbrt (sqrt (hypot re im))))) (- re))

rewrite46.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:
35.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 (sqrt (hypot re im)) (* (* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (sqrt (cbrt (sqrt (hypot re im))))) (- re))

series825.0ms

Counts
4 → 12
Calls
4 calls:
186.0ms
(* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im))))
174.0ms
(cbrt (sqrt (hypot re im)))
189.0ms
(cbrt (sqrt (hypot re im)))
276.0ms
(fma (sqrt (hypot re im)) (* (* (fabs (cbrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (sqrt (cbrt (sqrt (hypot re im))))) (- re))

simplify2.3s

Counts
82 → 82
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01471315
13141253
28151103
323041086
done50001074

prune563.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 11.1b

regimes118.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.6s

Algorithm
intervals
Results
501.0ms6047×body80valid
302.0ms655×body2560valid
273.0ms495×body1280valid
199.0ms286×body5120valid
103.0ms278×body640valid
25.0ms144×body320valid
11.0ms95×body160valid