]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/ng_TPTP/COL017-1.ma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / ng_TPTP / COL017-1.ma
1 include "logic/equality.ma".
2
3 (* Inclusion of: COL017-1.p *)
4
5 (* -------------------------------------------------------------------------- *)
6
7 (*  File     : COL017-1 : TPTP v3.7.0. Released v1.0.0. *)
8
9 (*  Domain   : Combinatory Logic *)
10
11 (*  Problem  : Weak fixed point for B, M, and T *)
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 B, M, and T, where ((Bx)y)z = x(yz),  *)
18
19 (*             Mx = xx, (Tx)y = yx. *)
20
21 (*  Refs     : [Smu85] Smullyan (1978), To Mock a Mocking Bird and Other Logi *)
22
23 (*           : [MW87]  McCune & Wos (1987), A Case Study in Automated Theorem *)
24
25 (*           : [WM88]  Wos & McCune (1988), Challenge Problems Focusing on Eq *)
26
27 (*           : [MW88]  McCune & Wos (1988), Some Fixed Point Problems in Comb *)
28
29 (*  Source   : [MW88] *)
30
31 (*  Names    : - [MW88] *)
32
33 (*  Status   : Unsatisfiable *)
34
35 (*  Rating   : 0.11 v3.4.0, 0.00 v2.0.0 *)
36
37 (*  Syntax   : Number of clauses     :    4 (   0 non-Horn;   4 unit;   1 RR) *)
38
39 (*             Number of atoms       :    4 (   4 equality) *)
40
41 (*             Maximal clause size   :    1 (   1 average) *)
42
43 (*             Number of predicates  :    1 (   0 propositional; 2-2 arity) *)
44
45 (*             Number of functors    :    5 (   4 constant; 0-2 arity) *)
46
47 (*             Number of variables   :    7 (   0 singleton) *)
48
49 (*             Maximal term depth    :    4 (   2 average) *)
50
51 (*  Comments :  *)
52
53 (* -------------------------------------------------------------------------- *)
54 ntheorem prove_fixed_point:
55  (∀Univ:Type.∀X:Univ.∀Y:Univ.∀Z:Univ.
56 ∀apply:∀_:Univ.∀_:Univ.Univ.
57 ∀b:Univ.
58 ∀combinator:Univ.
59 ∀m:Univ.
60 ∀t:Univ.
61 ∀H0:∀X:Univ.∀Y:Univ.eq Univ (apply (apply t X) Y) (apply Y X).
62 ∀H1:∀X:Univ.eq Univ (apply m X) (apply X X).
63 ∀H2:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (apply (apply (apply b X) Y) Z) (apply X (apply Y Z)).∃Y:Univ.eq Univ Y (apply combinator Y))
64 .
65 #Univ ##.
66 #X ##.
67 #Y ##.
68 #Z ##.
69 #apply ##.
70 #b ##.
71 #combinator ##.
72 #m ##.
73 #t ##.
74 #H0 ##.
75 #H1 ##.
76 #H2 ##.
77 napply (ex_intro ? ? ? ?) ##[
78 ##2:
79 nauto by H0,H1,H2 ##;
80 ##| ##skip ##]
81 ntry (nassumption) ##;
82 nqed.
83
84 (* -------------------------------------------------------------------------- *)