Skip to content

Commit e739cdb

Browse files
authored
Merge pull request #2 from pitmonticone/lean-typos
Fix typos in docstrings and comments
2 parents d3462e3 + efd24f5 commit e739cdb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

LeanMachines/Event/Basic.lean

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This comprises:
4545
class Machine (CTX : outParam (Type u)) (M) where
4646
/-- The context (i.e. parameters) of the machine. -/
4747
context : CTX
48-
/-- The invariant property that must be satisified
48+
/-- The invariant property that must be satisfied
4949
by a machine (state) of type `M`. -/
5050
invariant : M → Prop
5151
/-- The "before initialization", or *reset state*. -/
@@ -274,7 +274,7 @@ variable (γ)
274274
#check (Arrow.arrow f : _KEvent M γ α β)
275275
-/
276276

277-
-- Arrows are less poweful (but more general) than Monads
277+
-- Arrows are less powerful (but more general) than Monads
278278
-- but Events are monads in their output type
279279
-- and both monads and arrows do not apply on input types
280280

LeanMachines/Event/Convergent.lean

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ refinements of the event.
3131
Basic well-founded orders are proposed, such as the natural ordering for
3232
natural numbers (type `Nat`), or subset ordering for finite sets
3333
(type `FinSet α`), and so on. Order composition means are also
34-
available, such as lexicographic produc ordering, multiset ordering, etc.
34+
available, such as lexicographic product ordering, multiset ordering, etc.
3535
And of course, custom orderings can be defined (cf. Mathlib's documentation).
3636
3737
-/

LeanMachines/NonDet/Basic.lean

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def skip_NDEvent [Machine CTX M] : _NDEvent M α β :=
8181
-/
8282

8383

84-
-- Remark: The functor instance is existential, not suprising given the relational context
84+
-- Remark: The functor instance is existential, not surprising given the relational context
8585
instance [Machine CTX M] : Functor (_NDEvent M γ) where
8686
map f ev :=
8787
{

0 commit comments

Comments
 (0)