diff options
author | Josh Chen | 2020-07-21 02:09:44 +0200 |
---|---|---|
committer | Josh Chen | 2020-07-21 02:09:44 +0200 |
commit | 12eed8685674b7d5ff7bc45a44a061e01f99ce5f (patch) | |
tree | 44b8c1a3f1de9c22e41f583595005bf85681cd8c /spartan/lib/Maybe.thy | |
parent | 3bcaf5d1c40b513f8e4590f7d38d3eef8393092e (diff) |
1. Type-checking/inference now more principled, and the implementation is better. 2. Changed most tactics to context tactics.
Diffstat (limited to '')
-rw-r--r-- | spartan/lib/Maybe.thy | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spartan/lib/Maybe.thy b/spartan/lib/Maybe.thy index d821920..0ce534c 100644 --- a/spartan/lib/Maybe.thy +++ b/spartan/lib/Maybe.thy @@ -54,9 +54,10 @@ Lemma Maybe_comp_some: unfolding MaybeInd_def some_def by (reduce add: Maybe_def) lemmas - [intros] = MaybeF Maybe_none Maybe_some and - [comps] = Maybe_comp_none Maybe_comp_some and - MaybeE [elims "?m"] = MaybeInd[rotated 4] + [form] = MaybeF and + [intro, intros] = Maybe_none Maybe_some and + [comp] = Maybe_comp_none Maybe_comp_some and + MaybeE [elim "?m"] = MaybeInd[rotated 4] lemmas Maybe_cases [cases] = MaybeE |