Skip to content

Commit

Permalink
reorganize to work on Coq 8.9.1 with ssreflect 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
palmskog committed Sep 8, 2020
1 parent a643d47 commit 80413dc
Show file tree
Hide file tree
Showing 45 changed files with 72 additions and 50 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Makefile.coq
Makefile.coq.conf
_build
*~
*.d
*.aux
*.glob
*.vo
*.vio
*.vok
*.vos
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
all: Makefile.coq
@+$(MAKE) -f Makefile.coq all

clean: Makefile.coq
@+$(MAKE) -f Makefile.coq cleanall
@rm -f Makefile.coq Makefile.coq.conf

Makefile.coq: _CoqProject
$(COQBIN)coq_makefile -f _CoqProject -o Makefile.coq

force _CoqProject Makefile: ;

%: Makefile.coq force
@+$(MAKE) -f Makefile.coq $@

.PHONY: all clean force
86 changes: 43 additions & 43 deletions _CoqProject
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
-R . bourbaki
fibm.v
sset1.v
sset10.v
sset11.v
sset12.v
sset13a.v
sset13b.v
sset13c.v
sset14.v
sset15.v
sset16a.v
sset16b.v
sset16c.v
sset17.v
sset18.v
sset19.v
sset2.v
sset2_aux.v
sset3.v
sset4.v
sset5.v
sset6.v
sset7.v
sset8.v
sset9.v
ssetc.v
ssete1.v
ssete10.v
ssete11.v
ssete2.v
ssete3.v
ssete4.v
ssete5.v
ssete6.v
ssete7.v
ssete8.v
ssete9.v
ssetq1.v
ssetq2.v
ssetr.v
ssetz.v
stern.v
-R theories gaia
theories/fibm.v
theories/sset1.v
theories/sset10.v
theories/sset11.v
theories/sset12.v
theories/sset13a.v
theories/sset13b.v
theories/sset13c.v
theories/sset14.v
theories/sset15.v
theories/sset16a.v
theories/sset16b.v
theories/sset16c.v
theories/sset17.v
theories/sset18.v
theories/sset19.v
theories/sset2.v
theories/sset2_aux.v
theories/sset3.v
theories/sset4.v
theories/sset5.v
theories/sset6.v
theories/sset7.v
theories/sset8.v
theories/sset9.v
theories/ssetc.v
theories/ssete1.v
theories/ssete10.v
theories/ssete11.v
theories/ssete2.v
theories/ssete3.v
theories/ssete4.v
theories/ssete5.v
theories/ssete6.v
theories/ssete7.v
theories/ssete8.v
theories/ssete9.v
theories/ssetq1.v
theories/ssetq2.v
theories/ssetr.v
theories/ssetz.v
theories/stern.v
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 2 additions & 7 deletions stern.v → theories/stern.v
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ Fixpoint pos_of_list l :=
end.

Definition num_of_list l :=
if l is a :: b then Npos (pos_of_list l) else 0%num.
if l is a :: b then Npos (pos_of_list l) else N0.

Lemma list_of_posK: cancel list_of_pos pos_of_list.
Proof. by elim => // p /= -> ;case: p. Qed.
Proof. by elim => // p /= -> ;case: p. Qed.

Lemma list_of_numK: cancel list_of_num num_of_list.
Proof. by case => // p /=; rewrite -{2} (list_of_posK p);case: p. Qed.
Expand Down Expand Up @@ -4982,8 +4982,3 @@ Abort.

(* ----- *)
End Stern.





0 comments on commit 80413dc

Please sign in to comment.