Details

Time bar (total: 5.3s)

sample39.0ms

Algorithm
intervals
Results
9.0ms202×body80valid
8.0msbody640valid
4.0ms16×body2560valid
3.0ms16×body1280valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify3.0ms

Counts
1 → 1

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.3b

localize12.0ms

Local error

Found 3 expressions with local error:

0.2b
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
1.3b
(+ (sqrt (+ (* re re) (* im im))) re)
29.1b
(sqrt (+ (* re re) (* im im)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
pow1
*-un-lft-identity
add-sqr-sqrt add-log-exp
add-cube-cbrt sqrt-div sqrt-prod
add-exp-log sqrt-pow1 flip3-+ add-cbrt-cube flip-+
pow1/2 associate-*r/
+-commutative rem-sqrt-square pow-prod-down sum-log distribute-lft-out
Counts
3 → 40
Calls
3 calls:
31.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
32.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
8.0ms
(sqrt (+ (* re re) (* im im)))

series279.0ms

Counts
3 → 9
Calls
3 calls:
187.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
53.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify70.0ms

Counts
49 → 49

prune167.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 16.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (+ (sqrt (+ (* re re) (* im im))) re))
0.4b
(* (sqrt 2.0) (sqrt (+ (sqrt (+ (* re re) (* im im))) re)))
1.3b
(+ (sqrt (+ (* re re) (* im im))) re)
29.1b
(sqrt (+ (* re re) (* im im)))

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×sqrt-prod
16×*-un-lft-identity
10×pow1 add-cube-cbrt
associate-*r*
add-exp-log sqrt-div associate-*l* add-cbrt-cube add-log-exp
sqrt-pow1 flip3-+ pow1/2 flip-+ unswap-sqr
pow-prod-down distribute-lft-out
rem-sqrt-square associate-*r/
+-commutative sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 76
Calls
4 calls:
35.0ms
(sqrt (+ (sqrt (+ (* re re) (* im im))) re))
91.0ms
(* (sqrt 2.0) (sqrt (+ (sqrt (+ (* re re) (* im im))) re)))
29.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
8.0ms
(sqrt (+ (* re re) (* im im)))

series406.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(sqrt (+ (sqrt (+ (* re re) (* im im))) re))
189.0ms
(* (sqrt 2.0) (sqrt (+ (sqrt (+ (* re re) (* im im))) re)))
51.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
42.0ms
(sqrt (+ (* re re) (* im im)))

simplify143.0ms

Counts
88 → 88

prune251.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 16.7b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
5.9b
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
30.0b
(cbrt (+ (* re re) (* im im)))
30.0b
(cbrt (+ (* re re) (* im im)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×cbrt-prod add-cube-cbrt *-un-lft-identity
associate-*r*
sqrt-prod
pow1 add-exp-log cbrt-div add-cbrt-cube add-log-exp
flip3-+ flip-+
associate-*l* unswap-sqr
pow1/3 sqrt-div associate-*r/
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod
Counts
4 → 65
Calls
4 calls:
33.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
16.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
5.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))

series416.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
89.0ms
(+ (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im))))) re)
101.0ms
(cbrt (+ (* re re) (* im im)))
107.0ms
(cbrt (+ (* re re) (* im im)))

simplify44.0ms

Counts
77 → 77

prune322.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 16.7b

localize22.0ms

Local error

Found 4 expressions with local error:

6.6b
(+ (* (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
30.0b
(cbrt (+ (* re re) (* im im)))
30.0b
(cbrt (+ (* re re) (* im im)))
30.0b
(cbrt (+ (* re re) (* im im)))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div add-log-exp
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+
pow1/3
+-commutative sum-log
Counts
4 → 50
Calls
4 calls:
69.0ms
(+ (* (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
5.0ms
(cbrt (+ (* re re) (* im im)))
6.0ms
(cbrt (+ (* re re) (* im im)))
6.0ms
(cbrt (+ (* re re) (* im im)))

series397.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (* (* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
102.0ms
(cbrt (+ (* re re) (* im im)))
101.0ms
(cbrt (+ (* re re) (* im im)))
102.0ms
(cbrt (+ (* re re) (* im im)))

simplify103.0ms

Counts
62 → 62

prune335.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 16.7b

regimes221.0ms

Accuracy

56.1% (9.8b remaining)

Error of 27.6b against oracle of 17.7b and baseline of 40.1b

bsearch126.0ms

Steps
ItersRangePoint
8
1.2825507516074188e+118
1.179013727576075e+122
1.4673659525542772e+121
4
1.9447514843596075e-296
3.5660361064754014e-296
2.1106130248162686e-296
7
-1.4840491665705872e-183
-1.9343760202872156e-185
-7.626522171250845e-185

simplify2.0ms

end0.0ms

sample1.5s

Algorithm
intervals
Results
685.0ms6012×body80valid
255.0ms710×body2560valid
108.0ms490×body1280valid
91.0ms283×body5120valid
80.0ms269×body640valid
43.0ms88×body160valid
19.0ms148×body320valid