Orders of a disjoint union are interleavings of the component orders
ProvedMarkovScattering.orders_union_eqmarkov-scattering
For disjoint finite sets and in a type with decidable equality, the orders of are exactly the order-preserving interleavings of an order of with an order of . An order lists each member exactly once.
Preamble
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.BigOperators.Group.Finset.Sigma
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Field.Defs
import Mathlib.Data.Finset.Dedup
import Mathlib.Data.Finset.Lattice.Lemmas
import Mathlib.Data.Finset.Union
import Mathlib.Data.List.Nodup
import Mathlib.Data.List.Permutation
import Definitions.Def_MarkovScatteringPlanar_Interleavings
import Definitions.Def_MarkovScatteringPlanar_Orderings
set_option autoImplicit false
open MarkovScattering
open scoped BigOperators
open MarkovScattering
variable {V K : Type*} [DecidableEq V]
Formal statement
theorem MarkovScattering.orders_union_eq (A B : Finset V) (hAB : Disjoint A B) :
orders (A ∪ B) = ((orders A) ×ˢ (orders B)).biUnion
(fun uv => shuffles uv.1 uv.2) := by sorry
Source