Skip to content

Commit

Permalink
Remove uses of load, which is forbidden under mosml
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Nov 8, 2023
1 parent 52721c8 commit ee74295
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions examples/fermat/twosq/helperTwosqScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ val _ = new_theory "helperTwosq";


(* open dependent theories *)
val _ = load("helperFunctionTheory");
open helperFunctionTheory;
open helperSetTheory;
open helperNumTheory;
Expand All @@ -24,7 +23,6 @@ open arithmeticTheory pred_setTheory;
open dividesTheory;
open gcdTheory; (* for GCD_IS_GREATEST_COMMON_DIVISOR *)

val _ = load("logPowerTheory");
open logPowerTheory; (* for SQRT *)

open whileTheory; (* for HOARE_SPEC_DEF *)
Expand Down
1 change: 0 additions & 1 deletion examples/fermat/twosq/hoppingScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ open helperListTheory;
open listRangeTheory; (* for listRangeLHI_ALL_DISTINCT *)
open indexedListsTheory; (* for findi_EL and EL_findi *)

load "sublistTheory";
open sublistTheory;

open quarityTheory;
Expand Down
1 change: 0 additions & 1 deletion examples/fermat/twosq/involuteFixScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ val _ = new_theory "involuteFix";


(* open dependent theories *)
val _ = load("involuteTheory");
open helperFunctionTheory; (* for FUNPOW_2 *)
open helperSetTheory; (* for BIJ_ELEMENT *)
open helperNumTheory; (* for MOD_EQ *)
Expand Down
1 change: 0 additions & 1 deletion examples/fermat/twosq/iterateComputeScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ val _ = new_theory "iterateCompute";


(* open dependent theories *)
val _ = load("iterationTheory");
open helperFunctionTheory;
open helperSetTheory;
open helperNumTheory;
Expand Down
1 change: 0 additions & 1 deletion examples/fermat/twosq/iterationScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ val _ = new_theory "iteration";


(* open dependent theories *)
val _ = load("helperFunctionTheory");
(* open helperTwosqTheory; *)
open helperFunctionTheory;
open helperSetTheory;
Expand Down

0 comments on commit ee74295

Please sign in to comment.