Skip to content
Rainbow docs menu

Reference

Sets

16 modules in src/rainbow/math/sets/. All folders

ModuleWhat it provesTheorems
math.sets.fiber-characterizationImage, surjection, and injection characterized by their source fibers.5
math.sets.fiber-uniqueUnique existence from subsingleton predicates, applied to bijection fibers.5
math.sets.image-certificatesConstructive image/target inclusions from certified set maps.5
math.sets.image-compositionThe image of a composite map is the nested image, by mutual inclusion.6
math.sets.image-differenceImages preserve set difference exactly when witnesses cannot collide.3
math.sets.image-insertImages commute constructively with inserting one source value.3
math.sets.image-latticeImages preserve unions, and preserve intersections under injectivity.6
math.sets.image-preimage-adjunctionThe constructive image/preimage Galois connection for set inclusion.3
math.sets.inverse-certificatesConstructive injectivity, surjectivity, and bijectivity from set inverses.5
math.sets.inverse-unique-fiberTwo-sided set inverses provide unique witnesses in every target fiber.4
math.sets.map-compositionConstructive set-map properties preserved by function composition.8
math.sets.preimage-compositionIdentity and composition laws for set preimages.6
math.sets.preimage-latticePreimages preserve intersection, union, and difference by exact reuse.9
math.sets.rangeLean-compatible Set range ordering and native finite-range laws.1
math.sets.range-image-bridgeBridge global function ranges to images of universal source sets.4
math.sets.range-surjectiveCharacterize surjections by their universal ranges.4