Definition sourceN (n:block) (j:meminj) (m:mem)
                   (b2:block) (ofs2:Z): option(block * Z) :=
Pos.peano_rect
            (fun p => option(block * Z))
            (match isSource j m b2 ofs2 1%positive
             with Some ofs1 => Some(1%positive, ofs1)
                | None => None
             end)
            (fun p Hp => match isSource j m b2 ofs2 (Pos.succ p)
             with Some ofs1 => Some (Pos.succ p, ofs1)
                | None => Hp
             end)
            n.

Lemma sourceN_NoneE: forall j m b2 ofs2 n, sourceN n j m b2 ofs2 = None -> forall b1 delta, (b1 <= n)%positive -> j b1 = Some(b2,delta) -> ~ Mem.perm m b1 (ofs2-delta) Max Nonempty.