Static Program Analysis

Size: px
Start display at page:

Download "Static Program Analysis"

Transcription

1 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks Thomas Noll Software Modeling and Verification Grou RWTH Aachen University htts://moves.rwth-aachen.de/teaching/ws-1617/sa/

2 Reca: Pointer Analysis The Shae Analysis Aroach Goal: determine the ossible shaes of a dynamically allocated data structure at given rogram oint Interesting information: data tyes (to avoid tye errors, such as dereferencingnil) aliasing (different ointer variables having same value) sharing (different hea ointers referencing same location) reachability of nodes (garbage collection) disjointness of hea regions (arallelisability) shaes (lists, trees, absence of cycles,...) Concrete questions: Doesx.next oint to a shared element? Does a variableoint to an allocated element every timeis dereferenced? Does a variable oint to an acyclic list? Does a variable oint to a doubly-linked list? Can a loo or rocedure cause a memory leak? Here: basic outline; details in [Nielson/Nielson/Hankin 2005, Sct. 2.6] 3 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

3 Reca: Pointer Analysis Extending the Syntax Syntactic categories: Category Domain Meta variable Arithmetic exressions AEx a Boolean exressions BEx b Selector names Sel sel Pointer exressions PEx Commands (statements) Cmd c Context-free grammar: a::= z x a 1 +a 2... nil AEx b ::= t a 1 =a 2 b 1 b 2... is-nil() BEx ::= x x.sel c ::=[ski] l [ := a] l c 1 ;c 2 if[b] l then c 1 else c 2 end while[b] l do c end [malloc ] l Cmd 4 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

4 Reca: Pointer Analysis Shae Grahs I Aroach: reresentation of (infinitely many) concrete hea states by (finitely many) abstract shae grahs abstract nodes X = sets of variables interretation: x X iff x oints to concrete node reresented by X reresents all concrete nodes that are not directly addressed by ointer variables x, y X (with x y) indicate aliasing (as x and y oint to the same concrete node) if x.sel and y refer to the same hea address and if X, Y are abstract nodes with x X and y Y, this yields abstract edge X sel = Y (similarly for X = or Y = ) transfer functions transform (sets of) shae grahs 5 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

5 Reca: Pointer Analysis Shae Grahs II Definition (Shae grah) A shae grah consists of a set Abs 2 Var of abstract locations and an abstract hea = Abs Sel Abs notation: X sel = Y for(x, sel, Y) = G = (Abs,= ) with the following roerties: Disjointness: X, Y Abs = X = Y or X Y = (a variable can refer to at most one hea location) Determinacy: X and X = sel Y and X sel = Z = Y = Z (target location is unique if source node is unique) SG denotes the set of all shae grahs. 6 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

6 Reca: Pointer Analysis From Hea Configurations to Shae Grahs Definition Given a hea configuration H = (Nod, Sel, Var,σ, ), the corresonding shae grah G = (Abs, = ) is defined by Abs := {σ 1 (n) n Nod} = {{x Var σ(x) = n} n Nod} For all X, Y Abs and sel Sel: X = sel Y n X, n y Nod : σ 1 (n X ) = X,σ 1 sel (n Y ) = Y, n X n Y Remark: yields Galois connection between sets of hea configurations and sets of shae grahs, both ordered by 7 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

7 Reca: Pointer Analysis Shae Grahs and Concrete Hea Proerties Examle Let G = (Abs,= ) be a shae grah. Then the following concrete hea roerties can be exressed as conditions on G: x nil X Abs : x X x = y nil (aliasing) Z Abs : x,y Z x.sel1 = y.sel2 nil (sharing) = X, Y, Z Abs : x X,y Y, X = sel1 Z = sel2 Y ( = only valid if Z ) 8 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

8 Shae Analysis The Goal Shae Analysis The goal of Shae Analysis is to determine, for each rogram oint, a set of shae grahs that together reresent all concrete hea configurations which can occur during rogram execution at that oint. Forward analysis Domain: (D, ) := (2 SG, ) (Var, Sel finite = SG finite = 2 SG finite = ACC) Extremal value: ι := {shae grahs for ossible initial values of Var} Examle 21.1 (List reversal; cf. Examle 20.5) Variables: Var = {x,y,z} Assumtion: x oints to any (finite, non-cyclic) list, y = z = nil next ι = }{{} (, ), {x}, {x} = next, {x} = next }{{}}{{}}{{} emty 1 elem. 2 elem. 3 elem. 10 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

9 Shae Analysis The Transfer Functions Transform each single shae grah into a set of shae grahs: for each l Lab, n ϕ l : 2 SG 2 SG : {G 1,...,G n }) Definition 21.2 (Transfer functions for shae analysis) ϕ l (G) SG is determined by B l (where G = (Abs,= )): [ski] l : ϕ l (G) := {G} [b] l : ϕ l (G) := {G} [ := a] l : case-by-case analysis w.r.t. and a [Nielson/Nielson/Hankin 2005, Sct ]: 12 cases on 11. may involve (high degree of) non-determinism see examle on following slide i=1 ϕ l (G i ) [malloc x] l : ϕ l (G) := {(Abs {{x}},= )} with Abs := {X \{x} X Abs} X, Y Abs, sel Sel : X \{x} = sel Y \{x} iff X = sel Y [malloc x.sel] l : equivalent to [malloc t] l 1 ;[x.sel := t]l 2 ;[t := nil]l 3 (with fresh t Var and l 1, l 2, l 3 Lab) Fixoint solution yields SG l SG for each l Lab 11 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

10 Shae Analysis An Examle Examle 21.3 (Transfer function for ointer assignment) sel1 sel sel2 {y} {z} (justification: on the board) (a) sel1 sel sel2 {y} {x} {z} ϕ x := y.sel (b) sel1 sel sel2 {y} {x} {z} sel1 (c) sel1 sel sel2 {y} {x} {z} sel1 (d) sel2 (e) sel2 sel1 sel1 sel sel {y} {x} {z} {y} {x} {z} 12 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

