Details

Time bar (total: 13.5s)

sample59.0ms

Algorithm
intervals
Results
15.0ms193×body80valid
15.0ms30×body2560valid
4.0ms11×body1280valid
3.0msbody5120valid
3.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify56.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
01215
12410
23010
33210
done3210

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.3b

localize18.0ms

Local error

Found 2 expressions with local error:

0.2b
(sqrt (* (+ re (hypot re im)) 2.0))
0.6b
(+ re (hypot re im))

rewrite19.0ms

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

series335.0ms

Counts
2 → 6
Calls
2 calls:
267.0ms
(sqrt (* (+ re (hypot re im)) 2.0))
68.0ms
(+ re (hypot re im))

simplify2.2s

Counts
38 → 38
Iterations

Useful iterations: 3 (742.0ms)

IterNodesCost
075354
1173325
2588302
33575295
done5000295

prune152.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 13.9b

localize14.0ms

Local error

Found 2 expressions with local error:

0.3b
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
0.6b
(+ re (hypot re im))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×*-un-lft-identity sqrt-prod
add-cube-cbrt associate-*l*
pow1 associate-*r*
add-exp-log add-cbrt-cube add-log-exp unswap-sqr
fma-def pow-prod-down
expm1-log1p-u sqrt-pow1 flip3-+ pow1/2 sqrt-div associate-*l/ flip-+ log1p-expm1-u distribute-lft-out
+-commutative sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod
Counts
2 → 52
Calls
2 calls:
38.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
6.0ms
(+ re (hypot re im))

series377.0ms

Counts
2 → 6
Calls
2 calls:
282.0ms
(* (sqrt (+ re (hypot re im))) (sqrt 2.0))
94.0ms
(+ re (hypot re im))

simplify855.0ms

Counts
58 → 58
Iterations

Useful iterations: done (852.0ms)

IterNodesCost
099619
1233584
2996548
done5000539

prune229.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 13.9b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt re)
0.6b
(cbrt re)
0.6b
(cbrt re)
15.1b
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
2.0ms
(cbrt re)
2.0ms
(cbrt re)
2.0ms
(cbrt re)
1.0ms
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

series1.1s

Counts
4 → 12
Calls
4 calls:
291.0ms
(cbrt re)
270.0ms
(cbrt re)
266.0ms
(cbrt re)
300.0ms
(fma (* (cbrt re) (cbrt re)) (cbrt re) (hypot re im))

simplify3.0s

Counts
61 → 61
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
042372
165360
2158286
3581244
42880244
done5001244

prune279.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 13.9b

localize41.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt re)
0.6b
(cbrt re)
0.6b
(cbrt re)
15.0b
(fma (* (cbrt re) (cbrt re)) (* (* (cbrt (cbrt re)) (cbrt (cbrt re))) (cbrt (cbrt re))) (hypot re im))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
2.0ms
(cbrt re)
2.0ms
(cbrt re)
2.0ms
(cbrt re)
1.0ms
(fma (* (cbrt re) (cbrt re)) (* (* (cbrt (cbrt re)) (cbrt (cbrt re))) (cbrt (cbrt re))) (hypot re im))

series1.2s

Counts
4 → 12
Calls
4 calls:
309.0ms
(cbrt re)
320.0ms
(cbrt re)
289.0ms
(cbrt re)
297.0ms
(fma (* (cbrt re) (cbrt re)) (* (* (cbrt (cbrt re)) (cbrt (cbrt re))) (cbrt (cbrt re))) (hypot re im))

simplify955.0ms

Counts
61 → 61
Iterations

Useful iterations: 3 (190.0ms)

IterNodesCost
044489
173477
2191331
3875244
done5000244

prune336.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 13.9b

regimes93.0ms

Accuracy

0% (0.2b remaining)

Error of 12.3b against oracle of 12.1b and baseline of 12.3b

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11210
done1210

end0.0ms

sample2.0s

Algorithm
intervals
Results
972.0ms6164×body80valid
285.0ms652×body2560valid
190.0ms269×body5120valid
145.0ms469×body1280valid
57.0ms244×body640valid
24.0ms143×body320valid
7.0ms59×body160valid