Context complete
Cslib.CCS.Context.complete
Plain-language statement
Any Process can be obtained by filling a Context with an atom. This proves that Context is a complete formalisation of syntactic contexts for CCS.
Exact Lean statement
theorem Context.complete (p : Process Name Constant) :
∃ c : Context Name Constant, p = c<[(Process.nil : Process Name Constant)] ∨
∃ k : Constant, p = c<[(Process.const k : Process Name Constant)]Formal artifact
Lean source
theorem Context.complete (p : Process Name Constant) : ∃ c : Context Name Constant, p = c<[(Process.nil : Process Name Constant)] ∨ ∃ k : Constant, p = c<[(Process.const k : Process Name Constant)] := by induction p case nil => exists hole grind case pre μ p ih => obtain ⟨c, hc⟩ := ih exists pre μ c grind case par p q ihp ihq => obtain ⟨cp, hcp⟩ := ihp exists parL cp q grind case choice p q ihp ihq => obtain ⟨cp, hcp⟩ := ihp exists choiceL cp q grind case res a p ih => obtain ⟨c, hc⟩ := ih exists res a c grind case const k => exists hole grind- Project
- Lean Computer Science Library
- License
- Apache-2.0
- Commit
- f36649cff2c9
- Source
- Cslib/Languages/CCS/Basic.lean:131-156
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Unique minimal
Cslib.Automata.DA.FinAcc.unique_minimal
Plain-language statement
The minimal DFA M accepting the language l is unique up to unique isomorphism.
Source project: Lean Computer Science Library
Person-level attribution pending.
Buchi Family cover
Cslib.Automata.NA.Buchi.buchiFamily_cover
Project documentation
na.buchiFamily is a cover if na has only finitely many states. This theorem uses the Ramsey theorem for infinite graphs and does not depend on any details of na.BuchiCongruence other than that it is of finite index.
Source project: Lean Computer Science Library
Person-level attribution pending.
Buchi Family saturation
Cslib.Automata.NA.Buchi.buchiFamily_saturation
Plain-language statement
na.buchiFamily saturates the ω-language accepted by na.
Source project: Lean Computer Science Library
Person-level attribution pending.