PatternAtlas

Monochrome Logo

Structures and Processes of a Galois Connection

Written by @prathyvsh | Version 0.08

A look at Galois connection in the context of binary relations between two sets. The post unfolds its local constituent structures and processes. It then folds these up, to highlight the global picture of the interesting dualities in action.

Index

01

Introduction

  1. The Theatre of Galois Connection A Bird’s Eye Diagrammatic View
    1. The Two Tales Two Ways to Read the Central Idea
  2. On Navigation Cues for Reading
  3. The Storyboard Card Deck of the Cast and Crew
02

Constructing the Concept Lattice

  1. Structural Interpretation
  2. Process Interpretation
  3. A Note on the Terminology
03

Unwinding the Concept Lattice to a Context

  1. Unwinding the lattice
  2. Atlas of Contexts
  3. Birkhoff Representation Theorem
04

The Mirror of Duality

  1. Inside/Outside
  2. Duality of the Powerset
  3. Structure vs. Process
  4. Polarity vs. Axiality
05

History

  1. Philosophy
  2. Mathematics
  3. Interpollination
06

Prior Art and Future Work

07

Lexicon

08

Bibliography

01

Introduction

This post is a conceptual overview of Galois connection. It is a general idea that makes its appearance throughout mathematics. It was historically uncovered from the context of solvability of the quintic (fifth degree) equation. But since then, mathematicians started spotting it in many guises in varied contexts especially with the rise of mathematical structures. I use the context of relation between sets to illustrate the structures and processes of this concept as it makes the idea easy to grasp.

The post makes minimal use of equations and computations so that I can give a bird’s eye conceptual view of the landscape. A frog’s eye view post will shortly be published where I get into the nitty-gritty proofs and computations.

It is written as an exposition of Galois connection maximally using diagrams to communicate the ideas here. Someone curious enough to reason about the structures using the visuals will gain some intuition into the structures and processes at work here. But it is indeed true that a fuller absorption of the content here will require some mathematical maturity as the article assumes a basic mathematical background in sets, relations, partial orders, and lattices. I hope to augment this with an interactive environment and animations in a future revision of this article and provide the supplementary materials that enable a novice towards comprehending all of the necessary background. But for now, this is my first step towards elucidating the beautiful interactions between Galois connections and concept lattices.

My hope is that by depicting the internal and external structures and processes at play here, it will enable people who haven’t seen this before to visually reason and understand the structures and process at play here. I hope that by maximally visualizing the internal and external details, even ones familiar with the construction/deconstruction of Galois lattices will find something worthy of appreciation.

01

Introduction

The Theatre of Galois Connection

A Bird’s Eye Diagrammatic View

We will take a look at how a concept lattice can be constructed from a given context between two sets, and how it conversely can be unwound so that a context can be obtained from any concept lattice. Towards this purpose, let us first get acquainted with a map of the various acts that are happening between the “cast and crew” of entities involved in the Galois connection that generates a concept lattice from a given relation. We will call it the Eye of Galois. It will aid us in getting a comprehensive view of the different objects/maps involved in the idea. At the end of this article, I will reveal a lexicon where you can learn about each of the ideas in detail.

Eye of Galois diagram
Eye of GaloisA diagrammatic representation of Galois connection that can be read in two ways

This diagram captures the central structures and processes at play. But it is a rather cryptic diagram. Let us start making this a juicy framework by slowly unfolding the structures and processes behind the curtains. We will develop our intuition on the various objects and relations it consists of. Each of the circle shows the main mathematical object and the arrows between them depict the interconnections it has with other objects.

01

Introduction

The Two Tales

Two ways to read the central idea

There are two ways to read this diagram as to 1/ how it folds up to and 2/ unfolds down from this concept lattice in the nucleus of the diagram:

Purple orb with a lattice construction in the middle

CL(Obj, Atb, Ctx)Concept Lattice

These ways of readings can respectively be thought of as 1/ construction and 2/ deconstruction of the concept lattice. The construction takes a context and builds up a complete lattice from it. In the deconstruction, we unwind the complete lattice to get back a context. These two readings can be visually emphasized by swapping the context and concept lattice as the source and target.

Construction

Context → Concepts as Complete Lattice

Diagram showing orbs of context in green to concepts in brown

Construction of concepts CL(Obj, Atb, Ctx) from the context Ctx(Obj, Atb) between objects Obj and Atb. The concepts so obtained are structured as a complete lattice Lat.

Deconstruction

Complete Lattice as Concepts → Context

Diagram showing orbs of context in green to concepts in brown

Deconstruction of a complete lattice Lat by regarding it as a concept lattice CL(Obj, Atb, Ctx), we can encode any complete lattice as a context Ctx(Obj, Atb) relating two sets Obj and Atb.

These two directions of readings are two central ways through which we derive practical applications from this theory of Galois connection in the context of relations. We will examine these two “modes” closely in the upcoming sections.

01

Introduction

On Navigation

Cues for Reading
Miniature diagram of Galois

In unbundling the concert among various objects and maps, we will employ a miniature version of this diagram. Different parts of this diagram will be highlighted as per the emphasis laid on in a given section.

For example, here are a few configurations of the miniature diagram which highlights what concepts are emphasized in a particular section.

Shows the miniature diagram with the south most, southwest, southeast, and the east and west nodes selected. It is labelled Context, Objects and Attributes, and their Powersets.

Context, Objects and Attributes, and their Powersets

Shows the miniature diagram with the east and west and the arrows highlighting them highlighted. It is labelled Concept Lattice and Galois connection between Powersets.

Concept Lattice and Galois connection between Powersets

The third one shows the center, and north and west connected. It is labelled Isomorphism between complete lattice and context via concepts

Isomorphism between complete lattice and context via concepts

With that book keeping details out of the way, let us dive right in and examine the Galois Connection.

01

Introduction

The Storyboard

Card Deck of the Cast and Crew

The Context

Miniature navigation diagram

We start with a context composed of relations between two sets. This can be represented as a bipartite graph connecting a domain and a codomain.

Quotients & Kernels

Miniature navigation diagram

We now move to a higher order setting of families of sets when identifying the kernels of the domain and cokernels of the codomain of the context.

A New Basis

Miniature navigation diagram

Kernels and cokernels embed into their powerset which has the nature of being both a set of sets and a partially ordered lattice. This is where we start to witness the intension/extension duality.

Galois Connection of Powersets

Miniature navigation diagram

This locates a Galois connection between the powersets. This leads us to understand certain maps as being symmetric between domain and codomain, which mark out what we call a “formal concept”.

Concepts as fixed points

Miniature navigation diagram

Concepts act as fixed points of the Galois connection. The objects covered by the concept can be thought of as its extent, and the attributes possessed by it as its intent. Every context can be compactly represented by a concept lattice.

Complete lattices as concept lattices

Miniature navigation diagram

Every complete lattice arises as a concept lattice of join and meet dense maps. CL(Obj) and CL(Atb) are closure systems.

Dense Maps

Miniature navigation diagram

The maps from objects and attributes to the complete lattice are respectively join dense and meet dense, and they encode the relation Ctx(Obj, Atb).

Complete Result

Miniature navigation diagram

That completes the result: We have a three-way relationship between concepts, which are complete lattices, that encode a context by virtue of the Galois connection between powersets of objects and attributes.

Stay tuned to read the upcoming chapters!