Skip to content

Commit 4cfcbab

Browse files
committed
Added missing axiom in concrete PCR FibPrimes1
1 parent 87669cc commit 4cfcbab

File tree

6 files changed

+31
-7
lines changed

6 files changed

+31
-7
lines changed

Diff for: AbstractModel/PCR_A/PCR_A.tla

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ A1step == INSTANCE PCR_A1step
244244

245245
============================================================================
246246
\* Modification History
247-
\* Last modified Thu Nov 18 21:10:43 UYT 2021 by josedu
247+
\* Last modified Thu Mar 03 01:13:02 UYT 2022 by josedu
248248
\* Last modified Thu Jul 08 02:51:43 GMT-03:00 2021 by JosEdu
249249
\* Last modified Fri Jul 17 16:28:02 UYT 2020 by josed
250250
\* Created Mon Jul 06 13:03:07 UYT 2020 by josed

Diff for: AbstractModel/PCR_A/PCR_A.toolbox/.project

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
<type>1</type>
2121
<locationURI>PARENT-1-PROJECT_LOC/PCR_A.tla</locationURI>
2222
</link>
23+
<link>
24+
<name>PCR_A2.tla</name>
25+
<type>1</type>
26+
<locationURI>PARENT-1-PROJECT_LOC/PCR_A2.tla</locationURI>
27+
</link>
2328
<link>
2429
<name>PCR_A_Thms.tla</name>
2530
<type>1</type>

Diff for: AbstractModel/PCR_A/PCR_A_Thms.tla

+1-1
Original file line numberDiff line numberDiff line change
@@ -1734,6 +1734,6 @@ THEOREM Thm_Refinement == Spec => A1step!Spec
17341734

17351735
=============================================================================
17361736
\* Modification History
1737-
\* Last modified Mon Dec 20 14:28:20 UYT 2021 by josedu
1737+
\* Last modified Fri Mar 11 16:20:23 UYT 2022 by josedu
17381738
\* Last modified Thu Jul 08 02:50:17 GMT-03:00 2021 by JosEdu
17391739
\* Created Sat Jun 19 01:21:17 UYT 2021 by josedu

Diff for: Concrete/PCR_FibPrimes1/PCR_FibPrimes1.tla

+6
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ INSTANCE PCR_A_Thms
7070

7171
----------------------------------------------------------------------------
7272

73+
(*
74+
Basic functions are still assumed to be partial functions.
75+
*)
76+
77+
AXIOM H_BFunType_FP1 == H_BFunType
78+
7379
(*
7480
Most axioms can be promoted to ordinary mathematical lemmas.
7581
These are proved in module PCR_FibPrimes1_Lems.

Diff for: Concrete/PCR_FibPrimes1/PCR_FibPrimes1_Lems.tla

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@ LEMMA Lem_Algebra
151151

152152
============================================================================
153153
\* Modification History
154-
\* Last modified Wed Sep 08 18:42:19 UYT 2021 by josedu
154+
\* Last modified Fri Mar 11 19:23:59 UYT 2022 by josedu
155155
\* Last modified Tue Jul 06 15:39:14 GMT-03:00 2021 by JosEdu
156156
\* Created Mon Jul 05 18:48:36 GMT-03:00 2021 by JosEdu

Diff for: Concrete/PCR_FibPrimes1/PCR_FibPrimes1_Thms.tla

+17-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
22

33
EXTENDS PCR_FibPrimes1, PCR_FibPrimes1_Lems
44

5-
USE DEF Index, Assig, Lem_Algebra, Lem_Type, Lem_BFunWD, Lem_fpRelevance
5+
USE DEF Index, Assig, Lem_Algebra, Lem_Type, Lem_BFunWD,
6+
Lem_fpRelevance, Lem_fcRelevance, Lem_frRelevance
7+
8+
THEOREM Thm_IndexInv_FP1 == Spec => []IndexInv
9+
BY Thm_IndexInv, H_Type, H_BFunType_FP1, H_BFunWD, H_Algebra,
10+
H_fpRelevance, H_fcRelevance, H_frRelevance, PTL
11+
12+
THEOREM Thm_TypeInv_FP1 == Spec => []TypeInv
13+
BY Thm_TypeInv, H_Type, H_BFunType_FP1, H_BFunWD, H_Algebra,
14+
H_fpRelevance, H_fcRelevance, H_frRelevance, PTL
15+
16+
THEOREM Thm_PInv_FP1 == Spec => []PInv
17+
BY Thm_PInv, H_Type, H_BFunType_FP1, H_BFunWD, H_Algebra,
18+
H_fpRelevance, H_fcRelevance, H_frRelevance, PTL
619

720
THEOREM Thm_ProdEqInv == Spec => []ProdEqInv
821
<1> DEFINE x == X[I0]
@@ -15,7 +28,7 @@ THEOREM Thm_ProdEqInv == Spec => []ProdEqInv
1528
PROVE FALSE
1629
BY DEF ProdEqInv
1730
<2>1. /\ I0 \in Seq(Nat)
18-
/\ x \in Nat
31+
/\ x \in Nat
1932
/\ It(x) \subseteq Nat
2033
/\ i \in Nat
2134
BY <2>0, Lem_Type DEF Init, It, deps, T
@@ -165,10 +178,10 @@ THEOREM Thm_ProdEqInv == Spec => []ProdEqInv
165178
<2> QED
166179
BY <2>0, <2>A, <2>B, <2>C DEF Next
167180
<1> QED
168-
BY <1>1, <1>2, Thm_IndexInv, Thm_TypeInv, Thm_PInv, PTL DEF Spec
181+
BY <1>1, <1>2, Thm_IndexInv_FP1, Thm_TypeInv_FP1, Thm_PInv_FP1, PTL DEF Spec
169182

170183
============================================================================
171184
\* Modification History
172-
\* Last modified Wed Sep 08 18:40:20 UYT 2021 by josedu
185+
\* Last modified Fri Mar 11 19:20:27 UYT 2022 by josedu
173186
\* Last modified Wed Jul 07 17:17:17 GMT-03:00 2021 by JosEdu
174187
\* Created Sun Jul 04 20:40:25 GMT-03:00 2021 by JosEdu

0 commit comments

Comments
 (0)