proposition: Lemma CompileCallEmpty_spec: forall `{FacadeWrapper (Value av) A} `{FacadeWrapper av (list A)} (vtest vlst : StringMap.key) (env : GLabelMap.t (FuncSpec av)) (tenv: Telescope av) ext (fempty : GLabelMap.key) (lst : Comp (list A)), vlst <> vtest -> vtest ∉ ext -> Lifted_not_mapsto_adt ext tenv vtest -> GLabelMap.MapsTo fempty (Axiomatic (List_empty A)) env -> {{ [[`vlst ~~> lst as _]] :: tenv }} Call vtest fempty (vlst :: nil) {{ [[`vlst ~~> lst as ls]] :: [[`vtest ->> (bool2w match ls with | nil => true | _ :: _ => false end) as _]] :: (DropName vtest tenv) }} ∪ {{ ext }} // env.
proof: Proof. repeat (SameValues_Facade_t_step || facade_cleanup_call || LiftPropertyToTelescope_t); facade_eauto. Qed.
imports: CertifiedExtraction.Extraction.External.Core