Home

Symbolic Execution Tool User Manual

image

Contents

1. Symbolic Execution Tool User Manual This symbolic execution tool was developed under Microsoft windows XP and Maple 9 5 You can use examples mpl to try our Symbolic Execution Tool There are two ways to use our examples file One way is to test the examples and modules in batch input and the other way is to test the examples and the modules Interactively Method 1 Test the Examples and the Modules In Batch Input To run test please type the following command restart read C symbolic execution tool Examples mp l infolevel myname 2 Maple 9 5 Untitled 1 Server 1 File Edit iew Insert Format Toole Window Help D Zaga zB se TE EE es OF amp x e E mpera vlje eB g Ill 5 Ill 4 Expression Wl restart read c syabolic execution tool Examples apl info eve Layman Figure 1 Shows the command to read the examples mpl file gt restart read c syabolic execution tool Examples apl infol evel mynane 2 restart Util module export EvallnEnv FuncToList end module SOLVE module local stepn m invert stepm substitute seqsolve rsolvel process_loop export to_recurrence loopsolve solvel end module TO_LIST module Q export gen_inl gen_in INITS1 S_SSOL F_SSOL rsolvel inv stepn end module GEN FACTOR module Q local set_exponentials take_logarithms rad prime_set out export prime_base PPL FFl end module INV module local rs intersection iterate
2. e z u Expression Symbol Matrix r iil iil T L Uo y G La gt restart read c syabolic execution tool mainmodule apl infol evel pynane 2 gt restart infolevell ayname 3 Oti module export Evallniav Punclolist end module SOLA module Q local stepa m ievert slepi substitute seqsofve rsolvel process_loop export fo_recurrence TO LIST module Q export gen_int zen ia INITS S SSCL K SSO rsalvel rv Sepa en CAN FACTOR module Q local set exponentials fake logarithms rad prime_sei out export prime base read c syabolic execution tool mainmodule apl INP module local rs intersection iterate iterated export gen inves geisub elimination out pi NEST TO LIST module local get_ sym export gen_in gen_in clep ATA VAR INFEST S SSOL E MEST INV module Q local iterate export gen_invs end module infolevelmpname 2 Figure 4 Show the Result from Figure 3 Command To run factorial function please type the followings ff proc n local j fac j 1 fac 1 while j lt gt n do j j 1 fac fac j end do fac end proc e5 GEN gen_eqns ff b gt ff proc n local j fac j 1 fac 1 while j lt gt n do j j 1 fac fact j end do fac end proc e5 GEN gen_eans ff e3 StateTransform j 1 StateTransform jfac 1 Loop U StateTransform j j 1 StateTransform
3. fac fac j fac P le Figure 5 Shows Inputing the Test Function and Call the gen_eqns Function in GEN Module to Generate Relations Note The input parameter value for the gen_eqns is the name of the test function To call solve function please type the following SOLVE solvel e5 L gt SOLVE solvel e5 eqns11 StateTransform j 1 StateTransform fac 1 Loop j z StateTransform j 1 StateTransform Ufac fac j fac inits 0 1 fae O 1 rechane Er 1 j 1 facto 1 facea Gn 1 Result of solving the recurrence equations 7 2 2 1 faca Gn 2 ri 2 gt lt Figure 6 Shows Calling the solvel Funtion in SOLVE Module to Generate Initial Functions Recursive Functions and Symbolic Result You can test other functions provided in the examples mpl in the above method Comments For the input program which can be solved by our symbolic computation tool please reference Yun Zhai s Master thesis chapter 5 System Analysis Also it is not recommend using the Maple key word as the variable for the input program
4. iterate2 export gen_invs getsub elimination out_put end module NEST _TO_LIST module Q local get_sym export gen_inl gen_in stepn SYM_VAR INITS1 S_SSOL F_SSOL end module NEST_INV module 0 local iterate export gen_invs end module infolevelmyname 2 e5 StateTransform 1 StateTransform fac 1 Loop j State Transform j 1 StateTransform fac fac D fac eqns11 StateTransform 1 StateTransform fac 1 Loop j x StateTransform j j 1 StateTransform fac fac j fac wuts 7 0 1 fac 0 1 recfune 72 1 2 1 facon 1 fact Ga 1 Result of solving the recurrence equations jA m 1 fact Pm 2 Ll e0 State Transforms n Loop ForG 1 1 1 StateTransform s i s 1 s inits s 0 z 7 0 1 recfunc sre 1 iEn en 1 iaz 1 i 1 Figure 2 Shows the result from figure command All the example result file can also be download from the examplesresult mw Method 2 Test the Examples and the Modules Interactively Open the example mpl file and copy three lines showing in figure 3 into the Maple work sheet To run main module please type the following command restart read C symbolic execution tool mainmodule mp infolevel myname 2 2 Maple 9 5 Untitled 3 Server 3 File Edt View Insert Format Tools Window Help oeaAagS BA O TP X fife E mapero v Monospacesd elel

Download Pdf Manuals

image

Related Search

Related Contents

PAM & SAM System User's Manual  PDF, 4MB - CEECOACH  Multimedia Box VW Touareg mit RNS 850 Bedienungsanleitung  Zingui  User Manual  The user`s manual H240  Homelite UT08512B User's Manual  

Copyright © All rights reserved.
Failed to retrieve file