Neighbours #
This file defines neighbouring lists.
Lists which differ by the inclusion or exclusion of an element.
This is SampCert's private property.
- Addition {T : Type} {l₁ l₂ a b : List T} {n : T} : l₁ = a ++ b → l₂ = a ++ [n] ++ b → Neighbour l₁ l₂
- Deletion {T : Type} {l₁ l₂ a : List T} {n : T} {b : List T} : l₁ = a ++ [n] ++ b → l₂ = a ++ b → Neighbour l₁ l₂