Constant maps
Content created by Fredrik Bakke, Egbert Rijke and Jonathan Prieto-Cubides.
Created on 2022-02-08.
Last modified on 2025-07-15.
module foundation-core.constant-maps where
Imports
open import foundation.universe-levels
Idea
The constant map¶ from A to B at an element b : B
is the function x ↦ b mapping every element x : A to the given element
b : B. In common type theoretic notation, the constant map at b is the
function
  λ x → b.
Definition
const : {l1 l2 : Level} (A : UU l1) {B : UU l2} → B → A → B const A b x = b
See also
- Coherently constant maps for the condition on a map of being constant
- Constant pointed maps
Recent changes
- 2025-07-15. Fredrik Bakke. Constancy of maps (#1383).
- 2024-04-11. Fredrik Bakke. Refactor diagonals (#1096).
- 2024-03-13. Egbert Rijke. Refactoring pointed types (#1056).
- 2023-06-10. Egbert Rijke and Fredrik Bakke. Cleaning up synthetic homotopy theory (#649).
- 2023-06-08. Fredrik Bakke. Remove empty foundationmodules and replace them by their core counterparts (#644).