Skip to main content

Showing 1–33 of 33 results for author: Zhan, N

  1. arXiv:2407.08936  [pdf, ps, other

    cs.LO

    HHLPar: Automated Theorem Prover for Parallel Hybrid Communicating Sequential Processes

    Authors: Xiangyu Jin, Bohua Zhan, Shuling Wang, Naijun Zhan

    Abstract: We present a tool called HHLPar for verifying hybrid systems modelled in Hybrid Communicating Sequential Processes (HCSP). HHLPar is built upon a Hybrid Hoare Logic for HCSP, which is able to reason about continuous-time properties of differential equations, as well as communication and parallel composition of parallel HCSP processes with the help of parameterised trace assertions and their synchr… ▽ More

    Submitted 11 July, 2024; originally announced July 2024.

  2. arXiv:2407.00625  [pdf, other

    cs.LO

    Nonlinear Craig Interpolant Generation over Unbounded Domains by Separating Semialgebraic Sets

    Authors: Hao Wu, Jie Wang, Bican Xia, Xiakun Li, Naijun Zhan, Ting Gan

    Abstract: Interpolation-based techniques become popular in recent years, as they can improve the scalability of existing verification techniques due to their inherent modularity and local reasoning capabilities. Synthesizing Craig interpolants is the cornerstone of these techniques. In this paper, we investigate nonlinear Craig interpolant synthesis for two polynomial formulas of the general form, essenti… ▽ More

    Submitted 30 June, 2024; originally announced July 2024.

    Comments: 21 pages (with appendix); accepted by the 26th International Symposium on Formal Methods (FM2024)

  3. arXiv:2406.16588  [pdf, other

    eess.SY cs.FL

    Switching Controller Synthesis for Hybrid Systems Against STL Formulas

    Authors: Han Su, Shenghua Feng, Sinong Zhan, Naijun Zhan

    Abstract: Switching controllers play a pivotal role in directing hybrid systems (HSs) towards the desired objective, embodying a ``correct-by-construction'' approach to HS design. Identifying these objectives is thus crucial for the synthesis of effective switching controllers. While most of existing works focus on safety and liveness, few of them consider timing constraints. In this paper, we delves into t… ▽ More

    Submitted 24 June, 2024; originally announced June 2024.

  4. arXiv:2403.17567  [pdf, other

    cs.PL

    Piecewise Linear Expectation Analysis via $k$-Induction for Probabilistic Programs

    Authors: Tengshun Yang, Hongfei Fu, Jingyu Ke, Naijun Zhan, Shiyang Wu

    Abstract: Quantitative analysis of probabilistic programs aims at deriving tight numerical bounds for probabilistic properties such as expectation and assertion probability, and plays a crucial role in the verification of probabilistic programs. Along this line of research, most existing works consider numerical bounds over the whole state space monolithically and do not consider piecewise bounds. Clearly,… ▽ More

    Submitted 26 March, 2024; originally announced March 2024.

  5. arXiv:2403.03035  [pdf, other

    cs.PL

    Mars 2.0: A Toolchain for Modeling, Analysis, Verification and Code Generation of Cyber-Physical Systems

    Authors: Bohua Zhan, Xiong Xu, Qiang Gao, Zekun Ji, Xiangyu Jin, Shuling Wang, Naijun Zhan

    Abstract: We introduce Mars 2.0 for modeling, analysis, verification and code generation of Cyber-Physical Systems. Mars 2.0 integrates Mars 1.0 with several important extensions and improvements, allowing the design of cyber-physical systems using the combination of AADL and Simulink/Stateflow, which provide a unified graphical framework for modeling the functionality, physicality and architecture of the s… ▽ More

    Submitted 5 March, 2024; originally announced March 2024.

  6. arXiv:2402.15674  [pdf, other

    cs.PL

    Formally Verified C Code Generation from Hybrid Communicating Sequential Processes

    Authors: Shuling Wang, Zekun Ji, Bohua Zhan, Xiong Xu, Qiang Gao, Naijun Zhan

    Abstract: Hybrid Communicating Sequential Processes (HCSP) is a formal model for hybrid systems, including primitives for evolution along an ordinary differential equation (ODE), communication, and parallel composition. Code generation is needed to convert HCSP models into code that can be executed in practice, and the correctness of this conversion is essential to ensure that the generated code accurately… ▽ More

    Submitted 26 February, 2024; v1 submitted 23 February, 2024; originally announced February 2024.

  7. arXiv:2310.11133  [pdf, other

    cs.PL

    Synthesizing Invariants for Polynomial Programs by Semidefinite Programming

    Authors: Hao Wu, Qiuye Wang, Bai Xue, Naijun Zhan, Lihong Zhi, Zhihong Yang

    Abstract: Constraint-solving-based program invariant synthesis involves taking a parametric template, encoding the invariant conditions, and attempting to solve the constraints to obtain a valid assignment of parameters. The challenge lies in that the resulting constraints are often non-convex and lack efficient solvers. Consequently, existing works mostly rely on heuristic algorithms or general-purpose sol… ▽ More

    Submitted 17 October, 2023; originally announced October 2023.

    Comments: 26 pages, 4 figures, in submission

    ACM Class: F.3.1; G.1.6

  8. arXiv:2303.15020  [pdf, ps, other

    cs.LO

    A Generalized Hybrid Hoare Logic

    Authors: Naijun Zhan, Xiangyu Jin, Bohua Zhan, Shuling Wang, Dimitar Guelev

    Abstract: Deductive verification of hybrid systems (HSs) increasingly attracts more attention in recent years because of its power and scalability, where a powerful specification logic for HSs is the cornerstone. Often, HSs are naturally modelled by concurrent processes that communicate with each other. However, existing specification logics cannot easily handle such models. In this paper, we present a spec… ▽ More

    Submitted 13 July, 2024; v1 submitted 27 March, 2023; originally announced March 2023.

  9. arXiv:2302.06082  [pdf, other

    cs.LO math.PR

    Lower Bounds for Possibly Divergent Probabilistic Programs

    Authors: Shenghua Feng, Mingshuai Chen, Han Su, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Naijun Zhan

    Abstract: We present a new proof rule for verifying lower bounds on quantities of probabilistic programs. Our proof rule is not confined to almost-surely terminating programs -- as is the case for existing rules -- and can be used to establish non-trivial lower bounds on, e.g., termination probabilities and expected values, for possibly divergent probabilistic loops, e.g., the well-known three-dimensional r… ▽ More

    Submitted 12 February, 2023; originally announced February 2023.

    Comments: Paper conditionally accepted by OOPSLA 2023

  10. arXiv:2209.09703  [pdf, other

    cs.LO math.DS

    Encoding inductive invariants as barrier certificates: synthesis via difference-of-convex programming

    Authors: Qiuye Wang, Mingshuai Chen, Bai Xue, Naijun Zhan, Joost-Pieter Katoen

    Abstract: A barrier certificate often serves as an inductive invariant that isolates an unsafe region from the reachable set of states, and hence is widely used in proving safety of hybrid systems possibly over an infinite time horizon. We present a novel condition on barrier certificates, termed the invariant barrier-certificate condition, that witnesses unbounded-time safety of differential dynamical syst… ▽ More

    Submitted 20 September, 2022; originally announced September 2022.

    Comments: To be published in Inf. Comput. arXiv admin note: substantial text overlap with arXiv:2105.14311

  11. arXiv:2207.11965  [pdf, other

    cs.FL

    Machine-checked executable semantics of Stateflow

    Authors: Shicheng Yi, Shuling Wang, Bohua Zhan, Naijun Zhan

    Abstract: Simulink is a widely used model-based development environment for embedded systems. Stateflow is a component of Simulink for modeling event-driven control via hierarchical state machines and flow charts. However, Stateflow lacks an official formal semantics, making it difficult to formally prove properties of its models in safety-critical applications. In this paper, we define a formal semantics f… ▽ More

    Submitted 25 July, 2022; originally announced July 2022.

    Comments: 26 pages

  12. arXiv:2206.00279  [pdf, other

    cs.CR cs.FL

    Defensive Design of Saturating Counters Based on Differential Privacy

    Authors: Depeng Liu, Lutan Zhao, Pengfei Yang, Bow-Yaw Wang, Rui Hou, Lijun Zhang, Naijun Zhan

    Abstract: The saturating counter is the basic module of the dynamic branch predictor, which involves the core technique to improve instruction level parallelism performance in modern processors. However, most studies focus on the performance improvement and hardware consumption of saturating counters, while ignoring the security problems they may cause. In this paper, we creatively propose to study and desi… ▽ More

    Submitted 1 June, 2022; originally announced June 2022.

  13. arXiv:2105.14311  [pdf, other

    cs.LO

    Synthesizing Invariant Barrier Certificates via Difference-of-Convex Programming

    Authors: Qiuye Wang, Mingshuai Chen, Bai Xue, Naijun Zhan, Joost-Pieter Katoen

    Abstract: A barrier certificate often serves as an inductive invariant that isolates an unsafe region from the reachable set of states, and hence is widely used in proving safety of hybrid systems possibly over the infinite time horizon. We present a novel condition on barrier certificates, termed the invariant barrier-certificate condition, that witnesses unbounded-time safety of differential dynamical sys… ▽ More

    Submitted 29 May, 2021; originally announced May 2021.

    Comments: To be published in Proc. of CAV 2021

  14. arXiv:2101.09230  [pdf, other

    cs.LG econ.GN

    Where does the Stimulus go? Deep Generative Model for Commercial Banking Deposits

    Authors: Ni Zhan

    Abstract: This paper examines deposits of individuals ("retail") and large companies ("wholesale") in the U.S. banking industry, and how these deposit types are impacted by macroeconomic factors, such as quantitative easing (QE). Actual data for deposits by holder are unavailable. We use a dataset on banks' financial information and probabilistic generative model to predict industry retail-wholesale deposit… ▽ More

    Submitted 22 January, 2021; originally announced January 2021.

    Journal ref: NeurIPS 2020 workshop on ML for Economic Policy

  15. arXiv:2101.09214  [pdf, other

    cs.LG q-fin.CP

    Graphical Models for Financial Time Series and Portfolio Selection

    Authors: Ni Zhan, Yijia Sun, Aman Jakhar, He Liu

    Abstract: We examine a variety of graphical models to construct optimal portfolios. Graphical models such as PCA-KMeans, autoencoders, dynamic clustering, and structural learning can capture the time varying patterns in the covariance matrix and allow the creation of an optimal and robust portfolio. We compared the resulting portfolios from the different models with baseline methods. In many cases our graph… ▽ More

    Submitted 22 January, 2021; originally announced January 2021.

    Comments: Published at ACM International Conference on AI in Finance (ICAIF '20)

  16. arXiv:1910.10680  [pdf, ps, other

    cs.FL

    Learning One-Clock Timed Automata

    Authors: Jie An, Mingshuai Chen, Bohua Zhan, Naijun Zhan, Miaomiao Zhang

    Abstract: We present an algorithm for active learning of deterministic timed automata with a single clock. The algorithm is within the framework of Angluin's $L^*$ algorithm and inspired by existing work on the active learning of symbolic automata. Due to the need of guessing for each transition whether it resets the clock, the algorithm is of exponential complexity in the size of the learned automata. Befo… ▽ More

    Submitted 26 March, 2020; v1 submitted 23 October, 2019; originally announced October 2019.

    Comments: Full version of the paper in TACAS2020

  17. arXiv:1905.11625  [pdf, other

    cs.LO cs.LG

    NIL: Learning Nonlinear Interpolants

    Authors: Mingshuai Chen, Jian Wang, Jie An, Bohua Zhan, Deepak Kapur, Naijun Zhan

    Abstract: Nonlinear interpolants have been shown useful for the verification of programs and hybrid systems in contexts of theorem proving, model checking, abstract interpretation, etc. The underlying synthesis problem, however, is challenging and existing methods have limitations on the form of formulae to be interpolated. We leverage classification techniques with space transformations and kernel tricks a… ▽ More

    Submitted 28 August, 2019; v1 submitted 28 May, 2019; originally announced May 2019.

    Comments: Full version of the paper in Proc. of CADE-27, with typos corrected

  18. arXiv:1903.01297  [pdf, other

    cs.FL

    Nonlinear Craig Interpolant Generation

    Authors: Ting Gan, Bican Xia, Bai Xue, Naijun Zhan, Liyun Dai

    Abstract: Interpolation-based techniques have become popularized in recent years because of their inherently modular and local reasoning, which can scale up existing formal verification techniques like theorem proving, model-checking, abstraction interpretation, and so on, while the scalability is the bottleneck of these techniques. Craig interpolant generation plays a central role in interpolation-based te… ▽ More

    Submitted 10 May, 2020; v1 submitted 4 March, 2019; originally announced March 2019.

    Comments: 32 pages, 4 figures

  19. arXiv:1811.11454  [pdf, other

    cs.DM math.OC

    Robust Invariant Sets Computation for Switched Discrete-Time Polynomial Systems

    Authors: Bai Xue, Naijun Zhan

    Abstract: In this paper we study the robust invariant sets generation problem for discrete-time switched polynomial systems subject to disturbance inputs within the optimal control framework. A robust invariant set of interest is a set of states such that every possible trajectory starting from it never leaves a specified safe set, regardless of actual disturbances. The maximal robust invariant set is shown… ▽ More

    Submitted 19 March, 2021; v1 submitted 28 November, 2018; originally announced November 2018.

    Comments: This paper is accepted by IEEE TAC. The title is changed to 'Robust Invariant Sets Computation for Discrete-Time Perturbed Nonlinear Systems'

  20. arXiv:1809.07177  [pdf, other

    cs.FL cs.LO eess.SY

    Parameter Synthesis Problems for one parametric clock Timed Automata

    Authors: Liyun Dai, Taolue Chen, Zhiming Liu, Bican Xia, Naijun Zhan, Kim G. Larsen

    Abstract: In this paper, we study the parameter synthesis problem for a class of parametric timed automata. The problem asks to construct the set of valuations of the parameters in the parametric timed automa- ton, referred to as the feasible region, under which the resulting timed automaton satisfies certain properties. We show that the parameter syn- thesis problem of parametric timed automata with only o… ▽ More

    Submitted 15 September, 2018; originally announced September 2018.

    Comments: 20 pages, 1 figure. arXiv admin note: substantial text overlap with arXiv:1808.06792

  21. arXiv:1802.03254  [pdf, other

    cs.CV

    Triplet-based Deep Similarity Learning for Person Re-Identification

    Authors: Wentong Liao, Michael Ying Yang, Ni Zhan, Bodo Rosenhahn

    Abstract: In recent years, person re-identification (re-id) catches great attention in both computer vision community and industry. In this paper, we propose a new framework for person re-identification with a triplet-based deep similarity learning using convolutional neural networks (CNNs). The network is trained with triplet input: two of them have the same class labels and the other one is different. It… ▽ More

    Submitted 9 February, 2018; originally announced February 2018.

    Comments: ICCV Workshops 2017

  22. arXiv:1709.09019  [pdf, other

    cs.LO

    Synthesizing SystemC Code from Delay Hybrid CSP

    Authors: Gaogao Yan, Li Jiao, Shuling Wang, Naijun Zhan

    Abstract: Delay is omnipresent in modern control systems, which can prompt oscillations and may cause deterioration of control performance, invalidate both stability and safety properties. This implies that safety or stability certificates obtained on idealized, delay-free models of systems prone to delayed coupling may be erratic, and further the incorrectness of the executable code generated from these mo… ▽ More

    Submitted 19 September, 2017; originally announced September 2017.

  23. arXiv:1707.02690  [pdf, ps, other

    cs.LO

    Finding polynomial loop invariants for probabilistic programs

    Authors: Yijun Feng, Lijun Zhang, David N. Jansen, Naijun Zhan, Bican Xia

    Abstract: Quantitative loop invariants are an essential element in the verification of probabilistic programs. Recently, multivariate Lagrange interpolation has been applied to synthesizing polynomial invariants. In this paper, we propose an alternative approach. First, we fix a polynomial template as a candidate of a loop invariant. Using Stengle's Positivstellensatz and a transformation to a sum-of-square… ▽ More

    Submitted 10 July, 2017; originally announced July 2017.

    Comments: accompanies an ATVA 2017 submission

  24. arXiv:1706.06246  [pdf, ps, other

    cs.LO

    Compositional Hoare-style Reasoning about Hybrid CSP in the Duration Calculus

    Authors: Dimitar Guelev, Shuling Wang, Naijun Zhan

    Abstract: Deductive methods for the verification of hybrid systems vary on the format of statements in correctness proofs. Building on the example of Hoare triple-based reasoning, we have investigated several such methods for systems described in Hybrid CSP, each based on a different assertion language, notation for time, and notation for proofs, and each having its pros and cons with respect to expressive… ▽ More

    Submitted 27 June, 2017; v1 submitted 19 June, 2017; originally announced June 2017.

  25. arXiv:1609.00091  [pdf, ps, other

    cs.LO

    Approximate Bisimulation and Discretization of Hybrid CSP

    Authors: Gaogao Yan, Li Jiao, Yangjia Li, Shuling Wang, Naijun Zhan

    Abstract: Hybrid Communicating Sequential Processes (HCSP) is a powerful formal modeling language for hybrid systems, which is an extension of CSP by introducing differential equations for modeling continuous evolution and interrupts for modeling interaction between continuous and discrete dynamics. In this paper, we investigate the semantic foundation for HCSP from an operational point of view by proposing… ▽ More

    Submitted 7 September, 2016; v1 submitted 31 August, 2016; originally announced September 2016.

    Comments: FM 2016, Proof Appendix, HCSP, approximately bisimilar, hybrid systems, discretization

  26. arXiv:1601.04802  [pdf, other

    cs.LO

    Interpolation synthesis for quadratic polynomial inequalities and combination with EUF

    Authors: Ting Gan, Liyun Dai, Bican Xia, Naijun Zhan, Deepak Kapur, Mingshuai Chen

    Abstract: An algorithm for generating interpolants for formulas which are conjunctions of quadratic polynomial inequalities (both strict and nonstrict) is proposed. The algorithm is based on a key observation that quadratic polynomial inequalities can be linearized if they are concave. A generalization of Motzkin's transposition theorem is proved, which is used to generate an interpolant between two mutuall… ▽ More

    Submitted 10 November, 2016; v1 submitted 19 January, 2016; originally announced January 2016.

    Comments: 40 pages, 1 figures

    ACM Class: D.2.4

  27. arXiv:1601.03835  [pdf, ps, other

    cs.LO

    A Theorem Prover for Quantum Hoare Logic and Its Applications

    Authors: Tao Liu, Yangjia Li, Shuling Wang, Mingsheng Ying, Naijun Zhan

    Abstract: Quantum Hoare Logic (QHL) was introduced in Ying's work to specify and reason about quantum programs. In this paper, we implement a theorem prover for QHL based on Isabelle/HOL. By applying the theorem prover, verifying a quantum program against a specification is transformed equivalently into an order relation between matrices. Due to the limitation of Isabelle/HOL, the calculation of the order r… ▽ More

    Submitted 15 January, 2016; originally announced January 2016.

  28. arXiv:1510.05201  [pdf, ps, other

    cs.PL cs.SC

    On Termination of Polynomial Programs with Equality Conditions

    Authors: Yangjia Li, Naijun Zhan, Mingshuai Chen, Hui Lu, Guohua Wu, Joost-Pieter Katoen

    Abstract: We investigate the termination problem of a family of multi-path polynomial programs (MPPs), in which all assignments to program variables are polynomials, and test conditions of loops and conditional statements are polynomial equalities. We show that the set of non-terminating inputs (NTI) of such a program is algorithmically computable, thus leading to the decidability of its termination. To the… ▽ More

    Submitted 1 September, 2020; v1 submitted 18 October, 2015; originally announced October 2015.

    MSC Class: 68Q60 (Primary) 68W30; 68Q17 (Secondary)

  29. arXiv:1509.01660  [pdf, ps, other

    cs.LO eess.SY

    Extending Hybrid CSP with Probability and Stochasticity

    Authors: Yu Peng, Shuling Wang, Naijun Zhan, Lijun Zhang

    Abstract: Probabilistic and stochastic behavior are omnipresent in computer controlled systems, in particular, so-called safety-critical hybrid systems, because of fundamental properties of nature, uncertain environments, or simplifications to overcome complexity. Tightly intertwining discrete, continuous and stochastic dynamics complicates modelling, analysis and verification of stochastic hybrid systems (… ▽ More

    Submitted 4 September, 2015; originally announced September 2015.

    Comments: The conference version of this paper is accepted by SETTA 2015

  30. arXiv:1304.0825  [pdf, ps, other

    eess.SY cs.SC math.NA

    Synthesizing Switching Controllers for Hybrid Systems by Continuous Invariant Generation

    Authors: Deepak Kapur, Naijun Zhan, Hengjun Zhao

    Abstract: We extend a template-based approach for synthesizing switching controllers for semi-algebraic hybrid systems, in which all expressions are polynomials. This is achieved by combining a QE (quantifier elimination)-based method for generating continuous invariants with a qualitative approach for predefining templates. Our synthesis method is relatively complete with regard to a given family of predef… ▽ More

    Submitted 2 April, 2013; originally announced April 2013.

  31. arXiv:1302.4739  [pdf, other

    cs.LO

    Generating Non-Linear Interpolants by Semidefinite Programming

    Authors: Liyun Dai, Bican Xia, Naijun Zhan

    Abstract: Interpolation-based techniques have been widely and successfully applied in the verification of hardware and software, e.g., in bounded-model check- ing, CEGAR, SMT, etc., whose hardest part is how to synthesize interpolants. Various work for discovering interpolants for propositional logic, quantifier-free fragments of first-order theories and their combinations have been proposed. However, littl… ▽ More

    Submitted 3 March, 2013; v1 submitted 18 February, 2013; originally announced February 2013.

    Comments: 22 pages, 4 figures

  32. arXiv:1203.6025  [pdf, ps, other

    eess.SY cs.SC

    A "Hybrid" Approach for Synthesizing Optimal Controllers of Hybrid Systems: A Case Study of the Oil Pump Industrial Example

    Authors: Hengjun Zhao, Naijun Zhan, Deepak Kapur, Kim G. Larsen

    Abstract: In this paper, we propose an approach to reduce the optimal controller synthesis problem of hybrid systems to quantifier elimination; furthermore, we also show how to combine quantifier elimination with numerical computation in order to make it more scalable but at the same time, keep arising errors due to discretization manageable and within bounds. A major advantage of our approach is not only t… ▽ More

    Submitted 2 June, 2012; v1 submitted 26 March, 2012; originally announced March 2012.

  33. arXiv:1102.0705  [pdf, ps, other

    cs.SC cs.PL

    Computing Semi-algebraic Invariants for Polynomial Dynamical Systems

    Authors: Jiang Liu, Naijun Zhan, Hengjun Zhao

    Abstract: In this paper, we consider an extended concept of invariant for polynomial dynamical system (PDS) with domain and initial condition, and establish a sound and complete criterion for checking semi-algebraic invariants (SAI) for such PDSs. The main idea is encoding relevant dynamical properties as conditions on the high order Lie derivatives of polynomials occurring in the SAI. A direct consequence… ▽ More

    Submitted 21 July, 2011; v1 submitted 3 February, 2011; originally announced February 2011.

    Comments: 28 pages

    ACM Class: I.1.2; D.2.4