Horizontal reflection of orthogonal routes #
Main definitions #
mirrorPoint,mirrorReal,mirrorRoute: reflection in the vertical axis.
Main results #
support_mirrorRoute,isOrthogonal_mirrorRoute_iff,isSimple_mirrorRoute_iff.wireLength_mirrorRoute: reflection preserves Manhattan wire length.
References #
These elementary affine-coordinate lemmas and proofs are original.
Horizontal reflection of integer points.
Instances For
Integer and real reflections commute with inclusion of the lattice.
Reflection maps complete real segments.
Reflected segment membership is reflected membership.
theorem Cslib.Orthogonal.consecutivePairs_mirrorRoute (r : Route) :
List.consecutivePairs (mirrorRoute r) = List.map (fun (e : Point × Point) => (mirrorPoint e.1, mirrorPoint e.2)) (List.consecutivePairs r)
Reflection maps every listed segment without changing its index.
Reflection maps the entire continuous route support.
Reflection preserves proper orthogonality.
Reflection preserves continuous simplicity.
Reflection preserves total Manhattan wire length.