Details

Time bar (total: 18.3s)

sample36.0ms

Algorithm
intervals
Results
8.0ms185×body80valid
6.0ms20×body1280valid
5.0ms21×body2560valid
4.0ms14×body5120valid
2.0ms10×body640valid
0.0msbody320valid
0.0msbody160valid

simplify16.0ms

Counts
1 → 1
Iterations
IterNodes
done31
331
229
124
012

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.5b

localize21.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (* (+ (hypot re im) re) 2.0))
0.5b
(+ (hypot re im) re)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
pow1 *-un-lft-identity
add-log-exp
add-sqr-sqrt fma-def add-cube-cbrt
expm1-log1p-u sqrt-pow1 flip3-+ add-cbrt-cube sqrt-div associate-*l/ add-exp-log flip-+ log1p-expm1-u
+-commutative sum-log pow1/2 pow-prod-down sqrt-prod distribute-lft-out
Counts
2 → 32
Calls
2 calls:
11.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
8.0ms
(+ (hypot re im) re)

series402.0ms

Counts
2 → 6
Calls
2 calls:
286.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
115.0ms
(+ (hypot re im) re)

simplify3.0s

Counts
38 → 38
Iterations
IterNodes
done5000
44675
31358
2468
1174
075

prune207.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 14.2b

localize14.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0))
17.4b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt expm1-log1p-u *-un-lft-identity sqrt-pow1 add-cbrt-cube add-exp-log add-cube-cbrt log1p-expm1-u add-log-exp
pow1/2 pow-prod-down sqrt-prod fma-udef
Counts
2 → 23
Calls
2 calls:
3.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)

series532.0ms

Counts
2 → 6
Calls
2 calls:
320.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0))
211.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify3.8s

Counts
29 → 29
Iterations
IterNodes
done5019
43291
31078
2333
1130
061

prune208.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 14.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re))) 2.0))
0.4b
(* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)))
17.4b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)
17.4b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
25×pow1
24×add-sqr-sqrt
19×sqrt-prod
12×*-un-lft-identity add-cube-cbrt
11×sqrt-pow1
pow1/2
swap-sqr
add-cbrt-cube associate-*r* associate-*l* pow-prod-down add-exp-log
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-sqr
fma-udef
pow2 rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 85
Calls
4 calls:
22.0ms
(sqrt (* (* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re))) 2.0))
15.0ms
(* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

series960.0ms

Counts
4 → 12
Calls
4 calls:
373.0ms
(sqrt (* (* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re))) 2.0))
183.0ms
(* (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)) (sqrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)))
180.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)
224.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify1.7s

Counts
97 → 97
Iterations
IterNodes
done5000
31394
2470
1231
0104

prune621.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 14.2b

localize39.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.4b
(* (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))))
17.4b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)
17.4b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

rewrite70.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 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 → 112
Calls
4 calls:
6.0ms
(sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0)))
56.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.1s

Counts
4 → 12
Calls
4 calls:
366.0ms
(sqrt (sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) re) 2.0)))
333.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))))
230.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)
213.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify2.5s

Counts
124 → 124
Iterations
IterNodes
done5005
33680
21121
1405
0169

prune609.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 14.2b

regimes309.0ms

Accuracy

0% (0.2b remaining)

Error of 13.6b against oracle of 13.4b and baseline of 13.6b

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done12
112
09

end0.0ms

sample2.0s

Algorithm
intervals
Results
527.0ms5999×body80valid
449.0ms308×body640valid
360.0ms693×body2560valid
251.0ms488×body1280valid
138.0ms302×body5120valid
25.0ms145×body320valid
8.0ms65×body160valid