aboutsummaryrefslogtreecommitdiff
path: root/hott/More_List.thy
diff options
context:
space:
mode:
authorJosh Chen2020-07-21 02:09:44 +0200
committerJosh Chen2020-07-21 02:09:44 +0200
commit12eed8685674b7d5ff7bc45a44a061e01f99ce5f (patch)
tree44b8c1a3f1de9c22e41f583595005bf85681cd8c /hott/More_List.thy
parent3bcaf5d1c40b513f8e4590f7d38d3eef8393092e (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--hott/More_List.thy4
1 files changed, 2 insertions, 2 deletions
diff --git a/hott/More_List.thy b/hott/More_List.thy
index 460dc7b..1b8034f 100644
--- a/hott/More_List.thy
+++ b/hott/More_List.thy
@@ -10,8 +10,8 @@ section \<open>Length\<close>
definition [implicit]: "len \<equiv> ListRec ? Nat 0 (fn _ _ rec. suc rec)"
experiment begin
- Lemma "len [] \<equiv> ?n" by (subst comps)+
- Lemma "len [0, suc 0, suc (suc 0)] \<equiv> ?n" by (subst comps)+
+ Lemma "len [] \<equiv> ?n" by (subst comp)+
+ Lemma "len [0, suc 0, suc (suc 0)] \<equiv> ?n" by (subst comp)+
end