Details

Time bar (total: 18.1s)

sample107.0ms

Algorithm
intervals
Results
11.0ms195×body80valid
6.0ms22×body2560valid
2.0ms11×body1280valid
2.0ms13×body640valid
2.0msbody5120valid
1.0msbody160valid
0.0msbody320valid

simplify95.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.3b

localize21.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
1.0ms
(hypot re im)
19.0ms
(- (hypot re im) re)

series178.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(hypot re im)
108.0ms
(- (hypot re im) re)

simplify3.5s

Counts
44 → 44
Iterations

Useful iterations: done (3.5s)

IterNodesCost
069463
1130370
2224300
3683256
42191247
done5001246

prune174.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 13.0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot re im)
0.0b
(hypot re im)
14.9b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite2.0ms

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

series345.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(hypot re im)
67.0ms
(hypot re im)
202.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify3.1s

Counts
39 → 39
Iterations

Useful iterations: 5 (1.7s)

IterNodesCost
039304
164232
2150198
3383198
4980198
53255196
done5000196

prune288.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 13.0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite4.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:
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))
0.0ms
(fma (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (sqrt (hypot re im)) (- re))

series761.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(cbrt (hypot re im))
207.0ms
(cbrt (hypot re im))
164.0ms
(cbrt (hypot re im))
245.0ms
(fma (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (sqrt (hypot re im)) (- re))

simplify3.7s

Counts
61 → 61
Iterations

Useful iterations: 5 (2.0s)

IterNodesCost
057681
1105670
2225511
3544469
41380403
54358401
done5000401

prune440.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 13.0b

localize39.0ms

Local error

Found 4 expressions with local error:

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

rewrite6.0ms

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

series735.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(cbrt (hypot re im))
177.0ms
(cbrt (sqrt (hypot re im)))
189.0ms
(cbrt (sqrt (hypot re im)))
204.0ms
(fma (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (* (cbrt (sqrt (hypot re im))) (cbrt (sqrt (hypot re im)))))) (sqrt (hypot re im)) (- re))

simplify1.8s

Counts
67 → 67
Iterations

Useful iterations: done (1.8s)

IterNodesCost
087882
1163861
2351651
3808642
42210642
done5000640

prune473.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 13.0b

regimes173.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.1s

Algorithm
intervals
Results
1.0s5957×body80valid
351.0ms706×body2560valid
187.0ms507×body1280valid
146.0ms260×body5120valid
81.0ms319×body640valid
29.0ms173×body320valid
13.0ms78×body160valid