Details

Time bar (total: 18.1s)

sample118.0ms

Algorithm
intervals
Results
16.0ms195×body80valid
8.0ms18×body2560valid
7.0ms16×body1280valid
6.0ms11×body5120valid
3.0ms11×body640valid
1.0msbody320valid
0.0msbody160valid

simplify57.0ms

Counts
1 → 1
Iterations
IterNodes
done35
435
330
224
117
012

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.4b

localize27.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.2b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.7b
(- (sqrt (+ (* re re) (* im im))) re)
30.1b
(sqrt (+ (* re re) (* im im)))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-log-exp
*-un-lft-identity
add-cube-cbrt sqrt-prod
add-cbrt-cube sqrt-div add-exp-log insert-posit16
sqrt-pow1
flip3-+ flip3-- pow1/2 associate-*r/ flip-+ flip-- difference-of-squares
+-commutative rem-sqrt-square sum-log sub-neg diff-log pow-prod-down distribute-lft-out--
Counts
4 → 58
Calls
4 calls:
7.0ms
(+ (* re re) (* im im))
20.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
61.0ms
(- (sqrt (+ (* re re) (* im im))) re)
15.0ms
(sqrt (+ (* re re) (* im im)))

series380.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(+ (* re re) (* im im))
232.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
51.0ms
(- (sqrt (+ (* re re) (* im im))) re)
53.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.8s

Counts
70 → 70
Iterations
IterNodes
done5002
32953
2748
1265
0118

prune365.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 17.1b

localize44.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
7.2b
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
30.1b
(sqrt (+ (* re re) (* im im)))
30.1b
(sqrt (+ (* re re) (* im im)))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
51×add-sqr-sqrt
34×sqrt-pow1
29×pow1
28×sqrt-div
18×*-un-lft-identity pow1/2 add-cube-cbrt
15×swap-sqr
associate-*r* associate-*l* pow-prod-up unswap-sqr
flip3-+ flip-+
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 sub-neg rem-square-sqrt pow-plus flip3-- sqrt-unprod diff-log prod-exp *-commutative cbrt-unprod flip-- difference-of-squares
Counts
4 → 130
Calls
4 calls:
75.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
57.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

series228.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
63.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
59.0ms
(sqrt (+ (* re re) (* im im)))
66.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.0s

Counts
142 → 142
Iterations
IterNodes
done5000
31958
2674
1288
0141

prune697.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 17.1b

localize57.0ms

Local error

Found 4 expressions with local error:

30.1b
(sqrt (+ (* re re) (* im im)))
31.0b
(cbrt (+ (* re re) (* im im)))
31.0b
(cbrt (+ (* re re) (* im im)))
31.0b
(cbrt (+ (* re re) (* im im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
cbrt-div
pow1
flip3-+ add-cbrt-cube add-exp-log flip-+ insert-posit16 add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 58
Calls
4 calls:
6.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series480.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(sqrt (+ (* re re) (* im im)))
126.0ms
(cbrt (+ (* re re) (* im im)))
124.0ms
(cbrt (+ (* re re) (* im im)))
168.0ms
(cbrt (+ (* re re) (* im im)))

simplify3.2s

Counts
70 → 70
Iterations
IterNodes
done5001
44298
31085
2332
1144
067

prune665.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 17.1b

localize82.0ms

Local error

Found 4 expressions with local error:

30.1b
(sqrt (+ (* re re) (* im im)))
30.1b
(sqrt (+ (* re re) (* im im)))
30.1b
(sqrt (+ (* re re) (* im im)))
30.1b
(sqrt (+ (* re re) (* im im)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 *-un-lft-identity sqrt-div add-cube-cbrt
rem-sqrt-square sqrt-pow1 flip3-+ add-cbrt-cube pow1/2 add-exp-log flip-+ insert-posit16 add-log-exp
Counts
4 → 64
Calls
4 calls:
11.0ms
(sqrt (+ (* re re) (* im im)))
12.0ms
(sqrt (+ (* re re) (* im im)))
13.0ms
(sqrt (+ (* re re) (* im im)))
12.0ms
(sqrt (+ (* re re) (* im im)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(sqrt (+ (* re re) (* im im)))
67.0ms
(sqrt (+ (* re re) (* im im)))
46.0ms
(sqrt (+ (* re re) (* im im)))
42.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.8s

Counts
76 → 76
Iterations
IterNodes
done5001
53254
4995
3435
2196
192
039

prune616.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 17.1b

regimes801.0ms

Accuracy

37.2% (12.5b remaining)

Error of 30.0b against oracle of 17.5b and baseline of 37.4b

bsearch270.0ms

Steps
ItersRangePoint
6
2.132132710029742e+60
2.2994893295573088e+61
1.7084160018085855e+61
7
1.4429746691323675e-173
1.2034362380316345e-171
1.1260714228031905e-171
8
-2.462410482377401e-246
-1.1984645884671281e-250
-9.735645360863155e-247

simplify29.0ms

Iterations
IterNodes
done59
159
046

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s6080×body80valid
511.0ms677×body2560valid
322.0ms479×body1280valid
287.0ms269×body5120valid
119.0ms279×body640valid
38.0ms126×body320valid
20.0ms90×body160valid