lean4-logic icon indicating copy to clipboard operation
lean4-logic copied to clipboard

Sequent

Open iehality opened this issue 7 months ago • 0 comments

Add framework for sequent calculi.


class SequentCalc₁ {F : outParam Type*}
    (R : outParam Type*) [Precollection F R] (S : Type*) where
  Sqt : S → R → Type*

notation:45 "⊢[" 𝓢 "] " Γ:46 => SequentCalc₁.Sqt 𝓢 Γ

class SequentCalc₂ {F : outParam Type*}
    (L R : outParam Type*) [Collection F L] [Precollection F R] (S : Type*) where
  Sqt : S → L → R → Type*

notation:45 Δ:45 " ⟹[" 𝓢 "] " Γ:46 => SequentCalc₂.Sqt 𝓢 Δ Γ

iehality avatar Jun 28 '24 22:06 iehality