Skip to content

Commit 7c7c983

Browse files
committed
RegularExpressions.lean: Clean up formatting
1 parent 501a101 commit 7c7c983

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

TraceTheory/TraceTheory/RegularExpressions.lean

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ namespace RegularExpression
99

1010
variable {α : Type*} {I : Independence α}
1111

12+
/-- A regular language is star-connected if the Kleene star is
13+
used over connected languages only. -/
1214
def IsStarConnected (I : Independence α) : RegularExpression α → Prop
1315
| zero => True
1416
| epsilon => True
@@ -58,9 +60,4 @@ theorem traceMatches_toTrace (P : RegularExpression α) :
5860
unfold traceMatches matches'
5961
rw [toTrace_kstar_comm, ih]
6062

61-
-- @[simp]
62-
-- theorem traceMatches_toTrace_dist (P Q : RegularExpression α) :
63-
-- toTrace I (P.matches' + Q.matches') = toTrace I P.matches' ∪ toTrace I Q.matches' := by
64-
-- apply Set.image_union
65-
6663
end RegularExpression

0 commit comments

Comments
 (0)