<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<org.eventb.core.scMachineFile org.eventb.core.accurate="true" org.eventb.core.configuration="ch.ethz.eventb.decomposition.pogConfig">
<org.eventb.core.scSeesContext name="'" org.eventb.core.scTarget="/Withdraw/Withdraw_CO.bcc" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.seesContext#4"/>
<org.eventb.core.scInternalContext name="Withdraw_CO">
<org.eventb.core.scCarrierSet name="ACCOUNT" org.eventb.core.source="/Withdraw/Withdraw_CO.buc|org.eventb.core.contextFile#Withdraw_CO|org.eventb.core.carrierSet#'" org.eventb.core.type="ℙ(ACCOUNT)"/>
<org.eventb.core.scCarrierSet name="CARD" org.eventb.core.source="/Withdraw/Withdraw_CO.buc|org.eventb.core.contextFile#Withdraw_CO|org.eventb.core.carrierSet#(" org.eventb.core.type="ℙ(CARD)"/>
</org.eventb.core.scInternalContext>
<org.eventb.core.scInvariant name="Withdraw_CP" org.eventb.core.label="typing_bal" org.eventb.core.predicate="bal∈ℙ(ACCOUNT × ℤ)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.invariant#*" org.eventb.core.theorem="true"/>
<org.eventb.core.scInvariant name="Withdraw_CQ" org.eventb.core.label="typing_validCard" org.eventb.core.predicate="validCard∈ℙ(CARD)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.invariant#+" org.eventb.core.theorem="true"/>
<org.eventb.core.scInvariant name="Withdraw_CR" org.eventb.core.label="typing_cardAcct" org.eventb.core.predicate="cardAcct∈ℙ(CARD × ACCOUNT)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.invariant#," org.eventb.core.theorem="true"/>
<org.eventb.core.scInvariant name="Withdraw_CS" org.eventb.core.label="IntegralATM_0_inv1" org.eventb.core.predicate="bal∈ACCOUNT ⇸ ℕ" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.invariant#-" org.eventb.core.theorem="false"/>
<org.eventb.core.scInvariant name="Withdraw_CT" org.eventb.core.label="IntegralATM_0_inv2" org.eventb.core.predicate="cardAcct∈CARD ⇸ ACCOUNT" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.invariant#." org.eventb.core.theorem="false"/>
<org.eventb.core.scInvariant name="Withdraw_CU" org.eventb.core.label="IntegralATM_0_inv4" org.eventb.core.predicate="validCard⊆CARD" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.invariant#\/" org.eventb.core.theorem="false"/>
<org.eventb.core.scVariable ch.ethz.eventb.decomposition.nature="1" name="bal" org.eventb.core.abstract="false" org.eventb.core.concrete="true" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.variable#'" org.eventb.core.type="ℙ(ACCOUNT×ℤ)"/>
<org.eventb.core.scVariable ch.ethz.eventb.decomposition.nature="1" name="cardAcct" org.eventb.core.abstract="false" org.eventb.core.concrete="true" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.variable#)" org.eventb.core.type="ℙ(CARD×ACCOUNT)"/>
<org.eventb.core.scVariable ch.ethz.eventb.decomposition.nature="1" name="validCard" org.eventb.core.abstract="false" org.eventb.core.concrete="true" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.variable#(" org.eventb.core.type="ℙ(CARD)"/>
<org.eventb.core.scEvent ch.ethz.eventb.decomposition.external="false" name="Withdraw_CV" org.eventb.core.accurate="true" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="INITIALISATION" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#0">
<org.eventb.core.scAction name="'" org.eventb.core.assignment="bal ≔ ∅ ⦂ ℙ(ACCOUNT×ℤ)" org.eventb.core.label="act1" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#0|org.eventb.core.action#'"/>
<org.eventb.core.scAction name="(" org.eventb.core.assignment="cardAcct ≔ ∅ ⦂ ℙ(CARD×ACCOUNT)" org.eventb.core.label="act2" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#0|org.eventb.core.action#("/>
<org.eventb.core.scAction name=")" org.eventb.core.assignment="validCard ≔ ∅ ⦂ ℙ(CARD)" org.eventb.core.label="act4" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#0|org.eventb.core.action#)"/>
</org.eventb.core.scEvent>
<org.eventb.core.scEvent ch.ethz.eventb.decomposition.external="true" name="Withdraw_CW" org.eventb.core.accurate="true" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="Transfer" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1">
<org.eventb.core.scGuard name="'" org.eventb.core.label="grd1" org.eventb.core.predicate="src_ac∈ACCOUNT" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#+" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="(" org.eventb.core.label="grd2" org.eventb.core.predicate="dest_ac∈ACCOUNT" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#," org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name=")" org.eventb.core.label="grd3" org.eventb.core.predicate="c∈validCard" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#-" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="*" org.eventb.core.label="grd4" org.eventb.core.predicate="c ↦ src_ac∈cardAcct" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#." org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="+" org.eventb.core.label="grd5" org.eventb.core.predicate="am∈ℕ1" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#\/" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="," org.eventb.core.label="grd6" org.eventb.core.predicate="src_ac∈dom(bal)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#0" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="-" org.eventb.core.label="grd7" org.eventb.core.predicate="dest_ac∈dom(bal)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#1" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="." org.eventb.core.label="grd8" org.eventb.core.predicate="src_ac≠dest_ac" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#2" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="/" org.eventb.core.label="grd9" org.eventb.core.predicate="am&lt;bal(src_ac)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.guard#3" org.eventb.core.theorem="false"/>
<org.eventb.core.scParameter name="am" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.parameter#)" org.eventb.core.type="ℤ"/>
<org.eventb.core.scParameter name="c" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.parameter#*" org.eventb.core.type="CARD"/>
<org.eventb.core.scParameter name="dest_ac" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.parameter#(" org.eventb.core.type="ACCOUNT"/>
<org.eventb.core.scParameter name="src_ac" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.parameter#'" org.eventb.core.type="ACCOUNT"/>
<org.eventb.core.scAction name="dest_ad" org.eventb.core.assignment="bal ≔ bal{dest_ac ↦ bal(dest_ac)+am,src_ac ↦ bal(src_ac) − am}" org.eventb.core.label="act1" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#1|org.eventb.core.action#4"/>
</org.eventb.core.scEvent>
<org.eventb.core.scEvent ch.ethz.eventb.decomposition.external="true" name="Withdraw_CX" org.eventb.core.accurate="true" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="Deposit" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2">
<org.eventb.core.scGuard name="'" org.eventb.core.label="grd1" org.eventb.core.predicate="acc∈ACCOUNT" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.guard#*" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="(" org.eventb.core.label="grd2" org.eventb.core.predicate="acc∈dom(bal)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.guard#+" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name=")" org.eventb.core.label="grd3" org.eventb.core.predicate="am∈ℕ1" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.guard#," org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="*" org.eventb.core.label="grd4" org.eventb.core.predicate="c∈validCard" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.guard#-" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="+" org.eventb.core.label="grd5" org.eventb.core.predicate="c ↦ acc∈cardAcct" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.guard#." org.eventb.core.theorem="false"/>
<org.eventb.core.scParameter name="acc" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.parameter#'" org.eventb.core.type="ACCOUNT"/>
<org.eventb.core.scParameter name="am" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.parameter#(" org.eventb.core.type="ℤ"/>
<org.eventb.core.scParameter name="c" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.parameter#)" org.eventb.core.type="CARD"/>
<org.eventb.core.scAction name="acd" org.eventb.core.assignment="bal ≔ bal{acc ↦ bal(acc)+am}" org.eventb.core.label="act1" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#2|org.eventb.core.action#\/"/>
</org.eventb.core.scEvent>
<org.eventb.core.scEvent ch.ethz.eventb.decomposition.external="false" name="Withdraw_CY" org.eventb.core.accurate="true" org.eventb.core.convergence="0" org.eventb.core.extended="false" org.eventb.core.label="withdraw" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3">
<org.eventb.core.scGuard name="'" org.eventb.core.label="grd1" org.eventb.core.predicate="acc∈ACCOUNT" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.guard#*" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="(" org.eventb.core.label="grd2" org.eventb.core.predicate="am∈ℕ1" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.guard#+" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name=")" org.eventb.core.label="grd3" org.eventb.core.predicate="acc∈dom(bal)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.guard#," org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="*" org.eventb.core.label="grd4" org.eventb.core.predicate="am≤bal(acc)" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.guard#-" org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="+" org.eventb.core.label="grd5" org.eventb.core.predicate="c∈validCard" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.guard#." org.eventb.core.theorem="false"/>
<org.eventb.core.scGuard name="," org.eventb.core.label="grd6" org.eventb.core.predicate="c ↦ acc∈cardAcct" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.guard#\/" org.eventb.core.theorem="false"/>
<org.eventb.core.scParameter name="acc" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.parameter#'" org.eventb.core.type="ACCOUNT"/>
<org.eventb.core.scParameter name="am" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.parameter#(" org.eventb.core.type="ℤ"/>
<org.eventb.core.scParameter name="c" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.parameter#)" org.eventb.core.type="CARD"/>
<org.eventb.core.scAction name="acd" org.eventb.core.assignment="bal ≔ bal{acc ↦ bal(acc) − am}" org.eventb.core.label="act1" org.eventb.core.source="/Withdraw/Withdraw_0.bum|org.eventb.core.machineFile#Withdraw_0|org.eventb.core.event#3|org.eventb.core.action#0"/>
</org.eventb.core.scEvent>
</org.eventb.core.scMachineFile>
