separator Side "," ;
Disj. Formula ::= Formula "\\/" Formula1 ;
-Conj. Formula1 ::= Formula1 "/\\ " Formula2 ; -- Why do we need a space?
+Conj. Formula1 ::= Formula1 CIdent Formula2 ;
Neg. Formula2 ::= "-" Formula2 ;
Atom. Formula2 ::= AIdent ;
Dir. Formula2 ::= Dir ;
PTele. PTele ::= "(" Exp ":" Exp ")" ;
terminator nonempty PTele "" ;
-position token AIdent ((letter|'_')(letter|digit|'\''|'_')*) ;
-separator AIdent "" ;
\ No newline at end of file
+position token AIdent (letter|'_')(letter|digit|'\''|'_')* ;
+separator AIdent "" ;
+
+token CIdent '/''\\' ;
\ No newline at end of file
resolveFormula (Dir d) = C.Dir <$> resolveDir d
resolveFormula (Atom i) = C.Atom <$> resolveName i
resolveFormula (Neg phi) = C.negFormula <$> resolveFormula phi
-resolveFormula (Conj phi psi) = C.andFormula <$> resolveFormula phi
+resolveFormula (Conj phi _ psi) = C.andFormula <$> resolveFormula phi
<*> resolveFormula psi
resolveFormula (Disj phi psi) = C.orFormula <$> resolveFormula phi
<*> resolveFormula psi
singl (A : U) (a : A) : U = (x : A) * Id A a x
contrSingl (A : U) (a b : A) (p : Id A a b) :
- Id (singl A a) (a,refl A a) (b,p) = <i> (p @ i,<j> p @ i /\ j)
+ Id (singl A a) (a,refl A a) (b,p) = <i> (p @ i,<j> p @ i/\j)
J (A : U) (a : A) (C : (x : A) -> Id A a x -> U)
(d : C a (refl A a)) (x : A) (p : Id A a x) : C x p =