<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<org.eventb.core.machineFile ch.ethz.eventb.decomposition.decomposed="true" org.eventb.core.configuration="ch.ethz.eventb.decomposition.mchBase" org.eventb.core.generated="true" version="5">
<org.eventb.core.variable name="'" org.eventb.core.identifier="atmDepAmM"/>
<org.eventb.core.variable name="(" org.eventb.core.identifier="cardInAtmM"/>
<org.eventb.core.variable name=")" org.eventb.core.identifier="sendReqDep"/>
<org.eventb.core.variable name="*" org.eventb.core.identifier="sendRespDep"/>
<org.eventb.core.invariant name="+" org.eventb.core.label="typing_cardInAtmM" org.eventb.core.predicate="cardInAtmM ∈ ℙ(ATM × CARD)" org.eventb.core.theorem="true"/>
<org.eventb.core.invariant name="," org.eventb.core.label="typing_sendRespDep" org.eventb.core.predicate="sendRespDep ∈ ℙ(ATM)" org.eventb.core.theorem="true"/>
<org.eventb.core.invariant name="-" org.eventb.core.label="typing_sendReqDep" org.eventb.core.predicate="sendReqDep ∈ ℙ(ATM)" org.eventb.core.theorem="true"/>
<org.eventb.core.invariant name="." org.eventb.core.label="typing_atmDepAmM" org.eventb.core.predicate="atmDepAmM ∈ ℙ(ATM × ℤ)" org.eventb.core.theorem="true"/>
<org.eventb.core.invariant name="/" org.eventb.core.label="Deposit_4_inv4" org.eventb.core.predicate="cardInAtmM ∈ ATM ⇸ CARD"/>
<org.eventb.core.invariant name="0" org.eventb.core.label="Deposit_4_inv6" org.eventb.core.predicate="atmDepAmM ∈ ATM ⇸ ℕ"/>
<org.eventb.core.event name="1" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="INITIALISATION">
<org.eventb.core.action name="'" org.eventb.core.assignment="sendReqDep ≔ ∅" org.eventb.core.label="act17"/>
<org.eventb.core.action name="(" org.eventb.core.assignment="sendRespDep ≔ ∅" org.eventb.core.label="act19"/>
<org.eventb.core.action name=")" org.eventb.core.assignment="cardInAtmM ≔ ∅" org.eventb.core.label="act26"/>
<org.eventb.core.action name="*" org.eventb.core.assignment="atmDepAmM ≔ ∅" org.eventb.core.label="act28"/>
</org.eventb.core.event>
<org.eventb.core.event name="2" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="sendReqDeposit">
<org.eventb.core.parameter name="'" org.eventb.core.identifier="c"/>
<org.eventb.core.parameter name="(" org.eventb.core.identifier="am"/>
<org.eventb.core.parameter name=")" org.eventb.core.identifier="a"/>
<org.eventb.core.guard name="3" org.eventb.core.label="typing_c" org.eventb.core.predicate="c ∈ CARD"/>
<org.eventb.core.guard name="4" org.eventb.core.label="typing_am" org.eventb.core.predicate="am ∈ ℤ"/>
<org.eventb.core.guard name="5" org.eventb.core.label="typing_a" org.eventb.core.predicate="a ∈ ATM"/>
<org.eventb.core.guard name="*" org.eventb.core.label="grd2" org.eventb.core.predicate="am ∈ ℕ1"/>
<org.eventb.core.action name="0" org.eventb.core.assignment="sendReqDep ≔ sendReqDep ∪ {a}" org.eventb.core.label="act4"/>
<org.eventb.core.action name="1" org.eventb.core.assignment="atmDepAmM(a) ≔ am" org.eventb.core.label="act5"/>
<org.eventb.core.action name="2" org.eventb.core.assignment="cardInAtmM(a) ≔ c" org.eventb.core.label="act6"/>
</org.eventb.core.event>
<org.eventb.core.event name="3" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="recvReqDeposit">
<org.eventb.core.parameter name="'" org.eventb.core.identifier="a"/>
<org.eventb.core.parameter name="(" org.eventb.core.identifier="am"/>
<org.eventb.core.parameter name=")" org.eventb.core.identifier="c"/>
<org.eventb.core.guard name="/" org.eventb.core.label="typing_c" org.eventb.core.predicate="c ∈ CARD"/>
<org.eventb.core.guard name="0" org.eventb.core.label="typing_am" org.eventb.core.predicate="am ∈ ℤ"/>
<org.eventb.core.guard name="1" org.eventb.core.label="typing_a" org.eventb.core.predicate="a ∈ ATM"/>
<org.eventb.core.guard name="*" org.eventb.core.label="grd1" org.eventb.core.predicate="a ∈ sendReqDep"/>
<org.eventb.core.guard name="+" org.eventb.core.label="grd2" org.eventb.core.predicate="a ↦ c ∈ cardInAtmM"/>
<org.eventb.core.guard name="," org.eventb.core.label="grd4" org.eventb.core.predicate="a ∈ dom(atmDepAmM)"/>
<org.eventb.core.guard name="-" org.eventb.core.label="grd5" org.eventb.core.predicate="am = atmDepAmM(a)"/>
<org.eventb.core.action name="." org.eventb.core.assignment="sendReqDep ≔ sendReqDep ∖ {a}" org.eventb.core.label="act2"/>
</org.eventb.core.event>
<org.eventb.core.event name="4" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="sendRespDeposit">
<org.eventb.core.parameter name="'" org.eventb.core.identifier="a"/>
<org.eventb.core.action name="," org.eventb.core.assignment="sendRespDep ≔ sendRespDep ∪ {a}" org.eventb.core.label="act3"/>
<org.eventb.core.guard name="-" org.eventb.core.label="typing_a" org.eventb.core.predicate="a ∈ ATM"/>
</org.eventb.core.event>
<org.eventb.core.event name="5" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="recvRespDeposit">
<org.eventb.core.parameter name="'" org.eventb.core.identifier="a"/>
<org.eventb.core.guard name="." org.eventb.core.label="typing_a" org.eventb.core.predicate="a ∈ ATM"/>
<org.eventb.core.guard name="(" org.eventb.core.label="grd1" org.eventb.core.predicate="a ∈ sendRespDep"/>
<org.eventb.core.guard name=")" org.eventb.core.label="grd2" org.eventb.core.predicate="a ∈ dom(cardInAtmM)"/>
<org.eventb.core.guard name="*" org.eventb.core.label="grd4" org.eventb.core.predicate="a ∈ dom(atmDepAmM)"/>
<org.eventb.core.action name="+" org.eventb.core.assignment="sendRespDep ≔ sendRespDep ∖ {a}" org.eventb.core.label="act5"/>
<org.eventb.core.action name="," org.eventb.core.assignment="atmDepAmM ≔ {a} ⩤ atmDepAmM" org.eventb.core.label="act8"/>
<org.eventb.core.action name="-" org.eventb.core.assignment="cardInAtmM ≔ {a} ⩤ cardInAtmM" org.eventb.core.label="act6"/>
</org.eventb.core.event>
<org.eventb.core.seesContext name="6" org.eventb.core.target="Context_mMW_D"/>
</org.eventb.core.machineFile>
