Details

Time bar (total: 8.2s)

sample30.0ms

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

simplify21.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.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)

rewrite13.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))
6.0ms
(- (hypot re im) re)

series250.0ms

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

simplify2.2s

Counts
49 → 49
Iterations

Useful iterations: done (2.2s)

IterNodesCost
0107626
1220520
2659437
33482382
done5000381

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

rewrite29.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:
6.0ms
(sqrt (- (hypot re im) re))
17.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))
3.0ms
(- (hypot re im) re)

series359.0ms

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

simplify873.0ms

Counts
92 → 92
Iterations

Useful iterations: done (870.0ms)

IterNodesCost
01601139
1339991
2997892
done5000851

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

rewrite70.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:
41.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0)))
17.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0))
3.0ms
(- (hypot re im) re)
3.0ms
(- (hypot re im) re)

series491.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0)))
197.0ms
(* (sqrt (sqrt (- (hypot re im) re))) (sqrt 2.0))
54.0ms
(- (hypot re im) re)
58.0ms
(- (hypot re im) re)

simplify627.0ms

Counts
148 → 148
Iterations

Useful iterations: done (623.0ms)

IterNodesCost
02162495
14862004
214121729
done50001727

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

rewrite65.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:
6.0ms
(sqrt (- (hypot re im) re))
34.0ms
(* (* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
17.0ms
(* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0)))
4.0ms
(- (hypot re im) re)

series597.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(sqrt (- (hypot re im) re))
186.0ms
(* (* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
237.0ms
(* (sqrt (- (hypot re im) re)) (sqrt (sqrt 2.0)))
55.0ms
(- (hypot re im) re)

simplify705.0ms

Counts
131 → 131
Iterations

Useful iterations: done (701.0ms)

IterNodesCost
02121873
14961549
216461386
done50011381

prune311.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 15.3b

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

sample669.0ms

Algorithm
intervals
Results
204.0ms6029×body80valid
137.0ms701×body2560valid
75.0ms471×body1280valid
67.0ms290×body5120valid
32.0ms268×body640valid
15.0ms158×body320valid
5.0ms83×body160valid