Details

Time bar (total: 13.5s)

sample30.0ms

Algorithm
intervals
Results
20.0ms265×body80valid

simplify8.0ms

Counts
1 → 1

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.6b

localize18.0ms

Local error

Found 2 expressions with local error:

27.6b
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
1.3b
(+ (* x.re y.re) (* x.im y.im))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log add-log-exp
associate-/r* flip3-+ flip-+ associate-/l*
pow1 associate-/r/ insert-posit16 associate-/l/
cbrt-undiv +-commutative clear-num sum-log frac-2neg div-exp div-inv
Counts
2 → 44
Calls
2 calls:
Slowest
49.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
14.0ms
(+ (* x.re y.re) (* x.im y.im))

series573.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
533.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (+ (* y.re y.re) (* y.im y.im)))
40.0ms
(+ (* x.re y.re) (* x.im y.im))

simplify971.0ms

Counts
50 → 50

prune576.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 27.2b

localize50.0ms

Local error

Found 4 expressions with local error:

31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
15.5b
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
1.3b
(+ (* x.re y.re) (* x.im y.im))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×*-un-lft-identity add-cube-cbrt
18×times-frac sqrt-prod
pow1 associate-/r* add-cbrt-cube sqrt-div add-exp-log add-log-exp
flip3-+ flip-+
insert-posit16
associate-/l*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative clear-num sum-log frac-2neg div-exp div-inv
Counts
4 → 88
Calls
4 calls:
Slowest
37.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
13.0ms
(+ (* x.re y.re) (* x.im y.im))
11.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
10.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
172.0ms
(/ (+ (* x.re y.re) (* x.im y.im)) (sqrt (+ (* y.re y.re) (* y.im y.im))))
63.0ms
(+ (* x.re y.re) (* x.im y.im))
59.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
59.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))

simplify1.0s

Counts
100 → 100

prune1.3s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 26.4b

localize61.0ms

Local error

Found 4 expressions with local error:

31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
31.6b
(sqrt (+ (* y.re y.re) (* y.im y.im)))
15.6b
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (+ (* x.re y.re) (* x.im y.im)))
1.3b
(+ (* x.re y.re) (* x.im y.im))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×*-un-lft-identity add-cube-cbrt
18×times-frac sqrt-prod
pow1 add-cbrt-cube sqrt-div add-exp-log associate-/l* add-log-exp
flip3-+ flip-+
insert-posit16
associate-/r*
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/ associate-/l/
cbrt-undiv +-commutative clear-num sum-log frac-2neg div-exp div-inv
Counts
4 → 88
Calls
4 calls:
Slowest
33.0ms
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (+ (* x.re y.re) (* x.im y.im)))
12.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
12.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
9.0ms
(+ (* x.re y.re) (* x.im y.im))

series276.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
111.0ms
(/ (sqrt (+ (* y.re y.re) (* y.im y.im))) (+ (* x.re y.re) (* x.im y.im)))
65.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
63.0ms
(sqrt (+ (* y.re y.re) (* y.im y.im)))
36.0ms
(+ (* x.re y.re) (* x.im y.im))

simplify973.0ms

Counts
100 → 100

prune1.4s

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 26.4b

localize35.0ms

Local error

Found 3 expressions with local error:

27.2b
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))
1.3b
(+ (* x.re y.re) (* x.im y.im))
0.7b
(/ 1 (+ (* y.re y.re) (* y.im y.im)))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
20×*-un-lft-identity times-frac
19×add-cube-cbrt
16×add-exp-log
15×associate-*r*
10×add-cbrt-cube
pow1
flip3-+ flip-+ add-log-exp
div-exp prod-exp associate-/r/
associate-/r* associate-*l* insert-posit16 associate-/l* unswap-sqr
frac-times cbrt-undiv rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
+-commutative clear-num sum-log frac-2neg pow-prod-down associate-*r/ un-div-inv *-commutative pow-flip inv-pow
Counts
3 → 89
Calls
3 calls:
Slowest
61.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))
11.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
8.0ms
(+ (* x.re y.re) (* x.im y.im))

series225.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
119.0ms
(* (+ (* x.re y.re) (* x.im y.im)) (/ 1 (+ (* y.re y.re) (* y.im y.im))))
55.0ms
(/ 1 (+ (* y.re y.re) (* y.im y.im)))
51.0ms
(+ (* x.re y.re) (* x.im y.im))

simplify1.9s

Counts
98 → 98

prune1.0s

Pruning

11 alts after pruning (7 fresh and 4 done)

Merged error: 26.4b

regimes527.0ms

Accuracy

0% (2.6b remaining)

Error of 25.6b against oracle of 23.0b and baseline of 25.6b

bsearch3.0ms

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.2s8497×body80valid