Above: what it imports. Below: what imports it.
mf-barrier-reflection-count · binomial.json · full statement
Reflection-Principle Counting Identity
Number of paths touching a and ending at b equals number ending at 2a-b, for 0<a, b<=a.
mf-barrier-maximal-distribution · binomial.json · full statement
Binomial Maximal-Distribution (Running-Max Law)
Number of paths with running max >= a equals 2*#{end>a} + #{end=a}.
mf-binomial-upandin-reflection · binomial.json · full statement
Binomial up-and-in price by reflection
On the symmetric binomial walk (every n-step path of weight 2^-n, the law coinFlipMeasure (1/2) of the flips), for a barrier a > 0 and any payoff g of the terminal position S_n: E[g(S_n); max >= a] = E[g(S_n); S_n >= a] + E[g(2a - S_n); S_n > a], by the discrete intermediate value theorem and reflection at the first hit. The prices are expectations of a payoff of the walk position under the symmetric flip law; the entry does not state them as Market.price of a spot-valued contract.