Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AVA
FloVer
Commits
441bd264
Commit
441bd264
authored
Sep 02, 2016
by
Heiko Becker
Browse files
Make split stronger, resp. behave like the coq split
parent
f0a320f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
hol/Infra/tactics.hl
View file @
441bd264
...
...
@@ -39,7 +39,9 @@ let lcontra asm ty = lcontradiction asm ty;;
let destruct (asm:string) (patt:string) =
REMOVE_THEN asm (DESTRUCT_TAC patt);;
let split = CONJ_TAC;;
let split = if (is_conj (snd (top_goal()))) then CONJ_TAC
else if (is_eq (snd (top_goal()))) then EQ_TAC
else failwith "No destructable equivalence found";;
let left = DISJ1_TAC;;
let right = DISJ2_TAC;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment