Skip to content

4.1 Structure vs Instance

Distinguishing abstract structures from their concrete instances, and using that distinction to reason across examples.

A structure is a pattern. An instance is a concrete realization of that pattern.

This distinction is central to mathematical reasoning. It lets us prove results once at the structural level and then apply them to many examples.

A group is a structure. The integers under addition are an instance of that structure. The nonzero rational numbers under multiplication are another instance. The symmetries of a square are another.

StructureInstance
Group(Z,+)(\mathbb{Z}, +)
GroupNonzero rational numbers under multiplication
GroupSymmetries of a square
Vector spaceRn\mathbb{R}^n over R\mathbb{R}
GraphA road network
Topological spaceThe real line with its usual open sets

The structure specifies what data and laws are required. The instance supplies actual objects satisfying those requirements.

For a group, the structure requires:

PartRequirement
CarrierA set GG
OperationA binary operation :G×GG\ast : G \times G \to G
Associativity(ab)c=a(bc)(a \ast b) \ast c = a \ast (b \ast c)
IdentityThere exists eGe \in G such that ea=ae=ae \ast a = a \ast e = a
InversesFor every aGa \in G, there exists a1a^{-1} with aa1=ea \ast a^{-1} = e

An instance is valid only if it satisfies the laws.

For example, (Z,+)(\mathbb{Z}, +) is a group. The carrier is Z\mathbb{Z}. The operation is addition. The identity is 00. The inverse of nn is n-n.

By contrast, (N,+)(\mathbb{N}, +) is not a group if N=0,1,2,\mathbb{N} = {0,1,2,\dots}, because most elements do not have additive inverses inside N\mathbb{N}.

This illustrates a general rule: having similar notation does not guarantee the same structure.

The expression a+ba + b may appear in both Z\mathbb{Z} and N\mathbb{N}, but the structural laws differ.

Why the distinction matters

Structural reasoning works at the level of the pattern.

If a theorem is proved for all groups, it applies to every valid group instance.

Example:

In any group, the identity element is unique.

Once this theorem is proved structurally, we do not need to reprove it for integers, matrices, permutations, or symmetries. Each instance inherits the result.

This is the main benefit of abstraction.

LevelWork done
StructureProve general theorems
InstanceVerify the axioms
ApplicationUse inherited results

The cost of using a structure is that an instance must be checked. Before applying a group theorem, we must know that the object is a group. Before applying a vector-space theorem, we must know that the object satisfies the vector-space axioms.

Instances can carry many structures

The same object can instantiate several structures.

The real numbers R\mathbb{R} can be viewed as:

ViewStructure
(R,+)(\mathbb{R}, +)Additive group
(R,+,)(\mathbb{R}, +, \cdot)Field
(R,<)(\mathbb{R}, <)Ordered set
(R,d)(\mathbb{R}, d)Metric space
R\mathbb{R} with open intervalsTopological space
R\mathbb{R} over Q\mathbb{Q}Vector space

Each structure supports different theorems.

If we treat R\mathbb{R} as a field, we can discuss multiplicative inverses for nonzero elements. If we treat it as a topological space, we can discuss open sets and continuity. If we treat it as an ordered set, we can discuss upper bounds and monotonicity.

The instance alone does not determine the active structure. The text must state it or make it clear from context.

Forgetting structure

Sometimes we intentionally ignore part of a structure. This is called forgetting structure.

A field can be viewed as a ring. A ring can be viewed as an additive group. A metric space can be viewed as a topological space.

Richer structureForgotten structure
FieldRing
RingAbelian group under addition
Metric spaceTopological space
Vector spaceSet
GroupSet

Forgetting structure makes fewer operations available. It may also make more maps valid.

A linear map preserves vector-space structure. A function between the underlying sets need not preserve anything.

T:VW T : V \to W

as a linear map is more restrictive than

f:VW f : |V| \to |W|

as a plain function between underlying sets.

The notation V|V| is sometimes used to mean the underlying set of VV after forgetting its extra structure.

Adding structure

The opposite process is adding structure. A set can be given a topology, a group operation, an order, or a metric.

For example, the set R\mathbb{R} can be equipped with the usual topology, the discrete topology, or other topologies. These produce different topological spaces on the same underlying set.

Underlying setAdded structureResult
R\mathbb{R}Usual topologyStandard real line
R\mathbb{R}Discrete topologyDiscrete space
Z\mathbb{Z}AdditionAdditive group
A finite setEdgesGraph
A set of pointsDistance functionMetric space

Adding structure increases what can be said. It also increases what must be preserved by maps.

Models as instances

In logic, an instance of a theory is often called a model.

A theory gives axioms. A model gives objects that satisfy those axioms.

MT M \models T

means that the structure MM satisfies the theory TT.

For example, the group axioms define a theory. Every group is a model of that theory.

This connects structural thinking with formal logic. A structure is not only a pattern in ordinary mathematics. It can also be an interpretation of a formal language.

Canonical and noncanonical instances

Some instances arise naturally. Others require choices.

The vector space knk^n is a standard model of an nn-dimensional vector space over kk. Every nn-dimensional vector space over kk is isomorphic to knk^n, but the isomorphism usually depends on a choice of basis.

Vkn V \cong k^n

This is true structurally, but not canonical unless a basis has been chosen.

The distinction matters.

StatementMeaning
VknV \cong k^nThere exists an isomorphism
V=knV = k^nThe objects are literally equal
A basis identifies VV with knk^nA choice gives a concrete representation

Structural sameness does not automatically give literal identity.

Representation vs structure

An instance often has a representation. The representation is how we store or write it. The structure is what the representation means.

A matrix can represent a linear map after bases are chosen.

AMm×n(k) A \in M_{m \times n}(k)

represents a map

T:knkm T : k^n \to k^m

Changing bases changes the matrix but not the underlying linear map.

Thus, a matrix representation is coordinate-dependent. The linear map is structural.

ObjectRepresentationStructural meaning
VectorCoordinate columnElement of a vector space
MatrixArray of scalarsLinear transformation
GraphAdjacency listVertices with adjacency relation
PolynomialCoefficient listFormal expression or function
Topological spaceList of open setsStructure of neighborhoods

Confusing representation with structure leads to fragile reasoning.

Transport of structure

An isomorphism allows structure to be transported from one object to another.

If f:ABf : A \to B is a bijection and AA has an operation \ast, we can define an operation on BB by transporting through ff:

b1b2=f(f1(b1)f1(b2)). b_1 \star b_2 = f(f^{-1}(b_1) \ast f^{-1}(b_2)).

This makes BB structurally equivalent to AA.

Transport of structure explains why isomorphic objects share the same structural properties. It also explains why equality is often too strict for mathematics.

Practical rule

When entering a new topic, separate four layers.

LayerQuestion
Underlying objectsWhat are the elements?
StructureWhat operations, relations, or laws are present?
RepresentationHow are objects written or stored?
EquivalenceWhen are two instances considered the same?

This prevents category errors.

For example, when studying graphs, ask whether vertices are labeled or unlabeled. When studying vector spaces, ask whether a basis is fixed. When studying topological spaces, ask which topology is being used.

The same data can support different structures. The same structure can have different representations. The same structural object can have many isomorphic instances.

Mathematics becomes clearer when these levels remain separate.