Details

Time bar (total: 14.2s)

sample116.0ms

Algorithm
intervals
Results
18.0ms186×body80valid
13.0ms26×body2560valid
13.0ms18×body5120valid
6.0ms15×body1280valid
3.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify112.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (64.0ms)

IterNodesCost
01215
11910
22810
33610
44310
54510
done4510

prune21.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.1b

localize27.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* (- (hypot re im) re) 2.0))
0.0b
(hypot re im)
0.2b
(- (hypot re im) re)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
10×add-cube-cbrt
prod-diff
pow1
add-log-exp
expm1-log1p-u add-cbrt-cube fma-neg add-exp-log log1p-expm1-u
sqrt-pow1 flip3-- sqrt-div associate-*l/ flip--
hypot-udef sub-neg pow1/2 diff-log pow-prod-down sqrt-prod distribute-lft-out-- difference-of-squares
Counts
3 → 53
Calls
3 calls:
15.0ms
(sqrt (* (- (hypot re im) re) 2.0))
0.0ms
(hypot re im)
15.0ms
(- (hypot re im) re)

series360.0ms

Counts
3 → 9
Calls
3 calls:
199.0ms
(sqrt (* (- (hypot re im) re) 2.0))
56.0ms
(hypot re im)
104.0ms
(- (hypot re im) re)

simplify2.2s

Counts
62 → 62
Iterations

Useful iterations: done (2.2s)

IterNodesCost
0115686
1245575
2770498
34031454
done5000453

prune392.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 13.0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(log1p (sqrt (* (- (hypot re im) re) 2.0)))
0.2b
(- (hypot re im) re)
2.7b
(expm1 (log1p (sqrt (* (- (hypot re im) re) 2.0))))

rewrite14.0ms

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

series1.5s

Counts
4 → 12
Calls
4 calls:
77.0ms
(hypot re im)
638.0ms
(log1p (sqrt (* (- (hypot re im) re) 2.0)))
82.0ms
(- (hypot re im) re)
696.0ms
(expm1 (log1p (sqrt (* (- (hypot re im) re) 2.0))))

simplify1.0s

Counts
72 → 72
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0156961
1375832
21493710
done5001680

prune424.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 13.0b

localize37.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.5b
(cbrt (hypot re im))
0.7b
(pow (cbrt (hypot re im)) 3)
11.8b
(- (pow (cbrt (hypot re im)) 3) re)

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
54×prod-diff
50×*-un-lft-identity
48×add-cube-cbrt
35×cbrt-prod
32×unpow-prod-down cube-prod
18×fma-neg
add-log-exp difference-of-squares sqr-pow
cube-mult pow1 unpow3 add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-unpow
pow-pow pow1/3
pow-to-exp hypot-udef sub-neg flip3-- diff-log pow-exp flip-- distribute-lft-out-- rem-cube-cbrt
Counts
4 → 148
Calls
4 calls:
0.0ms
(hypot re im)
1.0ms
(cbrt (hypot re im))
3.0ms
(pow (cbrt (hypot re im)) 3)
47.0ms
(- (pow (cbrt (hypot re im)) 3) re)

series401.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(hypot re im)
150.0ms
(cbrt (hypot re im))
121.0ms
(pow (cbrt (hypot re im)) 3)
73.0ms
(- (pow (cbrt (hypot re im)) 3) re)

simplify1.3s

Counts
160 → 160
Iterations

Useful iterations: 2 (306.0ms)

IterNodesCost
01582671
13971554
217801086
done50011086

prune616.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 12.9b

localize40.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (cbrt (hypot re im)) 2)
0.6b
(cbrt (cbrt (hypot re im)))
0.7b
(pow (* (cbrt (pow (cbrt (hypot re im)) 2)) (cbrt (cbrt (hypot re im)))) 3)
14.2b
(- (pow (* (cbrt (pow (cbrt (hypot re im)) 2)) (cbrt (cbrt (hypot re im)))) 3) re)

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
24×*-un-lft-identity prod-diff
22×add-cube-cbrt
13×cbrt-prod
11×unpow-prod-down
pow1 fma-neg add-exp-log
sqr-pow
pow-unpow pow-pow add-log-exp
cube-mult add-cbrt-cube unpow3 cube-prod
expm1-log1p-u pow1/3 log1p-expm1-u
pow-exp
pow-to-exp pow-prod-down unpow2 rem-cube-cbrt difference-of-squares
sub-neg flip3-- diff-log pow3 prod-exp cbrt-unprod flip-- distribute-lft-out--
Counts
4 → 115
Calls
4 calls:
5.0ms
(pow (cbrt (hypot re im)) 2)
2.0ms
(cbrt (cbrt (hypot re im)))
20.0ms
(pow (* (cbrt (pow (cbrt (hypot re im)) 2)) (cbrt (cbrt (hypot re im)))) 3)
27.0ms
(- (pow (* (cbrt (pow (cbrt (hypot re im)) 2)) (cbrt (cbrt (hypot re im)))) 3) re)

series471.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(pow (cbrt (hypot re im)) 2)
132.0ms
(cbrt (cbrt (hypot re im)))
96.0ms
(pow (* (cbrt (pow (cbrt (hypot re im)) 2)) (cbrt (cbrt (hypot re im)))) 3)
75.0ms
(- (pow (* (cbrt (pow (cbrt (hypot re im)) 2)) (cbrt (cbrt (hypot re im)))) 3) re)

simplify1.7s

Counts
127 → 127
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01812525
14501703
218441044
done5002852

prune654.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 12.9b

regimes260.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample2.3s

Algorithm
intervals
Results
611.0ms290×body640valid
508.0ms6092×body80valid
403.0ms601×body2560valid
222.0ms495×body1280valid
204.0ms299×body5120valid
27.0ms142×body320valid
15.0ms81×body160valid