Skip to content

refactor(Logic): File layout for LogicGLAlpha/LogicGLBetaMinus - #32

Merged
SnO2WMaN merged 5 commits into
mainfrom
glalpha-glbetaminus-split
Aug 18, 2026
Merged

refactor(Logic): File layout for LogicGLAlpha/LogicGLBetaMinus#32
SnO2WMaN merged 5 commits into
mainfrom
glalpha-glbetaminus-split

Conversation

@SnO2WMaN

@SnO2WMaN SnO2WMaN commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Move TBBMinus/LogicGLAlpha/LogicA/LogicGLBetaMinus, previously inlined at the end of Classification/LetterlessTrace.lean, into dedicated modules: Logic/GLAlpha/Basic.lean, Logic/GLBetaMinus/Basic.lean, and Logic/A/Basic.lean, mirroring the layout of the other Logic/* directories.
  • Rename the long Alpha/Beta parameter names of LogicGLAlpha/LogicGLBetaMinus to X/Y (and Beta_cofinite to Y_cofinite), and propagate the same renaming to the corresponding local variable names in Classification/GeneralTrace.lean and Classification/Result.lean.
  • No mathematical content changes; all affected modules build with no sorry and no new warnings.

(A related WIP two-layered Gentzen/GLAlpha sequent calculus is being developed separately and is not part of this PR.)

Test plan

  • lake build green for all touched/new modules (Logic/GLAlpha/Basic.lean, Logic/GLBetaMinus/Basic.lean, Logic/A/Basic.lean, Classification/{LetterlessTrace,GeneralTrace,Result}.lean), no sorry, no warnings.
  • just mk-all run to update ProvabilityLogic.lean.

Co-Authored-By: Claude noreply@anthropic.com

SnO2WMaN and others added 2 commits August 18, 2026 18:57
…icGLBetaMinus`

Move `TBBMinus`/`LogicGLAlpha`/`LogicA`/`LogicGLBetaMinus`, previously
inlined in `LetterlessTrace.lean`, into dedicated `Logic/GLAlpha`,
`Logic/GLBetaMinus`, and `Logic/A` modules, mirroring the layout of the
other `Logic/*` directories. Rename the long `Alpha`/`Beta` parameter
names to `𝔸`/`𝔹` (and `Beta_cofinite` to `𝔹_cofinite`), matching the
notation already used by the two-layered `Gentzen/GLAlpha` sequent
calculus, and propagate the same renaming to call sites in
`GeneralTrace.lean`/`Result.lean`.

Co-Authored-By: Claude <noreply@anthropic.com>
…this PR

The two-layered Gentzen calculus for LogicGLAlpha is still WIP and
doesn't build; keep it untracked on disk for a future PR instead of
carrying it (and the resulting excluded/commented-out import) here.

Co-Authored-By: Claude <noreply@anthropic.com>
@SnO2WMaN SnO2WMaN changed the title refactor(Logic): File layout and 𝔸/𝔹 notation for LogicGLAlpha/LogicGLBetaMinus refactor(Logic): Extract LogicGLAlpha and LogicGLBetaMinus Aug 18, 2026
Replace the blackboard-bold 𝔸/𝔹 parameter names introduced by the
previous commit with plain X/Y, per feedback.

Co-Authored-By: Claude <noreply@anthropic.com>
@SnO2WMaN SnO2WMaN changed the title refactor(Logic): Extract LogicGLAlpha and LogicGLBetaMinus refactor(Logic): File layout for LogicGLAlpha/LogicGLBetaMinus Aug 18, 2026
SnO2WMaN and others added 2 commits August 18, 2026 20:35
…rlessTrace, simplify X/Y naming

Move `LogicA.eq_provabilityLogicRelativeTo` back out of `Logic/A/Basic.lean`
into `LetterlessTrace.lean` (stated via `LogicGLAlpha Set.univ` to avoid the
`Logic/A/Basic.lean → GeneralTrace → LetterlessTrace` import cycle), per
feedback: this fact belongs alongside `LogicGLAlpha.eq_provabilityLogicRelativeTo`,
not in `Logic/A/Basic.lean`.

Also simplify the `X`/`Y` naming convention introduced by the previous
commit: default to `X` for declarations binding a single trace set
(`LogicGLBetaMinus`'s own parameter, `LogicGLBetaMinus.eq_trace`,
`LogicGLAlpha.subset_LogicGLBetaMinus`, `eq_LogicGLAlpha_inter_LogicA_LogicGLBetaMinus`),
and reserve `Y` for declarations that genuinely need two distinct trace
sets simultaneously (`LogicGLAlpha.mono`, `LogicGLBetaMinus.congr`).

Co-Authored-By: Claude <noreply@anthropic.com>
… GLAlpha/GLBetaMinus

lake shake --keep-public flags these six as redundant now that
LetterlessTrace.lean imports Logic/GLAlpha/Basic.lean and
Logic/GLBetaMinus/Basic.lean, both of which already public-import them.

Co-Authored-By: Claude <noreply@anthropic.com>
@SnO2WMaN
SnO2WMaN enabled auto-merge August 18, 2026 11:45
@SnO2WMaN
SnO2WMaN added this pull request to the merge queue Aug 18, 2026
Merged via the queue into main with commit 9366c40 Aug 18, 2026
5 checks passed
@SnO2WMaN
SnO2WMaN deleted the glalpha-glbetaminus-split branch August 18, 2026 11:58
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