mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-11 14:15:12 -05:00
New proof opens the DLS predicate to justify accesses to `pxTaskItem->next` and proves that `pxTaskItem->next` points to a valid list item.
15 lines
No EOL
368 B
C
15 lines
No EOL
368 B
C
#ifndef VERIFAST_LISTS_EXTENDED_H
|
|
#define VERIFAST_LISTS_EXTENDED_H
|
|
|
|
/* This file contains lemmas that would fit `list.gh` which is part
|
|
* of VeriFast's standard library.
|
|
*/
|
|
|
|
// TODO: prove
|
|
/*@
|
|
lemma void mem_suffix_implies_mem<t>(t x, list<t> xs, int i);
|
|
requires mem(x, drop(i, xs)) == true;
|
|
ensures mem(x, xs) == true;
|
|
@*/
|
|
|
|
#endif /* VERIFAST_LISTS_EXTENDED_H */ |