Commit 2023-01-27 13:40 31dd00ce

View on Github →

feat: port Data.List.Cycle (#1642)

Estimated changes

added theorem Cycle.Chain.nil
added def Cycle.Mem
added def Cycle.Nontrivial
added theorem Cycle.card_to_multiset
added theorem Cycle.chain_coe_cons
added theorem Cycle.chain_map
added theorem Cycle.chain_ne_nil
added theorem Cycle.chain_singleton
added theorem Cycle.coe_eq_coe
added theorem Cycle.coe_eq_nil
added theorem Cycle.coe_nil
added theorem Cycle.coe_to_finset
added theorem Cycle.coe_to_multiset
added theorem Cycle.empty_eq
added theorem Cycle.induction_on
added def Cycle.length
added theorem Cycle.length_coe
added theorem Cycle.length_nil
added theorem Cycle.length_reverse
added def Cycle.lists
added theorem Cycle.lists_coe
added theorem Cycle.lists_nil
added def Cycle.map
added theorem Cycle.map_coe
added theorem Cycle.map_eq_nil
added theorem Cycle.map_nil
added theorem Cycle.mem_coe_iff
added theorem Cycle.mem_reverse_iff
added theorem Cycle.mk''_eq_coe
added theorem Cycle.mk_eq_coe
added def Cycle.nil
added theorem Cycle.nil_to_finset
added theorem Cycle.nil_to_multiset
added theorem Cycle.nodup_coe_iff
added theorem Cycle.not_mem_nil
added def Cycle.ofList
added theorem Cycle.prev_mem
added theorem Cycle.reverse_coe
added theorem Cycle.reverse_nil
added theorem Cycle.reverse_reverse
added theorem Cycle.subsingleton_nil
added def Cycle.toFinset
added def Cycle.toMultiset
added theorem Cycle.to_finset_eq_nil
added def Cycle
added theorem List.isRotated_next_eq
added theorem List.isRotated_prev_eq
added theorem List.mem_of_nextOr_ne
added def List.next
added def List.nextOr
added theorem List.nextOr_concat
added theorem List.nextOr_cons_of_ne
added theorem List.nextOr_mem
added theorem List.nextOr_nil
added theorem List.nextOr_singleton
added theorem List.next_cons_concat
added theorem List.next_cons_cons_eq
added theorem List.next_get
added theorem List.next_getLast_cons
added theorem List.next_mem
added theorem List.next_nthLe
added theorem List.next_prev
added theorem List.next_singleton
added def List.prev
added theorem List.prev_cons_cons_eq
added theorem List.prev_getLast_cons
added theorem List.prev_mem
added theorem List.prev_ne_cons_cons
added theorem List.prev_next
added theorem List.prev_nthLe
added theorem List.prev_singleton