big-moving.ru/assets/vendor_plugins/ace-builds-master/demo/kitchen-sink/docs/lean.lean

10 lines
213 B
Plaintext
Raw Normal View History

2022-06-24 15:29:23 +05:00
import logic
section
variables (A : Type) (p q : A → Prop)
example : (∀x : A, p x ∧ q x) → ∀y : A, p y :=
assume H : ∀x : A, p x ∧ q x,
take y : A,
show p y, from and.elim_left (H y)
end