Theorem Proving in Coq using Tactics
summary
Claims and code show a machine-checked proof that the triangular sum equals n times (n+1) over 2 by defining Peano naturals and a recursive sum function and proving sum_to n = n(n+1)/2. The session uses the Coq interactive editor, deals with the decreasing-argument termination check, unfolds definitions and applies induction plus reflexivity/simpl/auto* tactics, and produces a compiled theorem usable as a lemma in later developments.
AI-written summary · about
chapters (13)
- 0:00Coq and theorem proving
- 1:00Why Coq for proofs
- 6:03Proofs by induction in Coq
- 7:57Natural numbers in Coq
- 11:35Triangular numbers function
- 22:15Termination in Coq
- 24:04Refining triangular sum
- 31:41Theorem statement
- 37:21Propositions as types
- 42:02Proof state and hypotheses
- 46:23Induction tactic
- 47:27Base case with reflexivity
- 51:11Inductive case usage
related talks
01h 00mIntroduction to Coq - Part 1 of 2
26mInteractive Theorem Provers for Proof Education
01h 44mAn Introduction to Natural Deduction
38mAutomatically Synthesising Programs that We Can Trust
17mNeuro-Symbolic Proof Generation for Scaling Systems Software Verification
11mWhat are Dependent Types
10mWhen Does a Program Typecheck?
01h 16mCoding Agents: New opportunities for formal methods?
