For paths ω : Fin n → Bool (each entry: +1 if true, −1 if false), reflection after time τ is the path that agrees with ω strictly before time τ and negates every step from time τ onwards.
The algebraic core of André's reflection principle is the position identity
For any τ ≤ k, walkPos (reflectAfter τ ω) k = 2 · walkPos ω τ − walkPos ω k.
Equivalently: the trajectory after time τ of the reflected path is the mirror image of the original trajectory through the horizontal line at height walkPos ω τ.
Combined with a hitting-time argument (the first τ with walkPos ω τ = a when ω reaches level a), this identity yields the bijection between paths that touch level a and end at b ≤ a and paths that end at 2a − b. That bijection is the counting backbone of barrier-option pricing in the binomial tree.
This file formalises both halves: the algebraic core (the path-position identity and involution) and the hitting-time bijection itself (reflectionPrincipleEquiv, reflectionPrincipleEquivBelow), with the discrete IVT (HitsLevel_of_walkPos_endpoint_ge) discharging the redundant hitting condition on the reflected side. The counting form is wired to the corpus as mf-reflection-principle-counting.
Why this is more than algebra
The identity is non-trivial because reflection changes the path at every position from τ onwards. The proof requires splitting each path sum into a prefix (< τ) — preserved by reflection — and a suffix (τ ≤ · < k) — negated step-by-step by reflection. The prefix contributes walkPos ω τ to both sides, and the suffix-sign-flip is what produces the 2 · walkPos ω τ − walkPos ω k form.
Main definitions
walkStep, walkPos: the step ±1 of a flip and the position of the walk at time k, the sum of the first k steps.reflectAfter: the path that agrees with ω before time τ and flips every step from τ on.hittingSet, HitsLevel: the times k ≤ n at which the walk is at level a, and the predicate that this set is nonempty.firstHit: the first hitting time of level a on a path that hits it.reflectAtFirstHit: reflection after the first hitting time of a.reflectionPrincipleEquiv: the bijection between paths that hit a and end at b, and paths that hit a and end at 2a − b, given by reflectAtFirstHit a.hitsLevelEquivAbove: for 0 < a ≤ b, the paths that hit a and end at b are in bijection with the paths that end at b.reflectionPrincipleEquivBelow: for 0 < a and b ≤ a, the paths that hit a and end at b are in bijection with the paths that end at 2a − b.
Main results
reflectAfter_involutive: reflection at fixed τ is its own inverse.walkPos_reflectAfter_le: positions at k ≤ τ are unchanged.walkPos_reflectAfter_ge: positions at k ≥ τ reflect through walkPos ω τ.walkPos_reflectAfter_endpoint: endpoint statement: if the original hits a at τ and ends at b, the reflected ends at 2a − b.reflectAtFirstHit_involutive: reflection at the first hit is its own inverse.HitsLevel_of_le_walkPos: discrete IVT — a walk at or above a level a ≥ 0 at some time k₀ ≤ n has hit a; HitsLevel_of_walkPos_endpoint_ge is the case k₀ = n.
References
Tags
reflection principle, André, random walk, first hitting time, barrier option, ballot problem, MSC 60G50, MSC 91G20, JEL G13
Import neighbourhood
Above: what it imports. Below: what imports it.
Corpus entries
mf-reflection-principle-counting · binomial.json · full statement
Reflection Principle (Andre, counting form)
Andre's reflection principle for ±1 random-walk paths: the number of length-n paths that touch a barrier a > 0 and end at b ≤ a equals the number of all paths ending at the reflected endpoint 2a − b. The combinatorial backbone of barrier-option counting in the binomial tree; the hitting condition on the reflected side is discharged by a discrete intermediate-value theorem.