11 Shae Analysis Soundness of Abstraction Theorem 21.4 (Safety of aroximation) Let H be a hea configuration with corresonding shae grah G (according to Definition 20.7), and let l Lab. If B l mas H to hea configuration H, then there exists a shae grah G ϕ l (G) that corresonds to H. Proof. omitted 13 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

12 Shae Analysis Alication to List Reversal Examle 21.5 (List reversal; cf. Examle 20.5) Shae analysis of list reversal rogram yields final result (, ) }{{} emty Interretation: + Result again a finite list, {y} }{{} 1 elem., {y} next = }{{} 2 elem. but otentially cyclic (may be a lasso, but not a ring) also reversal roerty not guaranteed result could be in wrong order or have more/less entries next, {y} = next }{{} 3 elem. 14 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

13 Further Toic in Program Analysis Dedicated Algorithms for Pointer Analysis nil Pointer Analysis: checks whether dereferencing oerations ossibly involve nil ointers with shae analysis: x = nil ossible for x Var at l Lab if there exists G = (Abs,= ) SG l such that x / X Abs X Points-To Analysis: yields function t that for each x Var returns set t(x) Nod of ossible ointer targets x and y may be aliases if t(x) t(y) with shae analysis: there exists G = (Abs,= ) SG l and Z Abs such that x, y Z Usually faster and sometimes more recise than shae analysis, but less general (only shallow roerties) Fastest algorithms are flow-insensitive (oints-to edges only added but never removed) 16 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

14 Further Toic in Program Analysis Grah Grammar Aroaches to Pointer Analysis E.g., J. Heinen, C. Jansen, J.-P. Katoen, T. Noll: Verifying Pointer Programs using Grah Grammars. Science of Comuter Programming 97, , 2015 Idea: secify data structures by grah roduction rules Concretisation by forward alication Abstraction by backward alication All ointer oerations remain concrete Avoids involved definition of transfer functions Examle 21.6 (Doubly-linked lists) L n n n L L n n L1 1 L of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

15 Further Toic in Program Analysis Abstract Execution Using Grah Grammars n L 1 2 n 1 L Examle 21.7 (tm := os.next;) os tm os tm os tm concr. n n L 1 2 abstr. 2 L 1 n L 1 2 n L 1 2 concr. n os n tm abstr. 2 L 1 os n tm Princile Concretise whenever necessary; abstract whenever ossible. 18 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

16 Further Toic in Program Analysis Correctness of Dataflow Analyses So far: semantics and dataflow analysis of rograms considered indeendently (formal soundness roofs only for abstract interretation; cf. Lecture 12/13) Of course both are (and should be) related! To this aim: comare results of concrete semantics (Definition 11.9) with outcome of analysis See [Nielson/Nielson/Hankin 2005, Sct. 2.2] for details Examle 21.8 (Correctness of Constant Proagation) Let c Cmd, l Lab c, x Var, and z Z such that CP l (x) = z. Then for allσ 0,σ Σ such that init(c),σ 0 l,σ,σ(x) = z. 19 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

17 Final Remarks Written Exam Dates: Tue 21 Feb, 15:00 17:00, AH 2/3 Thu 23 Mar, 10:00 12:00, AH 2 Q&A session on Wed 08 Feb (12:00, AH 3) lease submit questions beforehand to Christina Jansen or Christoh Matheja 21 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

18 Final Remarks Forthcoming Course in SS 2017 Comiler Construction [Noll; V3 Ü2] 1. Lexical analysis of rograms (Scanner) 2. Syntactic analysis of rograms (Parser) 3. Semantic analysis of rograms 4. Code generation 5. Tools for comiler construction 22 of 22 Static Program Analysis Lecture 21: Shae Analysis & Final Remarks

Introduction to Number Theory 2. c Eli Biham - November 5, Introduction to Number Theory 2 (12)

Introduction to Number Theory 2. c Eli Biham - November 5, Introduction to Number Theory 2 (12) Introduction to Number Theory c Eli Biham - November 5, 006 345 Introduction to Number Theory (1) Quadratic Residues Definition: The numbers 0, 1,,...,(n 1) mod n, are called uadratic residues modulo n.

More information

LAB IX. LOW FREQUENCY CHARACTERISTICS OF JFETS

LAB IX. LOW FREQUENCY CHARACTERISTICS OF JFETS LAB X. LOW FREQUENCY CHARACTERSTCS OF JFETS 1. OBJECTVE n this lab, you will study the -V characteristics and small-signal model of Junction Field Effect Transistors (JFET).. OVERVEW n this lab, we will

More information

Computational Complexity of Generalized Push Fight

Computational Complexity of Generalized Push Fight Comutational Comlexity of Generalized Push Fight Jeffrey Bosboom Erik D. Demaine Mikhail Rudoy Abstract We analyze the comutational comlexity of otimally laying the two-layer board game Push Fight, generalized

More information

Evolutionary Circuit Design: Information Theory Perspective on Signal Propagation

Evolutionary Circuit Design: Information Theory Perspective on Signal Propagation Evolutionary Circuit Design: Theory Persective on Signal Proagation Denis Poel Deartment of Comuter Science, Baker University, P.O. 65, Baldwin City, KS 66006, E-mail: oel@ieee.org Nawar Hakeem Deartment

More information

Economics of Strategy (ECON 4550) Maymester 2015 Foundations of Game Theory

Economics of Strategy (ECON 4550) Maymester 2015 Foundations of Game Theory Economics of Strategy (ECON 4550) Maymester 05 Foundations of Game Theory Reading: Game Theory (ECON 4550 Courseak, Page 95) Definitions and Concets: Game Theory study of decision making settings in which

More information

SQUARING THE MAGIC SQUARES OF ORDER 4

SQUARING THE MAGIC SQUARES OF ORDER 4 Journal of lgebra Number Theory: dvances and lications Volume 7 Number Pages -6 SQURING THE MGIC SQURES OF ORDER STEFNO BRBERO UMBERTO CERRUTI and NDIR MURRU Deartment of Mathematics University of Turin

More information

MATH & STAT Ch.1 Permutations & Combinations JCCSS

MATH & STAT Ch.1 Permutations & Combinations JCCSS THOMAS / 6ch1.doc / P.1 1.1 The Multilication Princile of Counting P.2 If a first oeration can be erformed in n 1 ways, a second oeration in n 2 ways, a third oeration in n 3 ways, and so forth, then the

More information

EE 462: Laboratory Assignment 5 Biasing N- channel MOSFET Transistor

EE 462: Laboratory Assignment 5 Biasing N- channel MOSFET Transistor EE 46: Laboratory Assignment 5 Biasing N channel MOFET Transistor by r. A.V. adun and r... onohue (/1/07 Udated ring 008 by tehen Maloney eartment of Elecical and Comuter Engineering University of entucky

More information

Physics. Valve Electronics.

Physics. Valve Electronics. Physics Valve Electronics www.testrekart.com Table of Content 1. Do You Know?. Thermionic Emission and Emitters. 3. Vacuum Tubes and Thermionic Valves. 4. Diode Valve. 5. Triode Valve. 1 1. Do You Know?

More information

Physics 54. Lenses and Mirrors. And now for the sequence of events, in no particular order. Dan Rather

Physics 54. Lenses and Mirrors. And now for the sequence of events, in no particular order. Dan Rather Physics 54 Lenses and Mirrors And now or the seuence o events, in no articular order. Dan Rather Overview We will now study transmission o light energy in the ray aroximation, which assumes that the energy

More information

Analysis of Electronic Circuits with the Signal Flow Graph Method

Analysis of Electronic Circuits with the Signal Flow Graph Method Circuits and Systems, 207, 8, 26-274 htt://www.scir.org/journal/cs ISSN Online: 253-293 ISSN Print: 253-285 Analysis of Electronic Circuits with the Signal Flow Grah Method Feim Ridvan Rasim, Sebastian

More information

Low Complexity Tail-Biting Trellises for Some Extremal Self-Dual Codes

Low Complexity Tail-Biting Trellises for Some Extremal Self-Dual Codes Low Comlexity Tail-Biting Trellises for Some Extremal Self-Dual Codes Grégory Olocco, Ayoub Otmani To cite this version: Grégory Olocco, Ayoub Otmani. Low Comlexity Tail-Biting Trellises for Some Extremal

More information

High resolution radar signal detection based on feature analysis

High resolution radar signal detection based on feature analysis Available online www.jocr.com Journal of Chemical and Pharmaceutical Research, 4, 6(6):73-77 Research Article ISSN : 975-7384 CODEN(USA) : JCPRC5 High resolution radar signal detection based on feature

More information

Uplink Scheduling in Wireless Networks with Successive Interference Cancellation

Uplink Scheduling in Wireless Networks with Successive Interference Cancellation 1 Ulink Scheduling in Wireless Networks with Successive Interference Cancellation Majid Ghaderi, Member, IEEE, and Mohsen Mollanoori, Student Member, IEEE, Abstract In this aer, we study the roblem of

More information

22c181: Formal Methods in Software Engineering. The University of Iowa Spring Propositional Logic

22c181: Formal Methods in Software Engineering. The University of Iowa Spring Propositional Logic 22c181: Formal Methods in Software Engineering The University of Iowa Spring 2010 Propositional Logic Copyright 2010 Cesare Tinelli. These notes are copyrighted materials and may not be used in other course

More information

Antenna Selection Scheme for Wireless Channels Utilizing Differential Space-Time Modulation

Antenna Selection Scheme for Wireless Channels Utilizing Differential Space-Time Modulation Antenna Selection Scheme for Wireless Channels Utilizing Differential Sace-Time Modulation Le Chung Tran and Tadeusz A. Wysocki School of Electrical, Comuter and Telecommunications Engineering Wollongong

More information

Efficient Importance Sampling for Monte Carlo Simulation of Multicast Networks

Efficient Importance Sampling for Monte Carlo Simulation of Multicast Networks Efficient Imortance Samling for Monte Carlo Simulation of Multicast Networks P. Lassila, J. Karvo and J. Virtamo Laboratory of Telecommunications Technology Helsinki University of Technology P.O.Box 3000,

More information

Circular Dynamic Stereo and Its Image Processing

Circular Dynamic Stereo and Its Image Processing Circular Dynamic Stereo and Its Image Processing Kikuhito KAWASUE *1 and Yuichiro Oya *2 *1 Deartment of Mechanical Systems Engineering Miyazaki University 1-1, Gakuen Kibanadai Nishi, Miyazaki 889-2192

More information

Statistical Evaluation of the Azimuth and Elevation Angles Seen at the Output of the Receiving Antenna

Statistical Evaluation of the Azimuth and Elevation Angles Seen at the Output of the Receiving Antenna IEEE TANSACTIONS ON ANTENNAS AND POPAGATION 1 Statistical Evaluation of the Azimuth and Elevation Angles Seen at the Outut of the eceiving Antenna Cezary Ziółkowski and an M. Kelner Abstract A method to

More information

Modeling of power autotransformer

Modeling of power autotransformer Modeling of ower autotransformer VLADMÍR VOLČKO, ŽAETA ELEHOVÁ, ATO BELÁŇ, PETER JAGA, DOMK VGLAŠ, MROLAVA MTKOVÁ Deartment of Electrical Power Engineering lovak niversity of Technology in Bratislava lkovičova,

More information

Software for Modeling Estimated Respiratory Waveform

Software for Modeling Estimated Respiratory Waveform Software for Modeling Estimated Resiratory Waveform Aleksei E. Zhdanov, Leonid G. Dorosinsky Abstract In the imaging of chest or abdomen, motion artifact is an unavoidable roblem. In the radiation treatment,

More information

Design of PID Controller Based on an Expert System

Design of PID Controller Based on an Expert System International Journal of Comuter, Consumer and Control (IJ3C), Vol. 3, No.1 (014) 31 Design of PID Controller Based on an Exert System Wei Li Abstract For the instability of traditional control systems,

More information

A Multi-View Nonlinear Active Shape Model Using Kernel PCA

A Multi-View Nonlinear Active Shape Model Using Kernel PCA A Multi-View Nonlinear Active Shae Model Using Kernel PCA Sami Romdhani y, Shaogang Gong z and Alexandra Psarrou y y Harrow School of Comuter Science, University of Westminster, Harrow HA1 3TP, UK [rodhams

More information

EXPERIMENT 6 CLOSED-LOOP TEMPERATURE CONTROL OF AN ELECTRICAL HEATER

EXPERIMENT 6 CLOSED-LOOP TEMPERATURE CONTROL OF AN ELECTRICAL HEATER YEDITEPE UNIVERSITY ENGINEERING & ARCHITECTURE FACULTY INDUSTRIAL ELECTRONICS LABORATORY EE 432 INDUSTRIAL ELECTRONICS EXPERIMENT 6 CLOSED-LOOP TEMPERATURE CONTROL OF AN ELECTRICAL HEATER Introduction:

More information

Product Accumulate Codes on Fading Channels

Product Accumulate Codes on Fading Channels Product Accumulate Codes on Fading Channels Krishna R. Narayanan, Jing Li and Costas Georghiades Det of Electrical Engineering Texas A&M University, College Station, TX 77843 Abstract Product accumulate

More information

Formal Verification. Lecture 5: Computation Tree Logic (CTL)

Formal Verification. Lecture 5: Computation Tree Logic (CTL) Formal Verification Lecture 5: Computation Tree Logic (CTL) Jacques Fleuriot 1 jdf@inf.ac.uk 1 With thanks to Bob Atkey for some of the diagrams. Recap Previously: Linear-time Temporal Logic This time:

More information

Solutions to Exam 1. Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively prime positive integers.

Solutions to Exam 1. Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively prime positive integers. Solutions to Exam 1 Problem 1. a) State Fermat s Little Theorem and Euler s Theorem. b) Let m, n be relatively rime ositive integers. Prove that m φ(n) + n φ(m) 1 (mod mn). c) Find the remainder of 1 008

