/-- Constructs an equivalence between finite Boolean algebras from an order isomorphism between
them. -/
@[simps]
def Iso.mk {α β : FinBoolAlg.{u}} (e : α ≃o β) : α ≅ β where
  hom := (e : BoundedLatticeHom α β)
  inv := (e.symm : BoundedLatticeHom β α)
  hom_inv_id := by ext; 

Proof state:
case w
α β : FinBoolAlg
e : ↑α.toBoolAlg ≃o ↑β.toBoolAlg
x✝ : (forget FinBoolAlg).obj α
⊢ ((let src :=
          { toSupHom := { toFun := ⇑e, map_sup' := (_ : ∀ (a b : ↑α.toBoolAlg), e (a ⊔ b) = e a ⊔ e b) },
            map_inf' := (_ : ∀ (a b : ↑α.toBoolAlg), e (a ⊓ b) = e a ⊓ e b) };
        {
          toLatticeHom :=
            {
              toSupHom :=
                { toFun := ⇑e,
                  map_sup' :=
                    (_ :
                      ∀ (a b : ↑α.toBoolAlg),
                        SupHom.toFun
                            {
                                toSupHom :=
                                  { toFun := ⇑e, map_sup' := (_ : ∀ (a b : ↑α.toBoolAlg), e (a ⊔ b) = e a ⊔ e b) },
                                map_inf' := (_ : ∀ (a b : ↑α.toBoolAlg), e (a ⊓ b) = e a ⊓ e b) }.toSupHom
                            (a ⊔ b) =
                          SupHom.toFun
                              {
                                  toSupHom :=
                                    { toFun := ⇑e, map_sup' := (_ : ∀ (a b : ↑α.toBoolAlg), e (a ⊔ b) = e a ⊔ e b) },
                                  map_inf' := (_ : ∀ (a b : ↑α.toBoolAlg), e (a ⊓ b) = e a ⊓ e b) }.toSupHom
                              a ⊔
                            SupHom.toFun
                              {
                                  toSupHom :=
                                    { toFun := ⇑e, map_sup' := (_ : ∀ (a b : ↑α.toBoolAlg), e (a ⊔ b) = e a ⊔ e b) },
                                  map_inf' := (_ : ∀ (a b : ↑α.toBoolAlg), e (a ⊓ b) = e a ⊓ e b) }.toSupHom
                              b) },
              map_inf' :=
                (_ :
                  ∀ (a b : ↑α.toBoolAlg),
                    SupHom.toFun src.toSupHom (a ⊓ b) = SupHom.toFun src.toSupHom a ⊓ SupHom.toFun src.toSupHom b) },
          map_top' := (_ : e ⊤ = ⊤), map_bot' := (_ : e ⊥ = ⊥) }) ≫
        let src :=
          {
            toSupHom :=
              { toFun := ⇑(OrderIso.symm e),
                map_sup' :=
                  (_ : ∀ (a b : ↑β.toBoolAlg), (OrderIso.symm e) (a ⊔ b) = (OrderIso.symm e) a ⊔ (OrderIso.symm e) b) },
            map_inf' :=
              (_ : ∀ (a b : ↑β.toBoolAlg), (OrderIso.symm e) (a ⊓ b) = (OrderIso.symm e) a ⊓ (OrderIso.symm e) b) };
        {
          toLatticeHom :=
            {
              toSupHom :=
                { toFun := ⇑(OrderIso.symm e),
                  map_sup' :=
                    (_ :
                      ∀ (a b : ↑β.toBoolAlg),
                        SupHom.toFun
                            {
                                toSupHom :=
                                  { toFun := ⇑(OrderIso.symm e),
                                    map_sup' :=
                                      (_ :
                                        ∀ (a b : ↑β.toBoolAlg),
                                          (OrderIso.symm e) (a ⊔ b) = (OrderIso.symm e) a ⊔ (OrderIso.symm e) b) },
                                map_inf' :=
                                  (_ :
                                    ∀ (a b : ↑β.toBoolAlg),
                                      (OrderIso.symm e) (a ⊓ b) = (OrderIso.symm e) a ⊓ (OrderIso.symm e) b) }.toSupHom
                            (a ⊔ b) =
                          SupHom.toFun
                              {
                                  toSupHom :=
                                    { toFun := ⇑(OrderIso.symm e),
                                      map_sup' :=
                                        (_ :
                                          ∀ (a b : ↑β.toBoolAlg),
                                            (OrderIso.symm e) (a ⊔ b) = (OrderIso.symm e) a ⊔ (OrderIso.symm e) b) },
                                  map_inf' :=
                                    (_ :
                                      ∀ (a b : ↑β.toBoolAlg),
                                        (OrderIso.symm e) (a ⊓ b) =
                                          (OrderIso.symm e) a ⊓ (OrderIso.symm e) b) }.toSupHom
                              a ⊔
                            SupHom.toFun
                              {
                                  toSupHom :=
                                    { toFun := ⇑(OrderIso.symm e),
                                      map_sup' :=
                                        (_ :
                                          ∀ (a b : ↑β.toBoolAlg),
                                            (OrderIso.symm e) (a ⊔ b) = (OrderIso.symm e) a ⊔ (OrderIso.symm e) b) },
                                  map_inf' :=
                                    (_ :
                                      ∀ (a b : ↑β.toBoolAlg),
                                        (OrderIso.symm e) (a ⊓ b) =
                                          (OrderIso.symm e) a ⊓ (OrderIso.symm e) b) }.toSupHom
                              b) },
              map_inf' :=
                (_ :
                  ∀ (a b : ↑β.toBoolAlg),
                    SupHom.toFun src.toSupHom (a ⊓ b) = SupHom.toFun src.toSupHom a ⊓ SupHom.toFun src.toSupHom b) },
          map_top' := (_ : (OrderIso.symm e) ⊤ = ⊤), map_bot' := (_ : (OrderIso.symm e) ⊥ = ⊥) })
      x✝ =
    (𝟙 α) x✝

Next tactic:
exact e.symm_apply_apply _