Details

Time bar (total: 16.4s)

sample275.0ms

Algorithm
intervals
Results
47.0ms31×body2560valid
17.0ms177×body80valid
10.0ms16×body5120valid
7.0ms18×body1280valid
3.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify375.0ms

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

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.2b

localize42.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.4b
(- (sqrt (+ (* re re) (* im im))) re)
28.5b
(sqrt (+ (* re re) (* im im)))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-log-exp
*-un-lft-identity
pow1 add-cube-cbrt sqrt-prod
add-cbrt-cube add-exp-log
flip3-+ sqrt-div flip-+ difference-of-squares
+-commutative rem-sqrt-square sum-log sub-neg sqrt-pow1 flip3-- pow1/2 diff-log flip-- distribute-lft-out--
Counts
3 → 41
Calls
3 calls:
26.0ms
(+ (* re re) (* im im))
59.0ms
(- (sqrt (+ (* re re) (* im im))) re)
9.0ms
(sqrt (+ (* re re) (* im im)))

series210.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(+ (* re re) (* im im))
87.0ms
(- (sqrt (+ (* re re) (* im im))) re)
75.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.9s

Counts
50 → 50
Iterations
IterNodes
done5001
32011
2493
1174
074

prune344.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 18.1b

localize28.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
8.9b
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
28.5b
(sqrt (+ (* re re) (* im im)))
28.5b
(sqrt (+ (* re re) (* im im)))

rewrite94.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
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 → 126
Calls
4 calls:
43.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
30.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
10.0ms
(sqrt (+ (* re re) (* im im)))

series210.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
59.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
53.0ms
(sqrt (+ (* re re) (* im im)))
51.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.0s

Counts
138 → 138
Iterations
IterNodes
done5007
31493
2642
1286
0138

prune642.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 18.1b

localize68.0ms

Local error

Found 4 expressions with local error:

10.2b
(- (* (* (sqrt (fabs (cbrt (+ (* re re) (* im im))))) (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
28.5b
(sqrt (+ (* re re) (* im im)))
29.4b
(cbrt (+ (* re re) (* im im)))
29.4b
(cbrt (+ (* re re) (* im im)))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
cbrt-prod add-log-exp
pow1
cbrt-div add-cbrt-cube add-exp-log
flip3-+ sqrt-prod flip-+
pow1/3 sqrt-div
rem-sqrt-square sub-neg sqrt-pow1 flip3-- pow1/2 diff-log flip--
Counts
4 → 53
Calls
4 calls:
102.0ms
(- (* (* (sqrt (fabs (cbrt (+ (* re re) (* im im))))) (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
13.0ms
(sqrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))
8.0ms
(cbrt (+ (* re re) (* im im)))

series500.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(- (* (* (sqrt (fabs (cbrt (+ (* re re) (* im im))))) (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
65.0ms
(sqrt (+ (* re re) (* im im)))
152.0ms
(cbrt (+ (* re re) (* im im)))
155.0ms
(cbrt (+ (* re re) (* im im)))

simplify2.1s

Counts
65 → 65
Iterations
IterNodes
done5001
32656
2733
1243
0106

prune630.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 18.0b

localize63.0ms

Local error

Found 4 expressions with local error:

12.3b
(- (* (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) re)
28.5b
(sqrt (+ (* re re) (* im im)))
28.5b
(sqrt (+ (* re re) (* im im)))
28.5b
(sqrt (+ (* re re) (* im im)))

rewrite260.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 *-un-lft-identity add-cube-cbrt
sqrt-div add-log-exp
add-cbrt-cube add-exp-log
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sub-neg flip3-- diff-log flip--
Counts
4 → 57
Calls
4 calls:
234.0ms
(- (* (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) re)
11.0ms
(sqrt (+ (* re re) (* im im)))
7.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(- (* (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) (sqrt (sqrt (sqrt (+ (* re re) (* im im)))))) re)
65.0ms
(sqrt (+ (* re re) (* im im)))
65.0ms
(sqrt (+ (* re re) (* im im)))
52.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.8s

Counts
69 → 69
Iterations
IterNodes
done5016
43246
31141
2420
1155
066

prune506.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 18.0b

regimes616.0ms

Accuracy

57.8% (9.1b remaining)

Error of 26.8b against oracle of 17.8b and baseline of 39.2b

bsearch125.0ms

Steps
ItersRangePoint
10
-2.216495913691092e-247
-8.945952097750657e-262
-9.064518896973367e-262
4
-1.8700852155488777e+100
-1.0341250558666946e+100
-1.6887213599031206e+100

simplify28.0ms

Iterations
IterNodes
done43
143
032

end0.0ms

sample2.0s

Algorithm
intervals
Results
755.0ms703×body2560valid
547.0ms5985×body80valid
229.0ms491×body1280valid
190.0ms318×body5120valid
69.0ms288×body640valid
24.0ms131×body320valid
10.0ms84×body160valid