More information

Is 1 a Square Modulo p? Is 2?

Is 1 a Square Modulo p? Is 2? Chater 21 Is 1 a Square Modulo? Is 2? In the revious chater we took various rimes and looked at the a s that were quadratic residues and the a s that were nonresidues. For examle, we made a table of squares

More information

INTERNET PID CONTROLLER DESIGN: M. Schlegel, M. Čech

INTERNET PID CONTROLLER DESIGN:  M. Schlegel, M. Čech INTERNET PID CONTROLLER DESIGN: WWW.PIDLAB.COM M. Schlegel, M. Čech Deartment of Cybernetics, University of West Bohemia in Pilsen fax : + 0403776350, e-mail : schlegel@kky.zcu.cz, mcech@kky.zcu.cz Abstract:

More information

There are two basic types of FET s: The junction field effect transistor or JFET the metal oxide FET or MOSFET.

There are two basic types of FET s: The junction field effect transistor or JFET the metal oxide FET or MOSFET. Page 61 Field Effect Transistors The Fieldeffect transistor (FET) We know that the biolar junction transistor or BJT is a current controlled device. The FET or field effect transistor is a voltage controlled

More information

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees. 7 Symmetries 7 Permutations A permutation of a set is a reordering of its elements Another way to look at it is as a function Φ that takes as its argument a set of natural numbers of the form {, 2,, n}

