By a rapid improvement of computer technology in a few decades, computers are deeply fused into our daily live, for example, mobiles, laptops, PCs, cars, ticket machines, etc. Along this stream, the meaning of computing is also gradually spreading out: e.g. from stand-alone machines to dynamically connected networks, or from electric computing to quantum computing. One question naturally arising here is how we can manipulate the "new generation computing" and harness it. As a possible answer for this question, we would like to propose building an algebraic foundation of general program logics. Towards this goal, in this talk, we will show two characterizations of logical consequences, or sequents: one is algebraic, the so-called "order theory (lattice theory)" and the other is space-based, or relational-type. They are also known as operational semantics and as denotational semantics in computer science. Furthermore, we will discuss that a Stone-type representation theorem generates a right computational framework for the logical consequences. Based on this result, we also show a general Sahlqvist-type representation theorem, which systematically accounts for many Stone-type representable logics. In the end, we will give a couple of exciting open questions and possible future directions of our research.