Canonical forms for definable subsets of algebraically closed and real closed valued fields

We present a canonical form for definable subsets of algebraically closed valued fields by means of decompositions into sets of a simple form, and do the same for definable subsets of real closed valued fields. Both cases involve discs, forming “Swiss cheeses” in the algebraically closed case, and cuts in the real closed case. As a step in the development, we give a proof for the fact that in “most” valued fields F , if f ( x ), g ( x ) ∈ F [ x ] and v is the valuation map, then the set { x : v ( f ( x )) ≤ v ( g ( x ))} is a Boolean combination of discs; in fact, it is a finite union of Swiss cheeses. The development also depends on the introduction of “valued trees”, which we define formally.