Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reorganize files under standard theories directory #143

Merged
merged 1 commit into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 10 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
default: Makefile.coq
$(MAKE) -f Makefile.coq
all: Makefile.coq
@+$(MAKE) -f Makefile.coq all

quick: Makefile.coq
$(MAKE) -f Makefile.coq quick

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

Makefile.coq: _CoqProject
coq_makefile -f _CoqProject -o Makefile.coq

clean: Makefile.coq
$(MAKE) -f Makefile.coq cleanall
rm -f Makefile.coq Makefile.coq.conf
$(COQBIN)coq_makefile -f _CoqProject -o Makefile.coq

lint:
@echo "Possible use of hypothesis names:"
find . -name '*.v' -exec grep -Hn 'H[0-9][0-9]*' {} \;
force _CoqProject Makefile: ;

distclean: clean
rm -f _CoqProject
%: Makefile.coq force
@+$(MAKE) -f Makefile.coq $@

.PHONY: default quick clean lint distclean install
.PHONY: all clean force
85 changes: 41 additions & 44 deletions _CoqProject
Original file line number Diff line number Diff line change
@@ -1,48 +1,45 @@
-Q core Verdi
-Q lib Verdi
-Q systems Verdi
-Q extraction Verdi
-Q theories Verdi

core/NameOverlay.v
core/DynamicNetLemmas.v
core/Net.v
core/HandlerMonad.v
core/Verdi.v
core/StateMachineHandlerMonad.v
core/InverseTraceRelations.v
core/SingleSimulations.v
core/PartialMapSimulations.v
core/TotalMapExecutionSimulations.v
core/VerdiHints.v
core/DupDropReordering.v
core/PartialMapExecutionSimulations.v
core/GhostSimulations.v
core/StatePacketPacketDecomposition.v
core/TraceRelations.v
core/LabeledNet.v
core/TotalMapSimulations.v
core/PartialExtendedMapSimulations.v
theories/Core/NameOverlay.v
theories/Core/DynamicNetLemmas.v
theories/Core/Net.v
theories/Core/HandlerMonad.v
theories/Core/Verdi.v
theories/Core/StateMachineHandlerMonad.v
theories/Core/InverseTraceRelations.v
theories/Core/SingleSimulations.v
theories/Core/PartialMapSimulations.v
theories/Core/TotalMapExecutionSimulations.v
theories/Core/VerdiHints.v
theories/Core/DupDropReordering.v
theories/Core/PartialMapExecutionSimulations.v
theories/Core/GhostSimulations.v
theories/Core/StatePacketPacketDecomposition.v
theories/Core/TraceRelations.v
theories/Core/LabeledNet.v
theories/Core/TotalMapSimulations.v
theories/Core/PartialExtendedMapSimulations.v

lib/Ssrexport.v
lib/FMapVeryWeak.v
theories/Lib/Ssrexport.v
theories/Lib/FMapVeryWeak.v

systems/Counter.v
systems/SerializedMsgParams.v
systems/PrimaryBackup.v
systems/SerializedMsgParamsCorrect.v
systems/LockServSeqNum.v
systems/VarDPrimaryBackup.v
systems/VarD.v
systems/SeqNum.v
systems/LiveLockServ.v
systems/SeqNumCorrect.v
systems/LockServ.v
systems/Log.v
systems/LogCorrect.v
theories/Systems/Counter.v
theories/Systems/SerializedMsgParams.v
theories/Systems/PrimaryBackup.v
theories/Systems/SerializedMsgParamsCorrect.v
theories/Systems/LockServSeqNum.v
theories/Systems/VarDPrimaryBackup.v
theories/Systems/VarD.v
theories/Systems/SeqNum.v
theories/Systems/LiveLockServ.v
theories/Systems/SeqNumCorrect.v
theories/Systems/LockServ.v
theories/Systems/Log.v
theories/Systems/LogCorrect.v

extraction/ExtrOcamlFinInt.v
extraction/ExtrOcamlNatIntExt.v
extraction/ExtrOcamlDiskOp.v
extraction/ExtrOcamlBasicExt.v
extraction/ExtrOcamlBool.v
extraction/ExtrOcamlList.v
theories/Extraction/ExtrOcamlFinInt.v
theories/Extraction/ExtrOcamlNatIntExt.v
theories/Extraction/ExtrOcamlDiskOp.v
theories/Extraction/ExtrOcamlBasicExt.v
theories/Extraction/ExtrOcamlBool.v
theories/Extraction/ExtrOcamlList.v
3 changes: 3 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(lang dune 3.5)
(using coq 0.6)
(name verdi)
39 changes: 0 additions & 39 deletions script/checkpaths.sh

This file was deleted.

89 changes: 0 additions & 89 deletions script/coqproject.sh

This file was deleted.

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.
6 changes: 6 additions & 0 deletions theories/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(coq.theory
(name Verdi)
(package coq-verdi)
(synopsis "Framework for verification of implementations of distributed systems in Coq"))

(include_subdirs qualified)