  Informally, an orbifold is a smooth space whose points may have finitely many
internal symmetries. Formally, however, the notion of orbifold has been
presented in a number of different guises -- from Satake's V-manifolds to
Moerdijk and Pronk's proper \'etale groupoids -- which do not on their face
resemble the informal definition. The reason for this divergence between
formalism and intuition is that the points of spaces cannot have internal
symmetries in traditional, set-level foundations. The extra data of these
symmetries must be carried around and accounted for throughout the theory. More
drastically, maps between orbifolds presented in the usual ways cannot be
defined pointwise.
  In this paper, we will put forward a definition of orbifold in synthetic
differential cohesive homotopy type theory: an orbifold is a microlinear type
for which the type of identifications between any two points is properly
finite. In homotopy type theory, a point of a type may have internal
symmetries, and we will be able to construct examples of orbifolds by defining
their type of points directly. Moreover, the mapping space between two
orbifolds is merely the type of functions.
  We will justify this synthetic definition by proving, internally, that every
proper \'etale groupoid is an orbifold. In this way, we will show that the
synthetic theory faithfully extends the usual theory of orbifolds. Along the
way, we will investigate the microlinearity of higher types such as \'etale
groupoids, showing that the methods of synthetic differential geometry
generalize gracefully to higher analogues of smooth spaces. We will also
investigate the relationship between the Dubuc-Penon and open-cover definitions
of compactness in synthetic differential geometry, and show that any discrete,
Dubuc-Penon compact subset of a second-countable manifold is subfinitely
enumerable.
