### Abstract

In this AFP entry, we provide a formal implementation of a state-merging technique to infer extended finite state machines (EFSMs), complete with output and update functions, from black-box traces. In particular, we define the subsumption in context relation as a means of determining whether one transition is able to account for the behaviour of another. Building on this, we define the direct subsumption relation, which lifts the subsumption in context relation to EFSM level such that we can use it to determine whether it is safe to merge a given pair of transitions. Key proofs include the conditions necessary for subsumption to occur and that subsumption and direct subsumption are preorder relations. We also provide a number of different heuristics which can be used to abstract away concrete values into registers so that more states and transitions can be merged and provide proofs of the various conditions which must hold for these abstractions to subsume their ungeneralised counterparts. A Code Generator setup to create executable Scala code is also defined.

### License

BSD License

### Topics

- Computer science/Automata and formal languages

### Session Extended_Finite_State_Machine_Inference

- Subsumption
- Drinks_Subsumption
- Inference
- SelectionStrategies
- Store_Reuse
- Store_Reuse_Subsumption
- Increment_Reset
- Same_Register
- Least_Upper_Bound
- Distinguishing_Guards
- Weak_Subsumption
- Group_By
- PTA_Generalisation
- EFSM_Dot
- efsm2sal
- Code_Target_List
- Code_Target_Set
- Code_Target_FSet
- Code_Generation

### Depends on

- A Formal Model of Extended Finite State Machines

## Cite

×

Extended_Finite_State_Machine_Inference-AFP

    @article{Extended_Finite_State_Machine_Inference-AFP,
      author  = {Michael Foster and Achim D. Brucker and Ramsay G. Taylor and John Derrick},
      title   = {Inference of Extended Finite State Machines},
      journal = {Archive of Formal Proofs},
      month   = {September},
      year    = {2020},
      note    = {\url{https://isa-afp.org/entries/Extended_Finite_State_Machine_Inference.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
- Sep 19, 2020 : Isabelle2020