Mercurial > cpdt > repo
diff src/Reflection.v @ 353:3322367e955d
Move GeneralRec one chapter slot later, since Subset should be a prereq
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Wed, 26 Oct 2011 17:14:28 -0400 |
parents | ad315efc3b6b |
children | e0d91bcf70ec |
line wrap: on
line diff
--- a/src/Reflection.v Wed Oct 26 16:57:11 2011 -0400 +++ b/src/Reflection.v Wed Oct 26 17:14:28 2011 -0400 @@ -460,7 +460,7 @@ Local Open Scope partial_scope. - (** Now we can write a function [forward] which implements deconstruction of hypotheses. It has a dependent type, in the style of Chapter 7, guaranteeing correctness. The arguments to [forward] are a goal formula [f], a set [known] of atomic formulas that we may assume are true, a hypothesis formula [hyp], and a success continuation [cont] that we call when we have extended [known] to hold new truths implied by [hyp]. *) + (** Now we can write a function [forward] which implements deconstruction of hypotheses. It has a dependent type, in the style of Chapter 6, guaranteeing correctness. The arguments to [forward] are a goal formula [f], a set [known] of atomic formulas that we may assume are true, a hypothesis formula [hyp], and a success continuation [cont] that we call when we have extended [known] to hold new truths implied by [hyp]. *) Definition forward : forall (f : formula) (known : set index) (hyp : formula) (cont : forall known', [allTrue known' -> formulaDenote atomics f]),