More information

Outline. Sets of Gluing Data. Constructing Manifolds. Lecture 3 - February 3, PM

Outline. Sets of Gluing Data. Constructing Manifolds. Lecture 3 - February 3, PM Constructing Manifolds Lecture 3 - February 3, 2009-1-2 PM Outline Sets of gluing data The cocycle condition Parametric pseudo-manifolds (PPM s) Conclusions 2 Let n and k be integers such that n 1 and

More information

Optimization of an Evaluation Function of the 4-sided Dominoes Game Using a Genetic Algorithm

Optimization of an Evaluation Function of the 4-sided Dominoes Game Using a Genetic Algorithm o Otimization of an Evaluation Function of the 4-sided Dominoes Game Using a Genetic Algorithm Nirvana S. Antonio, Cícero F. F. Costa Filho, Marly G. F. Costa, Rafael Padilla Abstract In 4-sided dominoes,

More information

RESIDUE NUMBER SYSTEM. (introduction to hardware aspects) Dr. Danila Gorodecky

RESIDUE NUMBER SYSTEM. (introduction to hardware aspects) Dr. Danila Gorodecky RESIDUE NUMBER SYSTEM (introduction to hardware asects) Dr. Danila Gorodecky danila.gorodecky@gmail.com Terminology Residue number system (RNS) (refers to Chinese remainder theorem) Residue numeral system

More information

Available online at ScienceDirect. Procedia Manufacturing 11 (2017 )

Available online at   ScienceDirect. Procedia Manufacturing 11 (2017 ) Available online at www.sciencedirect.com ScienceDirect Procedia Manuacturing 11 (2017 ) 501 508 27th International Conerence on Flexible Automation and Intelligent Manuacturing, FAIM2017, 27-30 June 2017,

More information

Relative Positioning in Europe: Influence of the GPS+Galileo Satellite Geometry

Relative Positioning in Europe: Influence of the GPS+Galileo Satellite Geometry Relative Positioning in Euroe: Influence of the GPS+Galileo Satellite Geometry Michaël Moins, Carine Bruyninx Royal Observatory of Belgium, Av. Circulaire 3, B-8 Brussels michael.moins@oma.be ABSTRACT

More information

PHYSICS 151 Notes for Online Lecture #38

PHYSICS 151 Notes for Online Lecture #38 PHYSCS 5 Notes for Online Lecture #38 Power Power is defined as the energy transformed/time. P Energy time When a charge, q, sses across a otential difference,, it acquires an energy q. f it takes a time

More information

LECTURE 9: QUADRATIC RESIDUES AND THE LAW OF QUADRATIC RECIPROCITY

