Cslib.Logic.InferenceSystem.DerivableIn.fromDerivation
theoremverifiedformalizationimported Lean
Shows derivability from a derivation.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in theorem Cslib.Logic.InferenceSystem.DerivableIn.fromDerivation [InferenceSystem S α] {a : α} (d : S⇓a) : DerivableIn S a
- Formalizes
- CSLib, `Cslib.Logic.InferenceSystem.DerivableIn.fromDerivation`
- Lean proof
- By Fabrizio Montesi, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2026 Fabrizio Montesi. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.Cslib.Logic.InferenceSystem.DerivableIn.fromDerivation← Cslib.Logic.InferenceSystem.DerivableIn.fromDerivation (Cslib/Foundations/Logic/InferenceSystem.lean:59): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none — Lean reports it depends on no axioms
- Built on 2
- Cslib.Logic.InferenceSystem.DerivableIn
ais derivable inSif it is the conclusion of some derivation. - Cslib.Logic.InferenceSystemThe notation typeclass for inference systems. This enables the notation
S⇓a, whereSis a tag for the inference system anda : αis…
- Cslib.Logic.InferenceSystem.DerivableIn
- Used by 1
- Cslib.Logic.InferenceSystem.instCoeDerivationDerivableInCslib.Logic.InferenceSystem.instCoeDerivationDerivableIn
Lean source view module on GitHub
set_option quotPrecheck false open Cslib Cslib.Logic Cslib.Logic.InferenceSystem @[inherit_doc] local notation S:90 "⇓" a:90 => InferenceSystem.derivation S a set_option autoImplicit true in set_option relaxedAutoImplicit true in /-- Shows derivability from a derivation. -/ theorem Cslib.Logic.InferenceSystem.DerivableIn.fromDerivation [InferenceSystem S α] {a : α} (d : S⇓a) : DerivableIn S a := Nonempty.intro d