Let A be a finite structure. We say that a finite structure B is an extension property for partial automorphisms (EPPA)-witness for A if it contains A as a substructure and every isomorphism of substructures of A extends to an automorphism of B.
Class C of finite structures has the EPPA (also called the Hrushovski property) if it contains an EPPA-witness for every structure in C. We develop a systematic framework for combinatorial constructions of EPPA-witnesses satisfying additional local properties and thus for proving EPPA for a given class C.
Our constructions are elementary, self-contained and lead to a common strengthening of the Herwig-Lascar theorem on EPPA for relational classes defined by forbidden homomorphisms, the Hodkinson-Otto theorem on EPPA for relational free amalgamation classes, its strengthening for unary functions by Evans, Hubička and Nešetřil and their coherent variants by Siniora and Solecki. We also prove an EPPA analogue of the main results of J.
Hubička and J. Nešetřil: All those Ramsey classes (Ramsey classes with closures and forbidden homomorphisms), thereby establishing a common framework for proving EPPA and the Ramsey property.
There are numerous applications of our results, we include a solution of a problem related to a class constructed by the Hrushovski predimension construction. We also characterize free amalgamation classes of finite Γ_L-structures with relations and unary functions which have EPPA.