aboutsummaryrefslogtreecommitdiff
path: root/prover_snapshots/hol4/RV32/riscvAuxiliaryScript.sml
blob: 4196a5f4a59cdb35456ff09f44c1d57b7f52ef80 (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
(*Generated by Lem from generated_definitions/lem/RV32/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 (walk32_def, walk32_ind) *)
val (walk32_rw, walk32_ind_rw) =
  Defn.tprove_no_defn ((walk32_def, walk32_ind),
    cheat (* the termination proof *)
  )
val walk32_rw = save_thm ("walk32_rw", walk32_rw);
val walk32_ind_rw = save_thm ("walk32_ind_rw", walk32_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()