### Abstract

Two models of an electronic hotel key card system are contrasted: a state based and a trace based one. Both are defined, verified, and proved equivalent in the theorem prover Isabelle/HOL. It is shown that if a guest follows a certain safety policy regarding her key cards, she can be sure that nobody but her can enter her room.

### License

BSD License

### Topics

- Computer science/Security

### Related publications

- Nipkow, T. (2006). Verifying a Hotel Key Card System. Theoretical Aspects of Computing - ICTAC 2006, 1–14. https://doi.org/10.1007/11921240_1
- author's copy

### Session HotelKeyCards

- Notation
- Basis
- State
- NewCard
- Trace
- Equivalence

## Cite

×

HotelKeyCards-AFP

    @article{HotelKeyCards-AFP,
      author  = {Tobias Nipkow},
      title   = {Hotel Key Card System},
      journal = {Archive of Formal Proofs},
      month   = {September},
      year    = {2006},
      note    = {\url{https://isa-afp.org/entries/HotelKeyCards.html},
                 Formal proof development},
      ISSN    = {2150-914x},
    }

Download

## Download

× Download latest

Older releases:

- Sep 13, 2023 : Isabelle2023
- Oct 27, 2022 : Isabelle2022
- Dec 14, 2021 : Isabelle2021-1
- Feb 23, 2021 : Isabelle2021
- Apr 18, 2020 : Isabelle2020
- Jun 11, 2019 : Isabelle2019
- Aug 16, 2018 : Isabelle2018
- Oct 10, 2017 : Isabelle2017
- Dec 17, 2016 : Isabelle2016-1
- Feb 22, 2016 : Isabelle2016
- May 27, 2015 : Isabelle2015
- Aug 28, 2014 : Isabelle2014
- Dec 11, 2013 : Isabelle2013-2
- Nov 17, 2013 : Isabelle2013-1
- Feb 16, 2013 : Isabelle2013
- May 24, 2012 : Isabelle2012
- Oct 11, 2011 : Isabelle2011-1
- Feb 11, 2011 : Isabelle2011
- Jul 1, 2010 : Isabelle2009-2
- Dec 12, 2009 : Isabelle2009-1
- Apr 29, 2009 : Isabelle2009
- Jun 10, 2008 : Isabelle2008
- Nov 27, 2007 : Isabelle2007