Repository navigation
[proof theory: sequent calculus, cut elimination, proof search] corrections of the mathematics (140 places) - #482
Open
KokunoYumeto wants to merge 3 commits into
Conversation
ce-largest.tex:
- l. 29: Inspecting the cited inversion construction: if the last inference
is binary and principal, each inverted proof is one immediate subproof and
may discard all cuts in the other branch. Thus the stated inspection does
not preserve the exact rank multiset.
- l. 43: The proof has fixed R as the rule being inverted and has just
disposed of the case in which the last rule is R. In all other cases the
final inference is a different rule.
- l. 122: If pi_2 is a bottom-left axiom with bottom in Gamma, A may be
nonprincipal while Delta is empty. The conclusion is still a bottom-left
axiom. Add that alternative without changing the existing principal-bottom
repair.
- l. 125: Independently checked the atomic-cut base case against the G3c
axioms. If the principal cut formula is bottom, the second premise may be
a bottom-left axiom with no common atom in the succedent, so the
identity-case contraction argument does not apply.
- l. 133: The induction is on height(pi_2). A selected premise of its final
rule is proved by a strictly shorter immediate subproof, not by pi_2
itself.
- l. 221: The displayed replacement uses Subst(pi_1-prime,t,c) even though
pi_1-prime may contain cuts.
- l. 223: π_1′ may contain cuts: eigenvariables are renamed away from t, and
substitution and weakening are noted to preserve these proofs.
- l. 242: Correctness after deleting a marked universal does not prove it
was never active: an unmarked duplicate occurrence can still supply the
same rule instance.
- l. 272: At a binary context-sharing inference, adding Gamma/Delta only to
one premise and the conclusion leaves the other premise with different
contexts. Weakening the companion proof by the same accumulated contexts
restores the rule instance.
- l. 277: The cited contraction theorem was stated only for cut-free G3c,
whereas the current proof retains lower-rank CutCS inferences.
- l. 280: Inversion may discard branches and their cuts, as the first lemma
construction shows, and substitution copies need not retain every original
cut.
- l. 280: The maximal-cut lemma covers every formula, but its active proof
enumerates only the universal quantifier case and omits existential cuts.
Logical depth falls strictly.
ce-topmost.tex:
- l. 70: Case E (lines 359 onward) treats both-principal last inferences,
which can have positive cut height just as the permutation cases C and D
do. The source range omits that necessary case.
- l. 70: Read both versions of A/B. The first common-atom arguments do not
cover a bottom-left axiom (its succedent may even be empty). The alternate
cases at lines 97–121 separately cover identity and bottom.
- l. 107: In the second alternative-identity case, the right premise pi_2 is
the axiom with A already in Delta. The other, left proof pi_1 ends in
Gamma=>Delta-prime,A,A and is the proof to which right contraction
applies.
- l. 167: In the generic right-rule permutation, Pi contains the active
antecedent formulas consumed by R. The new conclusion has antecedent Gamma
alone; a trailing comma before the sequent sign denotes no further formula
and is accidental.
- l. 260: The two premises share exists x B(x),Gamma-prime; A alone is cut.
Removing the shared existential is not licensed by CutCS. The immediately
following permutation and contraction preserve it.
- l. 323: Case D defines Delta=Delta-prime,B and C. This left premise is
pi_1 weakened by C, so it has exactly one conjunction. Using unprimed
Delta adds a second conjunction and breaks the shared context with the
right premise.
- l. 352: Both premises at lines 347 and 350 share Delta-prime,B and C.
Right conjunction adds precisely one further conjunction. The unprimed
Delta already contains one, so the printed conclusion would contain three
before contraction instead of two.
- l. 365: The quantifier reduction cuts B(t), which need not literally occur
as a syntactic subformula of forall x B(x).
- l. 484: The implication reduction cuts C with shared antecedent B,Gamma,
but its right premise has only C,Gamma.
- l. 548: If x is not free in B(x), the chosen instantiation term need not
occur in B(t), so its absence cannot be inferred from pi_2. A fresh
constant gives the same vacuous instance.
- l. 577, 607: The exercise uses universal-left, a one-premise rule in the
table. Case C handles one-premise permutations; case D is explicitly the
two-premise case.
- l. 613: In the combined diagram the lower cut has left premise
Gamma=>Delta,B and right premise B,Gamma=>Delta. Its cut formula B is
removed, leaving Gamma=>Delta. The source incorrectly retains that
distinguished B in the conclusion.
- l. 618: Cut height was defined only for a proof ending in one cut with
cut-free premises. The transformed cut-free subproof itself has no such
last-cut height, and its ordinary height need not strictly grow.
interpolation.tex:
- l. 14: The introductory entailment has no closedness assumption on A and
B, and the theorem below correctly promises a formula. For A=B=P(x), no
sentence C is equivalent to P(x) under all assignments in a structure
where P has both positive and negative instances.
- l. 74: G3c also has bottom-left axioms without a repeated atom.
- l. 84: The construction needs one valid interpolant, not uniqueness.
Bottom conjunction bottom also works in every context and contains no
nonlogical vocabulary; context-specific alternatives may work as well.
Bottom is the simplest sufficient choice.
- l. 91: The partition data do not rule out A itself as an interpolant when
other context formulas make the needed sequents derivable. What fails
uniformly is the proposed direct use of these two identity axioms.
Negating A remains the correct general construction.
- l. 137: Repartitioning a premise does not make the conclusion lose all
interpolants: the lemma being proved supplies one independently of that
auxiliary choice.
- l. 354: The new right-universal conclusion has the extra formula C1, so
the original eigenvariable condition alone does not suffice.
- l. 404: To abstract the constant b, the replacement variable must avoid
existing binders and existing free occurrences. For example, replacing b
with y in forall y P(b,y) without freshening captures the new occurrence.
- l. 518: The ambient language can contain symbols not used by the theory.
Renaming R defines the full ambient language L-prime, but the symbols
actually occurring in Gamma-prime form only a subset. The subsequent
language-intersection argument needs no equality here.
- l. 524: Iterated right-universal inversion and final generalization
require distinct fresh names for the separate arguments. If two c_i
coincide, the displayed instances constrain only a diagonal, and a general
relation on arbitrary tuples cannot be recovered.
- l. 529: The distinguished constants are replaced simultaneously, after
renaming bound variables.
- l. 532: Maehara gives vocabulary inclusion, not equality, and the two
partition languages include the newly introduced c_i. Their intersection
excludes R and R-prime and is contained in (L(Gamma) minus R) union {c_i};
this is the needed property.
- l. 538: There are two separate proofs of the two implication directions.
Right-implication and right-universal alone cannot introduce their
conjunction, which is the defined biconditional
(admissible-derivable.tex:109).
- l. 548: The proof applies completeness of Gamma to an arbitrary sentence
in the full common language, which is not warranted by completeness in a
proper sublanguage.
- l. 563: The premise set is Γ_2.
introduction.tex:
- l. 98: The first cut definition concatenates the two independent contexts.
This second display instead has the same Gamma and Delta in each premise
and retains one copy; the preceding sentence explicitly introduces it as
context-sharing CutCS.
intuitionistic.tex:
- l. 0: Read the whole standalone fragment and both G3c/mG3i tables. Its
arbitrary Delta/Lambda contexts are classical, while its implication-left
first premise retains the principal formula.
- l. 53, 62: Ordinary Cut concatenates the two contexts. The cut on C of
B,Gamma=>Delta,C and C,Pi=>Lambda yields B,Gamma,Pi=>Delta,Lambda, with no
duplicated Pi/Lambda.
- l. 65, 69: The conclusion of the last cut, with the multiplicities that
the two premises give.
midsequent.tex:
- l. 22: Without the matrix restriction every formula is of the displayed
form with an empty prefix. The later proof explicitly uses that no
quantified subformula occurs under a propositional connective in a prenex
end-formula (lines 117–123).
- l. 48: The identity axioms of G3c are atomic; compound ones are derived.
- l. 50: The hypothesis only says B is quantifier-free, which allows a
compound matrix such as P or Q. G3c identity axioms require an atomic
repeated formula.
- l. 75: The existential is the principal conclusion formula of
right-exists; B(t) is its newly decomposed active instance in the premise.
The sentence is selecting those right-exists inferences by the formula
introduced.
- l. 75: The preceding extraction diagram names the upper subproof pi_1. No
pi_1 prime has been defined here, and the subsequent deletion step also
refers to pi_1.
- l. 106: Order zero includes an atomic identity proof and any purely
propositional proof, which has no quantifier inference to select. The
end-sequent works in that case.
- l. 152: The original pi_3 ends in C,Gamma-prime=>Delta-prime,A(c). The
permuted binary inference needs the additional universal side formula in
that succedent.
- l. 161: π_3 needs the additional side formula too.
- l. 172, 175: Order counts propositional inferences below a quantifier
inference. Deleting an inference can decrease this count; it need not
preserve it exactly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
completeness.tex: - l. 13: Says which sequents the section treats: finite, equality-free, of sentences. - l. 23: Theta and Xi are defined as unions of branch contexts with multiplicity removed. Each is a set of formulas, not a single formula. - l. 26: The aborted case explicitly has a finite branch whose final atomic leaf has no successor. Restrict the successor and atomic-persistence assertions to nonterminal positions; the infinite case still has a successor at every index. - l. 29, 32, 93: A terminal position has no successor. - l. 34: The failure-branch succedent is consistently named Lambda_n; Delta_n is undefined in the associated-constant sentence. - l. 61, 64: The function and predicate interpretation clauses explicitly declare arity m. Their function argument list, predicate-domain Cartesian power, and defining atom must all use m. - l. 107: Atomic occurrences persist with their original indices, so the minimum over all indices need never increase. The algorithm actually selects the minimum non-atomic index and allocates new indices above the current maximum. - l. 122, 130, 141: With k the current maximum as in the algorithm, newly created formulas get k+1 and k+2 for conjunction-left, k+1 on each separate conjunction-right branch, and k+1 for the existential witness. introduction.tex: - l. 12: ⊤ and ↔ have no rules in G3c: they are expanded first. - l. 103: The actual G3c rules instantiate only closed terms and have no identity rules; the countermodel is a variable-free term model. search-algorithm.tex: - l. 13: The algorithm is for finite sequents of equality-free sentences. - l. 20: Atomic formulas have no backward logical reduction and are only checked for closure. A branch that has already closed at an axiom also need not decompose its remaining compounds. tableaux.tex: - l. 120: An open branch may have no ordinary eligible formula while retaining a reusable true-universal or false-existential formula. The algorithm cannot unconditionally select a nonexistent first formula. - l. 138: In a finite function-free saturated branch every eligible instance may already occur, so no first term meeting the stated novelty condition exists. A vacuous matrix can also exhaust novel instances despite infinitely many terms. - l. 151: The conversion is from closed tableaux; failed open branches instead support the preceding countermodel construction. - l. 151: A tableau may close using a previously expanded compound formula that a naive G3 sequent label has deleted. Accumulated branch contexts retain that historical formula. - l. 172, 175, 180, 185: A,B,C are arbitrary formula metavariables, and no atomicity hypothesis is given. G3c identity axioms require the repeated formula to be atomic. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
admissible-derivable.tex:
- l. 115: With all Gamma true and all Delta false, the two premises require
not(A and B) and (A or B), hence exactly one of A,B is true: this
falsifies A iff B. Thus these premises yield the biconditional on the
left, not on the right.
- l. 124: The book explicitly defines schematic proofs in proof-examples.tex
116–130 as having formula-independent structure and height, and
distinguishes arbitrary-identity expansions in G3c from such schematic
proofs.
- l. 139: An arbitrary added formula A may contain an internal
eigenconstant. Adding it to that quantifier inference conclusion would
violate freshness, although pi was regular.
- l. 141: The displayed object is Gamma=>Delta,A, a sequent.
Rules-proofs.tex:110–112 names the concluding node of a sequent proof its
end-sequent; it is not an end-formula.
- l. 212: The G3c table has both atomic-identity and bottom-left axioms.
Adding a succedent formula preserves either type, so the base case is
correct only after including bottom in Gamma as the second alternative.
interpretation-rules.tex:
- l. 14: The sequent definition allows arbitrary formulas, including P(x);
the earlier FOL semantics evaluates such formulas under an assignment.
- l. 27: The source calls all G3c rules truth-preserving under one
structure. Universal-right is a counterexample: in a two-element structure
with P true only of the interpretation of fresh a, =>P(a) is true while
=>forall x P(x) is false.
- l. 68: The G3c table supplies paired rules for negation, conjunction,
disjunction, implication and the two quantifiers, but falsity has only the
falsity-left axiom and no right introduction.
- l. 79: The version G1i of the rule for → on the left also drops the side
formulas of the succedent in the first premise.
- l. 87: The sequent-truth definition at lines 13–15 says false antecedent
or true succedent. With P true and Q false, P=>Q is false although the
reversed source condition holds. Adding a right formula preserves the
correctly stated witness.
- l. 94: The necessity assertion is overbroad for an arbitrary formula A.
With A=falsity, the falsity axiom, right negation and one
right-disjunction step prove excluded middle without contraction.
- l. 116: Read the whole structural-rule motivation. In the full calculus a
proof can end in a redundant contraction, and a compound A can be
principal on the left.
introduction.tex:
- l. 52: The formulas may have free variables: truth is under one fixed
assignment.
- l. 60: The preceding sentences explicitly fix Gamma and Delta as
multisets, whose order is irrelevant; the following multiplicity equation
defines their additive multiset union. Calling these two objects sequences
contradicts that declared object type.
- l. 90, 92: Thus unexpanded top or Iff defeats the unqualified
completeness/search claims. State the common abbreviation convention once
in the first sequent chapter, which the proof-theory driver imports before
natural deduction and normalization.
- l. 92: Read the displayed rules and rules-proofs.tex:50–62: instantiations
must be closed, and no identity rules exist. Thus the broader assertion
for arbitrary first-order formulas fails for forall x P(x)=>P(y), and the
identity-valid =>c=c is underivable.
invertibility.tex:
- l. 24: The h_i are not introduced or quantified in this clause. Removing
them gives the exact unbounded notion; the next clause independently
specifies uniform height preservation.
- l. 26: The preceding rule has n premises. Height-preserving inversion must
quantify independently over every proof-height bound h, not only the
integer equal to the premise count.
- l. 74: For the n=0 conjunction-inversion case, bottom-left axioms need not
have a shared atomic formula. A conjunction is not bottom, so the bottom
remains in Gamma when the conjunction is replaced by its two conjuncts.
- l. 118: The induction hypothesis is precisely conjunction-left inversion:
replace the selected A and B conjunction in each premise by two antecedent
occurrences A,B. The following proof diagram at lines 124 and 127 already
gives these decomposed contexts.
- l. 172: The cited substitution lemma requires that a is not an
eigenconstant of pi_1 and that the inserted constant c is not one either.
Regularity of pi_1 alone supplies neither restriction in vacuous cases.
- l. 233: The G3c table contains bottom-left axioms as well as atomic
identities. Right contraction preserves the bottom in Gamma; left
contraction either leaves that context bottom or leaves one copy when the
contracted formula itself is bottom.
- l. 338: The substitution of a for c in the contracted universal proof
requires c not to be an eigenconstant and the inserted a not to be one.
proof-examples.tex:
- l. 15: Rules-proofs.tex:30–36 defines the conclusion occurrence as
principal and premise occurrences as active. Both backward-search
descriptions select a conclusion occurrence, so both must say principal.
- l. 26: The end-sequent at line 18 has antecedent {(C and D)->E}. Right
implication introduces C->(D->E) on the right and preserves this
antecedent; the subsequent diagram already uses the correct Gamma.
- l. 33: The formula meant is the principal one.
- l. 65: The two premises have (C and D) on the right of the first and E on
the left of the second; the binary conclusion introduces (C and D)->E on
the left. This matches left implication at lines 42–45, not unary right
implication.
- l. 107: The premise at line 105 is E=>E. Left weakening adds C on the left
and leaves the right-hand E unchanged; the following weakening and
left-implication steps also require E as the succedent.
- l. 124: The sequents with ⊥ on the left are axioms of G3c too.
- l. 127: Set D=E=P atomic and C a compound formula. Every top sequent in
the fragment at lines 60–64 is then an atomic identity axiom through P,
although C is not atomic. Thus atomicity of all three is sufficient, not
necessary.
- l. 132: The preceding fully schematic G1c proof was completed at lines
91–122.
- l. 142: The recursive right-hand side is depth(B)+1, so the quantified
immediate subformula must be B, not the formula A being defined. The proof
at lines 170–173 repeats the wrong matrix A(x); it is corrected to B(x).
- l. 150: Contraction has the same formula above and below; in G3c
universal-left and existential-right the principal formula is retained in
the premise.
- l. 171: The formula quantified is B(x).
- l. 217, 219: Both right-conjunction premises have two occurrences of the
antecedent conjunction. The rule shares that entire context. Left
contraction then removes one antecedent occurrence and cannot change the
succedent.
- l. 263: Classical shared-context implication-left has first premise
Gamma=>Delta,A; the printed intuitionistic rule has Gamma=>A.
- l. 263: Neither of the displayed negation proofs contains Delta. The first
extension uses only single-succedent sequents, but its unnamed premise
subproof pi_1 also needs that restriction. The second extension explicitly
creates the two-formula succedent B,not B.
- l. 271: The figure fails to be a proof only if x occurs free in B(x).
- l. 282: Read the alternate universal proof and the freshness definition in
rules-proofs.tex:61–63. If x is free in B(x), c occurs in the conclusion
antecedent B(c), violating freshness.
- l. 302: The desired second induction sequent is B,C,Gamma=>Delta,C. Taking
D=C requires antecedent context Pi=B,Gamma and succedent context
Lambda=Delta, as the next displayed proof confirms.
- l. 322: This G3c induction case introduces an unnamed fresh constant and
immediately invokes B(c), then refers to the way c was chosen. Naming that
chosen constant c supplies the omitted symbol and matches the displayed
eigenvariable throughout.
quantifiers.tex:
- l. 32: Rules-proofs.tex:50–56 requires closed instantiating terms.
Substituting a free variable x for c can both invalidate a closed-term
quantifier inference and capture an occurrence under a quantifier.
- l. 80, 92: Both diagrams occur under the explicit left-universal case at
line 74; their conclusions introduce the quantified formula on the left
and retain the succedent. Thus both printed right-universal labels are
wrong.
- l. 104: The final argument interleaves two clauses. Since c is not an
eigenconstant and t contains none, all eigenconstants remain the same and
no eigenconstant is introduced below its own inference. Restoring the
clause order states exactly that argument.
- l. 123: The induction is strong induction.
- l. 126, 139: The induction parameter at line 122 counts dirty inferences.
Choosing an already clean highest inference need not lower it.
- l. 153: Two formerly dirty inferences may share c solely with each other;
renaming one makes both clean. The procedure therefore lowers the dirty
count by at least one, not exactly one.
rules-G1i.tex:
- l. 111: The caption removes the bare bottom=>empty axiom and right
weakening, but retains primitive right negation with an empty-succedent
premise.
- l. 111: The table at line 12 has the bare falsity axiom bottom=>, whereas
the caption names a contextual G3 axiom absent from this table. The
existing removal of right weakening is retained.
rules-G3i.tex:
- l. 42, 44: Read the complete G3i table and its single-conclusion context
restriction. Every other right logical rule has one conclusion formula.
- l. 47, 49: In G3i the succedent has one formula.
- l. 89: This is the G3i table, so the G1 names are copied from the wrong
caption. Merely deleting falsity axioms leaves not P,P=>Q derivable by the
displayed left-negation rule.
rules-mG3i.tex:
- l. 64: The multiple-conclusion intuitionistic table adds the arbitrary
succedent context in the conclusions of right negation and implication,
but omits it from right forall.
- l. 81: The displayed system is mG3i, with no mG1i or mG1m definition in
the chapter. Deleting only falsity axioms retains explosion via primitive
left negation.
rules-proofs.tex:
- l. 130: The immediately following recursion gives a single axiom height 0
and adds 1 per inference (lines 138–143).
- l. 156: Multiset equality permits permutation of the antecedent, not
replacement of the succedent E by D. The preceding instantiation takes C=E
and Delta empty, so both displayed succedents must be E.
translations.tex:
- l. 33: G1c permits every identity A=>A, while G3c requires atomic
identities and uses identity expansion for the others. Both rule tables
and the cited proposition state these facts.
- l. 43: For G1c universal-left/existential-right, weaken in the quantified
principal formula retained by G3c and then apply its rule. All are
instances of the already established admissible weakening theorem.
- l. 78: Compare the two quantifier tables: G3c universal-left and
existential-right retain the principal formula in their premises, whereas
G1c does not. These are additional cases beyond the two propositional
simulations already displayed.
- l. 98: The quantifier rules that keep the principal formula were not
treated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is Claude (Claude Opus 5.5 at effort max), an AI model made by Anthropic, writing on behalf of KokunoYumeto.
This is part of the regrouping of #451 to #460 that you asked for: corrections of the mathematics; 140 places in 21 files, one commit per chapter. Spelling, grammar, markup and references are in separate pull requests.
Build: the complete text (open-logic-complete.tex, pdfLaTeX) with this branch alone: 0 errors, 0 undefined references; 387 overfull boxes over 2 pt (385 on master). All 22 branches merge with one another in any order (tried in four), and together give exactly the text of the ten pull requests they replace.
The corrections come from the Open Logic translations, as before: from the review of the French translation (each checked against the English and written up by Claude Opus 5.5, Anthropic, effort max) and from the errata harvest over the other translations (found by the translating models; classified and corrected by GPT-6 Astra, OpenAI, ChatGPT Pro mode; list with sources). Prepared by AI; no human has reviewed them.
What was wrong, by file (line numbers of master; the same list is in the commit messages; every changed place is in it):
proof-theory/cut-elimination/ce-largest.texproof-theory/cut-elimination/ce-topmost.texproof-theory/cut-elimination/interpolation.texproof-theory/cut-elimination/introduction.texproof-theory/cut-elimination/intuitionistic.texproof-theory/cut-elimination/midsequent.texproof-theory/proof-search/completeness.texproof-theory/proof-search/introduction.texproof-theory/proof-search/search-algorithm.texproof-theory/proof-search/tableaux.texproof-theory/sequent-calculus/admissible-derivable.texproof-theory/sequent-calculus/interpretation-rules.texproof-theory/sequent-calculus/introduction.texproof-theory/sequent-calculus/invertibility.texproof-theory/sequent-calculus/proof-examples.texproof-theory/sequent-calculus/quantifiers.texproof-theory/sequent-calculus/rules-G1i.texproof-theory/sequent-calculus/rules-G3i.texproof-theory/sequent-calculus/rules-mG3i.texproof-theory/sequent-calculus/rules-proofs.texproof-theory/sequent-calculus/translations.tex🤖 Generated with Claude Code