Frama-C API - Filtering
 Sequent Cleaning
Erase parts of a predicate that do not satisfies the condition. The erased parts are replaced by:
- truewhen- ~polarity:false(for hypotheses)
- falsewhen- ~polarity:true(for goals)
Hence, we have:
- filter ~polarity:true f p ==> p
- p ==> filter ~polarity:false f p
See theory/filtering.why for proofs.
val filter : polarity:bool -> (Lang.F.pred -> bool) -> Lang.F.pred -> Lang.F.predval compute : ?anti:bool -> Conditions.sequent -> Conditions.sequent