aboutsummaryrefslogtreecommitdiff
path: root/spartan/data/More_Types.thy
diff options
context:
space:
mode:
authorJosh Chen2020-05-28 14:08:26 +0200
committerJosh Chen2020-05-28 14:08:26 +0200
commit1ccd93665a01acdc25b37409e94b71615ced5393 (patch)
tree450284e77c40512408b0849f3ca2b12367aa4b90 /spartan/data/More_Types.thy
parent6ff59c83de9ce7d5715fae19f50d94b0b973414a (diff)
more List and Maybe
Diffstat (limited to 'spartan/data/More_Types.thy')
-rw-r--r--spartan/data/More_Types.thy3
1 files changed, 3 insertions, 0 deletions
diff --git a/spartan/data/More_Types.thy b/spartan/data/More_Types.thy
index fecf378..625f639 100644
--- a/spartan/data/More_Types.thy
+++ b/spartan/data/More_Types.thy
@@ -48,6 +48,9 @@ lemmas
[elims ?s] = SumE and
[comps] = Sum_comp_inl Sum_comp_inr
+method left = rule Sum_inl
+method right = rule Sum_inr
+
section \<open>Empty and unit types\<close>