Details

Time bar (total: 9.6s)

sample31.0ms

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

simplify20.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01215
11910
22810
33510
44110
54310
done4310

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)

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

series243.0ms

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

simplify1000.0ms

Counts
49 → 49
Iterations

Useful iterations: done (998.0ms)

IterNodesCost
0107626
1220520
2540446
31928400
done5000399

prune127.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 15.3b

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

rewrite25.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))
14.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
3.0ms
(- (hypot re im) re)

series371.0ms

Counts
3 → 9
Calls
3 calls:
124.0ms
(sqrt (- (hypot re im) re))
187.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
59.0ms
(- (hypot re im) re)

simplify1.3s

Counts
92 → 92
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01601139
1339991
2850901
32640851
done5001850

prune217.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 15.3b

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

rewrite69.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:
38.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0)))
20.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0))
3.0ms
(- (hypot re im) re)
3.0ms
(- (hypot re im) re)

series488.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0)))
194.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0))
56.0ms
(- (hypot re im) re)
59.0ms
(- (hypot re im) re)

simplify1.8s

Counts
148 → 148
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02162495
14862004
212511747
337361658
done50011657

prune422.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 15.3b

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

rewrite64.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))
32.0ms
(* (* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
19.0ms
(* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0)))
3.0ms
(- (hypot re im) re)

series617.0ms

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

simplify1.4s

Counts
131 → 131
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02121873
14961549
214661395
done50001343

prune325.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 15.3b

regimes78.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

sample936.0ms

Algorithm
intervals
Results
364.0ms701×body2560valid
212.0ms6029×body80valid
78.0ms471×body1280valid
75.0ms290×body5120valid
40.0ms268×body640valid
16.0ms158×body320valid
6.0ms83×body160valid