Details

Time bar (total: 17.8s)

sample75.0ms

Algorithm
intervals
Results
21.0ms188×body80valid
18.0ms24×body2560valid
9.0ms11×body5120valid
7.0ms14×body1280valid
3.0ms10×body320valid
3.0msbody640valid
1.0msbody160valid

simplify30.0ms

Counts
1 → 1
Iterations
IterNodes
431
331
229
124
012

prune37.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.2b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.0b
(sqrt (* (+ (hypot re im) re) 2.0))
0.7b
(+ (hypot re im) re)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 *-un-lft-identity
add-log-exp
add-sqr-sqrt add-cube-cbrt
expm1-log1p-u fma-def add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
sqrt-pow1 flip3-+ sqrt-div associate-*l/ flip-+
+-commutative hypot-udef sum-log pow1/2 pow-prod-down sqrt-prod distribute-lft-out
Counts
3 → 45
Calls
3 calls:
0.0ms
(hypot re im)
7.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
5.0ms
(+ (hypot re im) re)

series457.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(hypot re im)
310.0ms
(sqrt (* (+ (hypot re im) re) 2.0))
72.0ms
(+ (hypot re im) re)

simplify2.3s

Counts
54 → 54
Iterations
IterNodes
44026
31321
2476
1190
089

prune648.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 13.9b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(hypot re im)
0.6b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
8.2b
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×pow1
18×sqrt-prod
12×*-un-lft-identity add-cube-cbrt
sqrt-pow1 pow1/2 swap-sqr
add-cbrt-cube associate-*r* associate-*l* add-exp-log add-log-exp
pow-prod-up
expm1-log1p-u insert-posit16 log1p-expm1-u unswap-sqr
pow-prod-down pow-sqr
hypot-udef
pow2 +-commutative sum-log rem-square-sqrt fma-def flip3-+ pow-plus sqrt-unprod prod-exp *-commutative cbrt-unprod flip-+
Counts
4 → 89
Calls
4 calls:
0.0ms
(hypot re im)
0.0ms
(hypot re im)
18.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
10.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series313.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(hypot re im)
67.0ms
(hypot re im)
82.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
90.0ms
(+ (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify2.4s

Counts
101 → 101
Iterations
IterNodes
43960
31165
2449
1188
090

prune1.1s

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 13.9b

localize71.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt (hypot re im)) (fabs (cbrt (hypot re im))))
0.5b
(cbrt (hypot re im))
0.5b
(cbrt (hypot re im))
9.7b
(+ (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (cbrt (hypot re im)))) re)

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
cbrt-prod pow1 add-cbrt-cube associate-*l* add-exp-log add-log-exp
expm1-log1p-u sqrt-prod insert-posit16 log1p-expm1-u
associate-*r*
pow1/3 unswap-sqr
+-commutative sum-log fma-def flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+
Counts
4 → 68
Calls
4 calls:
13.0ms
(* (sqrt (hypot re im)) (fabs (cbrt (hypot re im))))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
22.0ms
(+ (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (cbrt (hypot re im)))) re)

series622.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (sqrt (hypot re im)) (fabs (cbrt (hypot re im))))
149.0ms
(cbrt (hypot re im))
177.0ms
(cbrt (hypot re im))
183.0ms
(+ (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (cbrt (hypot re im)))) re)

simplify1.5s

Counts
80 → 80
Iterations
IterNodes
33429
21016
1339
0132

prune1.1s

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 13.8b

localize62.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.5b
(cbrt (sqrt (hypot re im)))
0.5b
(cbrt (sqrt (hypot re im)))
9.7b
(+ (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))))) re)

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
sqrt-prod add-log-exp
expm1-log1p-u pow1 add-cbrt-cube add-exp-log insert-posit16 log1p-expm1-u
pow1/3
+-commutative sum-log fma-def flip3-+ flip-+
Counts
4 → 63
Calls
4 calls:
1.0ms
(cbrt (hypot re im))
2.0ms
(cbrt (sqrt (hypot re im)))
2.0ms
(cbrt (sqrt (hypot re im)))
63.0ms
(+ (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))))) re)

series635.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt (hypot re im))
162.0ms
(cbrt (sqrt (hypot re im)))
145.0ms
(cbrt (sqrt (hypot re im)))
151.0ms
(+ (* (* (sqrt (hypot re im)) (fabs (cbrt (hypot re im)))) (sqrt (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))))) re)

simplify1.6s

Counts
75 → 75
Iterations
IterNodes
32741
2779
1264
0113

prune1.2s

Pruning

15 alts after pruning (13 fresh and 2 done)

Merged error: 13.8b

regimes342.0ms

Accuracy

0% (0.3b remaining)

Error of 13.7b against oracle of 13.4b and baseline of 13.7b

bsearch0.0ms

simplify2.0ms

Iterations
IterNodes
212
112
09

end0.0ms

sample3.0s

Algorithm
intervals
Results
922.0ms5992×body80valid
896.0ms733×body2560valid
375.0ms495×body1280valid
352.0ms292×body5120valid
160.0ms271×body640valid
56.0ms149×body320valid
16.0ms68×body160valid