Details

Time bar (total: 16.5s)

sample260.0ms

Algorithm
intervals
Results
21.0ms199×body80valid
11.0ms18×body1280valid
10.0ms19×body2560valid
7.0msbody5120valid
4.0ms10×body640valid
0.0msbody320valid
0.0msbody160valid

simplify116.0ms

Counts
1 → 1

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.5b

localize71.0ms

Local error

Found 3 expressions with local error:

31.2b
(sqrt (+ (* re re) (* im im)))
0.3b
(- (sqrt (+ (* re re) (* im im))) re)
0.0b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1
*-un-lft-identity
sqrt-prod add-log-exp
sqrt-div add-cube-cbrt
sqrt-pow1 add-cbrt-cube add-exp-log insert-posit16
flip3-- pow1/2 associate-*r/ flip-- difference-of-squares
rem-sqrt-square sub-neg flip3-+ diff-log pow-prod-down flip-+ distribute-lft-out--
Counts
3 → 46
Calls
3 calls:
Slowest
90.0ms
(- (sqrt (+ (* re re) (* im im))) re)
78.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
12.0ms
(sqrt (+ (* re re) (* im im)))

series390.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
238.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
90.0ms
(sqrt (+ (* re re) (* im im)))
61.0ms
(- (sqrt (+ (* re re) (* im im))) re)

simplify2.0s

Counts
55 → 55

prune581.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 16.8b

localize59.0ms

Local error

Found 4 expressions with local error:

32.1b
(cbrt (+ (* re re) (* im im)))
32.1b
(cbrt (+ (* re re) (* im im)))
32.1b
(cbrt (+ (* re re) (* im im)))
14.2b
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
12×pow1
cbrt-prod sqrt-pow1 flip3-+ pow1/3 flip-+
sqrt-div
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
frac-times add-cbrt-cube add-exp-log insert-posit16 add-log-exp
pow-prod-down associate-*l/ associate-*r/ pow-sqr pow-prod-up
pow2 rem-sqrt-square pow-plus pow1/2 sqrt-prod
Counts
4 → 70
Calls
4 calls:
Slowest
24.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))
7.0ms
(cbrt (+ (* re re) (* im im)))
7.0ms
(cbrt (+ (* re re) (* im im)))
7.0ms
(cbrt (+ (* re re) (* im im)))

series556.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
158.0ms
(cbrt (+ (* re re) (* im im)))
135.0ms
(cbrt (+ (* re re) (* im im)))
135.0ms
(cbrt (+ (* re re) (* im im)))
127.0ms
(sqrt (* (cbrt (+ (* re re) (* im im))) (cbrt (+ (* re re) (* im im)))))

simplify939.0ms

Counts
82 → 82

prune1.2s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 16.8b

localize54.0ms

Local error

Found 4 expressions with local error:

32.1b
(cbrt (+ (* re re) (* im im)))
32.1b
(cbrt (+ (* re re) (* im im)))
32.1b
(cbrt (+ (* re re) (* im im)))
14.2b
(sqrt (* (exp (log (cbrt (+ (* re re) (* im im))))) (cbrt (+ (* re re) (* im im)))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
cbrt-prod flip3-+ flip-+
sqrt-div
add-sqr-sqrt pow1 *-un-lft-identity add-cube-cbrt
log-div exp-diff
frac-times add-cbrt-cube add-exp-log insert-posit16 add-log-exp
pow1/3
sqrt-pow1 associate-*l/ associate-*r/
pow1/2 pow-prod-down sqrt-prod
Counts
4 → 62
Calls
4 calls:
Slowest
42.0ms
(sqrt (* (exp (log (cbrt (+ (* re re) (* im im))))) (cbrt (+ (* re re) (* im im)))))
10.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))
4.0ms
(cbrt (+ (* re re) (* im im)))

series547.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
154.0ms
(sqrt (* (exp (log (cbrt (+ (* re re) (* im im))))) (cbrt (+ (* re re) (* im im)))))
143.0ms
(cbrt (+ (* re re) (* im im)))
136.0ms
(cbrt (+ (* re re) (* im im)))
114.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.2s

Counts
74 → 74

prune1.3s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 16.8b

localize83.0ms

Local error

Found 4 expressions with local error:

32.1b
(cbrt (+ (* re re) (* im im)))
32.1b
(cbrt (+ (* re re) (* im im)))
32.1b
(cbrt (+ (* re re) (* im im)))
32.1b
(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-+ insert-posit16 add-log-exp
Counts
4 → 56
Calls
4 calls:
Slowest
7.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)))

series512.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
155.0ms
(cbrt (+ (* re re) (* im im)))
136.0ms
(cbrt (+ (* re re) (* im im)))
117.0ms
(cbrt (+ (* re re) (* im im)))
104.0ms
(cbrt (+ (* re re) (* im im)))

simplify830.0ms

Counts
68 → 68

prune1.4s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 16.8b

regimes707.0ms

Accuracy

56% (9.0b remaining)

Error of 26.1b against oracle of 17.0b and baseline of 37.6b

bsearch236.0ms

end0.0ms

sample3.0s

Algorithm
intervals
Results
970.0ms5991×body80valid
638.0ms308×body5120valid
561.0ms706×body2560valid
372.0ms479×body1280valid
174.0ms280×body640valid
119.0ms149×body320valid
21.0ms87×body160valid