NLA-lib Explorer

NLAlib.Ops.Fp.Apart.take_drop

Library · theorem

Split a separated operand tuple into its prefix and suffix. The cross-separation fact is provided together with both internal apartness facts for immediate composition.

NLAlib.Ops.Fp.Apart.take_drop {zs : List (ℕ × ℕ)} {ls : List ℕ} (h : Ops.Fp.Apart zs ls)
  (hlen : zs.length = ls.length) (n : ℕ) :
  Ops.Fp.Apart (List.take n zs) (List.take n ls) ∧
    Ops.Fp.Apart (List.drop n zs) (List.drop n ls) ∧
      (Ops.Fp.blocks (List.take n zs) (List.take n ls)).Disj
        (Ops.Fp.blocks (List.drop n zs) (List.drop n ls))

Full source on GitHub

Import NLAlib.Ops.Logic.Footprint.