Theorem first Kernel checkedAs recorded L23–28
Namespace Notebook.CircuitProofs
Doubling maps the unit interval into the interval from zero to two.
Assumptions: propext, Classical.choice, Quot.sound
Lean source & proof · 6 lines
/-- Doubling maps the unit interval into the interval from zero to two. -/ theorem first : ExactHoare P double M := by intro x hx change 0 ≤ x 0 ∧ x 0 ≤ 1 at hx change 0 ≤ 2 * x 0 ∧ 2 * x 0 ≤ 2 constructor <;> linarith [hx.1, hx.2]