Formalization of Laplace Transform using the Multivariable ...
Transcript of Formalization of Laplace Transform using the Multivariable ...
Formalization of Laplace Transform using theMultivariable Calculus Theory of HOL-Light
Hira Taqdees and Osman Hasan
System Analysis & Verification (SAVe) Lab,
National University of Sciences and Technology (NUST),Islamabad, Pakistan
LPAR-19Stellenbosch, South Africa
December 15, 2013
Formalization of Laplace Transform using HOL-Light
Outline
qIntroduction
qMotivation
qFormalization Details
qCase StudyqLinear Transfer Converter (LTC) circuit
qConclusionsO. Hasan 2
Formalization of Laplace Transform using HOL-Light
Laplace Transform
qIntegral transform methodqPierre Simon Laplace 1749–1827
qMathematically represented by the following improper integral
qA linear operatorqInput: Time varying function, i.e., a function f(t) with a
real argument t (t ≥ 0)qOutput: F(s) with complex argument s
O. Hasan 3
Formalization of Laplace Transform using HOL-Light
Laplace Transform –Key Benefits and Utilizations
q Solve linear Ordinary Differential Equations(ODEs) using simple algebraic techniques
qObtain concise and useful input/output relationships (Transfer Functions) for systemsqWidely used in Control System and Analog Circuit
Design
O. Hasan 4
Formalization of Laplace Transform using HOL-Light
Laplace Transform - Example
O. Hasan
Inverse Laplace
Taking Laplace Transform on Both sides
Using the Laplace of a differential and the Linearity of Laplace Properties
Transfer Function
Laplace of sine
Solution in time domain5
Formalization of Laplace Transform using HOL-Light
Real-World Applications for Laplace TransformsqIntegral part of analyzing many physical systems
qAerodynamic systemsqCircuit Analysis
qControl systemsqMechanical networks
qAnalogue filters
O. Hasan 6
Formalization of Laplace Transform using HOL-Light
Criteria Paper-and-
Pencil Proof
Simulation/SymbolicMethods
AutomatedFormal
Methods(MC, ATP)
Computer Algebra Systems
Higher-order-logic Proof Assistants
Expressiveness
Accuracy
Automation
Laplace Transform based Analysis
O. Hasan 7
?
Formalization of Laplace Transform using HOL-Light
Proposed Approach for Verifying Transfer Functions
O. Hasan 8
Higher-order Logic
HOL-Light Multivariable
Calculus Theories
Formalized Definition of
Laplace Transform
Supporting Theorems (Integral Comparison
Test etc)
Formally Verified Properties of Laplace Transform
Differential Equation
Transfer Function
Formal Model
Theorems
HOL-Light Theorem Prover
Formalization of Laplace Transform using HOL-Light
Formal Definition of Laplace TransformqMathematical definition
O. Hasan 9
Definition : Laplace Transform
Definition : Conditions for Laplace Existence
Formalization of Laplace Transform using HOL-Light
Formalized Laplace Transform Properties
O. Hasan 10
Formalization of Laplace Transform using HOL-Light
Formalized Laplace Transform Properties
§ 5000 lines of HOL-Light code and approximately 800 man-hours
O. Hasan 11
Formalization of Laplace Transform using HOL-Light
Case Study: Linear Transfer Converter (LTC) circuitqConverts the voltage and current levels in power
electronics systems
qFunctional correctness of power systems depends on design and stability of LTC
O. Hasan 12
Differential Equation:
Transfer Function:
Formalization of Laplace Transform using HOL-Light
Linear Transfer Converter (LTC) circuit
O. Hasan 13
Definition : Differential Equation of LTC
Definition : Differential Equation
Differential Equation:
Formalization of Laplace Transform using HOL-Light
Linear Transfer Converter (LTC)
q 650 lines of HOL-Light code and the proof process took just a couple of hours
O. Hasan 14
Theorem : Transfer Function of LTC
Formalization of Laplace Transform using HOL-Light
Conclusions
qFormalization of Laplace transform theory using higher-order logicqMultivariable Calculus Theory of HOL-Light
qAdvantagesqAccurate ResultsqReduction in user-effort while formally analyzing
Physical Systems that involve Differential Equations
qCase Study: Transfer function verification of LTC circuit
O. Hasan 15
Formalization of Laplace Transform using HOL-Light
Future Directions
qApplication of Laplace transform theory in Analog and Mixed Signal circuits and controls engineering
qFormalization of Inverse Laplace transform
qFormalization of Fourier transform
O. Hasan 16
Formalization of Laplace Transform using HOL-Light
Thanks!
qFor More InformationqVisit our website
§ http://save.seecs.nust.edu.pk
qContact§ [email protected]
O. Hasan 17
Formalization of Laplace Transform using HOL-Light
Formalized Laplace Transform
O. Hasan 19
Definition 3: Exponential Order Function
Formalization of Laplace Transform using HOL-Light
Laplace Transform
qProvides compact representation of the overall behavior of the given time varying function
qs-plane representation depicts frequency and phase of sinusoidal signal
O. Hasan 20
Transformation
Laplace
t
A
Sinusoidal Function
σ
j𝝎
x
x
Unit Circle
s-plane(s=angular frequency)
Poles
Formalization of Laplace Transform using HOL-Light
HOL-Light
qMultivariable calculus theoriesqIntegral theoryqDifferential theory
qTranscendental theoryqTopological theory
qComplex analysis theory
qReal number theory
qNatural number theory
O. Hasan 21
Formalization of Laplace Transform using HOL-Light
Limit Existence of Laplace TransformqProof Steps
O. Hasan 22
Split the complex integrand into real and imaginary parts
Convert both complex integrals to their corresponding real integral and split the complex limit to both integrals
Using formalized integral comparison test, prove the convergence of each integral
In our case, g is Mexp(αt)
Lemma 3: Comparison Test for Improper Integrals
Lemma 1: Relationship between the Real and Complex IntegralLemma 2: Limit of a Complex-Valued Function