{"id":5892,"date":"2025-10-07T13:17:56","date_gmt":"2025-10-07T17:17:56","guid":{"rendered":"https:\/\/matroidunion.org\/?p=5892"},"modified":"2025-10-07T13:17:57","modified_gmt":"2025-10-07T17:17:57","slug":"lattice-path-matroids","status":"publish","type":"post","link":"https:\/\/matroidunion.org\/?p=5892","title":{"rendered":"Lattice path matroids"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">From lattice paths to matroids<\/h2>\n\n\n\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Lattice_path\">Lattice paths<\/a> and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Catalan_number\">Catalan numbers<\/a> were some of the favourite topics in my recent combinatorics course. And while we didn&#8217;t cover them in class, I was reminded of lattice path matroids.<\/p>\n\n\n\n<p>The systematic study of lattice path matroids was initiated by <a href=\"https:\/\/doi.org\/10.1016\/S0097-3165(03)00122-5\">Joe Bonin, Anna de Mier, and Marc Noy<\/a>. The results I describe here (as well as their proofs) can all be found in <a href=\"https:\/\/doi.org\/10.1016\/j.ejc.2005.01.008\">this paper by Bonin and De Mier<\/a>.<\/p>\n\n\n\n<p>A north-east lattice path (I will call them lattice paths for simplicity) is a sequence $v_0 = (0,0), v_1, \\ldots, v_\\ell$ of points in the lattice $\\mathbb{Z}^2$ such that each step $P_i = v_i &#8211; v_{i-1}$ is either in the east direction $E = (1,0)$ or in the north direction $N = (0,1)$. As such lattice paths always start at the origin, they are in one-to-one correspondence with words over the alphabet $\\{E,N\\}$.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-path.png\"><img loading=\"lazy\" decoding=\"async\" width=\"226\" height=\"147\" src=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-path.png\" alt=\"A lattice path\" class=\"wp-image-5903\"\/><\/a><figcaption class=\"wp-element-caption\">The lattice path of length 8 encoded by the word $NEEENENE$.<\/figcaption><\/figure><\/div>\n\n\n<p>There are exactly $\\binom{a+b}{b}$ lattice paths to $(a,b)$, as all such paths have $a+b$ steps, and identifying the $b$ north steps among them suffices to describe the path.<\/p>\n\n\n\n<p>Given a lattice path $P$ to $(a,b)$, written as a sequence $P_1P_2\\ldots P_{a+b}$ of $a$ east steps and $b$ north steps, we can record the north steps as follows: $$\\mathcal{N}(P) = \\{i : P_i = N\\}.$$<\/p>\n\n\n\n<p>All $b$-element subsets of $[a+b]$ appear as $\\mathcal{N}(P)$ for some lattice path $P$ to $(a,b)$; in other words, the set of all $\\mathcal{N}(P)$, as $P$ ranges over the lattice paths to $(a,b)$, is the set of bases of the rank-$b$ uniform matroid on $[a+b]$. Lattice path matroids generalise this construction.<\/p>\n\n\n\n<p>Let $P$ and $Q$ be two lattice paths to $(a,b)$. We say that $P \\le Q$ if $P$ never goes above $Q$; this defines a partial order on the set of all lattice paths to $(a,b)$. For $P \\le Q$, we define the matroid $M[P,Q]$ on $[a,b]$ with set of bases $$\\{\\mathcal{N}(R) : P \\le R \\le Q\\}.$$<\/p>\n\n\n\n<p><strong>Proposition.<\/strong> $M[P,Q]$ is a matroid.<\/p>\n\n\n\n<p>The matroid $M[P,Q]$ records (the north steps of) all lattice paths between $P$ and $Q$; an arbitrary matroid is called a lattice path matroid if it is isomorphic to $M[P,Q]$ for some $P$ and $Q$. Here are some examples:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>$M[E^aN^b, N^bE^a]$ is the rank-$b$ uniform matroid on $[a+b]$. Here, the first boundary path is the one formed by $a$ east steps followed by $b$ north steps, and the second boundary path is the one formed by $b$ north steps folled by $a$ east steps.<\/li>\n\n\n\n<li>$M[P,P] \\cong U_{b,b} \\oplus U_{0,a}$ for any lattice path $P$ to $(a,b)$.<\/li>\n\n\n\n<li>$M[E^nN^n, (EN)^n]$ is the <a href=\"https:\/\/doi.org\/10.1016\/S0097-3165(03)00121-3\">Catalan matroid<\/a> with exactly $\\frac{1}{n+1}\\binom{2n}{n}$ bases.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-uniform-catalan-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"147\" src=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-uniform-catalan-2.png\" alt=\"\" class=\"wp-image-5906\" srcset=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-uniform-catalan-2.png 502w, https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-uniform-catalan-2-300x88.png 300w, https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-uniform-catalan-2-500x146.png 500w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/a><figcaption class=\"wp-element-caption\">Pairs of lattice paths encoding the uniform matroid $M[P,Q] \\cong U_{3,8}$ (left) and the rank-3 Catalan matroid $M[P,Q] \\cong C_3$ (right).<\/figcaption><\/figure><\/div>\n\n\n<p>Properties of $M[P,Q]$ can (in principle) be explained in terms of $P$ and $Q$ alone. We will need the following result later.<\/p>\n\n\n\n<p><strong>Proposition.<\/strong> The element $i$ is a coloop of $M[P,Q]$ if and only if $P_{i-1} = Q_{i-1}$ and $P_i &#8211; P_{i-1} = Q_i &#8211; Q_{i-1} = N$. The element $i$ is a loop of $M[P,Q]$ if and only if $P_{i-1} = Q_{i-1}$ and $P_i &#8211; P_{i-1} = Q_i &#8211; Q_{i-1} = E$.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-coloop-loop.png\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"384\" src=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-coloop-loop.png\" alt=\"Loops and coloops in lattice path matroids\" class=\"wp-image-5902\" srcset=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-coloop-loop.png 384w, https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-coloop-loop-300x300.png 300w, https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-coloop-loop-150x150.png 150w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/a><figcaption class=\"wp-element-caption\">The element 6 is a coloop, and the element 10 is a loop, of $M[P,Q]$.<\/figcaption><\/figure><\/div>\n\n\n<p>An attractive property of the class of lattice path matroids is that it is closed under duality and minors. Both of these operations have interpretations in terms of lattice paths.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Duality<\/h2>\n\n\n\n<p>Let $\\mathcal{N}(R)$ be a basis of $M[P,Q]$. Then the complement of $\\mathcal{N}(R)$ in $[a+b]$ is a basis of the dual matroid $M[P,Q]^*$: its elements correspond precisely to the east steps in $R$. This inspires the following definition.<\/p>\n\n\n\n<p>For a lattice path $R$, let $R^*$ be the lattice path obtained from $R$ by flipping the roles of north and east steps. If $R$ is a lattice path to $(a,b)$, then $R^*$ is a lattice path to $(b,a)$. Geometrically, $R^*$ is obtained from $R$ by reflecting it in the line $y=x$. It is clear from the geometric perspective that if $P \\le R \\le Q$, then $Q^* \\le R^* \\le P^*$, from which it can be shown that the dual of $M[P,Q]$ is again a lattice path matroid.<\/p>\n\n\n\n<p><strong>Proposition.<\/strong> $M[P,Q]^* = M[Q^*, P^*]$.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-dual.png\"><img loading=\"lazy\" decoding=\"async\" width=\"541\" height=\"226\" src=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-dual.png\" alt=\"The dual of a lattice path matroid is again a lattice path matroid\" class=\"wp-image-5899\" srcset=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-dual.png 541w, https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-dual-300x125.png 300w, https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-dual-500x209.png 500w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/a><figcaption class=\"wp-element-caption\">The dual of the lattice path matroid $M[P,Q]$ is the lattice path matroid $M[Q^*,P^*]$.<\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Minors<\/h2>\n\n\n\n<p>Showing that the class of lattice path matroids is minor-closed requires a bit more work. Fortunately, in view of the previous result, it suffices to show that deleting a single element from $M[P,Q]$ results in a new lattice path matroid.<\/p>\n\n\n\n<p>So let $M = M[P,Q]$ be a lattice path matroid and let $i$ be an element of $M$. If $i$ is a loop or coloop of $M$, then $P$ and $Q$ coincide in the $i$-th step; a lattice path representation can be obtained from $P$ and $Q$ by deleting this step from both paths. (When drawing $P$ and $Q$ in $\\mathbb{Z}^2$, the resulting disconnected parts of the lattice paths should be connected up again by &#8220;sliding&#8221; the north-east component one unit to the south (when $i$ is a coloop) or to the west (when $i$ is a loop).)<\/p>\n\n\n\n<p>When $i$ is neither a loop nor a coloop, the bases of $M\\backslash i$ are the bases of $M$ that do not contain $i$. In terms of lattice paths, this means that the lattice paths $R$ corresponding to bases of $M\\backslash i$ satisfy $P \\le R \\le Q$ and $R_i &#8211; R_{i-1} = E$: we disallow north steps starting from any point $(u,v)$ such that $u+v=i-1$. We obtain lattice paths $P&#8217;$ and $Q&#8217;$ representing $M\\backslash i$ by &#8220;merging&#8221; the two squares on either side of such north steps. More precisely, we obtain $P&#8217;$ from $P$ by deleting the last east step at or before the $i$-th step, and $Q&#8217;$ from $Q$ by removing the first east step at or after the $i$-th step. See the figure for an illustrative example.<\/p>\n\n\n\n<p><strong>Proposition.<\/strong> $M[P,Q]\\backslash i \\cong M[P&#8217;,Q&#8217;]$.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-minor.png\"><img loading=\"lazy\" decoding=\"async\" width=\"541\" height=\"226\" src=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-minor.png\" alt=\"Single-element deletions from a lattice path matroid are lattice path matroids.\" class=\"wp-image-5900\" srcset=\"https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-minor.png 541w, https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-minor-300x125.png 300w, https:\/\/matroidunion.org\/wp-content\/uploads\/2025\/10\/matroid-union-lattice-paths-minor-500x209.png 500w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/a><figcaption class=\"wp-element-caption\">Deleting the element 6 from $M[P,Q]$ is again a lattice path matroid. Its bases are the bases of $M[P,Q]$ that do not use the red north steps. $M[P,Q]\\backslash 6 \\cong M[P&#8217;,Q&#8217;]$.<\/figcaption><\/figure><\/div>\n\n\n<p>We conclude that the class of lattice path matroids is closed under taking minors. <a href=\"https:\/\/doi.org\/10.1016\/j.jctb.2010.05.001\">Joe Bonin identified the excluded minors<\/a> for the class of lattice path matroids: they comprise the rank-3 wheel and whirl, a rank-3 matroid on seven elements called $R_3$ and its dual, and five infinite families.<\/p>\n\n\n\n<p>The class of lattice paths has many more interesting properties. For example, all of them are transversal matroids and their Tutte polynomials can be computed in polynomial time. I refer to the original papers by Bonin, De Mier, and Noy for this and more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From lattice paths to matroids Lattice paths and Catalan numbers were some of the favourite topics in my recent combinatorics course. And while we didn&#8217;t cover them in class, I was reminded of lattice path matroids. The systematic study of &hellip; <a href=\"https:\/\/matroidunion.org\/?p=5892\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5892","post","type-post","status-publish","format-standard","hentry","category-matroids"],"_links":{"self":[{"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/posts\/5892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/matroidunion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5892"}],"version-history":[{"count":7,"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/posts\/5892\/revisions"}],"predecessor-version":[{"id":5908,"href":"https:\/\/matroidunion.org\/index.php?rest_route=\/wp\/v2\/posts\/5892\/revisions\/5908"}],"wp:attachment":[{"href":"https:\/\/matroidunion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matroidunion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matroidunion.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}