fix: sigma notation precedence
This commit is contained in:
parent
c94bb0fa2b
commit
4450b8567d
2 changed files with 10 additions and 2 deletions
|
|
@ -83,8 +83,8 @@ macro "∃" xs:explicitBinders ", " b:term : term => expandExplicitBinders `Exis
|
|||
macro "exists" xs:explicitBinders ", " b:term : term => expandExplicitBinders `Exists xs b
|
||||
macro "Σ" xs:explicitBinders ", " b:term : term => expandExplicitBinders `Sigma xs b
|
||||
macro "Σ'" xs:explicitBinders ", " b:term : term => expandExplicitBinders `PSigma xs b
|
||||
macro:25 xs:bracketedExplicitBinders "×" b:term : term => expandBrackedBinders `Sigma xs b
|
||||
macro:25 xs:bracketedExplicitBinders "×'" b:term : term => expandBrackedBinders `PSigma xs b
|
||||
macro:35 xs:bracketedExplicitBinders "×" b:term:35 : term => expandBrackedBinders `Sigma xs b
|
||||
macro:35 xs:bracketedExplicitBinders "×'" b:term:35 : term => expandBrackedBinders `PSigma xs b
|
||||
|
||||
syntax "funext " (colGt term:max)+ : tactic
|
||||
|
||||
|
|
|
|||
8
tests/lean/run/sigmaprec.lean
Normal file
8
tests/lean/run/sigmaprec.lean
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
def f1 : Nat × Bool → Nat
|
||||
| _ => 0
|
||||
|
||||
def f2 : (α : Type) × α × α → Nat
|
||||
| _ => 0
|
||||
|
||||
def f3 : (x : Nat) × Bool → Nat
|
||||
| _ => 0
|
||||
Loading…
Add table
Reference in a new issue