{P : Sort u} →
  {declsMap : Std.HashMap Lean.Name Lean.IR.Decl} →
    {seen : Std.HashSet Lean.Name} →
      {order : Array Lean.IR.Decl} →
        {declsMap' : Std.HashMap Lean.Name Lean.IR.Decl} →
          {seen' : Std.HashSet Lean.Name} →
            {order' : Array Lean.IR.Decl} →
              { declsMap := declsMap, seen := seen, order := order } =
                  { declsMap := declsMap', seen := seen', order := order' } →
                (declsMap = declsMap' → seen = seen' → order = order' → P) → P