Details

Time bar (total: 19.7s)

sample54.0ms

Algorithm
intervals
Results
14.0ms199×body80valid
10.0ms21×body2560valid
6.0ms11×body5120valid
5.0ms14×body1280valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid

simplify31.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
01215
12410
23010
33210
done3210

prune27.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.5b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

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

series492.0ms

Counts
3 → 9
Calls
3 calls:
319.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
83.0ms
(hypot re im)
90.0ms
(+ re (hypot re im))

simplify4.8s

Counts
51 → 51
Iterations

Useful iterations: 4 (2.4s)

IterNodesCost
086414
1187377
2459354
31221345
43261344
done5001344

prune190.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 11.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (hypot re im))
0.0b
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
7.3b
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
23×pow1
22×sqrt-prod
14×add-cube-cbrt *-un-lft-identity
11×sqrt-pow1
10×pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
expm1-log1p-u pow-prod-down log1p-expm1-u unswap-sqr
fma-def pow-sqr
flip3-+ sqrt-div associate-*l/ flip-+
+-commutative pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 97
Calls
4 calls:
1.0ms
(sqrt (hypot re im))
12.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
33.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
10.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

series511.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(sqrt (hypot re im))
236.0ms
(sqrt (* (+ re (* (sqrt (hypot re im)) (sqrt (hypot re im)))) 2.0))
56.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
93.0ms
(+ re (* (sqrt (hypot re im)) (sqrt (hypot re im))))

simplify3.0s

Counts
109 → 109
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01431359
1308755
2807698
32369668
done5000658

prune376.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 11.2b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series590.0ms

Counts
4 → 12
Calls
4 calls:
151.0ms
(* (fabs (cbrt (hypot re im))) (sqrt (hypot re im)))
126.0ms
(cbrt (hypot re im))
169.0ms
(cbrt (hypot re im))
144.0ms
(+ re (* (* (fabs (cbrt (hypot re im))) (sqrt (hypot re im))) (sqrt (cbrt (hypot re im)))))

simplify3.0s

Counts
78 → 78
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01321125
13211047
21025910
33860865
done5000861

prune459.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 11.2b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

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

series660.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt (hypot re im))
142.0ms
(cbrt (sqrt (hypot re im)))
178.0ms
(cbrt (sqrt (hypot re im)))
170.0ms
(+ re (* (* (fabs (cbrt (hypot re im))) (sqrt (hypot re im))) (sqrt (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))))))

simplify2.7s

Counts
73 → 73
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01101048
1251880
2730791
32494765
done5000759

prune557.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 11.2b

regimes184.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11210
done1210

end0.0ms

sample1.8s

Algorithm
intervals
Results
549.0ms5987×body80valid
480.0ms702×body2560valid
201.0ms288×body5120valid
161.0ms496×body1280valid
78.0ms297×body640valid
31.0ms160×body320valid
9.0ms70×body160valid