Details

Time bar (total: 17.9s)

sample132.0ms

Algorithm
intervals
Results
18.0ms194×body80valid
9.0ms16×body5120valid
7.0ms17×body1280valid
7.0ms14×body2560valid
3.0ms10×body640valid
0.0msbody320valid
0.0msbody160valid

simplify128.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (72.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.3b

localize27.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot re im)
0.6b
(- (hypot re im) re)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg hypot-udef flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 38
Calls
2 calls:
0.0ms
(hypot re im)
9.0ms
(- (hypot re im) re)

series195.0ms

Counts
2 → 6
Calls
2 calls:
88.0ms
(hypot re im)
106.0ms
(- (hypot re im) re)

simplify1.6s

Counts
44 → 44
Iterations

Useful iterations: done (1.6s)

IterNodesCost
069463
1140373
2349309
31568274
done5000247

prune229.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 11.1b

localize30.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (- (hypot re im) re))
0.6b
(- (hypot re im) re)
0.6b
(- (hypot re im) re)
0.6b
(- (hypot re im) re)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt *-un-lft-identity
27×prod-diff
26×add-cube-cbrt
10×add-log-exp
fma-neg
cbrt-prod
pow1 add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 101
Calls
4 calls:
4.0ms
(cbrt (- (hypot re im) re))
7.0ms
(- (hypot re im) re)
10.0ms
(- (hypot re im) re)
14.0ms
(- (hypot re im) re)

series515.0ms

Counts
4 → 12
Calls
4 calls:
249.0ms
(cbrt (- (hypot re im) re))
81.0ms
(- (hypot re im) re)
107.0ms
(- (hypot re im) re)
78.0ms
(- (hypot re im) re)

simplify2.7s

Counts
113 → 113
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01141462
12401206
26981000
32957885
done5000798

prune724.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 11.1b

localize50.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
0.6b
(- (hypot re im) re)
0.6b
(- (hypot re im) re)
14.7b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt
18×prod-diff
add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-prod
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
pow1/3 fma-udef
Counts
4 → 79
Calls
4 calls:
2.0ms
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
14.0ms
(- (hypot re im) re)
14.0ms
(- (hypot re im) re)
1.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series701.0ms

Counts
4 → 12
Calls
4 calls:
310.0ms
(cbrt (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)))
87.0ms
(- (hypot re im) re)
102.0ms
(- (hypot re im) re)
201.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify2.8s

Counts
91 → 91
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01341323
1305960
21032802
34885725
done5000725

prune632.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 11.1b

localize45.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (hypot re im))
0.6b
(- (hypot re im) re)
14.6b
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))
14.7b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
12×add-cube-cbrt
prod-diff
add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-prod fma-neg
fma-udef
sub-neg flip3-- pow1/3 diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 61
Calls
4 calls:
1.0ms
(cbrt (hypot re im))
7.0ms
(- (hypot re im) re)
0.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series669.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt (hypot re im))
86.0ms
(- (hypot re im) re)
193.0ms
(fma (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)) (- re))
203.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify3.5s

Counts
73 → 73
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
0120931
1245762
2817538
34522482
done5000482

prune688.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 11.1b

regimes165.0ms

Accuracy

0% (0.2b remaining)

Error of 12.9b against oracle of 12.7b and baseline of 12.9b

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.2s

Algorithm
intervals
Results
589.0ms297×body640valid
564.0ms6078×body80valid
327.0ms673×body2560valid
224.0ms478×body1280valid
137.0ms276×body5120valid
23.0ms129×body320valid
12.0ms69×body160valid