@@ -222,7 +222,7 @@ genAll i args
222222 pimp (sUN "B") Placeholder True] ++
223223 [pexp l, pexp r]) o
224224 otherPats o@(PDPair fc hls p t _ v)
225− = ops fc (sUN "Ex_intro")
225+ = ops fc sigmaCon
226226 ([pimp (sUN "a") Placeholder True,
227227 pimp (sUN "P") Placeholder True] ++
228228 [pexp t,pexp v]) o
@@ -243,8 +243,8 @@ genAll i args
243243 getExpTm t = getTm t
244244
245245 -- put it back to its original form
246− resugar (PApp _ (PRef fc hl (UN ei)) [_,_,t,v])
247− | ei == txt "Ex_intro"
246+ resugar (PApp _ (PRef fc hl n) [_,_,t,v])
247+ | n == sigmaCon
248248 = PDPair fc [] TypeOrTerm (getTm t) Placeholder (getTm v)
249249 resugar (PApp _ (PRef fc hl n) [_,_,l,r])
250250 | n == pairCon