]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/ng_TPTP/COL001-1.ma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / ng_TPTP / COL001-1.ma
1 include "logic/equality.ma".
2
3 (* Inclusion of: COL001-1.p *)
4
5 (* -------------------------------------------------------------------------- *)
6
7 (*  File     : COL001-1 : TPTP v3.7.0. Released v1.0.0. *)
8
9 (*  Domain   : Combinatory Logic *)
10
11 (*  Problem  : Weak fixed point for S and K *)
12
13 (*  Version  : [WM88] (equality) axioms. *)
14
15 (*  English  : The weak fixed point property holds for the set P consisting  *)
16
17 (*             of the combinators S and K alone, where ((Sx)y)z = (xz)(yz)  *)
18
19 (*             and (Kx)y = x. *)
20
21 (*  Refs     : [Smu85] Smullyan (1978), To Mock a Mocking Bird and Other Logi *)
22
23 (*           : [WM88]  Wos & McCune (1988), Challenge Problems Focusing on Eq *)
24
25 (*  Source   : [WM88] *)
26
27 (*  Names    : C1 [WM88] *)
28
29 (*           : Problem 1 [WM88] *)
30
31 (*  Status   : Unsatisfiable *)
32
33 (*  Rating   : 0.11 v3.4.0, 0.12 v3.3.0, 0.07 v3.1.0, 0.11 v2.7.0, 0.00 v2.1.0, 0.13 v2.0.0 *)
34
35 (*  Syntax   : Number of clauses     :    3 (   0 non-Horn;   3 unit;   1 RR) *)
36
37 (*             Number of atoms       :    3 (   3 equality) *)
38
39 (*             Maximal clause size   :    1 (   1 average) *)
40
41 (*             Number of predicates  :    1 (   0 propositional; 2-2 arity) *)
42
43 (*             Number of functors    :    4 (   3 constant; 0-2 arity) *)
44
45 (*             Number of variables   :    6 (   1 singleton) *)
46
47 (*             Maximal term depth    :    4 (   2 average) *)
48
49 (*  Comments :  *)
50
51 (* -------------------------------------------------------------------------- *)
52 ntheorem prove_fixed_point:
53  (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
54 ∀apply:∀_:Univ.∀_:Univ.Univ.
55 ∀combinator:Univ.
56 ∀k:Univ.
57 ∀s:Univ.
58 ∀H0:∀X:Univ.∀Y:Univ.eq Univ (apply (apply k X) Y) X.
59 ∀H1:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (apply (apply (apply s X) Y) Z) (apply (apply X Z) (apply Y Z)).∃Y:Univ.eq Univ Y (apply combinator Y))
60 .
61 #Univ ##.
62 #X ##.
63 #Y ##.
64 #Z ##.
65 #apply ##.
66 #combinator ##.
67 #k ##.
68 #s ##.
69 #H0 ##.
70 #H1 ##.
71 napply (ex_intro ? ? ? ?) ##[
72 ##2:
73 nauto by H0,H1 ##;
74 ##| ##skip ##]
75 ntry (nassumption) ##;
76 nqed.
77
78 (* -------------------------------------------------------------------------- *)