Skip to content

Commit eb94db0

Browse files
authored
Merge branch 'leanprover:main' into main
2 parents 3c41d95 + 5a72d6a commit eb94db0

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Cslib/Foundations/Syntax/Congruence.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ namespace Cslib
1515

1616
/-- An equivalence relation preserved by all contexts. -/
1717
class Congruence (α : Type*) [HasContext α] (r : α → α → Prop) extends
18-
IsEquiv α r, covariant : CovariantClass (HasContext.Context α) α (·[·]) r
18+
IsEquiv α r, covariant : CovariantClass (HasContext.Context α) α (·<[·]) r
1919

2020
end Cslib

Cslib/Foundations/Syntax/Context.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ class HasContext (Term : Sort*) where
1919
/-- Replaces the hole in the context with a term. -/
2020
fill (c : Context) (t : Term) : Term
2121

22-
@[inherit_doc] notation:max c "[" t "]" => HasContext.fill c t
22+
@[inherit_doc] notation:max c "<[" t "]" => HasContext.fill c t
2323

2424
end Cslib

Cslib/Languages/CCS/Basic.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ instance : HasContext (Process Name Constant) := ⟨Context Name Constant, Conte
123123

124124
/-- Definition of context filling. -/
125125
@[scoped grind =]
126-
theorem isContext_def (c : Context Name Constant) (p : Process Name Constant) :
127-
c[p] = c.fill p := rfl
126+
theorem hasContext_def (c : Context Name Constant) (p : Process Name Constant) :
127+
c<[p] = c.fill p := rfl
128128

129129
/-- Any `Process` can be obtained by filling a `Context` with an atom. This proves that `Context`
130130
is a complete formalisation of syntactic contexts for CCS. -/
131131
theorem Context.complete (p : Process Name Constant) :
132-
∃ c : Context Name Constant, p = c[Process.nil] ∨
133-
∃ k : Constant, p = c[Process.const k] := by
132+
∃ c : Context Name Constant, p = c<[Process.nil] ∨
133+
∃ k : Constant, p = c<[Process.const k] := by
134134
induction p
135135
case nil =>
136136
exists hole

0 commit comments

Comments
 (0)