]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/ng_TPTP/COL015-1.ma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / contribs / ng_TPTP / COL015-1.ma
1 include "logic/equality.ma".
2
3 (* Inclusion of: COL015-1.p *)
4
5 (* -------------------------------------------------------------------------- *)
6
7 (*  File     : COL015-1 : TPTP v3.7.0. Released v1.0.0. *)
8
9 (*  Domain   : Combinatory Logic *)
10
11 (*  Problem  : Weak fixed point for Q and M *)
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 Q and M, where Mx = xx, ((Qx)y)z = y(xz). *)
18
19 (*  Refs     : [Smu85] Smullyan (1978), To Mock a Mocking Bird and Other Logi *)
20
21 (*           : [MW87]  McCune & Wos (1987), A Case Study in Automated Theorem *)
22
23 (*           : [WM88]  Wos & McCune (1988), Challenge Problems Focusing on Eq *)
24
25 (*           : [MW88]  McCune & Wos (1988), Some Fixed Point Problems in Comb *)
26
27 (*  Source   : [MW88] *)
28
29 (*  Names    : - [MW88] *)
30
31 (*  Status   : Unsatisfiable *)
32
33 (*  Rating   : 0.11 v3.4.0, 0.00 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   :    5 (   0 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 ∀m:Univ.
57 ∀q:Univ.
58 ∀H0:∀X:Univ.∀Y:Univ.∀Z:Univ.eq Univ (apply (apply (apply q X) Y) Z) (apply Y (apply X Z)).
59 ∀H1:∀X:Univ.eq Univ (apply m X) (apply X X).∃Y:Univ.eq Univ Y (apply combinator Y))
60 .
61 #Univ ##.
62 #X ##.
63 #Y ##.
64 #Z ##.
65 #apply ##.
66 #combinator ##.
67 #m ##.
68 #q ##.
69 #H0 ##.
70 #H1 ##.
71 napply (ex_intro ? ? ? ?) ##[
72 ##2:
73 nauto by H0,H1 ##;
74 ##| ##skip ##]
75 ntry (nassumption) ##;
76 nqed.
77
78 (* -------------------------------------------------------------------------- *)