Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2021-01-12 19:31 0e7a9214

View on Github →

feat(data/buffer/parser/basic): lemmas describing parsers (#5460)

Estimated changes

added theorem exists_eq_right_right'
added theorem exists_eq_right_right
added theorem nat.le_of_sub_eq_pos
added theorem ne_iff_lt_iff_le
added def parse_result.pos
added theorem parser.and_then_fail
added theorem parser.bind_eq_bind
added theorem parser.bind_eq_done
added theorem parser.bind_eq_fail
added theorem parser.ch_eq_done
added theorem parser.digit_eq_done
added theorem parser.eof_eq_done
added theorem parser.eps_eq_done
added theorem parser.fail_iff
added theorem parser.failure_def
added theorem parser.failure_eq_fail
added theorem parser.foldl_eq_done
added theorem parser.foldl_eq_fail
added theorem parser.foldr_eq_done
added theorem parser.foldr_eq_fail
added theorem parser.guard_eq_done
added theorem parser.guard_eq_fail
added theorem parser.many'_eq_done
added theorem parser.many1_eq_done
added theorem parser.many1_eq_fail
added theorem parser.many_eq_done
added theorem parser.many_eq_fail
added theorem parser.map_eq_done
added theorem parser.map_eq_fail
added theorem parser.mmap'_eq_done
added theorem parser.mmap_eq_done
added theorem parser.one_of'_eq_done
added theorem parser.one_of_eq_done
added theorem parser.orelse_eq_done
added theorem parser.pure_eq_done
added theorem parser.pure_ne_fail
added theorem parser.return_eq_pure
added theorem parser.sat_eq_done
added theorem parser.sep_by1_eq_done
added theorem parser.seq_eq_done
added theorem parser.seq_eq_fail
added theorem parser.success_iff
added theorem parser.valid.and_then
added theorem parser.valid.any_char
added theorem parser.valid.bind
added theorem parser.valid.ch
added theorem parser.valid.char_buf
added theorem parser.valid.digit
added theorem parser.valid.eof
added theorem parser.valid.eps
added theorem parser.valid.failure
added theorem parser.valid.fix
added theorem parser.valid.fix_core
added theorem parser.valid.foldl
added theorem parser.valid.foldr
added theorem parser.valid.guard
added theorem parser.valid.many'
added theorem parser.valid.many1
added theorem parser.valid.many
added theorem parser.valid.many_char
added theorem parser.valid.map
added theorem parser.valid.mmap'
added theorem parser.valid.mmap
added theorem parser.valid.mono_done
added theorem parser.valid.mono_fail
added theorem parser.valid.nat
added theorem parser.valid.one_of'
added theorem parser.valid.one_of
added theorem parser.valid.orelse
added theorem parser.valid.pure
added theorem parser.valid.remaining
added theorem parser.valid.sat
added theorem parser.valid.sep_by1
added theorem parser.valid.sep_by
added theorem parser.valid.seq
added theorem parser.valid.str
added def parser.valid