Details

Time bar (total: 16.0s)

sample204.0ms

Algorithm
intervals
Results
29.0ms192×body80valid
26.0ms26×body2560valid
13.0ms12×body5120valid
9.0ms13×body1280valid
4.0msbody640valid
2.0msbody320valid
1.0msbody160valid

simplify90.0ms

Counts
1 → 1
Iterations
IterNodes
644
544
442
335
227
119
012

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 12.8b

localize34.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- (hypot re im) re) 2.0)
0.1b
(sqrt (* (- (hypot re im) re) 2.0))
0.5b
(- (hypot re im) re)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity
12×add-cube-cbrt
prod-diff
pow1
add-cbrt-cube associate-*l* add-exp-log add-log-exp
associate-*l/
expm1-log1p-u flip3-- fma-neg associate-*r* insert-posit16 log1p-expm1-u flip--
sqrt-pow1 sqrt-div pow-prod-down distribute-lft-out-- difference-of-squares
sub-neg pow1/2 diff-log prod-exp *-commutative sqrt-prod cbrt-unprod unswap-sqr
Counts
3 → 70
Calls
3 calls:
32.0ms
(* (- (hypot re im) re) 2.0)
10.0ms
(sqrt (* (- (hypot re im) re) 2.0))
13.0ms
(- (hypot re im) re)

series429.0ms

Counts
3 → 9
Calls
3 calls:
90.0ms
(* (- (hypot re im) re) 2.0)
242.0ms
(sqrt (* (- (hypot re im) re) 2.0))
97.0ms
(- (hypot re im) re)

simplify3.9s

Counts
79 → 79
Iterations
IterNodes
46201
31928
2680
1288
0137

prune565.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 12.7b

localize27.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0)
0.1b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
15.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt
*-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt
expm1-log1p-u associate-*r* associate-*l* insert-posit16 log1p-expm1-u add-log-exp
sqrt-pow1 pow-prod-down
pow1/2 prod-exp *-commutative sqrt-prod cbrt-unprod fma-udef unswap-sqr
Counts
3 → 46
Calls
3 calls:
6.0ms
(* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0)
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))

series709.0ms

Counts
3 → 9
Calls
3 calls:
231.0ms
(* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0)
286.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
192.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify729.0ms

Counts
55 → 55
Iterations
IterNodes
32184
2577
1204
094

prune412.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 12.7b

localize47.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (hypot re im) re)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt *-un-lft-identity
14×add-cube-cbrt
cbrt-prod prod-diff
add-log-exp
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
fma-neg pow1/3
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 71
Calls
4 calls:
11.0ms
(- (hypot re im) re)
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
2.0ms
(cbrt 2.0)

series110.0ms

Counts
4 → 6
Calls
4 calls:
110.0ms
(- (hypot re im) re)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)

simplify1.1s

Counts
77 → 77
Iterations
IterNodes
42404
3816
2278
1145
084

prune733.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 12.7b

localize57.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0)))
0.5b
(* (sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))) (sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))))
15.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
15.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
80×sqrt-pow1
65×pow1
31×sqrt-prod
26×add-sqr-sqrt
23×pow-prod-down
20×pow1/2
14×pow-prod-up
13×*-un-lft-identity add-cube-cbrt
swap-sqr
pow-sqr
associate-*r* associate-*l*
add-cbrt-cube add-exp-log
expm1-log1p-u insert-posit16 log1p-expm1-u add-log-exp unswap-sqr
fma-udef
pow2 rem-sqrt-square rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 116
Calls
4 calls:
4.0ms
(sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0)))
51.0ms
(* (sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))) (sqrt (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))
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series1.2s

Counts
4 → 12
Calls
4 calls:
424.0ms
(sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0)))
364.0ms
(* (sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))) (sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))))
210.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))
226.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify1.4s

Counts
128 → 128
Iterations
IterNodes
33733
21153
1418
0177

prune943.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 12.6b

regimes487.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
211
111
09

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.2s6071×body80valid
541.0ms712×body2560valid
291.0ms441×body1280valid
288.0ms299×body5120valid
120.0ms268×body640valid
45.0ms141×body320valid
17.0ms68×body160valid