2179e57db3
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
35 lines
779 B
Text
35 lines
779 B
Text
Set: pp::colors
|
||
Set: pp::unicode
|
||
Imported 'if_then_else'
|
||
Notation has been redefined, the existing notation:
|
||
notation 60 if _ then _ else _
|
||
has been replaced with:
|
||
notation 10 if _ then _
|
||
because they conflict with each other.
|
||
The precedence of 'then' changed from 60 to 10.
|
||
notation 10 if _ then _ : implies
|
||
if ⊤ then ⊥
|
||
if ⊤ then (if a then ⊥)
|
||
implies ⊤ (implies a ⊥)
|
||
notation 100 _ |- _ ; _ : f
|
||
f c d e
|
||
c |- d ; e
|
||
(c !) !
|
||
fact (fact c)
|
||
The precedence of ';' changed from 100 to 30.
|
||
[ c ; d ]
|
||
[ c ; ([ d ; e ]) ]
|
||
g c (g d e)
|
||
notation 40 _ << _ >> : h
|
||
d << e >>
|
||
[ c ; d << e >> ]
|
||
g c (h d e)
|
||
c ** d ++ e ** c
|
||
p1 ∨ p2 ∧ p3
|
||
r (s c d) (s e c)
|
||
or p1 (and p2 p3)
|
||
c = d ∨ d = c
|
||
¬ p1 ∨ p2
|
||
p1 ∧ p3 ∨ p2 ∧ p3
|
||
or (not p1) p2
|
||
or (and p1 p3) (and p2 p3)
|