aboutsummaryrefslogtreecommitdiff
path: root/hott/List_HoTT.thy
diff options
context:
space:
mode:
authorJosh Chen2021-01-18 23:49:13 +0000
committerJosh Chen2021-01-18 23:49:13 +0000
commitf46df86db9308dde29e0e5f97f54546ea1dc34bf (patch)
treeb9523698c4ec81f3bba8f6b549d386505e345746 /hott/List_HoTT.thy
parent3922e24270518be67192ad6928bb839132c74c07 (diff)
Swapped notation for metas (now ?) and holes (now {}), other notation and name changes.
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?)