Skip to content
Snippets Groups Projects
Commit 27d075c2 authored by gabrielhdt's avatar gabrielhdt
Browse files

as few type annotations as possible

parent 1d988439
No related branches found
No related tags found
No related merge requests found
......@@ -10,15 +10,15 @@ definition forall {T: Term uType} (P: Term T ⇒ Term bool) ≔ prod T P
definition bnot (P: Term uProp) ≔ prod P (λ _, false)
set prefix 5 "¬" ≔ bnot
definition band (P Q: Term uProp) ≔ bnot (imp P (bnot Q))
definition band P Q ≔ bnot (imp P (bnot Q))
set infix 6 "∧" ≔ band
definition bor (P Q: Term uProp) ≔ imp (bnot P) Q
definition bor P Q ≔ imp (bnot P) Q
set infix 5 "∨" ≔ bor
definition biff (P Q: Term bool) ≔ (imp P Q) ∧ (imp Q P)
definition biff P Q ≔ (imp P Q) ∧ (imp Q P)
set infix 7 "⇔" ≔ biff
definition when (P Q: Term uProp) ≔ imp Q P
definition when P Q ≔ imp Q P
set builtin "bot" ≔ false
set builtin "top" ≔ true
......@@ -27,6 +27,7 @@ set builtin "and" ≔ band
set builtin "or" ≔ bor
set builtin "not" ≔ bnot
// Defined here because ⊑ needs it.
symbol eq {T: Term uType}: Term T ⇒ Term T ⇒ Term bool
set infix 5 "=" ≔ eq
// set builtin "eq" ≔ eq
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment