Details

Time bar (total: 9.0s)

sample29.0ms

Algorithm
intervals
Results
7.0ms195×body80valid
5.0ms10×body5120valid
4.0ms23×body2560valid
2.0ms11×body1280valid
2.0ms13×body640valid
0.0msbody320valid
0.0msbody160valid

simplify21.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01215
11910
22810
33510
44110
54310
done4310

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

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

series233.0ms

Counts
2 → 6
Calls
2 calls:
174.0ms
(sqrt (* (- (hypot re im) re) 2.0))
59.0ms
(- (hypot re im) re)

simplify1.0s

Counts
49 → 49
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0107626
1220520
2540446
31928400
done5000399

prune117.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 12.5b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
14.7b
(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 sqrt-pow1 add-cbrt-cube log1p-expm1-u add-log-exp
pow1/2 pow-prod-down sqrt-prod fma-udef
Counts
2 → 23
Calls
2 calls:
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))

series371.0ms

Counts
2 → 6
Calls
2 calls:
237.0ms
(sqrt (* (fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re)) 2.0))
134.0ms
(fma (sqrt (hypot re im)) (sqrt (hypot re im)) (- re))

simplify2.7s

Counts
29 → 29
Iterations

Useful iterations: 4 (2.0s)

IterNodesCost
063457
1136303
2395254
31401241
44879239
done5000239

prune78.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 12.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (+ (- (pow (cbrt (hypot re im)) 3) re) (- re re)) 2.0))
0.5b
(cbrt (hypot re im))
0.7b
(pow (cbrt (hypot re im)) 3)
9.7b
(- (pow (cbrt (hypot re im)) 3) re)

rewrite83.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
pow1
sqrt-div associate-*l/ add-log-exp difference-of-squares sqr-pow
add-exp-log cube-mult flip3-- unpow3 flip--
expm1-log1p-u frac-add add-cbrt-cube log1p-expm1-u
pow-unpow
pow-pow sqrt-pow1 pow1/3
pow-to-exp sub-neg flip3-+ pow1/2 diff-log pow-prod-down pow-exp sqrt-prod flip-+ distribute-lft-out-- rem-cube-cbrt
Counts
4 → 157
Calls
4 calls:
54.0ms
(sqrt (* (+ (- (pow (cbrt (hypot re im)) 3) re) (- re re)) 2.0))
0.0ms
(cbrt (hypot re im))
2.0ms
(pow (cbrt (hypot re im)) 3)
21.0ms
(- (pow (cbrt (hypot re im)) 3) re)

series427.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(sqrt (* (+ (- (pow (cbrt (hypot re im)) 3) re) (- re re)) 2.0))
105.0ms
(cbrt (hypot re im))
87.0ms
(pow (cbrt (hypot re im)) 3)
58.0ms
(- (pow (cbrt (hypot re im)) 3) re)

simplify806.0ms

Counts
169 → 169
Iterations

Useful iterations: done (797.0ms)

IterNodesCost
02393284
15401823
216201230
done50001228

prune307.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 12.4b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (* (+ (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) (- re re)) 2.0))
0.5b
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
7.8b
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
21×pow1
19×sqrt-prod
12×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1
pow1/2
swap-sqr
sqrt-div associate-*r* associate-*l* associate-*l/
add-exp-log flip3-- pow-prod-up add-cbrt-cube flip-- add-log-exp
pow-prod-down frac-add unswap-sqr
expm1-log1p-u prod-diff pow-sqr log1p-expm1-u
pow2 sub-neg flip3-+ pow-plus fma-neg sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative cbrt-unprod flip-+ difference-of-squares
Counts
3 → 89
Calls
3 calls:
29.0ms
(sqrt (* (+ (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) (- re re)) 2.0))
6.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
6.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

series293.0ms

Counts
3 → 9
Calls
3 calls:
185.0ms
(sqrt (* (+ (- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re) (- re re)) 2.0))
51.0ms
(* (sqrt (hypot re im)) (sqrt (hypot re im)))
56.0ms
(- (* (sqrt (hypot re im)) (sqrt (hypot re im))) re)

simplify1.4s

Counts
98 → 98
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01901770
1432910
21306796
done5000734

prune206.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 12.4b

regimes92.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
210.0ms6030×body80valid
142.0ms699×body2560valid
78.0ms489×body1280valid
69.0ms280×body5120valid
36.0ms284×body640valid
13.0ms141×body320valid
5.0ms77×body160valid