Zhou Chaochen and Duration Calculus
Abstract
Zhou Chaochen (周巢尘, born 1937) is a Chinese computer scientist who spent much of his career between Beijing, Oxford, Lyngby, and Macau. In 1981, as a visitor in Tony Hoare’s group at Oxford, he co-wrote one of the first proof systems for Hoare’s Communicating Sequential Processes. A decade later, with Hoare and the Danish computer scientist Anders P. Ravn, he introduced the Duration Calculus, an interval logic that lets an engineer state how long a system may spend in a state, such as how many seconds a gas burner may leak, and prove a design meets that bound. He was director of the United Nations University’s software institute in Macau from 1997 to 2002.
Beijing
Zhou was born in Shanghai on 1 November 1937. He graduated from the Department of Mathematics and Mechanics of Peking University in 1958 and completed graduate studies at the Institute of Computing Technology of the Chinese Academy of Sciences in 1967, under the logician Hu Shihua (胡世华). Mathematical logic, which he learned there, stayed the tool of his working life.
Oxford, 1981
By 1981 Zhou was working at the Programming Research Group in Oxford, where Tony Hoare had published Communicating Sequential Processes (CSP) in 1978, a notation for programs made of parallel processes that talk to each other over channels. The notation said how such programs behave. It did not yet say how to prove anything about them.
Zhou and Hoare supplied a first answer: a set of inference rules for proving partial correctness of communicating processes, together with a denotational semantics showing that the rules were sound. Their paper was presented at the Second International Conference on Distributed Computing Systems in Paris on 8 April 1981. A companion paper, given at a workshop at Teddington on 28 May 1981, applied the method to communication protocols and worked through the HDLC data-link protocol level by level. Both carry Zhou’s double affiliation, Oxford and the Institute of Computing Technology in Peking, and both appeared that May as Oxford technical monograph PRG-20. The China Computer Federation later counted this compositional verification method for distributed systems among his main results. Back in Beijing, his work on distributed programming earned a second-class National Natural Science Award in 1987, and from June 1986 he was a research professor at the Academy’s Institute of Software.
Lyngby
In 1981 the Danish computer scientist Dines Bjørner gave a three-week lecture tour at the Institute of Computing Technology. Hoare had told him to look out for a young researcher named Zhou, and Bjørner carried an invitation letter for him in his pocket. On the first day, seated in a row of armchairs at the official reception, he asked where Zhou could be found. The answer was that Zhou was sitting next to him.
Through the 1980s Zhou spent three months every other winter at the Technical University of Denmark in Lyngby. For the 1989 visit Bjørner had arranged for him to bring his family, three months in Lyngby and three in Oxford. The events in Beijing in early June put the plan in doubt, but the family arrived on 1 July. Bjørner then telephoned Hoare from his office with Zhou beside him and announced a three-year appointment he had not actually offered yet: eight months a year in Lyngby, four in Oxford. Hoare replied that he had pictured it the other way around. Zhou chose Bjørner’s version. His wife Zhang Yiping and their children lived in Oxford, and Zhou commuted.
The Duration Calculus
The setting was ProCoS (“Provably Correct Systems”), a European ESPRIT basic research project that ran from May 1989 to February 1992, coordinated from Lyngby, with partners including Oxford and Kiel. At a ProCoS meeting in Viborg, the Danish engineer E. V. Sørensen gave a talk on signal transitions in electrical circuits that mentioned the idea of a duration. Bjørner remembered afterwards finding Zhou, Ravn, and Hoare in an adjacent room, standing at a whiteboard.
The result was “A calculus of durations,” published by Zhou, Hoare, and Ravn in Information Processing Letters in December 1991. The calculus treats time as the real numbers and each state of a system as a Boolean function of time. Its basic term is the integral of a state over an interval, written ∫S, which measures how long S was true during that interval; ℓ stands for the length of the interval itself. Formulas are built on interval temporal logic, so a requirement can say something about every interval of a given kind. The China Computer Federation’s citation describes it as the first time the integral, a concept of continuous mathematics, was brought into computer science in this way.
The test case came from ProCoS too. Sørensen had presented a gas burner controller as a case study, and Ravn, Hans Rischel, and Kirsten M. Hansen used it to show the new logic at work. In their version gas must never leak for more than 4 seconds in any period of at most 30 seconds. With Leak as the state “gas on, no flame”, that becomes a short formula: every interval with ℓ ≤ 30 satisfies ∫Leak ≤ 4. Design decisions are written as formulas in the same way, and showing that they imply the requirement is a proof in the logic. The burner was reused well beyond ProCoS; in 1993 Leslie Lamport specified the same burner in his TLA+ to compare the two approaches.
Macau
In May 1991 Bjørner, who had been asked to become director of the United Nations University International Institute for Software Technology (UNU-IIST) in Macau, decided on the flight home to ask Zhou to join him. The institute opened a year later, with Bjørner in charge of engineering and Zhou of theory. Zhou was elected to the Chinese Academy of Sciences in 1993. After Bjørner’s five years he served as director from August 1997 to September 2002, then returned to the Institute of Software in Beijing.
Work on the calculus went on in Lyngby and then at UNU-IIST. Zhou and Michael R. Hansen gave its formal semantics and a completeness result (1992); with Peter Sestoft they studied which fragments could be decided by machine (1993). Extensions followed for hybrid systems, which mix discrete control with continuous physics, and for probabilistic behaviour. Zhou and Hansen collected the theory in Duration Calculus: A Formal Approach to Real-Time Systems (Springer, 2004). By the China Computer Federation’s count, researchers from more than twenty countries joined the work.
Limits
Expressiveness had a price. The 1993 study with Hansen and Sestoft found that some fragments of the calculus can be decided by machine and others cannot, so automatic checking covers only part of the logic. Lamport put the trade-off bluntly in his 1993 comparison: the Duration Calculus “seems to work well for real-time properties; but it cannot express simple liveness properties”. The competing line of work, timed automata, was built for automatic model checking (see Formal Methods and Model Checking), and the China Computer Federation lists the two as the main approaches to formal design of real-time systems.
Honours
Zhou became a fellow of the Third World Academy of Sciences in 2000. In 2007 he and Bjørner were honoured together for their 70th birthdays with a symposium in Macau and the volume Formal Methods and Hybrid Real-Time Systems. At his 80th birthday celebration in Changsha in October 2017, Bjørner retold the story of the armchairs. The China Computer Federation gave him its Lifetime Achievement Award for 2018, calling him one of the pioneers of distributed programming theory in China.
📚 Sources
- Chinese Academy of Sciences: academician profile of 周巢尘 (born 1 November 1937 in Shanghai, Peking University 1958, graduate studies at the Institute of Computing Technology 1967, elected 1993)
- State Key Laboratory of Computer Science, Institute of Software, CAS: 院士专家 (周巢尘) (advisor Hu Shihua, doctoral supervisor from 1985, research professor from June 1986, 1987 National Natural Science Award, CAS 1993, TWAS 2000, UNU-IIST director 1997–2002, Duration Calculus in the early 1990s); English version Chaochen ZHOU
- Institute of Software, CAS: 院士专家 (UNU-IIST director August 1997 to September 2002, researchers from more than twenty countries)
- China Computer Federation: 周巢尘, CCF Lifetime Achievement Award 2018 (born November 1937, 1981 compositional verification method, 1991 Duration Calculus with British and Danish scientists, integral brought into computer science, interval temporal logic, more than twenty countries, Duration Calculus and timed automata as the two main approaches)
- Zhou Chao Chen and C. A. R. Hoare: “Partial Correctness of Communicating Processes and Protocols”, Technical Monograph PRG-20, Oxford University Computing Laboratory, May 1981 (scan) (affiliations, ICDCS Paris 8 April 1981, Teddington 28 May 1981, HDLC example)
- Zhou Chaochen and C. A. R. Hoare: “Partial Correctness of Communicating Sequential Processes”, Proc. 2nd International Conference on Distributed Computing Systems, IEEE, 1981, pp. 1–12
- Bjørner, Dines: Dinner speech at the ZCC Fest, Changsha, 20 October 2017 (PDF) (1981 Beijing visit and Hoare’s advice, Lyngby winters in the 1980s, 1989 family visit and arrival on 1 July, the telephone call to Hoare, Zhang Yiping in Oxford, the Viborg ProCoS meeting and Sørensen’s talk, May 1991 decision and UNU-IIST roles)
- Zhou Chaochen, C. A. R. Hoare, and Anders P. Ravn: “A calculus of durations”, Information Processing Letters 40(5), December 1991, pp. 269–276
- Ravn, A. P., H. Rischel, and K. M. Hansen: “Specifying and verifying requirements of real-time systems”, IEEE Transactions on Software Engineering 19(1), 1993, pp. 41–55 (first version in ACM SIGSOFT Software Engineering Notes 16(5), 1991)
- Lamport, Leslie: “Hybrid Systems in TLA+”, in Hybrid Systems, LNCS 736, Springer, 1993 (PDF at Microsoft Research) (the gas burner of Ravn, Rischel, and Hansen, 4 seconds in any period of at most 30 seconds, liveness quote)
- CORDIS: PROCOS, ESPRIT grant agreement 3104 (1 May 1989 to 29 February 1992, coordinated by the Technical University of Denmark in Lyngby, partners including Oxford and Kiel)
- Bowen, Jonathan P., Martin Fränzle, Ernst-Rüdiger Olderog, Dines Bjørner, Michael R. Hansen, Hans Langmaack, Zhiming Liu, and Ursula Martin: “Experiences from the European ProCoS Projects: Provably Correct Systems”, Formal Aspects of Computing 38(4), 2026 (Duration Calculus as a major output of ProCoS, Sørensen’s gas burner case study)
- Zhou Chaochen, Michael R. Hansen, and Peter Sestoft: “Decidability and undecidability results for duration calculus”, STACS 93, LNCS 665, Springer, 1993, pp. 58–68 (UNU/IIST Macau affiliation)
- Hansen, Michael R., and Zhou Chaochen: “Semantics and completeness of Duration Calculus”, in Real-Time: Theory in Practice, LNCS 600, Springer, 1992, pp. 209–225
- Hansen, Michael R., and Zhou Chaochen: “Duration calculus: Logical foundations”, Formal Aspects of Computing 9(3), 1997, pp. 283–330
- Zhou Chaochen, Anders P. Ravn, and Michael R. Hansen: “An extended duration calculus for hybrid real-time systems”, in Hybrid Systems, LNCS 736, Springer, 1993, pp. 36–59
- Liu, Z., A. P. Ravn, E. V. Sørensen, and Zhou Chaochen: “A Probabilistic Duration Calculus”, in Responsive Computer Systems, Springer, 1993, pp. 29–52
- Zhou Chaochen and Michael R. Hansen: Duration Calculus: A Formal Approach to Real-Time Systems, EATCS Monographs in Theoretical Computer Science, Springer, 2004
- Jones, Cliff B., Zhiming Liu, and Jim Woodcock (eds.): Formal Methods and Hybrid Real-Time Systems: Essays in Honour of Dines Bjørner and Zhou Chaochen on the Occasion of Their 70th Birthdays, LNCS 4700, Springer, 2007 (papers of the symposium held in Macau, 24–25 September 2007)
- Image: United Nations University International Institute for Software Technology 23-02-2024.jpg by LN9267 (CC BY-SA 4.0), via Wikimedia Commons