Details

Time bar (total: 8.9s)

sample26.0ms

Algorithm
intervals
Results
7.0ms196×body80valid
4.0ms18×body2560valid
3.0ms11×body5120valid
2.0ms10×body1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify20.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01215
11910
22810
33510
44110
54310
done4310

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.3b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

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

series430.0ms

Counts
3 → 9
Calls
3 calls:
186.0ms
(sqrt (* (- (hypot re im) re) 2.0))
182.0ms
(hypot re im)
61.0ms
(- (hypot re im) re)

simplify2.0s

Counts
62 → 62
Iterations

Useful iterations: done (2.0s)

IterNodesCost
0115686
1228572
2672489
33524434
done5000433

prune149.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 12.0b

localize15.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)
10.1b
(- (pow (cbrt (hypot re im)) 3) re)

rewrite30.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
pow1 add-exp-log cube-mult unpow3
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-unpow
pow-pow pow1/3
pow-to-exp sub-neg hypot-udef flip3-- diff-log pow-exp flip-- distribute-lft-out-- rem-cube-cbrt
Counts
4 → 148
Calls
4 calls:
0.0ms
(hypot re im)
0.0ms
(cbrt (hypot re im))
2.0ms
(pow (cbrt (hypot re im)) 3)
22.0ms
(- (pow (cbrt (hypot re im)) 3) re)

series301.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(hypot re im)
108.0ms
(cbrt (hypot re im))
88.0ms
(pow (cbrt (hypot re im)) 3)
61.0ms
(- (pow (cbrt (hypot re im)) 3) re)

simplify619.0ms

Counts
160 → 160
Iterations

Useful iterations: 2 (146.0ms)

IterNodesCost
01582671
13011455
210091032
done50011032

prune304.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 12.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.0b
(hypot re im)
0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
14.6b
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

rewrite3.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 sqrt-pow1
pow1/2 pow-prod-down sqrt-prod fma-udef
Counts
4 → 43
Calls
4 calls:
0.0ms
(hypot re im)
0.0ms
(hypot re im)
2.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

series476.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot re im)
50.0ms
(hypot re im)
240.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
140.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify1.3s

Counts
55 → 55
Iterations

Useful iterations: done (1.3s)

IterNodesCost
076577
1151419
2430358
31492345
done5000343

prune205.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 12.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
22×cbrt-prod add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod fma-udef
Counts
4 → 78
Calls
4 calls:
0.0ms
(cbrt (hypot re im))
0.0ms
(cbrt (hypot re im))
6.0ms
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
0.0ms
(fma (sqrt (hypot re im)) (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (- re))

series496.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(cbrt (hypot re im))
117.0ms
(cbrt (hypot re im))
123.0ms
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
145.0ms
(fma (sqrt (hypot re im)) (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (- re))

simplify1.4s

Counts
90 → 90
Iterations

Useful iterations: 3 (427.0ms)

IterNodesCost
0991105
11881029
2601845
32790752
done5001752

prune326.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 12.0b

regimes122.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample688.0ms

Algorithm
intervals
Results
203.0ms6006×body80valid
143.0ms691×body2560valid
79.0ms480×body1280valid
75.0ms314×body5120valid
35.0ms285×body640valid
15.0ms135×body320valid
6.0ms89×body160valid