@[reducible, inline]
Equations
Instances For
Add a transition from one state to another.
Equations
- One or more equations did not get rendered due to their size.
 
Instances For
theorem
Compiler.Lemmas.nextOfLt_of_union
(«from» to : Nat)
(s : Array NFA.Unchecked.State)
(alternates : Array NFA.Unchecked.StateID)
(h1 : «from» < s.size)
(h2 : to < s.size)
(h3 : NextOfLt s)
(hm : s[«from»] = NFA.Unchecked.State.Union alternates)
 :
NextOfLt (s.set «from» (NFA.Unchecked.State.Union (alternates.push to)) h1)
theorem
Compiler.Lemmas.nextOfLt_of_union_reverse
(«from» to : Nat)
(s : Array NFA.Unchecked.State)
(alternates : Array NFA.Unchecked.StateID)
(h1 : «from» < s.size)
(h2 : to < s.size)
(h3 : NextOfLt s)
(hm : s[«from»] = NFA.Unchecked.State.UnionReverse alternates)
 :
NextOfLt (s.set «from» (NFA.Unchecked.State.UnionReverse (alternates.push to)) h1)