Last-face sign identity for barycentric subdivision #
This file supplies the sign lemma needed for the last-face part of the proof that barycentric subdivision commutes with the singular boundary.
The theorem is deliberately stated in the same flexible face-data form as the
last-face affine identity: instead of first choosing a canonical deletion
permutation, it assumes the data
j : Fin (n+2), the deleted target vertex;ρ : Perm (Fin (n+1)), the induced permutation on the remaining vertices;hj : j = π last;hρ : ∀ t, j.succAbove (ρ t) = π (Fin.castSucc t).
This is exactly the data consumed by the affine last-face lemma. The theorem then proves
(-1)^(n+1) sign(π) = (-1)^j sign(ρ).
This module proves the permutation-sign identity used by the boundary-chain theorem.
Extend a permutation of the first n+1 indices to a permutation of
Fin (n+2) fixing the last index.
This uses Mathlib's viaFintypeEmbedding, so its sign is exactly the sign of
ρ.
Equations
Instances For
The order-preserving insertion permutation that sends the last domain vertex
to j and sends the first n+1 domain vertices to the remaining target vertices
in increasing order.
It is implemented as:
finRotate (n+2), sending the last input position to0and shifting the other positions to successors;j.cycleRange.symm, sending0tojand successors toj.succAbove _.
Equations
Instances For
Sign of the insertion permutation.
Unit-valued last-face sign identity, in the face-data form used by the last-face affine identity.
Integer-valued last-face sign identity.
Coefficient-ring last-face sign identity. This is the version to use in the barycentric subdivision boundary computation.