Details

Time bar (total: 11.6s)

sample47.0ms

Algorithm
intervals
Results
14.0ms193×body80valid
10.0ms23×body2560valid
4.0msbody5120valid
4.0ms11×body1280valid
3.0ms12×body640valid
1.0msbody320valid
0.0msbody160valid

simplify51.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
51.0ms
(* 0.5 (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re))))

prune23.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.9b

localize24.0ms

Local error

Found 1 expressions with local error:

1.2b
(+ (hypot re im) re)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
fma-def add-log-exp
add-sqr-sqrt add-cube-cbrt
expm1-log1p-u pow1 +-commutative sum-log flip3-+ add-cbrt-cube add-exp-log flip-+ insert-posit16 log1p-expm1-u distribute-lft-out
Counts
1 → 18
Calls
1 calls:
Slowest
4.0ms
(+ (hypot re im) re)

series71.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
70.0ms
(+ (hypot re im) re)

simplify47.0ms

Counts
7 → 21
Calls
7 calls:
Slowest
16.0ms
(* (exp (hypot re im)) (exp re))
7.0ms
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
6.0ms
(+ (hypot re im) re)
5.0ms
(sqrt (hypot re im))
5.0ms
(* 2 re)

prune212.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 13.7b

localize22.0ms

Local error

Found 1 expressions with local error:

15.5b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef insert-posit16 log1p-expm1-u add-log-exp
Counts
1 → 11
Calls
1 calls:
Slowest
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

series235.0ms

Counts
1 → 3
Calls
1 calls:
Slowest
235.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) re)

simplify3.0ms

Counts
3 → 14
Calls
3 calls:
Slowest
2.0ms
(+ re im)
0.0ms
(- re (+ (* +nan.0 (/ (pow im 2) (pow re 2))) (- +nan.0)))
0.0ms
(- re (+ (* +nan.0 (/ (pow im 2) (pow re 2))) (- +nan.0)))

prune179.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 13.7b

localize23.0ms

Local error

Found 2 expressions with local error:

7.8b
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×sqrt-prod
17×pow1
10×*-un-lft-identity add-cube-cbrt
sqrt-pow1 pow1/2 swap-sqr
associate-*r* associate-*l*
pow-prod-up
add-cbrt-cube add-exp-log add-log-exp unswap-sqr
pow-prod-down pow-sqr
expm1-log1p-u insert-posit16 log1p-expm1-u
pow2 +-commutative sum-log rem-square-sqrt fma-def flip3-+ pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod flip-+
Counts
2 → 67
Calls
2 calls:
Slowest
9.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
9.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))

series143.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
78.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)
65.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))

simplify760.0ms

Counts
67 → 73
Calls
67 calls:
Slowest
151.0ms
(* (exp (* (sqrt (hypot re im)) (sqrt (hypot re im)))) (exp re))
130.0ms
(* (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))))
88.0ms
(* (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))) (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))))
18.0ms
(+ (/ 1 2) 1/2)
18.0ms
(+ 1/2 (/ 1 2))

prune804.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 13.5b

localize58.0ms

Local error

Found 4 expressions with local error:

8.3b
(+ (* (sqrt (sqrt (hypot re im))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im)))) re)
0.3b
(* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im)))
0.3b
(* (sqrt (sqrt (hypot re im))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im))))
0.1b
(sqrt (sqrt (hypot re im)))

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
55×sqrt-pow1
52×pow1
42×sqrt-prod
36×pow-prod-up
33×pow1/2
32×add-sqr-sqrt
18×associate-*l*
14×*-un-lft-identity add-cube-cbrt
11×add-cbrt-cube add-exp-log
10×pow-prod-down
associate-*r*
pow-plus add-log-exp unswap-sqr
expm1-log1p-u cube-unmult prod-exp cbrt-unprod insert-posit16 log1p-expm1-u
sqrt-unprod
rem-sqrt-square *-commutative
+-commutative sum-log fma-def flip3-+ flip-+
Counts
4 → 133
Calls
4 calls:
Slowest
50.0ms
(+ (* (sqrt (sqrt (hypot re im))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im)))) re)
36.0ms
(* (sqrt (sqrt (hypot re im))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im))))
21.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im)))
2.0ms
(sqrt (sqrt (hypot re im)))

series507.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
200.0ms
(sqrt (sqrt (hypot re im)))
169.0ms
(* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im)))
74.0ms
(+ (* (sqrt (sqrt (hypot re im))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im)))) re)
64.0ms
(* (sqrt (sqrt (hypot re im))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im))))

simplify3.2s

Counts
127 → 145
Calls
127 calls:
Slowest
528.0ms
(* (* (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))))
473.0ms
(* (* (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (* (* (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im)))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im)))))
375.0ms
(* (exp (* (sqrt (sqrt (hypot re im))) (* (sqrt (sqrt (hypot re im))) (sqrt (hypot re im))))) (exp re))
279.0ms
(* (* (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (* (* (* (sqrt (sqrt (hypot re im))) (sqrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im)))))
205.0ms
(+ (pow im 3/4) (* 3/8 (* (pow re 2) (pow (/ 1 (pow im 5)) 1/4))))

prune1.8s

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 13.5b

regimes242.0ms

Accuracy

0% (0.3b remaining)

Error of 13.3b against oracle of 13.0b and baseline of 13.3b

bsearch1.0ms

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s6028×body80valid
550.0ms688×body2560valid
421.0ms292×body5120valid
364.0ms481×body1280valid
177.0ms303×body640valid
54.0ms143×body320valid
15.0ms65×body160valid