lean2/tests/lean/gen_as.lean

9 lines
142 B
Text

import data.nat
open nat
example (x y : nat) : x + y + y ≥ 0 :=
begin
generalize x + y + y as n,
state,
intro n, exact zero_le n
end