Details

Time bar (total: 15.3s)

sample118.0ms

Algorithm
intervals
Results
15.0ms191×body80valid
10.0ms22×body2560valid
8.0ms15×body5120valid
5.0ms15×body1280valid
3.0ms11×body640valid
0.0msbody320valid

simplify99.0ms

Counts
1 → 1
Iterations
IterNodes
done45
545
443
336
228
119
012

prune29.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.0b

localize25.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
prod-diff add-cube-cbrt
pow1
add-log-exp
fma-neg
expm1-log1p-u sqrt-pow1 flip3-- add-cbrt-cube sqrt-div associate-*l/ add-exp-log log1p-expm1-u flip--
sub-neg pow1/2 diff-log pow-prod-down sqrt-prod distribute-lft-out-- difference-of-squares
Counts
2 → 43
Calls
2 calls:
13.0ms
(sqrt (* (- (hypot re im) re) 2.0))
13.0ms
(- (hypot re im) re)

series421.0ms

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

simplify2.1s

Counts
49 → 49
Iterations
IterNodes
done5000
33975
2747
1236
0107

prune274.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 12.8b

localize24.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (- (hypot re im) re))
0.2b
(- (hypot re im) re)
0.3b
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))

rewrite44.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-cbrt-cube add-exp-log add-log-exp
sqrt-div unswap-sqr
expm1-log1p-u sqrt-pow1 flip3-- pow1/2 fma-neg pow-prod-down log1p-expm1-u flip-- distribute-lft-out-- difference-of-squares
associate-*l/
rem-sqrt-square sub-neg sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod
Counts
3 → 83
Calls
3 calls:
15.0ms
(sqrt (- (hypot re im) re))
5.0ms
(- (hypot re im) re)
21.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))

series633.0ms

Counts
3 → 9
Calls
3 calls:
227.0ms
(sqrt (- (hypot re im) re))
105.0ms
(- (hypot re im) re)
301.0ms
(* (sqrt (- (hypot re im) re)) (sqrt 2.0))

simplify1.2s

Counts
92 → 92
Iterations
IterNodes
done5001
21394
1362
0159

prune502.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 12.8b

localize32.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))
16.0b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt
sqrt-prod
*-un-lft-identity add-cube-cbrt
expm1-log1p-u sqrt-pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
pow1/2
rem-sqrt-square
pow-prod-down fma-udef
Counts
4 → 53
Calls
4 calls:
2.0ms
(sqrt (hypot re im))
2.0ms
(sqrt (hypot re im))
6.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))

series1.2s

Counts
4 → 12
Calls
4 calls:
149.0ms
(sqrt (hypot re im))
139.0ms
(sqrt (hypot re im))
753.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
206.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify2.7s

Counts
65 → 65
Iterations
IterNodes
done5000
34704
2756
1204
094

prune440.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.8b

localize43.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (sqrt (hypot re im)))
0.2b
(sqrt (sqrt (hypot re im)))
0.5b
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
15.9b
(fma (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (hypot re im)) (- re))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
86×sqrt-prod
54×add-sqr-sqrt
40×sqrt-pow1
31×pow1
20×*-un-lft-identity pow1/2 add-cube-cbrt
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
add-cbrt-cube add-exp-log
pow-prod-down pow-sqr
expm1-log1p-u rem-sqrt-square log1p-expm1-u add-log-exp
pow2 rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 129
Calls
4 calls:
2.0ms
(sqrt (sqrt (hypot re im)))
2.0ms
(sqrt (sqrt (hypot re im)))
22.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))

series650.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(sqrt (sqrt (hypot re im)))
193.0ms
(sqrt (sqrt (hypot re im)))
105.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im))))
154.0ms
(fma (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (hypot re im)) (- re))

simplify1.6s

Counts
141 → 141
Iterations
IterNodes
done5000
21203
1287
0133

prune588.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 12.8b

regimes309.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done11
111
09

end0.0ms

sample2.1s

Algorithm
intervals
Results
627.0ms6038×body80valid
557.0ms298×body640valid
279.0ms611×body2560valid
250.0ms531×body1280valid
153.0ms293×body5120valid
31.0ms140×body320valid
12.0ms89×body160valid