ForMatUS: Regla de eliminación del cuantificador universal en Lean
He añadido a la lista Lógica con Lean el vídeo en el que se comentan ??? pruebas en Lean de la propiedad
| 
					 1  | 
						P(c), ∀x (P(x) → ¬Q(x)) ⊢ ¬Q(c)  | 
					
usando los estilos declarativos, aplicativos, funcional y automático.
A continuación, se muestra el vídeo
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64  | 
						-- Ej. 1. Demostrar --    P(c), ∀x (P(x) → ¬Q(x)) ⊢ ¬Q(c) import tactic variable  U : Type variable  c : U variables P Q : U → Prop -- 1ª demostración example   (h1 : P c)   (h2 : ∀x, P x → ¬Q x)   : ¬Q c := have h3 : P c → ¬Q c, from h2 c, show ¬Q c,            from h3 h1 -- 2ª demostración example   (h1 : P c)   (h2 : ∀x, P x → ¬Q x)   : ¬Q c := have h3 : P c → ¬Q c, from h2 c, h3 h1 -- 3ª demostración example   (h1 : P c)   (h2 : ∀x, P x → ¬Q x)   : ¬Q c := (h2 c) h1 -- 4ª demostración example   (h1 : P c)   (h2 : ∀x, P x → ¬Q x)   : ¬Q c := -- by library_search h2 c h1 -- 5ª demostración example   (h1 : P c)   (h2 : ∀x, P x → ¬Q x)   : ¬Q c := -- by hint by tauto -- 6ª demostración example   (h1 : P c)   (h2 : ∀x, P x → ¬Q x)   : ¬Q c := by finish -- 7ª demostración example   (h1 : P c)   (h2 : ∀x, P x → ¬Q x)   : ¬Q c := begin   apply h2,   exact h1, end  |