The AllowedBy data-type is defined by:
AllowedBy : Set -> Set
AllowedBy Ty = Sigma ['epsilon 'cons]
['Const Unit
, 'Sigma Set $ \ S ->
'Sigma (S -> Set) $ \ T ->
'Sigma (:- Ty == (x : S) -> T) $ \ _ ->
'Sigma S $ \ s ->
'Sigma (AllowedBy (T s)) $ \ _ ->
'Const Unit ]
So, on 'cons, we have to give a proof that the S-T we give are equal to Ty. In
Tactics.Data, I have hopefully given the right things to 'cons. Then, for the
proof, I have simply given refl.
Is that correct?
Original issue reported on code.google.com by pedag...@gmail.com on 29 Aug 2010 at 1:33
Original issue reported on code.google.com by
pedag...@gmail.com
on 29 Aug 2010 at 1:33