LECTURE 9: QUADRATIC RESIDUES AND THE LAW OF QUADRATIC RECIPROCITY LECTURE 9: QUADRATIC RESIDUES AND THE LAW OF QUADRATIC RECIPROCITY 1. Bsic roerties of qudrtic residues We now investigte residues with secil roerties of lgebric tye. Definition 1.1. (i) When (, m) 1 nd

More information

Optimal p-persistent MAC algorithm for event-driven Wireless Sensor Networks

Optimal p-persistent MAC algorithm for event-driven Wireless Sensor Networks Otimal -ersistent MAC algorithm for event-driven Wireless Sensor Networks J. Vales-Alonso,E.Egea-Lóez, M. V. Bueno-Delgado, J. L. Sieiro-Lomba, J. García-Haro Deartment of Information Technologies and

More information

MT 430 Intro to Number Theory MIDTERM 2 PRACTICE

MT 430 Intro to Number Theory MIDTERM 2 PRACTICE MT 40 Intro to Number Theory MIDTERM 2 PRACTICE Material covered Midterm 2 is comrehensive but will focus on the material of all the lectures from February 9 u to Aril 4 Please review the following toics

More information

Simulation and Characterization of UWB system coexistence with traditional communication Systems

Simulation and Characterization of UWB system coexistence with traditional communication Systems Simulation and Characterization of UWB system coexistence with traditional communication Systems Guided research by Oliver Wamanga International University Bremen Under suervision of Prof. Dr. Herald Haas

More information

Properties of Mobile Tactical Radio Networks on VHF Bands

Properties of Mobile Tactical Radio Networks on VHF Bands Proerties of Mobile Tactical Radio Networks on VHF Bands Li Li, Phil Vigneron Communications Research Centre Canada Ottawa, Canada li.li@crc.gc.ca / hil.vigneron@crc.gc.ca ABSTRACT This work extends a

More information

Game Theory and Economics of Contracts Lecture 4 Basics in Game Theory (2)

Game Theory and Economics of Contracts Lecture 4 Basics in Game Theory (2) Game Theory and Economics of Contracts Lecture 4 Basics in Game Theory (2) Yu (Larry) Chen School of Economics, Nanjing University Fall 2015 Extensive Form Game I It uses game tree to represent the games.

More information

MMW Radar Scattering Statistics of Terrain At Near Grazing Incidence 1 ABSTRACT

MMW Radar Scattering Statistics of Terrain At Near Grazing Incidence 1 ABSTRACT MMW Radar Scattering Statistics of Terrain At Near Grazing Incidence 1 R. D. De Roo, F. T. Ulaby, A. E. El-Rouby, and A. Y. Nashashibi The Radiation Laboratory Deartment of Electrical Engineering and Comuter

More information

Random Access Compressed Sensing in Underwater Sensor Networks

Random Access Compressed Sensing in Underwater Sensor Networks Random Access Comressed Sensing in Underwater Sensor Networks Fatemeh Fazel Northeastern University Boston, MA 2115 Email: ffazel@ece.neu.edu Maryam Fazel University of Washington Seattle, WA 98195 Email:

More information

EE 462: Laboratory Assignment 6 Biasing of Transistors: N- channel MOSFET

