Skip to content

Commit 683f743

Browse files
committed
Explanation about the axiom (substitution lemma)
1 parent 9f6559e commit 683f743

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

FOLL/LL/SequentCalculi.v

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -199,27 +199,26 @@ Module SqSystems (DT : Eqset_dec_pol).
199199
Qed.
200200

201201
(**
202-
Since there are no free variables in our encoding, we cannot
203-
prove directly the usual substitution lemma: if there is a proof
204-
with a fresh variable x, then there is a proof, of the same
205-
height, for a given term t. This axiom (and the similar ones for
206-
the other systems) are introduced to cope with the following
207-
cases:
202+
Since there are no free variables in our encoding, we cannot prove
203+
directly the usual substitution lemma: if there is a proof with a
204+
fresh variable x, then there is a proof, of the same height for any
205+
term t. The following axiom (and the similar ones for the other
206+
systems) are introduced to cope with proofs of the form:
208207
209208
<<
210209
H: forall x:Term, exists n:nat, |- Gamma, Subst FX x
211210
----------------------------------------------------
212-
exists n:nat, |- Gamma, F{ FX}
211+
G: exists n:nat, |- Gamma, F{ FX}
213212
>>
214213
215-
The hypothesis [H] is the result of our encoding of the LL universal
216-
quantifier as the (dependent type) constructor [forall] in Coq. In the
217-
usual sequent calculi presentation, that hypothesis is stronger:
218-
#<i>for any fresh variable x, there is a proof of height n</i>#. Then,
219-
it suffices to generalize H with a fresh variable, and then, from
220-
alpha conversion, we can use exactly the same fresh variable to
221-
conclude the goal.
222-
214+
The hypothesis [H] results in inductive proofs where the principal
215+
formula is (the LL universal quantifier} [F{ FX}]. Note that we cannot
216+
conclude the goal [G] from [H] since our hypothesis is weaker than the
217+
similar one in pencil/paper proofs. More precisely, in a paper proof,
218+
we can generalize [H] with a fresh variable [x]. Then, there exists
219+
[n] s.t. [n |- Gamma, Subst Fx x]. By using the substitution lemma,
220+
for any [y], it must be the case [n |- Gamma, Subst Fx y] and we can
221+
easily conclude the goal [G].
223222
*)
224223
Axiom ax_subs_prop: forall B L M FX (P:nat -> Prop), (forall x : Term, exists n : nat, (P n) /\ n |-F- B; L; UP (Subst FX x :: M)) -> exists n, (P n) /\ forall x, n |-F- B; L; UP (Subst FX x :: M) .
225224

0 commit comments

Comments
 (0)