Cslib.Logic.CLL.Proposition.context_fill_def
theoremverifiedformalizationimported Lean
Definition of context filling.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in @[scoped grind =] theorem Cslib.Logic.CLL.Proposition.context_fill_def (c : Context Atom) (a : Proposition Atom) : c<[a] = c.fill a
- Formalizes
- CSLib, `Cslib.Logic.CLL.Proposition.context_fill_def`
- Lean proof
- By Fabrizio Montesi, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2025 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.CLL.Proposition.context_fill_def← Cslib.Logic.CLL.Proposition.context_fill_def (Cslib/Logics/LinearLogic/CLL/Basic.lean:103): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none — Lean reports it depends on no axioms
- Built on 10
- Cslib.Logic.CLL.Proposition.ContextPropositional contexts (single-hole contexts for propositions).
- Cslib.Logic.CLL.PropositionPropositions.
- Cslib.HasHContextClass for types with a canonical notion of heterogeneous single-hole contexts.
- Cslib.Logic.CLL.instHasContextPropositionCslib.Logic.CLL.instHasContextProposition
- Cslib.Logic.CLL.Proposition.Context.fillReplaces the hole in a propositional context with a propositions.
- Cslib.Logic.CLL.instZeroPropositionCslib.Logic.CLL.instZeroProposition
- Cslib.Logic.CLL.instOnePropositionCslib.Logic.CLL.instOneProposition
- Cslib.Logic.CLL.instTopPropositionCslib.Logic.CLL.instTopProposition
- Cslib.Logic.CLL.instBotPropositionCslib.Logic.CLL.instBotProposition
- Cslib.Logic.CLL.Sequent.Context.fillFilling a judgemental context returns a sequent.
Lean source view module on GitHub
open Cslib @[inherit_doc] local notation:max c "<[" t "]" => HasHContext.fill c t set_option autoImplicit true in set_option relaxedAutoImplicit true in /-- Definition of context filling. -/ @[scoped grind =] theorem Cslib.Logic.CLL.Proposition.context_fill_def (c : Context Atom) (a : Proposition Atom) : c<[a] = c.fill a := rfl