The term you want to search for is "Natural Deduction". It's what you use if you study type theory. I don't know any lightweight introductions off the top of my head.
https://en.wikipedia.org/wiki/Natural_deduction
The short version is that
A B
-------
C
means "If A and B, then C". Any free variables in A, B, C are universally quantified outside the "if". The reason for writing the rules in this weird format is that you can combine them in a tree: A B
-------
C D
---------
E
This proves E, given A, B, and D, via the application of two rules.