From 5655750e12d3459c1237588f8dec3fc883a966b7 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Mon, 28 Jun 2021 16:06:19 +0100 Subject: 1. Thm/def statement display. 2. Syntax + computation proof. --- hott/List_HoTT.thy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hott') diff --git a/hott/List_HoTT.thy b/hott/List_HoTT.thy index a48d2ab..dc52320 100644 --- a/hott/List_HoTT.thy +++ b/hott/List_HoTT.thy @@ -10,8 +10,8 @@ section \Length\ definition [implicit]: "len \ ListRec {} Nat 0 (fn _ _ rec. suc rec)" experiment begin - Lemma "len [] \ ?n" by compute - Lemma "len [0, suc 0, suc (suc 0)] \ ?n" by compute + Lemma "len [] \ ?n" by (subst comp; typechk?)+ + Lemma "len [0, suc 0, suc (suc 0)] \ ?n" by (subst comp; typechk?)+ end -- cgit v1.2.3