-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mock theorems to avoid long runtimes for experiments with top fun…
…ctions, Split top script
- Loading branch information
1 parent
ef64ac7
commit ab32fab
Showing
6 changed files
with
9,271 additions
and
29 deletions.
There are no files selected for viewing
2,577 changes: 2,577 additions & 0 deletions
2,577
examples/arm_cm0/balrob/balrob_fadd_fakeScript.sml
Large diffs are not rendered by default.
Oops, something went wrong.
1,853 changes: 1,853 additions & 0 deletions
1,853
examples/arm_cm0/balrob/balrob_fdiv_fakeScript.sml
Large diffs are not rendered by default.
Oops, something went wrong.
2,066 changes: 2,066 additions & 0 deletions
2,066
examples/arm_cm0/balrob/balrob_fmul_fakeScript.sml
Large diffs are not rendered by default.
Oops, something went wrong.
2,729 changes: 2,729 additions & 0 deletions
2,729
examples/arm_cm0/balrob/balrob_fsub_fakeScript.sml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
open HolKernel Parse boolLib bossLib; | ||
|
||
open balrob_supportLib; | ||
|
||
open balrob_endsTheory; | ||
open balrob_miscTheory; | ||
open balrob_fadd_fakeTheory; | ||
open balrob_fsub_fakeTheory; | ||
open balrob_fmul_fakeTheory; | ||
open balrob_fdiv_fakeTheory; | ||
|
||
val _ = new_theory "balrob_ftop"; | ||
|
||
(* ------------------------------------ *) | ||
|
||
|
||
val entry_name = "atan2f_own"; | ||
val reqs = get_fun_usage entry_name; | ||
val locs = | ||
( 0x10001438, | ||
[0x100014FA]); | ||
|
||
val symb_exec_thm = birs_summary birs_prog_config | ||
[balrob_summary___lesf2_thm, | ||
balrob_summary_abs_own_thm, | ||
balrob_summary___aeabi_fadd_thm, | ||
balrob_summary___aeabi_fsub_thm, | ||
balrob_summary___aeabi_fmul_thm, | ||
balrob_summary___aeabi_fdiv_thm] | ||
reqs | ||
locs; | ||
val balrob_summary_atan2f_own_thm = save_thm("balrob_summary_" ^ entry_name ^ "_thm", symb_exec_thm); | ||
|
||
|
||
(* ------------------------------------ *) | ||
|
||
val _ = print "\n"; | ||
val _ = Profile.print_profile_results (Profile.results ()); | ||
|
||
|
||
val _ = export_theory (); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters