@@ -818,7 +818,6 @@ data PTerm = PQuote Raw -- ^ Inclusion of a core term into the high-level langua
818818 | PIfThenElse FC PTerm PTerm PTerm -- ^ Conditional expressions - elaborated to an overloading of ifThenElse
819819 | PCase FC PTerm [(PTerm, PTerm)] -- ^ A case expression. Args are source location, scrutinee, and a list of pattern/RHS pairs
820820 | PTrue FC PunInfo -- ^ Unit type..?
821− | PRefl FC PTerm -- ^ The canonical proof of the equality type
822821 | PResolveTC FC -- ^ Solve this dictionary by type class resolution
823822 | PEq FC PTerm PTerm PTerm PTerm -- ^ Heterogeneous equality type: A = B
824823 | PRewrite FC PTerm PTerm (Maybe PTerm) -- ^ "rewrite" syntax, with optional result type
@@ -1027,7 +1026,6 @@ highestFC (PMatchApp fc _) = Just fc
10271026highestFC (PCase fc _ _) = Just fc
10281027highestFC (PIfThenElse fc _ _ _) = Just fc
10291028highestFC (PTrue fc _) = Just fc
1030−highestFC (PRefl fc _) = Just fc
10311029highestFC (PResolveTC fc) = Just fc
10321030highestFC (PEq fc _ _ _ _) = Just fc
10331031highestFC (PRewrite fc _ _ _) = Just fc
@@ -1556,7 +1554,6 @@ pprintPTerm ppo bnd docArgs infixes = prettySe startPrec bnd
15561554 , kwd "else" <+> prettySe startPrec bnd f
15571555 ]
15581556 prettySe p bnd (PHidden tm) = text "." <> prettySe funcAppPrec bnd tm
1559− prettySe p bnd (PRefl _ _) = annName eqCon $ text "Refl"
15601557 prettySe p bnd (PResolveTC _) = kwd "%instance"
15611558 prettySe p bnd (PTrue _ IsType) = annName unitTy $ text "()"
15621559 prettySe p bnd (PTrue _ IsTerm) = annName unitCon $ text "()"
@@ -1872,7 +1869,6 @@ instance Sized PTerm where
18721869 size (PCase fc trm bdy) = 1 + size trm + size bdy
18731870 size (PIfThenElse fc c t f) = 1 + sum (map size [c, t, f])
18741871 size (PTrue fc _) = 1
1875− size (PRefl fc _) = 1
18761872 size (PResolveTC fc) = 1
18771873 size (PEq fc _ _ left right) = 1 + size left + size right
18781874 size (PRewrite fc left right _) = 1 + size left + size right