Abstract Interpretation. Lecture 5. Profs. Aiken, Barrett & Dill CS 357 Lecture 5 1
|
|
- Herbert Collins
- 5 years ago
- Views:
Transcription
1 Abstract Intrprtation 1
2 History On brakthrough papr Cousot & Cousot 77 (?) Inspird by Dataflow analysis Dnotational smantics Enthusiastically mbracd by th community At last th functional community... At last th first half of th papr... 2
3 A Tiny Languag Considr a languag with only intgrs and multiplication. i : Exp Int () i i ( ) ( ) ( )
4 An Abstraction Dfin an abstract smantics that computs only th sign of th rsult. :Exp,-,0 if i 0 0 ( i) 0 if i 0 0 if i ( ) ( ) ( )
5 Soundnss W can show that this abstraction is corrct in th sns that it corrctly prdicts th sign of an xprssion. Proof is by structural induction on. ( ) 0 ( ) ( ) 0 ( ) 0 ( ) 0 ( ) 5
6 Anothr Viw of Soundnss Th soundnss proof is clunky ach cas rpats th sam ida. Instad, dirctly associat ach abstract valu with th st of concrt valus it rprsnts. : {,0, } 2 ( ) i i 0 (0) 0 Int ( ) i i 0 6
7 Anothr Viw (Cont.) Th concrtization function Lt Mapping from abstract valus to (sts of) concrt valus D b th concrt domain, A th abstract domain. ( ) ( ( )) Exp A 2 D 7
8 Abstract Intrprtation This is an abstract intrprtation. Computation in an abstract domain In this cas {+,0,-}. Th abstract smantics is sound approximats th standard smantics. Th concrtization function stablishs th connction btwn th two domains. 8
9 Adding - Extnd our languag with unary - ( ) ( ) 0 ( ) ( ) 0 9
10 Adding + Adding addition is not so asy. Th abstract valus ar not closd undr addition. ( 1 2 ) ( 1 ) ( 2 )? ( ) ( ) ( ) 0 0? 10
11 Solution W nd anothr abstract valu to rprsnt a rsult that can b any intgr. Finding a domain closd undr all th abstract oprations is oftn a ky dsign problm. 0 T T T (T) Int 0 0 T T T T T T T T 11
12 Extnding Othr Oprations W also nd to xtnd th othr abstract oprations to work with T. 0 T 0 T T T T 0 T T 0 T 0 T 12
13 Exampls Abstract computation loss information ((1 2) 3) 0 ((1 2) 3) ( ) ( ) T No loss of information ((5 5) 6) 31 ((5 5) 6) ( ) 13
14 Adding / (Intgr Division) Adding / is straightforward xcpt for th cas of division by 0. If w divid ach intgr in a st by 0, what st of intgrs rsults? Th mpty st. ( ) / 0 T 0 T 0 0 T T T 0 T T 14
15 Adding / (Cont.) As bfor w nd to xtnd th othr abstract oprations. In this cas, vry ntry involving bottom is bottom all oprations ar strict in bottom x x 15
16 Th Abstract Domain Our abstract domain forms a lattic. A partial ordr x y ( x ) ( y ) Evry finit subst has a last uppr bound (lub) & gratst lowr bound (glb). W writ A for an abstract domain a st of valus + an ordring T 0 16
17 Lattic Lingo A lattic is complt if vry subst (finit or infinit) has lub s and glb s. Evry finit lattic is complt Thus vry lattic has a top/bottom lmnt. Usually ndd in abstract intrprtations. 17
18 Th Abstraction Function Th abstraction function maps concrt valus to abstract valus. Th dual of concrtization. Th smallst valu of A that is th abstraction of a st of concrt valus. Int : 2 A ( S ) lub i 0 i S, 0 0 S, i 0 i S 18
19 A Gnral Dfinition An abstract intrprtation consists of An abstract domain A and concrt domain D Concrtization and abstraction functions forming a Galois insrtion. A (sound) abstract smantic function. Galois insrtion: D x 2. x ( ( x )) a A. x ( ( x )) or id id 19
20 Galois Insrtions Th abstract domain can b thought of as dividing th concrt domain into substs (not disjoint). Th abstraction function maps a subst of th domain to th smallst containing abstract valu. id id 20
21 Pictur In corrct abstract intrprtations, w xpct th following diagram to commut. Exp A 2 D 21
22 Gnral Conditions for Corrctnss Thr conditions guarant corrctnss in gnral: and form a Galois insrtion id, id and ar monotonic x y ( x ) ( y ) Abstract oprations op 1 n 1 ar locally (op( s,..., s )) op( ( s ),..., ( s )) corrct: n 22
23 Gnric Corrctnss Proof Proof by induction on th structur of : ( ) ( ( )) ( op ) 1 2 ( ) op ( ) df. of 1 2 ( ( )) op ( ( )) by induction 1 2 ( ( ) op ( )) local corrctnss 1 2 ( ( op )) df of
24 A Scond Notion of Corrctnss W can dfin corrctnss using abstraction instad of concrtization. ( ) ( ( )) ({ ( )}) ( ) dirction ( ) ( ( )) ({ ( )}) ( ( ( ))) monotonicity ({ ( )}) ( ) id 24
25 Corrctnss (Cont.) Th othr dirction... ( ) ( ( )) ({ ( )}) ( ) dirction ({ ( )}) ( ) ( ({ ( )})) ( ( )) monotonicity ( ) ( ( )) id 25
26 A Languag with Input Th nxt stp is to add languag faturs bsids nw oprations. W bgin with input, modld as a singl fr variabl x in xprssions. i... x 26
27 Smantics Th maning function now has typ : Exp Int Int W writ th function currid with th xprssion as a subscript. ( j) i ( j) x i j ( j ) ( j ) ( j ) ( j ) ( j ) ( j )
28 Abstract Smantics Abstract smantic function: : Exp A A Also writ this smantics currid. ( j) i i ( j) x j ( j ) ( j ) ( j ) ( j ) ( j ) ( j ) i ({ i}) 28
29 Corrctnss Th corrctnss condition nds to b gnralizd. This is th first ral us of th abstraction function. Th following ar all quivalnt: i. ( i ) ( ( ({ i }))) D A A 2 D A 2 D 29
30 Local Corrctnss W also nd a modifid local corrctnss condition. ( ( )),..., ( ( )) ( ( ),..., ( )) op j j op j j 1 n 1 n 30
31 Proof of Corrctnss Thm ( j) ( ( j)) Proof (by induction) Basis. ( j ) i ( i ) ( ( j )) Stp op (,..., ) 1 ( j ) j ( j ) ( ( j )) 1 i x n 1 ( j ) op( ( j ),..., ( j )) df. of n op( ( ( j )),..., ( ( j )) induction 1 1 op (,..., ) n ( op( ( j),..., ( j))) local corrctnss n ( ( j )) df. of n i x 31
32 If-Thn-Els... if thn ls... if thn ls () i ( i ) if ( ) ( ) 3 i 1 i 2 ( i ) if ( ) ( ) 4 i 1 i 2 ( i ) ( i ) ( i ) if thn ls Not th lub opration in th abstract function; this is why w nd lattics as domains. 32
33 Corrctnss of If-Thn-Els Assum th tru branch is takn. (Th argumnt for th fals branch is symmtric.) () i 3 ( ( i )) by induction 3 ( ( i)) ( ( i)) ( i) ( i) monotonicity of 33
34 Rcursion Add rcursiv dfinitions of a singl variabl for simplicity Th smantic function is : Exp Int Int program df f ( x )... f ( ) 34
35 Rvisd Maning Function Dfin an auxiliary smantics taking a function (for th fr variabl f) and an intgr (for x). : Exp (Int Int ) Int Int f ( ) x ( g)( j ) g( ( g)( j )) ( g)( j ) j ( g)( j ) ( g)( j ) ( g)( j ) Profs. Aikn, Barrtt & Dill 2 CS
36 Maning of Rcursiv Functions : Exp Int Int : Exp (Int Int ) Int Int Considr a function df f Dfin an ascnding chain f x. f 0 i 1 ( f) i f, f,... in Int Int 0 1 Dfin f i f i 36
37 Abstract Smantics Rvisd Dfin an analogous auxiliary function for th abstract smantics. : Exp (A A) A A f ( ) x ( g)( i ) g( ( g)( i )) ( g)( i ) i ( g)( i ) ( g)( i ) ( g)( i ) 1 2 Profs. Aikn, Barrtt 1 & Dill CS
38 Abstract Smantics Rvisd II W nd on mor condition for th abstract smantics. All abstract functions ar rquird to b monotonic. Thm. Any monotonic function on a complt lattic has a last fixd point. 38
39 Abstract Maning of Rcursion : Exp A A ': Exp ( A A) A A Considr a function df f Dfin an ascnding chain f, f,... in A f f 0 i 1 a. ( f ) i 0 1 A Dfin f i f i 39
40 Corrctnss f ( j) 2 f( j) 1 f ( j) 0 f ( j) 2 f 1( j) f 0( j) Corrsponding lmnts of th chain stand in th corrct rlationship. 40
41 Corrctnss (Cont.) i. f ( j ) ( f ( j )) i f ( j ) ( f ( j )) chains stabiliz i i0 i0 i i fi ( j ) f i ( j ) monotonicity of i0 i0 ( j) ( ( j)) by dfinition f f 41
42 Exampl df f(x) if x 0 thn 1 ls x f(x -1) Abstraction: lfp if x 0 thn 1 ls x f(x -1) Simplifid: lfp f. x. x f(x ) 42
43 Strictnss W will assum our languag is strict. Maks littl diffrnc in quality of analysis for this xampl. Assum that f ( ) Thrfor it is sound to dfin f ( ) 43
44 Calculating th LFP lfp f. x. x f(x ) f 0 0 T f 1 0 T f 2 0 T T T T f 3 0 T T T T T 44
45 Nots In this cas, th abstraction yilds no usful information! Not that squnc of functions forms a strictly ascnding chain until stabilization f0 f1 f2 f3 f4 f5... But th squnc of valus at particular points may not b strictly ascnding: f ( ) f ( ) f ( ) f ( ) f ( ) f ( )
46 Nots (Cont.) Lsson: Th fixd point is bing computd in th domain (A A) A A Th fixd point is not bing computd in A A Mak sur you chck th domain of th fixd point oprator. 46
47 Strictnss Analysis 47
48 Strictnss Analysis Ovrviw In lazy functional languags, it may b dsirabl to chang call-by-nd (lazy valuation) to call-by-valu. CBN rquirs building thunks (closurs) to captur th lxical nvironmnt of unvaluatd xprssions. CBV valuats its argumnt immdiatly, which is wastful (or vn wrong) if th argumnt is nvr valuatd undr CBN. 48
49 Corrctnss Substituting CBV for CBN is always corrct if w somhow know that a function valuats its argumnt(s). A function f is strict if f ( ) Obsrvation: if f is strict, thn it is corrct to pass argumnts to f by valu. 49
50 Outlin Dciding whthr a function is strict is undcidabl. Mycroft s ida: Us abstract intrprtation. Corrctnss condition: If f is non-strict, w must rport that it is non-strict. 50
51 Th Abstract Domain Continu working with th sam languag (1 rcursiv function of 1 variabl). Nw abstract domain 2:
52 Concrtization/Abstraction Th concrtization/abstraction functions say 0 mans th computation dfinitly divrgs 1 mans nothing is known about th computation D is th concrt domain (0) ( ) 0 (1) D ( S ) 1 if S 52
53 Abstract Smantics Nxt stp is to dfin an abstract smantics Transform f:int Int to f:2 2 Transform valus v:int to v : 2 To tst strictnss chck if f(0) 0 53
54 Abstract Smantics (Cont.) An a stands for an abstract valu (0 or 1). Trat 0,1 as fals, tru rspctivly. ( g)( a) a x ( g)( a) 1 i ( g)( a) ( g)( a) ( g)( a) ( g)( a) ( g)( a) ' ( g)( a) g( ( g)( a)) f ( ) 54
55 Th Rst of th Ruls ( g)( a) ( g)( a) ( g)( a) ( g)( a) ( g)( a) ( g)( a) / 1 2 if thn ls df f ( g)( a) ( g)( a) ( g)( a) ( g)( a) ( g)( a) lfp
56 An Exampl df f(x) if x 0 thn 1 ls x f(x -1) lfp if x 0 thn 1 ls x f(x -1) lfp f. x.x aa. ( aa. ) 0 0 Th function is strict in x. 56
57 Calculating th LFP lfp f. x.x 1 1 (x f(x 1)) f f f
58 Anothr Exampl Gnraliz to rcursiv functions of two variabls. df f(x,y) if x 0 thn 0 ls f(x -1,f(x,y)) lfp if x 0 thn 0 ls f(x -1,f(x,y)) lfp( f. (x, y). x 1 (1...)) (x, y). x 58
59 Exampl (Cont.) For multi-argumnt functions, chck ach argumnt combination of th form (1,,1,0,1,,1). (x, y). x (0,1) 0 (x, y). x (1,0) 1 X can b passd by valu. Unsaf to pass Y by valu. 59
60 Summary of Strictnss Analysis Mycroft s tchniqu is sound and practical. Widly implmntd for lazy functional languags. Maks modst improvmnt in prformanc (a fw %). Th thory of abstract intrprtation is critical hr. Mycroft s tchniqu trats all valus as atomic. No rfinmnt for componnts of lists, tupls, tc. Many rsarch paprs tak up improvmnts for data typs, highr-ordr functions, tc. Most of ths ar vry slow. 60
61 Conclusions Th Cousot&Cousot papr(s) gnratd an normous amount of othr rsarch. Abstract intrprtation as a thory and abstract intrprtation as a mthod of constructing tools ar oftn confusd. Slogan of most rsarchrs: Finit Lattics + Monotonic Functions = Program Analysis 61
62 Whr is Abstract Intrprtation Wak? Thory is compltly gnral Th part of th original papr popl undrstand is limitd Finit domains + monotonic functions 62
63 Data Structurs and th Hap Rquirs a finit abstraction Which may b tund to th program Mor oftn is mpty list, list of lngth 1, unknown lngth Similar commnts apply to analyzing hap proprtis E.g., a cll has 0 rfrncs, 1 rfrncs, many rfrncs 63
64 Siz of Domains Larg domains = slow analysis In practic, domains ar forcd to b small Chain hight is th critical masur Th focus in abstract intrprtation is on corrctnss Not much insight into fficint algorithms 64
65 Contxt Snsitivity No particular insight into contxt snstivity Any rasonabl tchniqu is an abstract intrprtation 65
66 Highr-Ordr Functions Maks clar how to handl highr-ordr functions Modl as abstract, finit functions Ordring on functions is pointwis Problm: hug domains Brak with th dpndnc on control-flow graphs 66
67 Forwards vs. Backwards Th forwards vs. backwards mntality prmats much of th abstract intrprtation litratur But nothing in th thory says it has to b that way 67
Abstract Interpretation: concrete and abstract semantics
Abstract Intrprtation: concrt and abstract smantics Concrt smantics W considr a vry tiny languag that manags arithmtic oprations on intgrs valus. Th (concrt) smantics of th languags cab b dfind by th funzcion
More informationHistory. One breakthrough paper Cousot & Cousot 77 (?) Abstract Interpretation. Inspired by. Lecture 16. Enthusiastically embraced by the community
Hstory Abstract Intrprtaton On brakthrough papr Cousot & Cousot 77 (?) Insprd by Dataflow analyss Dnotatonal smantcs 1 Enthusastcally mbracd by th communty At last th functonal communty... At last th frst
More informationPropositional Logic. Combinatorial Problem Solving (CPS) Albert Oliveras Enric Rodríguez-Carbonell. May 17, 2018
Propositional Logic Combinatorial Problm Solving (CPS) Albrt Olivras Enric Rodríguz-Carbonll May 17, 2018 Ovrviw of th sssion Dfinition of Propositional Logic Gnral Concpts in Logic Rduction to SAT CNFs
More informationcycle that does not cross any edges (including its own), then it has at least
W prov th following thorm: Thorm If a K n is drawn in th plan in such a way that it has a hamiltonian cycl that dos not cross any dgs (including its own, thn it has at last n ( 4 48 π + O(n crossings Th
More informationHigher order derivatives
Robrto s Nots on Diffrntial Calculus Chaptr 4: Basic diffrntiation ruls Sction 7 Highr ordr drivativs What you nd to know alrady: Basic diffrntiation ruls. What you can larn hr: How to rpat th procss of
More informationHomework #3. 1 x. dx. It therefore follows that a sum of the
Danil Cannon CS 62 / Luan March 5, 2009 Homwork # 1. Th natural logarithm is dfind by ln n = n 1 dx. It thrfor follows that a sum of th 1 x sam addnd ovr th sam intrval should b both asymptotically uppr-
More informationUNTYPED LAMBDA CALCULUS (II)
1 UNTYPED LAMBDA CALCULUS (II) RECALL: CALL-BY-VALUE O.S. Basic rul Sarch ruls: (\x.) v [v/x] 1 1 1 1 v v CALL-BY-VALUE EVALUATION EXAMPLE (\x. x x) (\y. y) x x [\y. y / x] = (\y. y) (\y. y) y [\y. y /
More informationAddition of angular momentum
Addition of angular momntum April, 07 Oftn w nd to combin diffrnt sourcs of angular momntum to charactriz th total angular momntum of a systm, or to divid th total angular momntum into parts to valuat
More informationDerangements and Applications
2 3 47 6 23 Journal of Intgr Squncs, Vol. 6 (2003), Articl 03..2 Drangmnts and Applications Mhdi Hassani Dpartmnt of Mathmatics Institut for Advancd Studis in Basic Scincs Zanjan, Iran mhassani@iasbs.ac.ir
More informationCS 361 Meeting 12 10/3/18
CS 36 Mting 2 /3/8 Announcmnts. Homwork 4 is du Friday. If Friday is Mountain Day, homwork should b turnd in at my offic or th dpartmnt offic bfor 4. 2. Homwork 5 will b availabl ovr th wknd. 3. Our midtrm
More informationCPSC 665 : An Algorithmist s Toolkit Lecture 4 : 21 Jan Linear Programming
CPSC 665 : An Algorithmist s Toolkit Lctur 4 : 21 Jan 2015 Lcturr: Sushant Sachdva Linar Programming Scrib: Rasmus Kyng 1. Introduction An optimization problm rquirs us to find th minimum or maximum) of
More informationAddition of angular momentum
Addition of angular momntum April, 0 Oftn w nd to combin diffrnt sourcs of angular momntum to charactriz th total angular momntum of a systm, or to divid th total angular momntum into parts to valuat th
More informationCS 6353 Compiler Construction, Homework #1. 1. Write regular expressions for the following informally described languages:
CS 6353 Compilr Construction, Homwork #1 1. Writ rgular xprssions for th following informally dscribd languags: a. All strings of 0 s and 1 s with th substring 01*1. Answr: (0 1)*01*1(0 1)* b. All strings
More informationThe van der Waals interaction 1 D. E. Soper 2 University of Oregon 20 April 2012
Th van dr Waals intraction D. E. Sopr 2 Univrsity of Orgon 20 pril 202 Th van dr Waals intraction is discussd in Chaptr 5 of J. J. Sakurai, Modrn Quantum Mchanics. Hr I tak a look at it in a littl mor
More informationu x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula
7. Intgration by Parts Each drivativ formula givs ris to a corrsponding intgral formula, as w v sn many tims. Th drivativ product rul yilds a vry usful intgration tchniqu calld intgration by parts. Starting
More informationBasic Polyhedral theory
Basic Polyhdral thory Th st P = { A b} is calld a polyhdron. Lmma 1. Eithr th systm A = b, b 0, 0 has a solution or thr is a vctorπ such that π A 0, πb < 0 Thr cass, if solution in top row dos not ist
More informationRoadmap. XML Indexing. DataGuide example. DataGuides. Strong DataGuides. Multiple DataGuides for same data. CPS Topics in Database Systems
Roadmap XML Indxing CPS 296.1 Topics in Databas Systms Indx fabric Coopr t al. A Fast Indx for Smistructurd Data. VLDB, 2001 DataGuid Goldman and Widom. DataGuids: Enabling Qury Formulation and Optimization
More informationFourier Transforms and the Wave Equation. Key Mathematics: More Fourier transform theory, especially as applied to solving the wave equation.
Lur 7 Fourir Transforms and th Wav Euation Ovrviw and Motivation: W first discuss a fw faturs of th Fourir transform (FT), and thn w solv th initial-valu problm for th wav uation using th Fourir transform
More information1 Minimum Cut Problem
CS 6 Lctur 6 Min Cut and argr s Algorithm Scribs: Png Hui How (05), Virginia Dat: May 4, 06 Minimum Cut Problm Today, w introduc th minimum cut problm. This problm has many motivations, on of which coms
More informationIntroduction to Arithmetic Geometry Fall 2013 Lecture #20 11/14/2013
18.782 Introduction to Arithmtic Gomtry Fall 2013 Lctur #20 11/14/2013 20.1 Dgr thorm for morphisms of curvs Lt us rstat th thorm givn at th nd of th last lctur, which w will now prov. Thorm 20.1. Lt φ:
More informationMATH 319, WEEK 15: The Fundamental Matrix, Non-Homogeneous Systems of Differential Equations
MATH 39, WEEK 5: Th Fundamntal Matrix, Non-Homognous Systms of Diffrntial Equations Fundamntal Matrics Considr th problm of dtrmining th particular solution for an nsmbl of initial conditions For instanc,
More information1 Isoparametric Concept
UNIVERSITY OF CALIFORNIA BERKELEY Dpartmnt of Civil Enginring Spring 06 Structural Enginring, Mchanics and Matrials Profssor: S. Govindj Nots on D isoparamtric lmnts Isoparamtric Concpt Th isoparamtric
More information(Upside-Down o Direct Rotation) β - Numbers
Amrican Journal of Mathmatics and Statistics 014, 4(): 58-64 DOI: 10593/jajms0140400 (Upsid-Down o Dirct Rotation) β - Numbrs Ammar Sddiq Mahmood 1, Shukriyah Sabir Ali,* 1 Dpartmnt of Mathmatics, Collg
More informationSupplementary Materials
6 Supplmntary Matrials APPENDIX A PHYSICAL INTERPRETATION OF FUEL-RATE-SPEED FUNCTION A truck running on a road with grad/slop θ positiv if moving up and ngativ if moving down facs thr rsistancs: arodynamic
More informationThus, because if either [G : H] or [H : K] is infinite, then [G : K] is infinite, then [G : K] = [G : H][H : K] for all infinite cases.
Homwork 5 M 373K Solutions Mark Lindbrg and Travis Schdlr 1. Prov that th ring Z/mZ (for m 0) is a fild if and only if m is prim. ( ) Proof by Contrapositiv: Hr, thr ar thr cass for m not prim. m 0: Whn
More informationBackground: We have discussed the PIB, HO, and the energy of the RR model. In this chapter, the H-atom, and atomic orbitals.
Chaptr 7 Th Hydrogn Atom Background: W hav discussd th PIB HO and th nrgy of th RR modl. In this chaptr th H-atom and atomic orbitals. * A singl particl moving undr a cntral forc adoptd from Scott Kirby
More informationCOMPUTER GENERATED HOLOGRAMS Optical Sciences 627 W.J. Dallas (Monday, April 04, 2005, 8:35 AM) PART I: CHAPTER TWO COMB MATH.
C:\Dallas\0_Courss\03A_OpSci_67\0 Cgh_Book\0_athmaticalPrliminaris\0_0 Combath.doc of 8 COPUTER GENERATED HOLOGRAS Optical Scincs 67 W.J. Dallas (onday, April 04, 005, 8:35 A) PART I: CHAPTER TWO COB ATH
More informationProblem Set 6 Solutions
6.04/18.06J Mathmatics for Computr Scinc March 15, 005 Srini Dvadas and Eric Lhman Problm St 6 Solutions Du: Monday, March 8 at 9 PM in Room 3-044 Problm 1. Sammy th Shark is a financial srvic providr
More informationperm4 A cnt 0 for for if A i 1 A i cnt cnt 1 cnt i j. j k. k l. i k. j l. i l
h 4D, 4th Rank, Antisytric nsor and th 4D Equivalnt to th Cross Product or Mor Fun with nsors!!! Richard R Shiffan Digital Graphics Assoc 8 Dunkirk Av LA, Ca 95 rrs@isidu his docunt dscribs th four dinsional
More informationCE 530 Molecular Simulation
CE 53 Molcular Simulation Lctur 8 Fr-nrgy calculations David A. Kofk Dpartmnt of Chmical Enginring SUNY Buffalo kofk@ng.buffalo.du 2 Fr-Enrgy Calculations Uss of fr nrgy Phas quilibria Raction quilibria
More informationAim To manage files and directories using Linux commands. 1. file Examines the type of the given file or directory
m E x. N o. 3 F I L E M A N A G E M E N T Aim To manag ils and dirctoris using Linux commands. I. F i l M a n a g m n t 1. il Examins th typ o th givn il or dirctory i l i l n a m > ( o r ) < d i r c t
More informationCOHORT MBA. Exponential function. MATH review (part2) by Lucian Mitroiu. The LOG and EXP functions. Properties: e e. lim.
MTH rviw part b Lucian Mitroiu Th LOG and EXP functions Th ponntial function p : R, dfind as Proprtis: lim > lim p Eponntial function Y 8 6 - -8-6 - - X Th natural logarithm function ln in US- log: function
More informationDeift/Zhou Steepest descent, Part I
Lctur 9 Dift/Zhou Stpst dscnt, Part I W now focus on th cas of orthogonal polynomials for th wight w(x) = NV (x), V (x) = t x2 2 + x4 4. Sinc th wight dpnds on th paramtr N N w will writ π n,n, a n,n,
More informationMor Tutorial at www.dumblittldoctor.com Work th problms without a calculator, but us a calculator to chck rsults. And try diffrntiating your answrs in part III as a usful chck. I. Applications of Intgration
More informationLimiting value of higher Mahler measure
Limiting valu of highr Mahlr masur Arunabha Biswas a, Chris Monico a, a Dpartmnt of Mathmatics & Statistics, Txas Tch Univrsity, Lubbock, TX 7949, USA Abstract W considr th k-highr Mahlr masur m k P )
More informationEXST Regression Techniques Page 1
EXST704 - Rgrssion Tchniqus Pag 1 Masurmnt rrors in X W hav assumd that all variation is in Y. Masurmnt rror in this variabl will not ffct th rsults, as long as thy ar uncorrlatd and unbiasd, sinc thy
More informationConstruction of asymmetric orthogonal arrays of strength three via a replacement method
isid/ms/26/2 Fbruary, 26 http://www.isid.ac.in/ statmath/indx.php?modul=prprint Construction of asymmtric orthogonal arrays of strngth thr via a rplacmnt mthod Tian-fang Zhang, Qiaoling Dng and Alok Dy
More informationCOUNTING TAMELY RAMIFIED EXTENSIONS OF LOCAL FIELDS UP TO ISOMORPHISM
COUNTING TAMELY RAMIFIED EXTENSIONS OF LOCAL FIELDS UP TO ISOMORPHISM Jim Brown Dpartmnt of Mathmatical Scincs, Clmson Univrsity, Clmson, SC 9634, USA jimlb@g.clmson.du Robrt Cass Dpartmnt of Mathmatics,
More informationEEO 401 Digital Signal Processing Prof. Mark Fowler
EEO 401 Digital Signal Procssing Prof. Mark Fowlr Dtails of th ot St #19 Rading Assignmnt: Sct. 7.1.2, 7.1.3, & 7.2 of Proakis & Manolakis Dfinition of th So Givn signal data points x[n] for n = 0,, -1
More informationEinstein Equations for Tetrad Fields
Apiron, Vol 13, No, Octobr 006 6 Einstin Equations for Ttrad Filds Ali Rıza ŞAHİN, R T L Istanbul (Turky) Evry mtric tnsor can b xprssd by th innr product of ttrad filds W prov that Einstin quations for
More informationA Uniform Approach to Three-Valued Semantics for µ-calculus on Abstractions of Hybrid Automata
A Uniform Approach to Thr-Valud Smantics for µ-calculus on Abstractions of Hybrid Automata (Haifa Vrification Confrnc 2008) Univrsity of Kaisrslautrn Octobr 28, 2008 Ovrviw 1. Prliminaris and 2. Gnric
More informationOn the irreducibility of some polynomials in two variables
ACTA ARITHMETICA LXXXII.3 (1997) On th irrducibility of som polynomials in two variabls by B. Brindza and Á. Pintér (Dbrcn) To th mmory of Paul Erdős Lt f(x) and g(y ) b polynomials with intgral cofficints
More informationThe Matrix Exponential
Th Matrix Exponntial (with xrciss) by D. Klain Vrsion 207.0.05 Corrctions and commnts ar wlcom. Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix A A k I + A + k!
More informationSearch sequence databases 3 10/25/2016
Sarch squnc databass 3 10/25/2016 Etrm valu distribution Ø Suppos X is a random variabl with probability dnsity function p(, w sampl a larg numbr S of indpndnt valus of X from this distribution for an
More informationFrom Elimination to Belief Propagation
School of omputr Scinc Th lif Propagation (Sum-Product lgorithm Probabilistic Graphical Modls (10-708 Lctur 5, Sp 31, 2007 Rcptor Kinas Rcptor Kinas Kinas X 5 ric Xing Gn G T X 6 X 7 Gn H X 8 Rading: J-hap
More informationThe Matrix Exponential
Th Matrix Exponntial (with xrciss) by Dan Klain Vrsion 28928 Corrctions and commnts ar wlcom Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix () A A k I + A + k!
More informationBrief Introduction to Statistical Mechanics
Brif Introduction to Statistical Mchanics. Purpos: Ths nots ar intndd to provid a vry quick introduction to Statistical Mchanics. Th fild is of cours far mor vast than could b containd in ths fw pags.
More informationOn spanning trees and cycles of multicolored point sets with few intersections
On spanning trs and cycls of multicolord point sts with fw intrsctions M. Kano, C. Mrino, and J. Urrutia April, 00 Abstract Lt P 1,..., P k b a collction of disjoint point sts in R in gnral position. W
More informationTuLiP: A Software Toolbox for Receding Horizon Temporal Logic Planning & Computer Lab 2
TuLiP: A Softwar Toolbox for Rcding Horizon Tmporal Logic Planning & Computr Lab 2 Nok Wongpiromsarn Richard M. Murray Ufuk Topcu EECI, 21 March 2013 Outlin Ky Faturs of TuLiP Embddd control softwar synthsis
More informationFirst derivative analysis
Robrto s Nots on Dirntial Calculus Chaptr 8: Graphical analysis Sction First drivativ analysis What you nd to know alrady: How to us drivativs to idntiy th critical valus o a unction and its trm points
More informationThat is, we start with a general matrix: And end with a simpler matrix:
DIAGON ALIZATION OF THE STR ESS TEN SOR INTRO DUCTIO N By th us of Cauchy s thorm w ar abl to rduc th numbr of strss componnts in th strss tnsor to only nin valus. An additional simplification of th strss
More informationAnother view for a posteriori error estimates for variational inequalities of the second kind
Accptd by Applid Numrical Mathmatics in July 2013 Anothr viw for a postriori rror stimats for variational inqualitis of th scond kind Fi Wang 1 and Wimin Han 2 Abstract. In this papr, w giv anothr viw
More informationObjective Mathematics
x. Lt 'P' b a point on th curv y and tangnt x drawn at P to th curv has gratst slop in magnitud, thn point 'P' is,, (0, 0),. Th quation of common tangnt to th curvs y = 6 x x and xy = x + is : x y = 8
More informationWeek 3: Connected Subgraphs
Wk 3: Connctd Subgraphs Sptmbr 19, 2016 1 Connctd Graphs Path, Distanc: A path from a vrtx x to a vrtx y in a graph G is rfrrd to an xy-path. Lt X, Y V (G). An (X, Y )-path is an xy-path with x X and y
More informationFunction Spaces. a x 3. (Letting x = 1 =)) a(0) + b + c (1) = 0. Row reducing the matrix. b 1. e 4 3. e 9. >: (x = 1 =)) a(0) + b + c (1) = 0
unction Spacs Prrquisit: Sction 4.7, Coordinatization n this sction, w apply th tchniqus of Chaptr 4 to vctor spacs whos lmnts ar functions. Th vctor spacs P n and P ar familiar xampls of such spacs. Othr
More informationANALYSIS IN THE FREQUENCY DOMAIN
ANALYSIS IN THE FREQUENCY DOMAIN SPECTRAL DENSITY Dfinition Th spctral dnsit of a S.S.P. t also calld th spctrum of t is dfind as: + { γ }. jτ γ τ F τ τ In othr words, of th covarianc function. is dfind
More informationThere is an arbitrary overall complex phase that could be added to A, but since this makes no difference we set it to zero and choose A real.
Midtrm #, Physics 37A, Spring 07. Writ your rsponss blow or on xtra pags. Show your work, and tak car to xplain what you ar doing; partial crdit will b givn for incomplt answrs that dmonstrat som concptual
More informationINCOMPLETE KLOOSTERMAN SUMS AND MULTIPLICATIVE INVERSES IN SHORT INTERVALS. xy 1 (mod p), (x, y) I (j)
INCOMPLETE KLOOSTERMAN SUMS AND MULTIPLICATIVE INVERSES IN SHORT INTERVALS T D BROWNING AND A HAYNES Abstract W invstigat th solubility of th congrunc xy (mod ), whr is a rim and x, y ar rstrictd to li
More informationSquare of Hamilton cycle in a random graph
Squar of Hamilton cycl in a random graph Andrzj Dudk Alan Friz Jun 28, 2016 Abstract W show that p = n is a sharp thrshold for th random graph G n,p to contain th squar of a Hamilton cycl. This improvs
More informationSymmetric centrosymmetric matrix vector multiplication
Linar Algbra and its Applications 320 (2000) 193 198 www.lsvir.com/locat/laa Symmtric cntrosymmtric matrix vctor multiplication A. Mlman 1 Dpartmnt of Mathmatics, Univrsity of San Francisco, San Francisco,
More informationStrongly Connected Components
Strongly Connctd Componnts Lt G = (V, E) b a dirctd graph Writ if thr is a path from to in G Writ if and is an quivalnc rlation: implis and implis s quivalnc classs ar calld th strongly connctd componnts
More informationECE602 Exam 1 April 5, You must show ALL of your work for full credit.
ECE62 Exam April 5, 27 Nam: Solution Scor: / This xam is closd-book. You must show ALL of your work for full crdit. Plas rad th qustions carfully. Plas chck your answrs carfully. Calculators may NOT b
More informationSECTION where P (cos θ, sin θ) and Q(cos θ, sin θ) are polynomials in cos θ and sin θ, provided Q is never equal to zero.
SETION 6. 57 6. Evaluation of Dfinit Intgrals Exampl 6.6 W hav usd dfinit intgrals to valuat contour intgrals. It may com as a surpris to larn that contour intgrals and rsidus can b usd to valuat crtain
More informationu r du = ur+1 r + 1 du = ln u + C u sin u du = cos u + C cos u du = sin u + C sec u tan u du = sec u + C e u du = e u + C
Tchniqus of Intgration c Donald Kridr and Dwight Lahr In this sction w ar going to introduc th first approachs to valuating an indfinit intgral whos intgrand dos not hav an immdiat antidrivativ. W bgin
More informationPipe flow friction, small vs. big pipes
Friction actor (t/0 t o pip) Friction small vs larg pips J. Chaurtt May 016 It is an intrsting act that riction is highr in small pips than largr pips or th sam vlocity o low and th sam lngth. Friction
More information4.2 Design of Sections for Flexure
4. Dsign of Sctions for Flxur This sction covrs th following topics Prliminary Dsign Final Dsign for Typ 1 Mmbrs Spcial Cas Calculation of Momnt Dmand For simply supportd prstrssd bams, th maximum momnt
More informationSolution of Assignment #2
olution of Assignmnt #2 Instructor: Alirza imchi Qustion #: For simplicity, assum that th distribution function of T is continuous. Th distribution function of R is: F R ( r = P( R r = P( log ( T r = P(log
More informationSome remarks on Kurepa s left factorial
Som rmarks on Kurpa s lft factorial arxiv:math/0410477v1 [math.nt] 21 Oct 2004 Brnd C. Kllnr Abstract W stablish a connction btwn th subfactorial function S(n) and th lft factorial function of Kurpa K(n).
More informationSection 6.1. Question: 2. Let H be a subgroup of a group G. Then H operates on G by left multiplication. Describe the orbits for this operation.
MAT 444 H Barclo Spring 004 Homwork 6 Solutions Sction 6 Lt H b a subgroup of a group G Thn H oprats on G by lft multiplication Dscrib th orbits for this opration Th orbits of G ar th right costs of H
More informationQuasi-Classical States of the Simple Harmonic Oscillator
Quasi-Classical Stats of th Simpl Harmonic Oscillator (Draft Vrsion) Introduction: Why Look for Eignstats of th Annihilation Oprator? Excpt for th ground stat, th corrspondnc btwn th quantum nrgy ignstats
More informationGeneral Notes About 2007 AP Physics Scoring Guidelines
AP PHYSICS C: ELECTRICITY AND MAGNETISM 2007 SCORING GUIDELINES Gnral Nots About 2007 AP Physics Scoring Guidlins 1. Th solutions contain th most common mthod of solving th fr-rspons qustions and th allocation
More informationLecture 4: Parsing. Administrivia
Adminitrivia Lctur 4: Paring If you do not hav a group, pla pot a rqut on Piazzza ( th Form projct tam... itm. B ur to updat your pot if you find on. W will aign orphan to group randomly in a fw day. Programming
More information4. (5a + b) 7 & x 1 = (3x 1)log 10 4 = log (M1) [4] d = 3 [4] T 2 = 5 + = 16 or or 16.
. 7 7 7... 7 7 (n )0 7 (M) 0(n ) 00 n (A) S ((7) 0(0)) (M) (7 00) 8897 (A). (5a b) 7 7... (5a)... (M) 7 5 5 (a b ) 5 5 a b (M)(A) So th cofficint is 75 (A) (C) [] S (7 7) (M) () 8897 (A) (C) [] 5. x.55
More informationu 3 = u 3 (x 1, x 2, x 3 )
Lctur 23: Curvilinar Coordinats (RHB 8.0 It is oftn convnint to work with variabls othr than th Cartsian coordinats x i ( = x, y, z. For xampl in Lctur 5 w mt sphrical polar and cylindrical polar coordinats.
More informationME 321 Kinematics and Dynamics of Machines S. Lambert Winter 2002
3.4 Forc Analysis of Linkas An undrstandin of forc analysis of linkas is rquird to: Dtrmin th raction forcs on pins, tc. as a consqunc of a spcifid motion (don t undrstimat th sinificanc of dynamic or
More informationsurface of a dielectric-metal interface. It is commonly used today for discovering the ways in
Surfac plasmon rsonanc is snsitiv mchanism for obsrving slight changs nar th surfac of a dilctric-mtal intrfac. It is commonl usd toda for discovring th was in which protins intract with thir nvironmnt,
More informationGradebook & Midterm & Office Hours
Your commnts So what do w do whn on of th r's is 0 in th quation GmM(1/r-1/r)? Do w nd to driv all of ths potntial nrgy formulas? I don't undrstand springs This was th first lctur I actually larnd somthing
More informationSlide 1. Slide 2. Slide 3 DIGITAL SIGNAL PROCESSING CLASSIFICATION OF SIGNALS
Slid DIGITAL SIGAL PROCESSIG UIT I DISCRETE TIME SIGALS AD SYSTEM Slid Rviw of discrt-tim signals & systms Signal:- A signal is dfind as any physical quantity that varis with tim, spac or any othr indpndnt
More informationEconomics 201b Spring 2010 Solutions to Problem Set 3 John Zhu
Economics 20b Spring 200 Solutions to Problm St 3 John Zhu. Not in th 200 vrsion of Profssor Andrson s ctur 4 Nots, th charactrization of th firm in a Robinson Cruso conomy is that it maximizs profit ovr
More informationDealing with quantitative data and problem solving life is a story problem! Attacking Quantitative Problems
Daling with quantitati data and problm soling lif is a story problm! A larg portion of scinc inols quantitati data that has both alu and units. Units can sa your butt! Nd handl on mtric prfixs Dimnsional
More informationEstimation of apparent fraction defective: A mathematical approach
Availabl onlin at www.plagiarsarchlibrary.com Plagia Rsarch Library Advancs in Applid Scinc Rsarch, 011, (): 84-89 ISSN: 0976-8610 CODEN (USA): AASRFC Estimation of apparnt fraction dfctiv: A mathmatical
More informationChapter 8: Electron Configurations and Periodicity
Elctron Spin & th Pauli Exclusion Principl Chaptr 8: Elctron Configurations and Priodicity 3 quantum numbrs (n, l, ml) dfin th nrgy, siz, shap, and spatial orintation of ach atomic orbital. To xplain how
More informationHardy-Littlewood Conjecture and Exceptional real Zero. JinHua Fei. ChangLing Company of Electronic Technology Baoji Shannxi P.R.
Hardy-Littlwood Conjctur and Excptional ral Zro JinHua Fi ChangLing Company of Elctronic Tchnology Baoji Shannxi P.R.China E-mail: fijinhuayoujian@msn.com Abstract. In this papr, w assum that Hardy-Littlwood
More informationA Sub-Optimal Log-Domain Decoding Algorithm for Non-Binary LDPC Codes
Procdings of th 9th WSEAS Intrnational Confrnc on APPLICATIONS of COMPUTER ENGINEERING A Sub-Optimal Log-Domain Dcoding Algorithm for Non-Binary LDPC Cods CHIRAG DADLANI and RANJAN BOSE Dpartmnt of Elctrical
More informationCHAPTER 1. Introductory Concepts Elements of Vector Analysis Newton s Laws Units The basis of Newtonian Mechanics D Alembert s Principle
CHPTER 1 Introductory Concpts Elmnts of Vctor nalysis Nwton s Laws Units Th basis of Nwtonian Mchanics D lmbrt s Principl 1 Scinc of Mchanics: It is concrnd with th motion of matrial bodis. odis hav diffrnt
More informationSOME PARAMETERS ON EQUITABLE COLORING OF PRISM AND CIRCULANT GRAPH.
SOME PARAMETERS ON EQUITABLE COLORING OF PRISM AND CIRCULANT GRAPH. K VASUDEVAN, K. SWATHY AND K. MANIKANDAN 1 Dpartmnt of Mathmatics, Prsidncy Collg, Chnnai-05, India. E-Mail:vasu k dvan@yahoo.com. 2,
More informationMiddle East Technical University Department of Mechanical Engineering ME 413 Introduction to Finite Element Analysis
Middl East Tchnical Univrsity Dpartmnt of Mchanical Enginring ME 43 Introduction to Finit Elmnt Analysis Chaptr 3 Computr Implmntation of D FEM Ths nots ar prpard by Dr. Cünyt Srt http://www.m.mtu.du.tr/popl/cunyt
More informationLecture 37 (Schrödinger Equation) Physics Spring 2018 Douglas Fields
Lctur 37 (Schrödingr Equation) Physics 6-01 Spring 018 Douglas Filds Rducd Mass OK, so th Bohr modl of th atom givs nrgy lvls: E n 1 k m n 4 But, this has on problm it was dvlopd assuming th acclration
More informationMCE503: Modeling and Simulation of Mechatronic Systems Discussion on Bond Graph Sign Conventions for Electrical Systems
MCE503: Modling and Simulation o Mchatronic Systms Discussion on Bond Graph Sign Convntions or Elctrical Systms Hanz ichtr, PhD Clvland Stat Univrsity, Dpt o Mchanical Enginring 1 Basic Assumption In a
More informationStochastic Submodular Maximization
Stochastic Submodular Maximization Arash Asadpour, Hamid Nazrzadh, and Amin Sabri Stanford Univrsity, Stanford, CA. {asadpour,hamidnz,sabri}@stanford.du Abstract. W study stochastic submodular maximization
More informationMiddle East Technical University Department of Mechanical Engineering ME 413 Introduction to Finite Element Analysis
Middl East Tchnical Univrsity Dpartmnt of Mchanical Enginring ME Introduction to Finit Elmnt Analysis Chaptr 5 Two-Dimnsional Formulation Ths nots ar prpard by Dr. Cünyt Srt http://www.m.mtu.du.tr/popl/cunyt
More informationThe second condition says that a node α of the tree has exactly n children if the arity of its label is n.
CS 6110 S14 Hanout 2 Proof of Conflunc 27 January 2014 In this supplmntary lctur w prov that th λ-calculus is conflunt. This is rsult is u to lonzo Church (1903 1995) an J. arkly Rossr (1907 1989) an is
More informationON RIGHT(LEFT) DUO PO-SEMIGROUPS. S. K. Lee and K. Y. Park
Kangwon-Kyungki Math. Jour. 11 (2003), No. 2, pp. 147 153 ON RIGHT(LEFT) DUO PO-SEMIGROUPS S. K. L and K. Y. Park Abstract. W invstigat som proprtis on right(rsp. lft) duo po-smigroups. 1. Introduction
More information4 x 4, and. where x is Town Square
Accumulation and Population Dnsity E. A city locatd along a straight highway has a population whos dnsity can b approimatd by th function p 5 4 th distanc from th town squar, masurd in mils, whr 4 4, and
More informationA Propagating Wave Packet Group Velocity Dispersion
Lctur 8 Phys 375 A Propagating Wav Packt Group Vlocity Disprsion Ovrviw and Motivation: In th last lctur w lookd at a localizd solution t) to th 1D fr-particl Schrödingr quation (SE) that corrsponds to
More informationThe Equitable Dominating Graph
Intrnational Journal of Enginring Rsarch and Tchnology. ISSN 0974-3154 Volum 8, Numbr 1 (015), pp. 35-4 Intrnational Rsarch Publication Hous http://www.irphous.com Th Equitabl Dominating Graph P.N. Vinay
More informationCramér-Rao Inequality: Let f(x; θ) be a probability density function with continuous parameter
WHEN THE CRAMÉR-RAO INEQUALITY PROVIDES NO INFORMATION STEVEN J. MILLER Abstract. W invstigat a on-paramtr family of probability dnsitis (rlatd to th Parto distribution, which dscribs many natural phnomna)
More informationSource code. where each α ij is a terminal or nonterminal symbol. We say that. α 1 α m 1 Bα m+1 α n α 1 α m 1 β 1 β p α m+1 α n
Adminitrivia Lctur : Paring If you do not hav a group, pla pot a rqut on Piazzza ( th Form projct tam... itm. B ur to updat your pot if you find on. W will aign orphan to group randomly in a fw day. Programming
More information3 Finite Element Parametric Geometry
3 Finit Elmnt Paramtric Gomtry 3. Introduction Th intgral of a matrix is th matrix containing th intgral of ach and vry on of its original componnts. Practical finit lmnt analysis rquirs intgrating matrics,
More informationRecall that by Theorems 10.3 and 10.4 together provide us the estimate o(n2 ), S(q) q 9, q=1
Chaptr 11 Th singular sris Rcall that by Thorms 10 and 104 togthr provid us th stimat 9 4 n 2 111 Rn = SnΓ 2 + on2, whr th singular sris Sn was dfind in Chaptr 10 as Sn = q=1 Sq q 9, with Sq = 1 a q gcda,q=1
More information