Definition ptr_ordMixin := OrdMixin ltn_ptr_irr ltn_ptr_trans ltn_ptr_total.Canonical ptr_ordType := OrdType ptr ptr_ordMixin.Inductive heap := 
  Undef | Def (finmap : {finMap ptr -> dynamic id}) of 
               null \notin supp finmap.Inductive heap := 
  Undef | Def (finmap : {finMap ptr -> dynamic id}) of 
               null \notin supp finmap.Inductive heap := 
  Undef | Def (finmap : {finMap ptr -> dynamic id}) of 
               null \notin supp finmap.

Lemma filt_nullP (q : pred ptr) : null \notin supp f -> null \notin supp (kfilter q f).