Details

Time bar (total: 9.6s)

sample28.0ms

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

simplify21.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01215
11910
22810
33610
44210
54410
done4410

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)

series296.0ms

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

simplify2.7s

Counts
62 → 62
Iterations

Useful iterations: 3 (373.0ms)

IterNodesCost
0115686
1238572
2760489
34109434
done5000434

prune153.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 12.0b

localize12.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)

rewrite32.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)
24.0ms
(- (pow (cbrt (hypot re im)) 3) re)

series314.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot re im)
113.0ms
(cbrt (hypot re im))
94.0ms
(pow (cbrt (hypot re im)) 3)
61.0ms
(- (pow (cbrt (hypot re im)) 3) re)

simplify1.1s

Counts
160 → 160
Iterations

Useful iterations: 2 (152.0ms)

IterNodesCost
01582671
13411455
211861032
done50001032

prune293.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 12.0b

localize10.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))

series487.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(hypot re im)
45.0ms
(hypot re im)
248.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
144.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify663.0ms

Counts
55 → 55
Iterations

Useful iterations: done (662.0ms)

IterNodesCost
076577
1151419
2456358
31606345
done5000343

prune207.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 12.0b

localize18.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 (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (sqrt (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 (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (sqrt (hypot re im)) (- re))

series512.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(cbrt (hypot re im))
112.0ms
(cbrt (hypot re im))
129.0ms
(* (cbrt (hypot re im)) (cbrt (hypot re im)))
157.0ms
(fma (sqrt (* (* (cbrt (hypot re im)) (cbrt (hypot re im))) (cbrt (hypot re im)))) (sqrt (hypot re im)) (- re))

simplify1.6s

Counts
90 → 90
Iterations

Useful iterations: 3 (405.0ms)

IterNodesCost
0991105
11911033
2667845
32854752
done5000752

prune309.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 12.0b

regimes121.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

sample687.0ms

Algorithm
intervals
Results
208.0ms6006×body80valid
136.0ms691×body2560valid
77.0ms480×body1280valid
73.0ms314×body5120valid
35.0ms285×body640valid
12.0ms135×body320valid
6.0ms89×body160valid