diff options
Diffstat (limited to '')
-rw-r--r-- | hott/List_HoTT.thy (renamed from hott/List+.thy) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hott/List+.thy b/hott/List_HoTT.thy index 869d667..9bd1517 100644 --- a/hott/List+.thy +++ b/hott/List_HoTT.thy @@ -1,4 +1,4 @@ -theory "List+" +theory List_HoTT imports Spartan.List Nat @@ -7,7 +7,7 @@ begin section \<open>Length\<close> -definition [implicit]: "len \<equiv> ListRec ? Nat 0 (fn _ _ rec. suc rec)" +definition [implicit]: "len \<equiv> ListRec {} Nat 0 (fn _ _ rec. suc rec)" experiment begin Lemma "len [] \<equiv> ?n" by (subst comp; typechk?) |