-- Module: Mathlib.AlgebraicGeometry.AffineTransitionLimit
Goal:
I : Type u
inst : Category.{u, u} I
D : I ⥤ Scheme
c : Cone D
hc : IsLimit c
inst_1 : IsCofilteredOrEmpty I
inst_2 : ∀ {i j : I} (f : i ⟶ j), IsAffineHom (D.map f)
inst_3 : ∀ (i : I), Nonempty.{u + 1} ↥(D.obj i)
inst_4 : ∀ (i : I), CompactSpace.{u} ↥(D.obj i)
h : Nonempty I
i : I
this_1 : IsCofiltered I
𝒰 : (D.obj i).OpenCover := OpenCover.finiteSubcover (D.obj i).affineCover
this : ∀ (i' : 𝒰.I₀), IsAffine.{u} (𝒰.X i')
i' : (j : 𝒰.I₀) → I
f : (j : 𝒰.I₀) → i' j ⟶ i
hf : ∀ (j : 𝒰.I₀), IsEmpty.{u + 1} ↥((Precoverage.ZeroHypercover.pullback₁ (D.map (f j)) 𝒰).X j)
g : (j : I) →
  (m : j ∈ insert i (Finset.image i' Finset.univ)) →
    IsCofiltered.inf (insert i (Finset.image i' Finset.univ))
        (Finset.image
          (fun (j : 𝒰.I₀) ↦
            PSigma.mk (β := fun (X : I) ↦
              (Y : I) ×'
                (_ : X ∈ insert i (Finset.image i' Finset.univ)) ×'
                  (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (X ⟶ Y))
              (i' j)
              (PSigma.mk (β := fun (Y : I) ↦
                (_ : i' j ∈ insert i (Finset.image i' Finset.univ)) ×'
                  (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (i' j ⟶ Y))
                i
                (PSigma.mk (β := fun (x : i' j ∈ insert i (Finset.image i' Finset.univ)) ↦
                  (_ : i ∈ insert i (Finset.image i' Finset.univ)) ×' (i' j ⟶ i)) ⋯
                  (PSigma.mk (β := fun (x : i ∈ insert i (Finset.image i' Finset.univ)) ↦ i' j ⟶ i) ⋯ (f j)))))
          Finset.univ) ⟶
      j :=
  fun (j : I) ↦
    IsCofiltered.infTo (insert i (Finset.image i' Finset.univ))
      (Finset.image
        (fun (j : 𝒰.I₀) ↦
          PSigma.mk (β := fun (X : I) ↦
            (Y : I) ×'
              (_ : X ∈ insert i (Finset.image i' Finset.univ)) ×'
                (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (X ⟶ Y))
            (i' j)
            (PSigma.mk (β := fun (Y : I) ↦
              (_ : i' j ∈ insert i (Finset.image i' Finset.univ)) ×'
                (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (i' j ⟶ Y))
              i
              (PSigma.mk (β := fun (x : i' j ∈ insert i (Finset.image i' Finset.univ)) ↦
                (_ : i ∈ insert i (Finset.image i' Finset.univ)) ×' (i' j ⟶ i)) ⋯
                (PSigma.mk (β := fun (x : i ∈ insert i (Finset.image i' Finset.univ)) ↦ i' j ⟶ i) ⋯ (f j)))))
        Finset.univ)
j : 𝒰.I₀
⊢ Membership.mem (γ :=
    Finset
      ((X : I) ×'
        (Y : I) ×'
          (_ : X ∈ insert i (Finset.image i' Finset.univ)) ×'
            (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (X ⟶ Y)))
    (Finset.image
      (fun (j : 𝒰.I₀) ↦
        PSigma.mk (β := fun (X : I) ↦
          (Y : I) ×'
            (_ : X ∈ insert i (Finset.image i' Finset.univ)) ×'
              (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (X ⟶ Y))
          (i' j)
          (PSigma.mk (β := fun (Y : I) ↦
            (_ : i' j ∈ insert i (Finset.image i' Finset.univ)) ×'
              (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (i' j ⟶ Y))
            i
            (PSigma.mk (β := fun (x : i' j ∈ insert i (Finset.image i' Finset.univ)) ↦
              (_ : i ∈ insert i (Finset.image i' Finset.univ)) ×' (i' j ⟶ i)) ⋯
              (PSigma.mk (β := fun (x : i ∈ insert i (Finset.image i' Finset.univ)) ↦ i' j ⟶ i) ⋯ (f j)))))
      Finset.univ)
    (PSigma.mk (β := fun (X : I) ↦
      (Y : I) ×'
        (_ : X ∈ insert i (Finset.image i' Finset.univ)) ×' (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (X ⟶ Y))
      (i' j)
      (PSigma.mk (β := fun (Y : I) ↦
        (_ : i' j ∈ insert i (Finset.image i' Finset.univ)) ×'
          (_ : Y ∈ insert i (Finset.image i' Finset.univ)) ×' (i' j ⟶ Y))
        i
        (PSigma.mk (β := fun (x : i' j ∈ insert i (Finset.image i' Finset.univ)) ↦
          (_ : i ∈ insert i (Finset.image i' Finset.univ)) ×' (i' j ⟶ i)) ⋯
          (PSigma.mk (β := fun (x : i ∈ insert i (Finset.image i' Finset.univ)) ↦ i' j ⟶ i) ⋯ (f j)))))

Tactic:
exact Finset.mem_image_of_mem _ (Finset.mem_univ _)

Premises used: Finset.mem_univ, Finset.mem_image_of_mem