Formal Methods 101: Induction
Part 11 of Formal Methods 101: weak, strong and k-induction, a worked sum proof, and proving an inductive invariant of an extended-state machine.
An introductory series on formal methods, from set theory and logic to SAT and SMT solvers, alongside research projects in model checking, control systems, and robotics.
Part 11 of Formal Methods 101: weak, strong and k-induction, a worked sum proof, and proving an inductive invariant of an extended-state machine.
Part 10 of Formal Methods 101: axioms and models, syntactic (⊢) versus semantic (⊨) entailment, and soundness and completeness.
Part 9 of Formal Methods 101: decidable and undecidable problems, the halting problem and its diagonal contradiction, and why propositional logic is decidable.
Complexity theory: Big-O growth rates, then the classes P, NP, NP-complete, coNP and NP-hard, and what the open question P = NP would change.
Second-order logic extends first-order logic by quantifying over sets, and higher-order logics go further, much like types of types in type theory.
Boolean satisfiability (SAT): truth tables, CNF and DNF, and the solver algorithms DFS, BFS, bounded model checking, ROBDDs and DPLL, with animated search tree…
Satisfiability modulo theories (SMT) extends SAT to numbers and other types, using bit vectoring or DPLL(T) with a domain theory such as linear integer arithme…
Binary relations and functions, their properties (reflexive, symmetric, transitive and more), and the order and equivalence relations they define.
Propositional logic: propositions, the five operators with truth tables, order of operations, and how to write an argument formally.
First-order logic: predicates, functions, quantifiers and the connectives, with an example formula and a worked quantifier figure.
Set notation and membership, the set operators (union, intersection, difference, complement, Cartesian product, power set), and the common number sets.
This is a railway-networks-plugin for WebGME that traverses through the tree structures and saves various information in a .zip artifact.