EE 462: Laboratory Assignment 6 Biasing of Transistors: N- channel MOSFET EE 46: Laboratory Assignment 6 Biasing of Transistors: N channel MOFET by r. A.V. adun and r... onohue (10//03 eartment of Elecical and Comuter Engineering University of entucky Lexington, Y 40506 Laboratory

More information

Extensive Games with Perfect Information. Start by restricting attention to games without simultaneous moves and without nature (no randomness).

Extensive Games with Perfect Information. Start by restricting attention to games without simultaneous moves and without nature (no randomness). Extensive Games with Perfect Information There is perfect information if each player making a move observes all events that have previously occurred. Start by restricting attention to games without simultaneous

More information

Scenarios for Development, Test and Validation of Automated Vehicles

Scenarios for Development, Test and Validation of Automated Vehicles Scenarios for Develoment, Test and Validation of Automated Vehicles Till Menzel, Gerrit Bagschik and Markus Maurer Institute of Control Engineering Technische Universität Braunschweig Braunschweig, Germany

More information

Improvements of Bayesian Matting

Improvements of Bayesian Matting Imrovements of Bayesian Matting Mikhail Sindeyev, Vadim Konushin, Vladimir Vezhnevets Deartment of omutational Mathematics and ybernetics, Grahics and Media Lab Moscow State Lomonosov University, Moscow,

More information

Initial Ranging for WiMAX (802.16e) OFDMA

Initial Ranging for WiMAX (802.16e) OFDMA Initial Ranging for WiMAX (80.16e) OFDMA Hisham A. Mahmoud, Huseyin Arslan Mehmet Kemal Ozdemir Electrical Engineering Det., Univ. of South Florida Logus Broadband Wireless Solutions 40 E. Fowler Ave.,

More information

Performance Analysis of Battery Power Management Schemes in Wireless Mobile. Devices

Performance Analysis of Battery Power Management Schemes in Wireless Mobile. Devices Performance Analysis of Battery Power Management Schemes in Wireless Mobile Devices Balakrishna J Prabhu, A Chockalingam and Vinod Sharma Det of ECE, Indian Institute of Science, Bangalore, INDIA Abstract

More information

Advanced Automata Theory 4 Games

Advanced Automata Theory 4 Games Advanced Automata Theory 4 Games Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced Automata Theory 4 Games p. 1 Repetition

More information

Prediction Efficiency in Predictive p-csma/cd

Prediction Efficiency in Predictive p-csma/cd Prediction Efficiency in Predictive -CSMA/CD Mare Miśowicz AGH University of Science and Technology, Deartment of Electronics al. Miciewicza 30, 30-059 Kraów, Poland misow@agh.edu.l Abstract. Predictive

More information

Parameter Controlled by Contrast Enhancement Using Color Image

Parameter Controlled by Contrast Enhancement Using Color Image Parameter Controlled by Contrast Enhancement Using Color Image Raguathi.S and Santhi.K Abstract -The arameter-controlled virtual histogram distribution (PCVHD) method is roosed in this roject to enhance

More information

THE HELMHOLTZ RESONATOR TREE

THE HELMHOLTZ RESONATOR TREE THE HELMHOLTZ RESONATOR TREE Rafael C. D. Paiva and Vesa Välimäki Deartment of Signal Processing and Acoustics Aalto University, School of Electrical Engineering Esoo, Finland rafael.dias.de.aiva@aalto.fi

More information

An Efficient VLSI Architecture Parallel Prefix Counting With Domino Logic Λ

An Efficient VLSI Architecture Parallel Prefix Counting With Domino Logic Λ An Efficient VLSI Architecture Parallel Prefix Counting With Domino Logic Λ Rong Lin y Koji Nakano z Stehan Olariu x Albert Y. Zomaya Abstract We roose an efficient reconfigurable arallel refix counting

More information

Lab 4: The transformer

Lab 4: The transformer ab 4: The transformer EEC 305 July 8 05 Read this lab before your lab eriod and answer the questions marked as relaboratory. You must show your re-laboratory answers to the TA rior to starting the lab.

More information

Analysis of Mean Access Delay in Variable-Window CSMA

Analysis of Mean Access Delay in Variable-Window CSMA Sensors 007, 7, 3535-3559 sensors ISSN 44-80 007 by MDPI www.mdi.org/sensors Full Research Paer Analysis of Mean Access Delay in Variable-Window CSMA Marek Miśkowicz AGH University of Science and Technology,

More information

Delivery Delay Analysis of Network Coded Wireless Broadcast Schemes

Delivery Delay Analysis of Network Coded Wireless Broadcast Schemes 22 IEEE Wireless Communications and Networking Conference: Mobile and Wireless Networks Delivery Delay Analysis of Network Coded Wireless Broadcast Schemes Amy Fu and Parastoo Sadeghi The Australian National

More information

State-of-the-Art Verification of the Hard Driven GTO Inverter Development for a 100 MVA Intertie

State-of-the-Art Verification of the Hard Driven GTO Inverter Development for a 100 MVA Intertie State-of-the-Art Verification of the Hard Driven GTO Inverter Develoment for a 100 MVA Intertie P. K. Steimer, H. Grüning, J. Werninger R&D Drives and Power Electronics ABB Industrie AG CH-5300 Turgi,

More information

A toy-model for the regulation of cognitive radios

A toy-model for the regulation of cognitive radios A toy-model for the regulation of cognitive radios Kristen Woyach and Anant Sahai Wireless Foundations Deartment of EECS University of California at Berkeley Email: {kwoyach, sahai}@eecs.berkeley.edu Abstract

More information

Escaping from a Labyrinth with One-way Roads for Limited Robots

Escaping from a Labyrinth with One-way Roads for Limited Robots 1 Escaing from a Labyrinth with One-way Roads for Limited Robots Bernd Brüggemann Tom Kamhans Elmar Langetee FKIE, FGAN e.v., Bonn, Germany Institute of Comuter Science I, University of Bonn, Bonn, Germany

More information

Pin-Permutations and Structure in Permutation Classes

Pin-Permutations and Structure in Permutation Classes and Structure in Permutation Classes Frédérique Bassino Dominique Rossin Journées de Combinatoire de Bordeaux, feb. 2009 liafa Main result of the talk Conjecture[Brignall, Ruškuc, Vatter]: The pin-permutation

More information

Introduction to Computational Manifolds and Applications

Introduction to Computational Manifolds and Applications IMPA - Instituto de Matemática Pura e Aplicada, Rio de Janeiro, RJ, Brazil Introduction to Computational Manifolds and Applications Part 1 - Foundations Prof. Jean Gallier jean@cis.upenn.edu Department

More information

Influence of Earth Conductivity and Permittivity Frequency Dependence in Electromagnetic Transient Phenomena

Influence of Earth Conductivity and Permittivity Frequency Dependence in Electromagnetic Transient Phenomena Influence of Earth Conductivity and Permittivity Frequency Deendence in Electromagnetic Transient Phenomena C. M. Portela M. C. Tavares J. Pissolato ortelac@ism.com.br cristina@sel.eesc.sc.us.br isso@dt.fee.unicam.br

More information

University of Twente

University of Twente University of Twente Faculty of Electrical Engineering, Mathematics & Comuter Science Design of an audio ower amlifier with a notch in the outut imedance Remco Twelkemeijer MSc. Thesis May 008 Suervisors:

More information

RICIAN FADING DISTRIBUTION FOR 40GHZ CHANNELS

RICIAN FADING DISTRIBUTION FOR 40GHZ CHANNELS Jan 006 RICIAN FADING DISTRIBUTION FOR 40GHZ CHANNELS.0 Background and Theory Amlitude fading in a general multiath environment may follow different distributions deending recisely on the area covered

More information

Section II.9. Orbits, Cycles, and the Alternating Groups

Section II.9. Orbits, Cycles, and the Alternating Groups II.9 Orbits, Cycles, Alternating Groups 1 Section II.9. Orbits, Cycles, and the Alternating Groups Note. In this section, we explore permutations more deeply and introduce an important subgroup of S n.

More information

Game Theory. Lecture Notes By Y. Narahari. Department of Computer Science and Automation Indian Institute of Science Bangalore, India August 2012

Game Theory. Lecture Notes By Y. Narahari. Department of Computer Science and Automation Indian Institute of Science Bangalore, India August 2012 Game Theory Lecture Notes By Y. Narahari Department of Computer Science and Automation Indian Institute of Science Bangalore, India August 01 Rationalizable Strategies Note: This is a only a draft version,

More information

Control of Grid Integrated Voltage Source Converters under Unbalanced Conditions

Control of Grid Integrated Voltage Source Converters under Unbalanced Conditions Jon Are Suul Control of Grid Integrated Voltage Source Converters under Unbalanced Conditions Develoment of an On-line Frequency-adative Virtual Flux-based Aroach Thesis for the degree of Philosohiae Doctor

More information

Colour Image Enhancement by Hybrid Approach

Colour Image Enhancement by Hybrid Approach Colour Image Enhancement by Hybrid Aroach Zhengya Xu #1, Hong Ren Wu #, Xinghuo Yu #3 # School of Electrical and Comuter Engineering, Platform Technologies Research Institute, RMIT Uniersity 1 VIC 31,

More information

Slow-Wave Causal Model for Multi Layer Ceramic Capacitors

Slow-Wave Causal Model for Multi Layer Ceramic Capacitors DesignCon 26 Slow-Wave Causal Model for Multi ayer Ceramic Caacitors Istvan Novak Gustavo Blando Jason R. Miller Sun Microsystems, Inc. Tel: (781) 442 34, e-mail: istvan.novak@sun.com Abstract There is

More information

DVA325 Formal Languages, Automata and Models of Computation (FABER)

DVA325 Formal Languages, Automata and Models of Computation (FABER) DVA325 Formal Languages, Automata and Models of Computation (FABER) Lecture 1 - Introduction School of Innovation, Design and Engineering Mälardalen University 11 November 2014 Abu Naser Masud FABER November

More information

Parallel Operation of Dynex IGBT Modules Application Note Replaces October 2001, version AN AN July 2002

Parallel Operation of Dynex IGBT Modules Application Note Replaces October 2001, version AN AN July 2002 AN5505 Parallel Oeration of Dynex GB odules Alication Note Relaces October 2001, version AN5505-1.2 AN5505-1.3 July 2002 NRODUCON GB modules can be connected in arallel to create a switch with a higher

More information

Postprocessed time-delay interferometry for LISA

Postprocessed time-delay interferometry for LISA PHYSICAL REVIEW D, VOLUME 70, 081101(R) Postrocessed time-delay interferometry for LISA D. A. Shaddock,* B. Ware, R. E. Sero, and M. Vallisneri Jet Proulsion Laboratory, California Institute of Technology,

More information

(11) Bipolar Op-Amp. Op-Amp Circuits:

(11) Bipolar Op-Amp. Op-Amp Circuits: (11) O-Am Circuits: Biolar O-Am Learning Outcome Able to: Describe and analyze the dc and ac characteristics of the classic 741 biolar o-am circuit. eference: Neamen, Chater 13 11.0) 741 O-Am 11.1) Circuit

