Skip to content

add(Neighborhood): T is derivable from C, D, B and 5 - #193

Merged
SnO2WMaN merged 1 commit into
mainfrom
nbhd-ecdb5-t
Aug 1, 2026
Merged

SnO2WMaN merged 1 commit into
mainfrom
nbhd-ecdb5-t

Conversation

@SnO2WMaN

@SnO2WMaN SnO2WMaN commented Aug 1, 2026

Copy link
Copy Markdown
Member

T and 4 in ECDB5 were the last two open cells of the axiom status table outside the K and P columns, and there is no counter-model for either: every finite frame satisfying C, N, P, B and 5 is already reflexive. This adds the syntactic derivation, so both cells become provable.

The derivation

The obvious routes are blocked. diaBc gives ◇□A 🡒 A, so □A 🡒 ◇□A would suffice, but getting there from axiomB's □A 🡒 □◇□A needs □ to be monotone, and ECDB5 ⊬ M; and although C and N yield the necessitation rule, there is no K to distribute it with.

The way through is to put two boxes together with C and then use RE — not an implication under □, but an equivalence, which congruence handles without any monotonicity:

  • axiomB at □A gives □A 🡒 □◇□A.
  • axiomB at ∼A, rewritten by ◇(∼A) 🡘 ∼□A, gives ∼A 🡒 □(∼□A) (CNBoxNBox).
  • axiomC merges them: □A ⋏ ∼A 🡒 □(◇□A ⋏ ∼□A).
  • 5 in the form ∼□A 🡒 □(∼□A) (CNBoxBoxNBox) says ◇□A and ∼□A are jointly absurd, i.e. ◇□A ⋏ ∼□A 🡘 ⊥. RE pushes that equivalence under the box: □(◇□A ⋏ ∼□A) 🡒 □⊥.
  • P (which D, B and 5 already give, via N) turns □⊥ into ⊥.

So □A ⋏ ∼A 🡒 ⊥, i.e. □A 🡒 ∼∼A, and dne finishes: □A 🡒 A.

4 then follows from the existing [T][5] : HasAxiomFour, and D is used only to produce N and P.

Refactoring

The three helper steps were already inlined twice, in diaBc and in diaFivec. They are pulled out as private lemmas so the new instance can reuse them:

EDiaNNBox ◇(∼A) 🡘 ∼□A
CNBoxNBox ∼A 🡒 □(∼□A) — B in box form
CNBoxBoxNBox ∼□A 🡒 □(∼□A) — 5 in box form

diaBc and diaFivec each collapse to a single line.

Note

Calculus.lean currently 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).

Co-Authored-By: Claude <noreply@anthropic.com>
@SnO2WMaN
SnO2WMaN enabled auto-merge August 1, 2026 11:10
@SnO2WMaN
SnO2WMaN added this pull request to the merge queue Aug 1, 2026
Merged via the queue into main with commit 1bcc4df Aug 1, 2026
4 checks passed
@SnO2WMaN
SnO2WMaN deleted the nbhd-ecdb5-t branch August 1, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant