Details

Time bar (total: 13.1s)

sample106.0ms

Algorithm
intervals
Results
29.0ms197×body80valid
21.0ms23×body2560valid
12.0msbody320valid
12.0ms16×body1280valid
11.0ms10×body5120valid
4.0msbody640valid
1.0msbody160valid

simplify20.0ms

Counts
1 → 1
Iterations
IterNodes
done24
224
122
012

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.1b

localize21.0ms

Local error

Found 3 expressions with local error:

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

rewrite96.0ms

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

series417.0ms

Counts
3 → 9
Calls
3 calls:
285.0ms
(sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))
75.0ms
(+ (sqrt (+ (* re re) (* im im))) re)
56.0ms
(sqrt (+ (* re re) (* im im)))

simplify980.0ms

Counts
52 → 52
Iterations
IterNodes
done2001
32001
2669
1246
0102

prune271.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 17.1b

localize34.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
5.1b
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
32.4b
(sqrt (+ (* re re) (* im im)))
32.4b
(sqrt (+ (* re re) (* im im)))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
50×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×*-un-lft-identity pow1/2 add-cube-cbrt
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-cbrt-cube add-exp-log add-log-exp
pow-prod-down pow-sqr
frac-times insert-posit16
rem-sqrt-square associate-*l/ associate-*r/
pow2 +-commutative sum-log rem-square-sqrt pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 128
Calls
4 calls:
53.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
42.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
11.0ms
(sqrt (+ (* re re) (* im im)))
13.0ms
(sqrt (+ (* re re) (* im im)))

series212.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
62.0ms
(+ (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
51.0ms
(sqrt (+ (* re re) (* im im)))
49.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.6s

Counts
140 → 140
Iterations
IterNodes
done2002
42002
31762
2660
1295
0136

prune617.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 17.1b

localize100.0ms

Local error

Found 4 expressions with local error:

33.4b
(cbrt (+ (* re re) (* im im)))
33.4b
(cbrt (+ (* re re) (* im im)))
33.4b
(cbrt (+ (* re re) (* im im)))
33.4b
(cbrt (+ (* re re) (* im im)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt cbrt-div *-un-lft-identity add-cube-cbrt
pow1 flip3-+ add-cbrt-cube pow1/3 add-exp-log flip-+ insert-posit16 add-log-exp
Counts
4 → 56
Calls
4 calls:
8.0ms
(cbrt (+ (* re re) (* im im)))
7.0ms
(cbrt (+ (* re re) (* im im)))
7.0ms
(cbrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))

series472.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(cbrt (+ (* re re) (* im im)))
107.0ms
(cbrt (+ (* re re) (* im im)))
108.0ms
(cbrt (+ (* re re) (* im im)))
139.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.1s

Counts
68 → 68
Iterations
IterNodes
done2000
42000
31029
2311
1124
052

prune737.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 17.1b

localize56.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sqrt (* 2.0 (+ (* im im) 0))) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
1.3b
(- (sqrt (+ (* re re) (* im im))) re)
30.4b
(sqrt (* 2.0 (+ (* im im) 0)))
32.4b
(sqrt (+ (* re re) (* im im)))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt sqrt-prod
37×*-un-lft-identity
36×times-frac
25×add-cube-cbrt
12×difference-of-squares
associate-/r*
pow1 sqrt-div
add-cbrt-cube add-exp-log distribute-lft-out-- add-log-exp
associate-*r/ insert-posit16 associate-/l*
sqrt-pow1 flip3-+ flip-+
flip3-- pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv rem-sqrt-square sqrt-undiv clear-num sub-neg frac-2neg diff-log div-exp pow-prod-down div-inv
Counts
4 → 113
Calls
4 calls:
66.0ms
(/ (sqrt (* 2.0 (+ (* im im) 0))) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
55.0ms
(- (sqrt (+ (* re re) (* im im))) re)
7.0ms
(sqrt (* 2.0 (+ (* im im) 0)))
6.0ms
(sqrt (+ (* re re) (* im im)))

series491.0ms

Counts
4 → 12
Calls
4 calls:
291.0ms
(/ (sqrt (* 2.0 (+ (* im im) 0))) (sqrt (- (sqrt (+ (* re re) (* im im))) re)))
79.0ms
(- (sqrt (+ (* re re) (* im im))) re)
69.0ms
(sqrt (* 2.0 (+ (* im im) 0)))
51.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.1s

Counts
125 → 125
Iterations
IterNodes
done2000
32000
21114
1452
0216

prune656.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 9.8b

regimes391.0ms

Accuracy

67.2% (8.8b remaining)

Error of 18.9b against oracle of 10.1b and baseline of 36.8b

bsearch297.0ms

Steps
ItersRangePoint
7
5.88657134741632e+125
1.6838552026399986e+127
1.5059919692642864e+126
5
3.6388443431761803e-190
1.3275723076839322e-189
6.306382616635563e-190
9
1.639497003581936e-240
1.0895154035376558e-232
4.5556084918187003e-234
10
-6.164276965121788e+102
-5.9217398786953836e+91
-6.084312799804569e+102

simplify32.0ms

Iterations
IterNodes
done68
168
052

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.2s5898×body80valid
594.0ms736×body2560valid
405.0ms542×body1280valid
348.0ms308×body5120valid
113.0ms261×body640valid
60.0ms168×body320valid
19.0ms87×body160valid