More information

Reliability and Criticality Analysis of Communication Networks by Stochastic Computation

Reliability and Criticality Analysis of Communication Networks by Stochastic Computation > EPLACE HIS LINE WIH YOU PAPE IDENIFICAION NUMBE (DOUBLE-CLICK HEE O EDI) < 1 eliability and Criticality Analysis of Communication Networks by Stochastic Comutation Peican Zhu, Jie Han, Yangming Guo and

More information

COMPARISON OF DIFFERENT CDGPS SOLUTIONS FOR ON-THE-FLY INTEGER AMBIGUITY RESOLUTION IN LONG BASELINE LEO FORMATIONS

COMPARISON OF DIFFERENT CDGPS SOLUTIONS FOR ON-THE-FLY INTEGER AMBIGUITY RESOLUTION IN LONG BASELINE LEO FORMATIONS COMPARISON OF DIFFERENT CDGPS SOLUTIONS FOR ON-THE-FLY INTEGER AMBIGUITY RESOLUTION IN LONG BASELINE LEO FORMATIONS Urbano Tancredi (1), Alfredo Renga (2), and Michele Grassi (3) (1) Deartment for Technologies,

More information

Spiking Neural Networks for Real-Time Infrared Images Processing in Thermo Vision Systems

Spiking Neural Networks for Real-Time Infrared Images Processing in Thermo Vision Systems Siking Neural Networks for Real-Time Infrared Images Processing in Thermo Vision Sstems Snejana Pleshkova Deartment of Telecommunications Technical Universit Kliment Ohridski, 8 Sofia aabbv@tu-sofia.bg

More information

Search then involves moving from state-to-state in the problem space to find a goal (or to terminate without finding a goal).

Search then involves moving from state-to-state in the problem space to find a goal (or to terminate without finding a goal). Search Can often solve a problem using search. Two requirements to use search: Goal Formulation. Need goals to limit search and allow termination. Problem formulation. Compact representation of problem

More information

Formal Composition for. Time-Triggered Systems

Formal Composition for. Time-Triggered Systems Formal Composition for Time-Triggered Systems John Rushby and Ashish Tiwari Rushby,Tiwari@csl.sri.com Computer Science Laboratory SRI International Menlo Park CA 94025 Rushby, Tiwari, SR I Formal Composition

More information

Capacity Gain From Two-Transmitter and Two-Receiver Cooperation

Capacity Gain From Two-Transmitter and Two-Receiver Cooperation 3822 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 53, NO. 10, OCTOBER 2007 Caacity Gain From Two-Transmitter and Two-Receiver Cooeration Chris T. K. Ng, Student Member, IEEE, Nihar Jindal, Member, IEEE,

More information

Wind Turbines and Radar - The Radar Cross Section RCS a Useful Figure for Safeguarding?

Wind Turbines and Radar - The Radar Cross Section RCS a Useful Figure for Safeguarding? 1 windturb3.dsf 3/7 Wind Turbines and Radar - The Radar Cross Section RCS a Useful Figure for Safeguarding? Gerhard Greving, Wolf-Dieter Biermann, Rolf Mundt NAVCOM Consult Ziegelstr. 43 D-7167 Marbach

More information

Chapter 7 Local Navigation: Obstacle Avoidance

Chapter 7 Local Navigation: Obstacle Avoidance Chater 7 Local Navigation: Obstacle Avoidance A mobile robot must navigate from one oint to another in its environment. This can be a simle task, for examle, if a robot can follow an unobstructed line

More information

Game theory lecture 5. October 5, 2013

Game theory lecture 5. October 5, 2013 October 5, 2013 In normal form games one can think that the players choose their strategies simultaneously. In extensive form games the sequential structure of the game plays a central role. In this section

