Repository navigation
add(Neighborhood): T is derivable from C, D, B and 5 - #193
Merged
Merged
Conversation
Co-Authored-By: Claude <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.
Tand4inECDB5were the last two open cells of the axiom status table outside theKandPcolumns, and there is no counter-model for either: every finite frame satisfyingC,N,P,Band5is already reflexive. This adds the syntactic derivation, so both cells become provable.The derivation
The obvious routes are blocked.
diaBcgives◇□A 🡒 A, so□A 🡒 ◇□Awould suffice, but getting there fromaxiomB's□A 🡒 □◇□Aneeds□to be monotone, andECDB5 ⊬ M; and althoughCandNyield the necessitation rule, there is noKto distribute it with.The way through is to put two boxes together with
Cand then useRE— not an implication under□, but an equivalence, which congruence handles without any monotonicity:axiomBat□Agives□A 🡒 □◇□A.axiomBat∼A, rewritten by◇(∼A) 🡘 ∼□A, gives∼A 🡒 □(∼□A)(CNBoxNBox).axiomCmerges them:□A ⋏ ∼A 🡒 □(◇□A ⋏ ∼□A).5in the form∼□A 🡒 □(∼□A)(CNBoxBoxNBox) says◇□Aand∼□Aare jointly absurd, i.e.◇□A ⋏ ∼□A 🡘 ⊥.REpushes that equivalence under the box:□(◇□A ⋏ ∼□A) 🡒 □⊥.P(whichD,Band5already give, viaN) turns□⊥into⊥.So
□A ⋏ ∼A 🡒 ⊥, i.e.□A 🡒 ∼∼A, anddnefinishes:□A 🡒 A.4then follows from the existing[T][5] : HasAxiomFour, andDis used only to produceNandP.Refactoring
The three helper steps were already inlined twice, in
diaBcand indiaFivec. They are pulled out as private lemmas so the new instance can reuse them:EDiaNNBox◇(∼A) 🡘 ∼□ACNBoxNBox∼A 🡒 □(∼□A)—Bin box formCNBoxBoxNBox∼□A 🡒 □(∼□A)—5in box formdiaBcanddiaFiveceach collapse to a single line.Note
Calculus.leancurrently carries two copies of[D][B][4] : HasAxiomT(lines 258 and 303 before this change), one from #185 and one from #192. This PR leaves them alone; the shorter of the two is the one worth keeping.Written with the help of an AI agent (Claude).