Documentation

LeanPool.NFWeakPartition.Flypitch4.Colimit

NF weak partition development: Flypitch4.Colimit.

Lean 3 → Lean 4 Port: Notes for Colimit.lean #

Scope #

Only declarations needed by src/henkin.lean are ported. The following are dropped:

Quotient API choices #

cocone_of_colimit kept as an internal helper #

Used internally to prove same_fiber_as_push_to_r/l, which henkin.lean uses directly.

Structures: Reflexive / Transitive deprecated in Lean 4 #

Use explicit ∀ hypotheses in directed_type.

Flypitch construction directed_type, retained by the first-order soundness and completeness development.

Instances For
    structure NFChoice.colimit.DirectedDiagram (D : DirectedType) :
    Type (max (u + 1) (v + 1))

    Flypitch construction directed_diagram, retained by the first-order soundness and completeness development.

    • obj : D.carrier → Type v

      The obj component of the corresponding first-order structure.

    • mor {x y : D.carrier} : D.rel x y → self.obj x → self.obj y

      The mor component of the corresponding first-order structure.

    • h_mor {x y z : D.carrier} {f1 : D.rel x y} {f2 : D.rel y z} {f3 : D.rel x z} : self.mor f3 = self.mor f2 ∘ self.mor f1
    Instances For
      @[reducible]

      Flypitch construction directed_type_of_nat, retained by the first-order soundness and completeness development.

      Equations
      Instances For

        Notation for the corresponding first-order syntax or interpretation operation.

        Equations
        Instances For

          Flypitch construction coproduct_of_directed_diagram, retained by the first-order soundness and completeness development.

          Equations
          Instances For

            Flypitch construction canonical_inclusion_coproduct, retained by the first-order soundness and completeness development.

            Equations
            Instances For

              Flypitch construction germ_relation, retained by the first-order soundness and completeness development.

              Equations
              Instances For

                The setoid on the coproduct given by germ equivalence

                Equations
                Instances For
                  @[reducible]

                  Flypitch construction LimitCarrier, retained by the first-order soundness and completeness development.

                  Equations
                  Instances For

                    Flypitch construction canonical_map, retained by the first-order soundness and completeness development.

                    Equations
                    Instances For
                      structure NFChoice.colimit.cocone {D : DirectedType} (F : DirectedDiagram D) :
                      Type (max (max (u_1 + 1) u_2) u_3)

                      Flypitch construction cocone, retained by the first-order soundness and completeness development.

                      • vertex : Type u_1

                        The vertex component of the corresponding first-order structure.

                      • map (i : D.carrier) : F.obj i → self.vertex

                        The map component of the corresponding first-order structure.

                      • h_compat {i j : D.carrier} (h : D.rel i j) : self.map i = self.map j ∘ F.mor h
                      Instances For

                        Flypitch construction cocone_of_colimit, retained by the first-order soundness and completeness development.

                        Equations
                        Instances For

                          Flypitch construction universal_map, retained by the first-order soundness and completeness development.

                          Equations
                          Instances For
                            @[simp]

                            Flypitch construction germ_rep, retained by the first-order soundness and completeness development.

                            Equations
                            Instances For
                              @[simp]
                              theorem NFChoice.colimit.eq_mor_of_same_fiber {D : DirectedType} {F : DirectedDiagram D} (a b : coproductOfDirectedDiagram F) {z : LimitCarrier F} (Ha : ⟦a⟧ = z) (Hb : ⟦b⟧ = z) (H_inj : ∀ (i : D.carrier), Function.Injective (canonicalMap i)) (H_rel : D.rel a.fst b.fst) :
                              F.mor H_rel a.snd = b.snd
                              theorem NFChoice.colimit.eq_mor_of_same_fiber' {D : DirectedType} {F : DirectedDiagram D} (a_fst b_fst : D.carrier) (a_snd : F.obj a_fst) (b_snd : F.obj b_fst) {z : LimitCarrier F} (Ha : ⟦⟨a_fst, a_snd⟩⟧ = z) (Hb : ⟦⟨b_fst, b_snd⟩⟧ = z) (H_inj : ∀ (i : D.carrier), Function.Injective (canonicalMap i)) (H_rel : D.rel a_fst b_fst) :
                              F.mor H_rel a_snd = b_snd
                              @[reducible]
                              def NFChoice.colimit.pushToSumR {F : DirectedDiagram ℕ'} {i : ℕ} (x : F.obj i) (j : ℕ) :
                              F.obj (i + j)

                              Flypitch construction push_to_sum_r, retained by the first-order soundness and completeness development.

                              Equations
                              Instances For
                                @[reducible]
                                def NFChoice.colimit.pushToSumL {F : DirectedDiagram ℕ'} {j : ℕ} (x : F.obj j) (i : ℕ) :
                                F.obj (i + j)

                                Flypitch construction push_to_sum_l, retained by the first-order soundness and completeness development.

                                Equations
                                Instances For
                                  def NFChoice.omegaColimit.mapAux (F : ℕ → Type u_1) (h_succ : {i : ℕ} → F i → F (i + 1)) (x y : ℕ) :
                                  x ≤ y → F x → F y

                                  Flypitch construction map_aux, retained by the first-order soundness and completeness development.

                                  Equations
                                  Instances For
                                    def NFChoice.omegaColimit.diagram.mk.map {F : ℕ → Type u_1} {h_succ : {i : ℕ} → F i → F (i + 1)} (x y : ℕ) (h : x ≤ y) :
                                    F x → F y

                                    Flypitch construction diagram.mk.map, retained by the first-order soundness and completeness development.

                                    Equations
                                    Instances For
                                      @[simp]
                                      theorem NFChoice.omegaColimit.diagram.mk.map_self_id {F : ℕ → Type u_1} {h_succ : (i : ℕ) → F i → F (i + 1)} (x : ℕ) :
                                      map x x ⋯ = id
                                      theorem NFChoice.omegaColimit.diagram.mk.map_inj {F : ℕ → Type u_1} {h_succ : (i : ℕ) → F i → F (i + 1)} {h_inj : ∀ {i : ℕ}, Function.Injective (h_succ i)} (x y : ℕ) (h : x ≤ y) :
                                      def NFChoice.omegaColimit.diagram.mk (F : ℕ → Type u_1) (h_succ : {i : ℕ} → F i → F (i + 1)) :

                                      Flypitch construction diagram.mk, retained by the first-order soundness and completeness development.

                                      Equations
                                      Instances For