More information

Approximated fast estimator for the shape parameter of generalized Gaussian distribution for a small sample size

Approximated fast estimator for the shape parameter of generalized Gaussian distribution for a small sample size BULLETIN OF THE POLISH ACADEMY OF SCIENCES TECHNICAL SCIENCES, Vol. 63, No. 2, 2015 DOI: 10.1515/basts-2015-0046 Aroximated fast estimator for the shae arameter of generalized Gaussian distribution for

More information

SF2972: Game theory. Mark Voorneveld, February 2, 2015

SF2972: Game theory. Mark Voorneveld, February 2, 2015 SF2972: Game theory Mark Voorneveld, mark.voorneveld@hhs.se February 2, 2015 Topic: extensive form games. Purpose: explicitly model situations in which players move sequentially; formulate appropriate

More information

Joint Tx/Rx Energy-Efficient Scheduling in Multi-Radio Networks: A Divide-and-Conquer Approach

Joint Tx/Rx Energy-Efficient Scheduling in Multi-Radio Networks: A Divide-and-Conquer Approach Joint Tx/Rx Energy-Efficient Scheduling in Multi-Radio Networs: A Divide-and-Conquer Aroach Qingqing Wu, Meixia Tao, and Wen Chen Deartment of Electronic Engineering, Shanghai Jiao Tong University, Shanghai,

More information

Interactive Multi-Modal Robot Programming

Interactive Multi-Modal Robot Programming Interactive Multi-Modal Robot Programming Soshi Iba, Christiaan J.J. Paredis 3, and Pradee K. Khosla, ) he Robotics Institute, Carnegie Mellon University ) Electrical and Comuter Engineering, Carnegie

More information

Computational Complexity of Generalized Push Fight

Computational Complexity of Generalized Push Fight Comutational Comlexity of Generalized Push Fight Jeffrey Bosboom MIT CSAIL, 32 Vassar Street, Cambridge, MA 2139, USA jbosboom@csail.mit.edu Erik D. Demaine MIT CSAIL, 32 Vassar Street, Cambridge, MA 2139,

More information

Modeling and simulation of level control phenomena in a non-linear system

Modeling and simulation of level control phenomena in a non-linear system www.ijiarec.com ISSN:2348-2079 Volume-5 Issue- International Journal of Intellectual Advancements and Research in Engineering Comutations Modeling and simulation of level control henomena in a non-linear

More information

Computational Complexity of Generalized Push Fight

Computational Complexity of Generalized Push Fight 1 2 3 4 5 6 7 8 9 1 11 12 13 14 15 16 17 18 19 2 21 22 23 24 25 26 Comutational Comlexity of Generalized Push Fight Jeffrey Bosboom MIT CSAIL, 32 Vassar Street, Cambridge, MA 2139, USA jbosboom@csail.mit.edu

More information

Full Bridge Single Stage Electronic Ballast for a 250 W High Pressure Sodium Lamp

Full Bridge Single Stage Electronic Ballast for a 250 W High Pressure Sodium Lamp Full Bridge Single Stage Electronic Ballast for a 50 W High Pressure Sodium am Abstract In this aer will be reorted the study and imlementation of a single stage High Power Factor (HPF) electronic ballast

More information

Ground Clutter Canceling with a Regression Filter

Ground Clutter Canceling with a Regression Filter 1364 JOURNAL OF ATMOSPHERIC AND OCEANIC TECHNOLOGY VOLUME 16 Ground Clutter Canceling with a Regression Filter SEBASTIÁN M. TORRES Cooerative Institute for Mesoscale Meteorological Studies, Norman, Oklahoma

More information

SIZE OF THE SET OF RESIDUES OF INTEGER POWERS OF FIXED EXPONENT

SIZE OF THE SET OF RESIDUES OF INTEGER POWERS OF FIXED EXPONENT SIZE OF THE SET OF RESIDUES OF INTEGER POWERS OF FIXED EXPONENT RICHARD J. MATHAR Abstract. The ositive integers corime to some integer m generate the abelian grou (Z/nZ) of multilication modulo m. Admitting

More information

CHAPTER 5 INTERNAL MODEL CONTROL STRATEGY. The Internal Model Control (IMC) based approach for PID controller

CHAPTER 5 INTERNAL MODEL CONTROL STRATEGY. The Internal Model Control (IMC) based approach for PID controller CHAPTER 5 INTERNAL MODEL CONTROL STRATEGY 5. INTRODUCTION The Internal Model Control (IMC) based aroach for PID controller design can be used to control alications in industries. It is because, for ractical

More information

Performance of Chaos-Based Communication Systems Under the Influence of Coexisting Conventional Spread-Spectrum Systems

Performance of Chaos-Based Communication Systems Under the Influence of Coexisting Conventional Spread-Spectrum Systems I TRANSACTIONS ON CIRCUITS AND SYTMS I: FUNDAMNTAL THORY AND APPLICATIONS, VOL. 50, NO., NOVMBR 2003 475 Performance of Chaos-Based Communication Systems Under the Influence of Coexisting Conventional

More information

Figure 1 7-chip Barker Coded Waveform

Figure 1 7-chip Barker Coded Waveform 3.0 WAVEFOM CODING 3.1 Introduction We now want to loo at waveform coding. We secifically want to loo at hase and frequency coding. Our first exosure to waveform coding was our study of LFM ulses. In that

More information

Lecture 2. 1 Nondeterministic Communication Complexity

Lecture 2. 1 Nondeterministic Communication Complexity Communication Complexity 16:198:671 1/26/10 Lecture 2 Lecturer: Troy Lee Scribe: Luke Friedman 1 Nondeterministic Communication Complexity 1.1 Review D(f): The minimum over all deterministic protocols

More information

Hydro-turbine governor control: theory, techniques and limitations

Hydro-turbine governor control: theory, techniques and limitations University of Wollongong Research Online Faculty of Engineering and Information Sciences - Paers: Part A Faculty of Engineering and Information Sciences 006 Hydro-turbine governor control: theory, techniques

More information