Documentation

Mathlib.Init.Core

Note about Mathlib/Init/ #

The files in Mathlib/Init are leftovers from the port from Mathlib3. (They contain content moved from lean3 itself that Mathlib needed but was not moved to lean4.)

We intend to move all the content of these files out into the main Mathlib directory structure. Contributions assisting with this are appreciated.

Notation, basic datatypes and type classes #

This file contains alignments from lean 3 init.core.

def Prod.mk.injArrow {α : Type u} {β : Type v} {x₁ : α} {y₁ : β} {x₂ : α} {y₂ : β} :
(x₁, y₁) = (x₂, y₂)P : Sort w⦄ → (x₁ = x₂y₁ = y₂P)P
Equations
Instances For
    def PProd.mk.injArrow {α : Type u} {β : Type v} {x₁ : α} {y₁ : β} {x₂ : α} {y₂ : β} :
    (x₁, y₁) = (x₂, y₂)P : Sort w⦄ → (x₁ = x₂y₁ = y₂P)P
    Equations
    Instances For
      def Combinator.I {α : Sort u} (a : α) :
      α
      Equations
      Instances For
        def Combinator.K {α : Sort u} {β : Sort v} (a : α) (_b : β) :
        α
        Equations
        Instances For
          def Combinator.S {α : Sort u} {β : Sort v} {γ : Sort w} (x : αβγ) (y : αβ) (z : α) :
          γ
          Equations
          Instances For