aboutsummaryrefslogtreecommitdiff
path: root/prover_snapshots/hol4/RV64/riscvAuxiliaryScript.sml
blob: 6381e397b13cca0456c678095607f9c3a0846748 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
(*Generated by Lem from generated_definitions/lem/RV64/riscv.lem.*)
open HolKernel Parse boolLib bossLib;
open lem_pervasives_extraTheory sail2_instr_kindsTheory sail2_valuesTheory sail2_prompt_monadTheory sail2_operators_mwordsTheory sail2_promptTheory sail2_stringTheory riscv_typesTheory mem_metadataTheory riscv_extras_fdextTheory riscv_extrasTheory riscvTheory;

val _ = numLib.prefer_num();



open lemLib;
(* val _ = lemLib.run_interactive := true; *)
val _ = new_theory "riscvAuxiliary"


(****************************************************)
(*                                                  *)
(* Termination Proofs                               *)
(*                                                  *)
(****************************************************)

(* val gst = Defn.tgoal_no_defn (n_leading_spaces0_def, n_leading_spaces0_ind) *)
val (n_leading_spaces0_rw, n_leading_spaces0_ind_rw) =
  Defn.tprove_no_defn ((n_leading_spaces0_def, n_leading_spaces0_ind),
    cheat (* the termination proof *)
  )
val n_leading_spaces0_rw = save_thm ("n_leading_spaces0_rw", n_leading_spaces0_rw);
val n_leading_spaces0_ind_rw = save_thm ("n_leading_spaces0_ind_rw", n_leading_spaces0_ind_rw);


(* val gst = Defn.tgoal_no_defn (walk39_def, walk39_ind) *)
val (walk39_rw, walk39_ind_rw) =
  Defn.tprove_no_defn ((walk39_def, walk39_ind),
    cheat (* the termination proof *)
  )
val walk39_rw = save_thm ("walk39_rw", walk39_rw);
val walk39_ind_rw = save_thm ("walk39_ind_rw", walk39_ind_rw);


(* val gst = Defn.tgoal_no_defn (walk48_def, walk48_ind) *)
val (walk48_rw, walk48_ind_rw) =
  Defn.tprove_no_defn ((walk48_def, walk48_ind),
    cheat (* the termination proof *)
  )
val walk48_rw = save_thm ("walk48_rw", walk48_rw);
val walk48_ind_rw = save_thm ("walk48_ind_rw", walk48_ind_rw);


(* val gst = Defn.tgoal_no_defn (execute_def, execute_ind) *)
val (execute_rw, execute_ind_rw) =
  Defn.tprove_no_defn ((execute_def, execute_ind),
    cheat (* the termination proof *)
  )
val execute_rw = save_thm ("execute_rw", execute_rw);
val execute_ind_rw = save_thm ("execute_ind_rw", execute_ind_rw);




val _ = export_theory()