Capacitary Hardy inequalities, Dirichlet boundary conditions, and the limit as $p\downarrow1$
We use nonlinear Dirichlet resolvents to prove Hardy inequalities with capacity-based and resolvent-based weights for $1<p<\infty$ on arbitrary open sets. On bounded Sobolev extension domains, integrability against either weight characterizes Sobolev functions satisfying homogeneous Dirichlet conditions on arbitrary closed subsets of the boundary. On bounded Lipschitz domains, the resolvent-based weight $\bm{W}_{D,p}$ converges locally in $L^1$ to the negative of Barozzi's interior variational mean curvature as $p\downarrow1$.