Details

Time bar (total: 17.2s)

sample146.0ms

Algorithm
intervals
Results
18.0ms195×body80valid
8.0ms16×body2560valid
8.0ms13×body5120valid
4.0msbody1280valid
2.0msbody320valid
2.0msbody640valid
1.0msbody160valid

simplify48.0ms

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

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.7b

localize47.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* re re) (* im im))
2.3b
(- (sqrt (+ (* re re) (* im im))) re)
28.3b
(sqrt (+ (* re re) (* im im)))

rewrite75.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:
11.0ms
(+ (* re re) (* im im))
51.0ms
(- (sqrt (+ (* re re) (* im im))) re)
9.0ms
(sqrt (+ (* re re) (* im im)))

series209.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (* re re) (* im im))
83.0ms
(- (sqrt (+ (* re re) (* im im))) re)
91.0ms
(sqrt (+ (* re re) (* im im)))

simplify1.8s

Counts
50 → 50
Iterations
IterNodes
done5001
32011
2493
1174
074

prune353.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 17.7b

localize35.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
10.3b
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
28.3b
(sqrt (+ (* re re) (* im im)))
28.3b
(sqrt (+ (* re re) (* im im)))

rewrite114.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:
44.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
49.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
10.0ms
(sqrt (+ (* re re) (* im im)))
6.0ms
(sqrt (+ (* re re) (* im im)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im)))))
81.0ms
(- (* (sqrt (sqrt (+ (* re re) (* im im)))) (sqrt (sqrt (+ (* re re) (* im im))))) re)
70.0ms
(sqrt (+ (* re re) (* im im)))
43.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.5s

Counts
138 → 138
Iterations
IterNodes
done5007
31493
2642
1286
0138

prune705.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 17.7b

localize63.0ms

Local error

Found 4 expressions with local error:

8.9b
(- (* (* (sqrt (fabs (cbrt (+ (* re re) (* im im))))) (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
28.3b
(sqrt (+ (* re re) (* im im)))
29.2b
(cbrt (+ (* re re) (* im im)))
29.2b
(cbrt (+ (* re re) (* im im)))

rewrite97.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:
82.0ms
(- (* (* (sqrt (fabs (cbrt (+ (* re re) (* im im))))) (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
6.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series514.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(- (* (* (sqrt (fabs (cbrt (+ (* re re) (* im im))))) (sqrt (sqrt (+ (* re re) (* im im))))) (sqrt (sqrt (cbrt (+ (* re re) (* im im)))))) re)
41.0ms
(sqrt (+ (* re re) (* im im)))
142.0ms
(cbrt (+ (* re re) (* im im)))
166.0ms
(cbrt (+ (* re re) (* im im)))

simplify2.2s

Counts
65 → 65
Iterations
IterNodes
done5001
32656
2733
1243
0106

prune581.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 17.7b

localize114.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
6.0ms
(cbrt (+ (* 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)))

series557.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(cbrt (+ (* re re) (* im im)))
129.0ms
(cbrt (+ (* re re) (* im im)))
120.0ms
(cbrt (+ (* re re) (* im im)))
159.0ms
(cbrt (+ (* re re) (* im im)))

simplify3.1s

Counts
64 → 64
Iterations
IterNodes
done5008
44181
31045
2312
1123
051

prune722.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 17.7b

regimes579.0ms

Accuracy

57.7% (9.2b remaining)

Error of 26.5b against oracle of 17.3b and baseline of 39.1b

bsearch217.0ms

Steps
ItersRangePoint
8
-2.4999215694722294e-304
1.530618661486367e-308
-4.2940560251989423e-308
8
-4.064102892713862e+80
-4.4571909682776797e+76
-4.133795376408894e+79

simplify26.0ms

Iterations
IterNodes
done51
151
039

end0.0ms

sample2.1s

Algorithm
intervals
Results
890.0ms6073×body80valid
396.0ms665×body2560valid
268.0ms300×body5120valid
197.0ms467×body1280valid
106.0ms276×body640valid
24.0ms129×body320valid
11.0ms90×body160valid