{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $G$ be a [[graph|00C0BR7D7H]] and let $\\gamma = (\\gamma_0, \\ldots, \\gamma_n)$ be a finite path in $G$.\nIts *loop erasure* $\\mathrm{LE}(\\gamma) = (\\sigma_0, \\ldots, \\sigma_m)$ is defined inductively.\nLet $s_0 = \\max \\set{k : \\gamma_k = \\gamma_0}$ and $\\sigma_0 = \\gamma_0$.\nIf $s_i \u003c n$, let $\\sigma_{i+1} = \\gamma_{s_i + 1}$ and $s_{i+1} = \\max \\set{k : \\gamma_k = \\sigma_{i+1}}$.\nStop at the first $i = m$ with $s_m = n$.\n\nLet $G$ be connected, let $A$ be a nonempty vertex set, and let $X$ be a simple [[random walk|04VZE3FZXF]] on $G$ from a vertex $x$.\nAssume that the hitting time $\\tau_A = \\min \\set{k \\ge 0 : X_k \\in A}$, a [[stopping time|WND87FBAKC]], is finite almost surely.\nThe *loop-erased random walk* from $x$ to $A$ is the random path $\\mathrm{LE}(X_0, X_1, \\ldots, X_{\\tau_A})$.\n\n## Remarks\n\nThe loop erasure visits each vertex at most once, starts at $\\gamma_0$ and ends at $\\gamma_n$.\nExample: for $\\gamma = (0, 1, 2, 1, 2, 3)$ on $\\Z$, one gets $s_0 = 0$, $\\sigma_1 = 1$, $s_1 = 3$, $\\sigma_2 = \\gamma_4 = 2$, $s_2 = 4$, $\\sigma_3 = \\gamma_5 = 3$, $s_3 = 5$, so $\\mathrm{LE}(\\gamma) = (0, 1, 2, 3)$.\nNon-example: the path $(0, 1, 2, 1, 2, 3)$ itself is not a loop erasure of anything, since it visits $1$ and $2$ twice.\nOn a transient graph, such as $\\Z^d$ with $d \\ge 3$, one also erases the loops of the infinite walk, since each vertex is visited only finitely often.\nWilson's algorithm builds a uniform spanning tree of a finite connected graph from successive loop-erased random walks.\n",
  "commit": "5fc425f97f1f6b11da5892c2948ef8c5d8805665",
  "front": {
    "defines": "ET73YH2T29",
    "kind": "definition",
    "msc": [
      "60G50",
      "82B41",
      "05C81"
    ],
    "name": "Loop-erased random walk",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Loop-erased_random_walk"
      }
    ],
    "tag": "SEKY67RPX5",
    "uses": [
      "04VZE3FZXF",
      "00C0BR7D7H",
      "WND87FBAKC"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/SEKY67RPX5/",
  "links": [
    {
      "field": "defines",
      "target": "ET73YH2T29"
    },
    {
      "field": "uses",
      "target": "04VZE3FZXF"
    },
    {
      "field": "uses",
      "target": "00C0BR7D7H"
    },
    {
      "field": "uses",
      "target": "WND87FBAKC"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/SEKY67RPX5.md",
  "msc": [
    "60G50",
    "82B41",
    "05C81"
  ],
  "name": "Loop-erased random walk",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/SEK/SEKY67RPX5.md",
  "status": null,
  "tag": "SEKY67RPX5",
  "uri": "m2://SEKY67RPX5",
  "url": "https://math2.tamnd.com/wiki/loop-erased-random-walk-definition/",
  "writing": {
    "tag": "SEKY67RPX5",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
