Cslib.Logic.InferenceSystem.DerivableIn.toDerivation
defimported Lean
Extracts (noncomputably) a derivation from the fact that a conclusion is derivable.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in noncomputable def Cslib.Logic.InferenceSystem.DerivableIn.toDerivation [InferenceSystem S α] {a : α} (d : DerivableIn S a) : S⇓a
- Defined in
- CSLib, `Cslib.Logic.InferenceSystem.DerivableIn.toDerivation`
- 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.toDerivation← Cslib.Logic.InferenceSystem.DerivableIn.toDerivation (Cslib/Foundations/Logic/InferenceSystem.lean:65): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 3
- Cslib.Logic.InferenceSystem.DerivableIn
ais derivable inSif it is the conclusion of some derivation. - Cslib.Logic.InferenceSystem.instCoeDerivationDerivableInCslib.Logic.InferenceSystem.instCoeDerivationDerivableIn
- 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.instCoeDerivableInDerivationCslib.Logic.InferenceSystem.instCoeDerivableInDerivation
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 /-- Extracts (noncomputably) a derivation from the fact that a conclusion is derivable. -/ noncomputable def Cslib.Logic.InferenceSystem.DerivableIn.toDerivation [InferenceSystem S α] {a : α} (d : DerivableIn S a) : S⇓a := Classical.choice d