Skip to content

Commit

Permalink
Merge pull request #149 from jjhugues/master
Browse files Browse the repository at this point in the history
Resolve error in notations for ∀ , ∃, and λ
  • Loading branch information
jwiegley authored Sep 18, 2024
2 parents 9307e3a + cfe88ee commit b020903
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/Foundation.v
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Arguments Basics.arrow _ _ /.
Arguments Datatypes.id {_} _ /.

Notation "∀ x .. y , P" := (forall x, .. (forall y, P) ..)
(at level 200, x binder, y binder, right associativity) :
(at level 10, x binder, y binder, P at level 200, right associativity) :
category_theory_scope.

Notation "'exists' x .. y , p" := (sigT (fun x => .. (sigT (fun y => p)) ..))
Expand All @@ -40,7 +40,7 @@ Notation "'exists' x .. y , p" := (sigT (fun x => .. (sigT (fun y => p)) ..))
category_theory_scope.

Notation "∃ x .. y , P" := (exists x, .. (exists y, P) ..)
(at level 200, x binder, y binder, right associativity) :
(at level 10, x binder, y binder, P at level 200, right associativity) :
category_theory_scope.

Notation "x → y" := (x -> y)
Expand All @@ -55,5 +55,5 @@ Infix "∧" := prod (at level 80, right associativity) : category_theory_scope.
Infix "∨" := sum (at level 85, right associativity) : category_theory_scope.

Notation "'λ' x .. y , t" := (fun x => .. (fun y => t) ..)
(at level 200, x binder, y binder, right associativity) :
(at level 10, x binder, y binder, t at level 200, right associativity) :
category_theory_scope.

0 comments on commit b020903

Please sign in to comment.