Skip to content

Commit

Permalink
stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorTaelin committed Sep 25, 2024
1 parent 2b6b5e7 commit 4206e65
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion book/Bool/match.kind2
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ match
- b: Bool
: (P b)

(~b P t f)
(~b P t f)
2 changes: 1 addition & 1 deletion book/Equal/apply.kind2
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ apply <A: *> <B: *> <a: A> <b: A>

match e {
refl: ~λPλe(e (f e.a))
}: (Equal B (f e.a) (f e.b))
}: (Equal B (f e.a) (f e.b))
14 changes: 7 additions & 7 deletions book/Nat/_.kind2
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ data Nat
| succ (pred: Nat)
| zero

Nat
: *
= $(self: Nat)
∀(P: ∀(n: Nat) *)
∀(succ: ∀(n: Nat) (P (Nat/succ n)))
∀(zero: (P Nat/zero))
(P self)
//Nat
//: *
//= $(self: Nat)
//∀(P: ∀(n: Nat) *)
//∀(succ: ∀(n: Nat) (P (Nat/succ n)))
//∀(zero: (P Nat/zero))
//(P self)
4 changes: 2 additions & 2 deletions book/Nat/add.kind2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ add
: Nat

match a {
succ: (succ (add a.pred b))
succ: (succ (add add b))
zero: b
}
}

0 comments on commit 4206e65

Please sign in to comment.