Documentation

LeanPool.BooleanIsoperimetry.SimplicialCompression

Simplicial coordinate compression #

This file defines coordinate up/down compression operations on Boolean-cube families and proves basic neighborhood monotonicity and slice-pair facts.

def BooleanIsoperimetry.IsCoordinateUp {N : } (i : Fin N) (A A' : Finset (Cube N)) :

A faithful relation for the Up compression of a family along a coordinate i. It pushes elements missing i to have i, provided the target is not already present.

Equations
Instances For

    A faithful relation for the Down compression of a family along a coordinate i. It pushes elements containing i to miss i, provided the target is not already present.

    Equations
    Instances For
      noncomputable def BooleanIsoperimetry.coordinateUp {N : } (i : Fin N) (A : Finset (Cube N)) :

      Coordinate-up compression along i.

      Equations
      Instances For
        noncomputable def BooleanIsoperimetry.coordinateDown {N : } (i : Fin N) (A : Finset (Cube N)) :

        Coordinate-down compression along i.

        Equations
        Instances For
          theorem BooleanIsoperimetry.IsCoordinateUp_unique {N : } {i : Fin N} {A A' A'' : Finset (Cube N)} (h1 : IsCoordinateUp i A A') (h2 : IsCoordinateUp i A A'') :
          A' = A''
          theorem BooleanIsoperimetry.coordinateUp_eq {N : } {i : Fin N} {A A' : Finset (Cube N)} (hA : IsCoordinateUp i A A') :
          theorem BooleanIsoperimetry.IsCoordinateDown_unique {N : } {i : Fin N} {A A' A'' : Finset (Cube N)} (h1 : IsCoordinateDown i A A') (h2 : IsCoordinateDown i A A'') :
          A' = A''
          theorem BooleanIsoperimetry.coordinateDown_eq {N : } {i : Fin N} {A A' : Finset (Cube N)} (hA : IsCoordinateDown i A A') :
          theorem BooleanIsoperimetry.mem_coordinateUp_iff {N : } (i : Fin N) (A : Finset (Cube N)) (x : Cube N) :
          x coordinateUp i A x A (i x insert i x A) i x xA Finset.erase x i A

          Membership characterization of the explicit Up compression, read off directly from coordinateUp_spec.

          theorem BooleanIsoperimetry.coordinateUp_mem_of_not_mem {N : } (i : Fin N) (A : Finset (Cube N)) (x : Cube N) (hix : ix) :
          x coordinateUp i A x A insert i x A
          theorem BooleanIsoperimetry.coordinateUp_mem_of_mem {N : } (i : Fin N) (A : Finset (Cube N)) (x : Cube N) (hix : i x) :
          theorem BooleanIsoperimetry.mem_coordinateDown_iff {N : } (i : Fin N) (A : Finset (Cube N)) (x : Cube N) :
          x coordinateDown i A x A (ix Finset.erase x i A) ix xA insert i x A

          Membership characterization of the explicit Down compression, read off directly from coordinateDown_spec.

          theorem BooleanIsoperimetry.coordinateDown_mem_of_mem {N : } (i : Fin N) (B : Finset (Cube N)) (x : Cube N) (hix : i x) :
          theorem BooleanIsoperimetry.coordinateDown_mem_of_not_mem {N : } (i : Fin N) (B : Finset (Cube N)) (x : Cube N) (hix : ix) :

          Hamming-distance helpers for the coordinate shadow inclusions #

          theorem BooleanIsoperimetry.hDist_comm {N : } (x y : Cube N) :
          hDist x y = hDist y x
          theorem BooleanIsoperimetry.hDist_erase_le_hDist {N : } (i : Fin N) (x y : Cube N) (h : hDist x y 1) :
          theorem BooleanIsoperimetry.hDist_insert_le_hDist {N : } (i : Fin N) (x y : Cube N) (h : hDist x y 1) :
          hDist (insert i x) (insert i y) 1
          theorem BooleanIsoperimetry.eq_insert_of_hDist_le_one_of_not_mem_of_mem {N : } {x y : Cube N} {i : Fin N} (h : hDist x y 1) (hix : ix) (hiy : i y) :
          y = insert i x
          theorem BooleanIsoperimetry.eq_erase_of_hDist_le_one_of_mem_of_not_mem {N : } {x y : Cube N} {i : Fin N} (h : hDist x y 1) (hix : i x) (hiy : iy) :

          Coordinate Up shadow inclusion (PDF Frankl-Füredi). The closed unit neighborhood of an Up-compressed family is contained in the Up-compression of the neighborhood. This is the classical "compression does not expand the shadow" fact.

          Coordinate Down shadow inclusion (PDF Frankl-Füredi). The mirror of neighborhood_coordinateUp_subset for Down compression.

          noncomputable def BooleanIsoperimetry.compressionPotential {N : } (A : Finset (Cube N)) :

          The Frankl-Füredi compression potential used for well-founded descent: the sum of simplicial ranks of all vertices in the family. Coordinate and within-layer shifts are expected to strictly reduce this potential unless they are already fixed points.

          Equations
          Instances For
            noncomputable def BooleanIsoperimetry.pairCompressionPotential {N : } (A B : Finset (Cube N)) :

            The paired version of compressionPotential, matching the two-slice Frankl-Füredi compression process.

            Equations
            Instances For

              A family is fixed by all currently formalized Up-compressions. This is only the coordinate part of the PDF terminal condition; the within-layer/colex shifts still have to be added before fixed points can be identified with simplicial initial segments.

              Equations
              Instances For

                A family is fixed by all currently formalized Down-compressions.

                Equations
                Instances For
                  theorem BooleanIsoperimetry.coordinateUp_card_eq {N : } {i : Fin N} {A A' : Finset (Cube N)} (hA : IsCoordinateUp i A A') :
                  A'.card = A.card
                  theorem BooleanIsoperimetry.coordinateDown_card_eq {N : } {i : Fin N} {B B' : Finset (Cube N)} (hB : IsCoordinateDown i B B') :
                  B'.card = B.card

                  PDF compression lemma (Up move). An Up-compression along coordinate i does not increase the closed unit neighborhood (vertex boundary) of a family. This is the classical Frankl–Füredi / Harper statement "the i-compression does not increase the shadow", here in the closed-neighborhood form |N(C_i^↑ A)| ≤ |N(A)|. It is a genuine combinatorial obligation about the concrete IsCoordinateUp relation, not a missing definition: every object in the statement is already formalized. It is proved in the PDF by the inclusion N(C_i^↑ A) ⊆ C_i^↑(N A) together with cardinality-preservation of C_i^↑.

                  PDF compression lemma (Down move). The mirror of coordinateUp_neighborhood_card_le: a Down-compression along coordinate i does not increase the closed unit neighborhood, |N(C_i^↓ B)| ≤ |N(B)|. Symmetric to the Up case under the coordinate-i flip isometry of the cube.

                  noncomputable def BooleanIsoperimetry.downMap {N : } (i : Fin N) (A : Finset (Cube N)) (x : Cube N) :

                  The explicit single-vertex Down map underlying coordinateDown: a vertex containing i whose i-erasure is not already present is pushed down to that erasure; every other vertex is fixed.

                  Equations
                  Instances For
                    theorem BooleanIsoperimetry.simplicialLt_erase_self {N : } {i : Fin N} {x : Cube N} (hi : i x) :

                    Erasing a present coordinate is a strictly earlier simplicial vertex.

                    theorem BooleanIsoperimetry.downMap_rank_le {N : } (i : Fin N) (A : Finset (Cube N)) (x : Cube N) :
                    rank (downMap i A x) rank x

                    The Down map never increases simplicial rank.

                    theorem BooleanIsoperimetry.downMap_injOn {N : } (i : Fin N) (A : Finset (Cube N)) :
                    Set.InjOn (downMap i A) A

                    The Down map is injective on its family.

                    coordinateDown is the image of the family under downMap.

                    theorem BooleanIsoperimetry.exists_downMap_ne_of_ne {N : } (i : Fin N) (A : Finset (Cube N)) (hne : coordinateDown i A A) :
                    xA, downMap i A x x

                    If a coordinate Down-compression actually changes the family, it strictly moves at least one vertex down.

                    Coordinate Down-compression strictly decreases the rank potential when it moves something. Combined with the proven size- and boundary-control (coordinateDown_card_eq, coordinateDown_neighborhood_card_le) this gives any non-Down-fixed family an explicit Frankl–Füredi compression descent witness.

                    Within-layer colexicographic shift. It moves an element to a strictly earlier element in the same layer (same cardinality), provided the target is not already in the family.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      A family is stable under all within-layer colex shifts.

                      Equations
                      Instances For

                        The missing level-saturation condition in the PDF compression route: once the compression process keeps a vertex of a given Hamming level, every lower Hamming level is already completely filled. Coordinate Down-compressions alone only fill coordinate subfaces of a present vertex; they do not imply this global saturation across a whole level.

                        Equations
                        Instances For
                          theorem BooleanIsoperimetry.coordinate_compressed_is_downClosed {N : } (A : Finset (Cube N)) (_hDown : IsCoordinateDownFixed A) (hLower : IsLowerLevelSaturated A) (hColex : IsColexShiftFixed A) (x y : Cube N) :
                          simplicialLe x yy Ax A
                          noncomputable def BooleanIsoperimetry.initialSlicePair (N a b : ) :
                          Finset (Cube (N + 1))

                          The embedded two-slice family whose lower slice is the initial segment of size a and whose upper slice is the initial segment of size b. This is the PDF-language object behind the scalar Macaulay split step.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            theorem BooleanIsoperimetry.neighborhood_initialSlicePair_card {N a b : } (ha : a 2 ^ N) (hb : b 2 ^ N) :
                            (neighborhood 1 (initialSlicePair N a b)).card = max (H N a) b + max (H N b) a

                            Every family on the N-cube has cardinality at most 2 ^ N.