main_marking3/re_test6.scala
author Christian Urban <christian.urban@kcl.ac.uk>
Fri, 29 Jan 2021 00:56:19 +0000
changeset 390 175a950470a9
child 424 daf561a83ba6
permissions -rw-r--r--
updated

import CW8c._

assert(simp(Iterator.iterate(ONE:Rexp)(r => SEQ(r, ONE | ONE)).drop(50).next) == ONE)
assert(simp(Iterator.iterate(ONE:Rexp)(r => ALT(r, r)).drop(20).next) == ONE)