Two-Scale Tools for Homogenization and Dimension Reduction of Perforated Thin Layers: Extensions, Korn-Inequalities, and Compactness of Scale-Dependent Sets in Sobolev Spaces | Synapse