I am well aware of the trace theorem: Let $\Omega \subset \mathbb R^d$ be a bounded open region with $C^1$ boundary, then there exists a continuous map $T: H^{1,p}(\Omega ) \to L^p (\partial \Omega )$, called the trace, such that it returns the boundary values for $C^1$ functions.
I am about to solve a problem sheet where I need the torus Laplacian with the domain $\mathcal D (-\Delta ) = \lbrace f \in H^2 ([0,1]^d) : f\;\text{and its 1}^{\mathrm{st}}\text{-order derivatives are periodic} \rbrace $ (the problem is to prove that its resolvents are in certain Schatten classes; the focus is really not on properties of Sobolev spaces, but nevertheless I want to know hot to justify things).
Now $[0,1]^d$ does not have a $C^1$ boundary, hence the trace theorem in the above form is not applicable. I know that it is possible to define Sobolev spaces on differentiable manifolds, and perhaps this would solve the problem. However, I would like to know if it is possible to define the torus Laplacian elementarily.
Perhaps more generally: Is there a version of the trace theorem for singular boundaries? If not, then is there an ad-hoc approach for the torus?
I will give some more details on my comment, Jakob. As you correctly noticed later Lipschitz will do the job. Usually in textbooks it is the standard assumption made, though it is much stronger than what needed.
I give you here the sharp statements which you can find in Maz'ya's ``Sobolev spaces with applications to PDEs'' (Chapter 5 and 9, if I recall correctly).
On the other hand, for the existence of a linear, continuous operator which agrees with the trace of functions continuous up to the boundary, one has the following result.
In the above, by perimeter it is meant the one used in geometric measure theory: $$P(E;A) = |D\chi_E|(A)\,,$$ with the shorthand $P(E)$ when $A=\mathbb{R}^n$.
This one amounts to the total variation on $A$ of the characteristic function of the set $\chi_E$.