Module: Mathlib.Condensed.Light.Sequence

Goal state before:
pp: case right
R : Type
inst✝¹ : CommRing R
X : LightCondMod R
S T : LightProfinite
π : T ⟶ S ⊗ ℕ∪{∞}
inst✝ : Epi ((lightProfiniteToLightCondSet ⋙ free R).map (cover π))
g : (lightProfiniteToLightCondSet ⋙ free R).obj T ⟶ X
r_inf : T ⟶ LightProfinite.fibre ∞ (π ≫ snd S ℕ∪{∞})
σ : S ⟶ LightProfinite.fibre ∞ (π ≫ snd S ℕ∪{∞})
hr : LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ r_inf = 𝟙 (LightProfinite.fibre ∞ (π ≫ snd S ℕ∪{∞}))
⊢ (free R).map
            (lightProfiniteToLightCondSet.map
                ((coproductCocone T
                          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                    { as := WalkingPair.right } ≫
                  cover π) ≫
              lightProfiniteToLightCondSet.map (CompHausLike.pullback.fst π π)) ≫
          g -
        (free R).map
            (lightProfiniteToLightCondSet.map
                ((coproductCocone T
                          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                    { as := WalkingPair.right } ≫
                  cover π ≫ CompHausLike.pullback.fst π π) ≫
              lightProfiniteToLightCondSet.map (r_inf ≫ LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))) ≫
          g +
      (free R).map
          (lightProfiniteToLightCondSet.map
              ((coproductCocone T
                        (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                          (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                  { as := WalkingPair.right } ≫
                cover π ≫ CompHausLike.pullback.fst π π) ≫
            lightProfiniteToLightCondSet.map
              (r_inf ≫
                LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫
                  π ≫ fst S ℕ∪{∞} ≫ σ ≫ LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))) ≫
        g =
    (free R).map
            (lightProfiniteToLightCondSet.map
                ((coproductCocone T
                          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                    { as := WalkingPair.right } ≫
                  cover π) ≫
              lightProfiniteToLightCondSet.map (CompHausLike.pullback.snd π π)) ≫
          g -
        (free R).map
            (lightProfiniteToLightCondSet.map
                ((coproductCocone T
                          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                    { as := WalkingPair.right } ≫
                  cover π ≫ CompHausLike.pullback.snd π π) ≫
              lightProfiniteToLightCondSet.map (r_inf ≫ LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))) ≫
          g +
      (free R).map
          (lightProfiniteToLightCondSet.map
              ((coproductCocone T
                        (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                          (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                  { as := WalkingPair.right } ≫
                cover π ≫ CompHausLike.pullback.snd π π) ≫
            lightProfiniteToLightCondSet.map
              (r_inf ≫
                LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫
                  π ≫ fst S ℕ∪{∞} ≫ σ ≫ LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))) ≫
        g

Tactic:
have : cover π = (BinaryCofan.IsColimit.desc' (coproductIsColimit _ _)
        (CompHausLike.pullback.lift _ _ (𝟙 T) (𝟙 T) (by simp))
        (CompHausLike.pullback.lift _ _
          ((CompHausLike.pullback.fst _ _) ≫ LightProfinite.fibreIncl _ _)
          ((pullback.snd _ _) ≫ LightProfinite.fibreIncl _ _)
          (by simp [pullback.condition]))).val := rfl

Goal state after:
case right
R : Type
inst✝¹ : CommRing R
X : LightCondMod R
S T : LightProfinite
π : T ⟶ S ⊗ ℕ∪{∞}
inst✝ : Epi ((lightProfiniteToLightCondSet ⋙ free R).map (cover π))
g : (lightProfiniteToLightCondSet ⋙ free R).obj T ⟶ X
r_inf : T ⟶ LightProfinite.fibre ∞ (π ≫ snd S ℕ∪{∞})
σ : S ⟶ LightProfinite.fibre ∞ (π ≫ snd S ℕ∪{∞})
hr : LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ r_inf = 𝟙 (LightProfinite.fibre ∞ (π ≫ snd S ℕ∪{∞}))
this :
  cover π =
    ↑(BinaryCofan.IsColimit.desc'
        (coproductIsColimit T
          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)))
        (CompHausLike.pullback.lift π π (𝟙 T) (𝟙 T) ⋯)
        (CompHausLike.pullback.lift π π
          (CompHausLike.pullback.fst (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
              (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π) ≫
            LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))
          (CompHausLike.pullback.snd (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
              (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π) ≫
            LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))
          ⋯))
⊢ (free R).map
            (lightProfiniteToLightCondSet.map
                ((coproductCocone T
                          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                    { as := WalkingPair.right } ≫
                  cover π) ≫
              lightProfiniteToLightCondSet.map (CompHausLike.pullback.fst π π)) ≫
          g -
        (free R).map
            (lightProfiniteToLightCondSet.map
                ((coproductCocone T
                          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                    { as := WalkingPair.right } ≫
                  cover π ≫ CompHausLike.pullback.fst π π) ≫
              lightProfiniteToLightCondSet.map (r_inf ≫ LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))) ≫
          g +
      (free R).map
          (lightProfiniteToLightCondSet.map
              ((coproductCocone T
                        (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                          (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                  { as := WalkingPair.right } ≫
                cover π ≫ CompHausLike.pullback.fst π π) ≫
            lightProfiniteToLightCondSet.map
              (r_inf ≫
                LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫
                  π ≫ fst S ℕ∪{∞} ≫ σ ≫ LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))) ≫
        g =
    (free R).map
            (lightProfiniteToLightCondSet.map
                ((coproductCocone T
                          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                    { as := WalkingPair.right } ≫
                  cover π) ≫
              lightProfiniteToLightCondSet.map (CompHausLike.pullback.snd π π)) ≫
          g -
        (free R).map
            (lightProfiniteToLightCondSet.map
                ((coproductCocone T
                          (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                            (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                    { as := WalkingPair.right } ≫
                  cover π ≫ CompHausLike.pullback.snd π π) ≫
              lightProfiniteToLightCondSet.map (r_inf ≫ LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))) ≫
          g +
      (free R).map
          (lightProfiniteToLightCondSet.map
              ((coproductCocone T
                        (CompHausLike.pullback (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π)
                          (LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫ π))).ι.app
                  { as := WalkingPair.right } ≫
                cover π ≫ CompHausLike.pullback.snd π π) ≫
            lightProfiniteToLightCondSet.map
              (r_inf ≫
                LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}) ≫
                  π ≫ fst S ℕ∪{∞} ≫ σ ≫ LightProfinite.fibreIncl ∞ (π ≫ snd S ℕ∪{∞}))) ≫
        g