With all the excitement w.r.t. Formal Specification/Verification today;
Read his If You’re Not Writing a Program, Don’t Use a Programming Language from the above list. ;-)
A simple formal basis for mathematics, developed about a century ago and
commonly accepted by mathematicians today, is first-order logic and (untyped)
set theory. To my knowledge, this is an adequate formalization of the mathematics used by scientists and engineers. (It has been found inadequate for formalizing the long, complicated proofs mathematicians can write.) Many computer scientists feel that types are necessary for rigor. Besides adding unnecessary complexity, types can introduce problems for mathematical reasoning that become evident only when one tries to provide a formal semantics for the language being used—something textbook writers rarely do.
So best to study Set Theory/Propositional/Predicate Logic (FOL) first (following Hoare/Dijkstra) and only later Intuitionistic Constructive Logic/Lambda Calculus/Type Theory.
With all the excitement w.r.t. Formal Specification/Verification today;
Read his If You’re Not Writing a Program, Don’t Use a Programming Language from the above list. ;-)
A simple formal basis for mathematics, developed about a century ago and commonly accepted by mathematicians today, is first-order logic and (untyped) set theory. To my knowledge, this is an adequate formalization of the mathematics used by scientists and engineers. (It has been found inadequate for formalizing the long, complicated proofs mathematicians can write.) Many computer scientists feel that types are necessary for rigor. Besides adding unnecessary complexity, types can introduce problems for mathematical reasoning that become evident only when one tries to provide a formal semantics for the language being used—something textbook writers rarely do.
So best to study Set Theory/Propositional/Predicate Logic (FOL) first (following Hoare/Dijkstra) and only later Intuitionistic Constructive Logic/Lambda Calculus/Type Theory.