src/HOLCF/IsaMakefile
author huffman
Mon May 11 08:28:09 2009 -0700 (2009-05-11)
changeset 31095 b79d140f6d0b
parent 30920 811ab0923a62
child 31738 7b9b9ba532ca
permissions -rw-r--r--
simplify fixrec proofs for mutually-recursive definitions; generate better fixpoint induction rules
     1 #
     2 # IsaMakefile for HOLCF
     3 #
     4 
     5 ## targets
     6 
     7 default: HOLCF
     8 images: HOLCF IOA
     9 test: HOLCF-IMP HOLCF-ex HOLCF-FOCUS \
    10       IOA-ABP IOA-NTP IOA-Modelcheck IOA-Storage IOA-ex
    11 all: images test
    12 
    13 
    14 ## global settings
    15 
    16 SRC = $(ISABELLE_HOME)/src
    17 OUT = $(ISABELLE_OUTPUT)
    18 LOG = $(OUT)/log
    19 
    20 
    21 ## HOLCF
    22 
    23 HOLCF: HOL $(OUT)/HOLCF
    24 
    25 HOL:
    26 	@cd $(SRC)/HOL; $(ISABELLE_TOOL) make HOL
    27 
    28 $(OUT)/HOLCF: $(OUT)/HOL \
    29   ROOT.ML \
    30   Adm.thy \
    31   Algebraic.thy \
    32   Bifinite.thy \
    33   Cfun.thy \
    34   CompactBasis.thy \
    35   Completion.thy \
    36   Cont.thy \
    37   ConvexPD.thy \
    38   Cprod.thy \
    39   Discrete.thy \
    40   Deflation.thy \
    41   Domain.thy \
    42   Eventual.thy \
    43   Ffun.thy \
    44   Fixrec.thy \
    45   Fix.thy \
    46   HOLCF.thy \
    47   Lift.thy \
    48   LowerPD.thy \
    49   NatIso.thy \
    50   One.thy \
    51   Pcpodef.thy \
    52   Pcpo.thy \
    53   Porder.thy \
    54   Product_Cpo.thy \
    55   Sprod.thy \
    56   Ssum.thy \
    57   Sum_Cpo.thy \
    58   Tr.thy \
    59   Universal.thy \
    60   UpperPD.thy \
    61   Up.thy \
    62   Tools/adm_tac.ML \
    63   Tools/cont_consts.ML \
    64   Tools/cont_proc.ML \
    65   Tools/domain/domain_extender.ML \
    66   Tools/domain/domain_axioms.ML \
    67   Tools/domain/domain_library.ML \
    68   Tools/domain/domain_syntax.ML \
    69   Tools/domain/domain_theorems.ML \
    70   Tools/fixrec_package.ML \
    71   Tools/pcpodef_package.ML \
    72   holcf_logic.ML \
    73   document/root.tex
    74 	@$(ISABELLE_TOOL) usedir -b -g true -r $(OUT)/HOL HOLCF
    75 
    76 
    77 ## HOLCF-IMP
    78 
    79 HOLCF-IMP: HOLCF $(LOG)/HOLCF-IMP.gz
    80 
    81 $(LOG)/HOLCF-IMP.gz: $(OUT)/HOLCF IMP/HoareEx.thy \
    82   IMP/Denotational.thy IMP/ROOT.ML IMP/document/root.tex
    83 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF IMP
    84 
    85 
    86 ## HOLCF-ex
    87 
    88 HOLCF-ex: HOLCF $(LOG)/HOLCF-ex.gz
    89 
    90 $(LOG)/HOLCF-ex.gz: $(OUT)/HOLCF \
    91   ../HOL/Library/Nat_Infinity.thy \
    92   ex/Dagstuhl.thy \
    93   ex/Dnat.thy \
    94   ex/Domain_ex.thy \
    95   ex/Fix2.thy \
    96   ex/Fixrec_ex.thy \
    97   ex/Focus_ex.thy \
    98   ex/Hoare.thy \
    99   ex/Loop.thy \
   100   ex/Powerdomain_ex.thy \
   101   ex/Stream.thy \
   102   ex/ROOT.ML
   103 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF ex
   104 
   105 
   106 ## HOLCF-FOCUS
   107 
   108 HOLCF-FOCUS: HOLCF $(LOG)/HOLCF-FOCUS.gz
   109 
   110 $(LOG)/HOLCF-FOCUS.gz: $(OUT)/HOLCF FOCUS/Fstreams.thy \
   111   FOCUS/Fstream.thy FOCUS/FOCUS.thy \
   112   FOCUS/Stream_adm.thy ../HOL/Library/Continuity.thy \
   113   FOCUS/Buffer.thy FOCUS/Buffer_adm.thy
   114 	@$(ISABELLE_TOOL) usedir $(OUT)/HOLCF FOCUS
   115 
   116 ## IOA
   117 
   118 IOA: HOLCF $(OUT)/IOA
   119 
   120 $(OUT)/IOA: $(OUT)/HOLCF IOA/ROOT.ML IOA/meta_theory/Traces.thy        \
   121   IOA/meta_theory/Asig.thy IOA/meta_theory/CompoScheds.thy	       \
   122   IOA/meta_theory/CompoTraces.thy IOA/meta_theory/Seq.thy	       \
   123   IOA/meta_theory/RefCorrectness.thy IOA/meta_theory/Automata.thy      \
   124   IOA/meta_theory/ShortExecutions.thy IOA/meta_theory/IOA.thy	       \
   125   IOA/meta_theory/Sequence.thy IOA/meta_theory/CompoExecs.thy	       \
   126   IOA/meta_theory/RefMappings.thy IOA/meta_theory/Compositionality.thy \
   127   IOA/meta_theory/TL.thy IOA/meta_theory/TLS.thy		       \
   128   IOA/meta_theory/LiveIOA.thy IOA/meta_theory/Pred.thy		       \
   129   IOA/meta_theory/Abstraction.thy IOA/meta_theory/Simulations.thy      \
   130   IOA/meta_theory/SimCorrectness.thy IOA/meta_theory/ioa_package.ML
   131 	@cd IOA; $(ISABELLE_TOOL) usedir -b $(OUT)/HOLCF IOA
   132 
   133 
   134 ## IOA-ABP
   135 
   136 IOA-ABP: IOA $(LOG)/IOA-ABP.gz
   137 
   138 $(LOG)/IOA-ABP.gz: $(OUT)/IOA IOA/ABP/Abschannel.thy \
   139   IOA/ABP/Abschannel_finite.thy IOA/ABP/Action.thy \
   140   IOA/ABP/Check.ML IOA/ABP/Correctness.thy \
   141   IOA/ABP/Env.thy IOA/ABP/Impl.thy IOA/ABP/Impl_finite.thy \
   142   IOA/ABP/Lemmas.thy IOA/ABP/Packet.thy \
   143   IOA/ABP/ROOT.ML IOA/ABP/Receiver.thy IOA/ABP/Sender.thy \
   144   IOA/ABP/Spec.thy
   145 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ABP
   146 
   147 ## IOA-NTP
   148 
   149 IOA-NTP: IOA $(LOG)/IOA-NTP.gz
   150 
   151 $(LOG)/IOA-NTP.gz: $(OUT)/IOA \
   152   IOA/NTP/Abschannel.thy IOA/NTP/Action.thy IOA/NTP/Correctness.thy \
   153   IOA/NTP/Impl.thy IOA/NTP/Lemmas.thy IOA/NTP/Multiset.thy \
   154   IOA/NTP/Packet.thy IOA/NTP/ROOT.ML IOA/NTP/Receiver.thy IOA/NTP/Sender.thy \
   155   IOA/NTP/Spec.thy
   156 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA NTP
   157 
   158 
   159 ## IOA-Modelcheck
   160 
   161 IOA-Modelcheck: IOA $(LOG)/IOA-Modelcheck.gz
   162 
   163 $(LOG)/IOA-Modelcheck.gz: $(OUT)/IOA IOA/Modelcheck/ROOT.ML \
   164   IOA/Modelcheck/Cockpit.thy IOA/Modelcheck/MuIOA.thy \
   165   IOA/Modelcheck/MuIOAOracle.thy IOA/Modelcheck/Ring3.thy
   166 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Modelcheck
   167 
   168 
   169 ## IOA-Storage
   170 
   171 IOA-Storage: IOA $(LOG)/IOA-Storage.gz
   172 
   173 $(LOG)/IOA-Storage.gz: $(OUT)/IOA IOA/Storage/Action.thy \
   174   IOA/Storage/Correctness.thy IOA/Storage/Impl.thy \
   175   IOA/Storage/ROOT.ML IOA/Storage/Spec.thy
   176 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA Storage
   177 
   178 
   179 ## IOA-ex
   180 
   181 IOA-ex: IOA $(LOG)/IOA-ex.gz
   182 
   183 $(LOG)/IOA-ex.gz: $(OUT)/IOA IOA/ex/ROOT.ML IOA/ex/TrivEx.thy IOA/ex/TrivEx2.thy
   184 	@cd IOA; $(ISABELLE_TOOL) usedir $(OUT)/IOA ex
   185 
   186 
   187 ## clean
   188 
   189 clean:
   190 	@rm -f $(OUT)/HOLCF $(LOG)/HOLCF.gz $(LOG)/HOLCF-IMP.gz \
   191 	  $(LOG)/HOLCF-ex.gz $(LOG)/HOLCF-FOCUS.gz \
   192           $(OUT)/IOA $(LOG)/IOA.gz $(LOG)/IOA-ABP.gz \
   193 	  $(LOG)/IOA-NTP.gz $(LOG)/IOA-Modelcheck.gz $(LOG)/IOA-Storage.gz