All proofs
Project-declaredLean 4.33.0-rc1 · mathlib@169c26b52a38

Is Bisimulation trace Eq not bisim

Cslib.LTS.IsBisimulation.traceEq_not_bisim

Plain-language statement

In general, trace equivalence is not a bisimulation (extra conditions are needed, see for example Bisimulation.deterministic_trace_eq_is_bisim).

Exact Lean statement

theorem IsBisimulation.traceEq_not_bisim :
    ∃ (State : Type) (Label : Type) (lts : LTS State Label),
      ¬(IsHomBisimulation lts (HomTraceEq lts))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem IsBisimulation.traceEq_not_bisim :     (State : Type) (Label : Type) (lts : LTS State Label),      ¬(IsHomBisimulation lts (HomTraceEq lts)) := by  let lts := LTS.mk BisimMotTr  exists , Char, lts  intro h  have htreq : (1 ~tr[lts] 5) := by    have htraces₁ : lts.traces 1 = {[], ['a'], ['a', 'b'], ['a', 'c']} := by      ext μs      constructor      case mp =>        rintro _, (_ | ⟨⟨_, (_ | (_ | _), (_ | ⟨⟨_, _)))        all_goals simp      case mpr =>        rintro (rfl | rfl | rfl | rfl)        · exact 1, .refl        · exact 2, MTr.single lts .one2two        · exact 3, MTr.stepL .one2two <| MTr.single lts .two2three        · exact 4, MTr.stepL .one2two <| MTr.single lts .two2four    have htraces₅ : lts.traces 5 = {[], ['a'], ['a', 'b'], ['a', 'c']} := by      ext μs      constructor      case mp =>        rintro _, (_ | (_ | _), (_ | ⟨⟨_, (_ | ⟨⟨_, _)))        all_goals simp      case mpr =>        rintro (rfl | rfl | rfl | rfl)        · exact 5, .refl        · exact 6, MTr.single lts .five2six        · exact 7, MTr.stepL .five2six <| MTr.single lts .six2seven        · exact 9, MTr.stepL .five2eight <| MTr.single lts .eight2nine    exact htraces₁.trans htraces₅.symm  obtain h1, h2 := h htreq 'a'  obtain s₂', htr5, cih := h1 2 (by constructor)  have htraces₂ : {['b'], ['c']}  lts.traces 2 := by    intro μs h    rcases h with (rfl | rfl)    · refine 3, MTr.single lts .two2three    · refine 4, MTr.single lts .two2four  cases htr5  case five2six =>    suffices ['c']  lts.traces 6 by grind [TraceEq]    rintro _, (_ | h)    cases h  case five2eight =>    suffices ['b']  lts.traces 8 by grind [TraceEq]    rintro _, (_ | h)    cases h
Project
Lean Computer Science Library
License
Apache-2.0
Commit
f36649cff2c9
Source
Cslib/Foundations/Semantics/LTS/Bisimulation.lean:343-390

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

Project-declaredLean 4.33.0-rc1

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.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record
Project-declaredLean 4.33.0-rc1

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.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record