TPTP Problem File: DAT180^1.p
View Solutions
- Solve Problem
%------------------------------------------------------------------------------
% File : DAT180^1 : TPTP v9.0.0. Released v7.0.0.
% Domain : Data Structures
% Problem : Lazy lists II 676
% Version : [Bla16] axioms : Especial.
% English :
% Refs : [Fri04] Friedrich (2004), Lazy Lists II
% : [RB15] Reynolds & Blanchette (2015), A Decision Procedure for
% : [Bla16] Blanchette (2016), Email to Geoff Sutcliffe
% Source : [Bla16]
% Names : llist2__676.p [Bla16]
% Status : Theorem
% Rating : 0.00 v7.2.0, 0.25 v7.1.0
% Syntax : Number of formulae : 343 ( 124 unt; 63 typ; 0 def)
% Number of atoms : 638 ( 333 equ; 0 cnn)
% Maximal formula atoms : 5 ( 2 avg)
% Number of connectives : 3409 ( 53 ~; 11 |; 36 &;3076 @)
% ( 0 <=>; 233 =>; 0 <=; 0 <~>)
% Maximal formula depth : 19 ( 6 avg)
% Number of types : 3 ( 2 usr)
% Number of type conns : 121 ( 121 >; 0 *; 0 +; 0 <<)
% Number of symbols : 64 ( 61 usr; 5 con; 0-5 aty)
% Number of variables : 860 ( 16 ^; 774 !; 16 ?; 860 :)
% ( 54 !>; 0 ?*; 0 @-; 0 @+)
% SPC : TH1_THM_EQU_NAR
% Comments : This file was generated by Isabelle (most likely Sledgehammer)
% 2016-07-13 14:48:23.354
%------------------------------------------------------------------------------
%----Could-be-implicit typings (5)
thf(ty_t_Coinductive__List_Ollist,type,
coinductive_llist: $tType > $tType ).
thf(ty_t_Set_Oset,type,
set: $tType > $tType ).
thf(ty_t_Nat_Onat,type,
nat: $tType ).
thf(ty_t_itself,type,
itself: $tType > $tType ).
thf(ty_tf_a,type,
a: $tType ).
%----Explicit typings (58)
thf(sy_cl_HOL_Otype,type,
type:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Oone,type,
one:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Ozero,type,
zero:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Orderings_Otop,type,
top:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Ogroup__add,type,
group_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Omonoid__add,type,
monoid_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Orderings_Opreorder,type,
preorder:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Oab__group__add,type,
ab_group_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Osemigroup__add,type,
semigroup_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Rings_Ocomm__semiring__1,type,
comm_semiring_1:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Ocomm__monoid__add,type,
comm_monoid_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Fields_Olinordered__field,type,
linordered_field:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Oab__semigroup__add,type,
ab_semigroup_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Ocomm__monoid__diff,type,
comm_monoid_diff:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Ocancel__semigroup__add,type,
cancel_semigroup_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Oordered__ab__group__add,type,
ordered_ab_group_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Ocancel__comm__monoid__add,type,
cancel1352612707id_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Ocancel__ab__semigroup__add,type,
cancel146912293up_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Olinordered__ab__group__add,type,
linord219039673up_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Oordered__ab__semigroup__add,type,
ordere779506340up_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Ocanonically__ordered__monoid__add,type,
canoni770627133id_add:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Oordered__ab__semigroup__add__imp__le,type,
ordere236663937imp_le:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Groups_Oordered__ab__semigroup__monoid__add__imp__le,type,
ordere516151231imp_le:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_cl_Semiring__Normalization_Ocomm__semiring__1__cancel__crossproduct,type,
semiri456707255roduct:
!>[A: $tType] : ( ( itself @ A ) > $o ) ).
thf(sy_c_Coinductive__List_Ofinite__lprefix,type,
coindu328551480prefix:
!>[A: $tType] : ( ( coinductive_llist @ A ) > ( coinductive_llist @ A ) > $o ) ).
thf(sy_c_Coinductive__List_Olappend,type,
coinductive_lappend:
!>[A: $tType] : ( ( coinductive_llist @ A ) > ( coinductive_llist @ A ) > ( coinductive_llist @ A ) ) ).
thf(sy_c_Coinductive__List_Ollist_OLCons,type,
coinductive_LCons:
!>[A: $tType] : ( A > ( coinductive_llist @ A ) > ( coinductive_llist @ A ) ) ).
thf(sy_c_Coinductive__List_Ollist_OLNil,type,
coinductive_LNil:
!>[A: $tType] : ( coinductive_llist @ A ) ).
thf(sy_c_Coinductive__List_Olstrict__prefix,type,
coindu1478340336prefix:
!>[A: $tType] : ( ( coinductive_llist @ A ) > ( coinductive_llist @ A ) > $o ) ).
thf(sy_c_Coinductive__List_Olsublist,type,
coinductive_lsublist:
!>[A: $tType] : ( ( coinductive_llist @ A ) > ( set @ nat ) > ( coinductive_llist @ A ) ) ).
thf(sy_c_Coinductive__List_Omonoid__add__class_Ollistsum,type,
coindu780009021istsum:
!>[A: $tType] : ( ( coinductive_llist @ A ) > A ) ).
thf(sy_c_Groups_Ominus__class_Ominus,type,
minus_minus:
!>[A: $tType] : ( A > A > A ) ).
thf(sy_c_Groups_Oone__class_Oone,type,
one_one:
!>[A: $tType] : A ).
thf(sy_c_Groups_Oplus__class_Oplus,type,
plus_plus:
!>[A: $tType] : ( A > A > A ) ).
thf(sy_c_Groups_Ozero__class_Ozero,type,
zero_zero:
!>[A: $tType] : A ).
thf(sy_c_If,type,
if:
!>[A: $tType] : ( $o > A > A > A ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Oalllsts,type,
lList2435255213lllsts:
!>[A: $tType] : ( ( set @ A ) > ( set @ ( coinductive_llist @ A ) ) ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Ofinlsts,type,
lList2236698231inlsts:
!>[A: $tType] : ( ( set @ A ) > ( set @ ( coinductive_llist @ A ) ) ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Ofinlsts__rec,type,
lList21916056377ts_rec:
!>[B: $tType,A: $tType] : ( B > ( A > ( coinductive_llist @ A ) > B > B ) > ( coinductive_llist @ A ) > B ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Ofpslsts,type,
lList22096119349pslsts:
!>[A: $tType] : ( ( set @ A ) > ( set @ ( coinductive_llist @ A ) ) ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Oinflsts,type,
lList21612149805nflsts:
!>[A: $tType] : ( ( set @ A ) > ( set @ ( coinductive_llist @ A ) ) ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Olbutlast,type,
lList2370560421utlast:
!>[A: $tType] : ( ( coinductive_llist @ A ) > ( coinductive_llist @ A ) ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Oldrop,type,
lList2508575361_ldrop:
!>[A: $tType] : ( ( coinductive_llist @ A ) > nat > ( coinductive_llist @ A ) ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Ollast,type,
lList2170638824_llast:
!>[A: $tType] : ( ( coinductive_llist @ A ) > A ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Ollength,type,
lList21232602520length:
!>[A: $tType] : ( ( coinductive_llist @ A ) > nat ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Olrev,type,
lList2281150353e_lrev:
!>[A: $tType] : ( ( coinductive_llist @ A ) > ( coinductive_llist @ A ) ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Oltake,type,
lList22119844313_ltake:
!>[A: $tType] : ( ( coinductive_llist @ A ) > nat > ( coinductive_llist @ A ) ) ).
thf(sy_c_LList2__Mirabelle__hamjzmohle_Oposlsts,type,
lList21148268032oslsts:
!>[A: $tType] : ( ( set @ A ) > ( set @ ( coinductive_llist @ A ) ) ) ).
thf(sy_c_Nat_OSuc,type,
suc: nat > nat ).
thf(sy_c_Nat__Bijection_Otriangle,type,
nat_triangle: nat > nat ).
thf(sy_c_Orderings_Oord__class_Oless__eq,type,
ord_less_eq:
!>[A: $tType] : ( A > A > $o ) ).
thf(sy_c_Orderings_Otop__class_Otop,type,
top_top:
!>[A: $tType] : A ).
thf(sy_c_Pure_Otype,type,
type2:
!>[A: $tType] : ( itself @ A ) ).
thf(sy_c_Set_OCollect,type,
collect:
!>[A: $tType] : ( ( A > $o ) > ( set @ A ) ) ).
thf(sy_c_member,type,
member:
!>[A: $tType] : ( A > ( set @ A ) > $o ) ).
thf(sy_v_A,type,
a2: set @ a ).
thf(sy_v_i,type,
i: nat ).
thf(sy_v_t,type,
t: coinductive_llist @ a ).
%----Relevant facts (252)
thf(fact_0_lrevT,axiom,
! [A: $tType,Xs: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ Xs @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ ( lList2281150353e_lrev @ A @ Xs ) @ ( lList2236698231inlsts @ A @ A2 ) ) ) ).
% lrevT
thf(fact_1_LList2__Mirabelle__hamjzmohle_Oldrop__LNil,axiom,
! [A: $tType,I: nat] :
( ( lList2508575361_ldrop @ A @ ( coinductive_LNil @ A ) @ I )
= ( coinductive_LNil @ A ) ) ).
% LList2_Mirabelle_hamjzmohle.ldrop_LNil
thf(fact_2_ldropT,axiom,
! [A: $tType,T: coinductive_llist @ A,A2: set @ A,I: nat] :
( ( member @ ( coinductive_llist @ A ) @ T @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ ( lList2508575361_ldrop @ A @ T @ I ) @ ( lList2435255213lllsts @ A @ A2 ) ) ) ).
% ldropT
thf(fact_3_LList2__Mirabelle__hamjzmohle_Oldrop_Osimps_I1_J,axiom,
! [A: $tType,L: coinductive_llist @ A] :
( ( lList2508575361_ldrop @ A @ L @ ( zero_zero @ nat ) )
= L ) ).
% LList2_Mirabelle_hamjzmohle.ldrop.simps(1)
thf(fact_4_ldrop__add,axiom,
! [A: $tType,T: coinductive_llist @ A,I: nat,K: nat] :
( ( lList2508575361_ldrop @ A @ T @ ( plus_plus @ nat @ I @ K ) )
= ( lList2508575361_ldrop @ A @ ( lList2508575361_ldrop @ A @ T @ I ) @ K ) ) ).
% ldrop_add
thf(fact_5_finite__lemma,axiom,
! [A: $tType,X: coinductive_llist @ A,A2: set @ A,B2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( member @ ( coinductive_llist @ A ) @ X @ ( lList2435255213lllsts @ A @ B2 ) )
=> ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ B2 ) ) ) ) ).
% finite_lemma
thf(fact_6_finsubsetall,axiom,
! [A: $tType,X: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ X @ ( lList2435255213lllsts @ A @ A2 ) ) ) ).
% finsubsetall
thf(fact_7_same__lappend__eq,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A,S: coinductive_llist @ A,T: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( ( coinductive_lappend @ A @ R @ S )
= ( coinductive_lappend @ A @ R @ T ) )
= ( S = T ) ) ) ).
% same_lappend_eq
thf(fact_8_lapp__fin__fin__iff,axiom,
! [A: $tType,R: coinductive_llist @ A,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ R @ S ) @ ( lList2236698231inlsts @ A @ A2 ) )
= ( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
& ( member @ ( coinductive_llist @ A ) @ S @ ( lList2236698231inlsts @ A @ A2 ) ) ) ) ).
% lapp_fin_fin_iff
thf(fact_9_finT__simp,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) ) ) ).
% finT_simp
thf(fact_10_fin__finite,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) ) ) ).
% fin_finite
thf(fact_11_finlsts_OLNil__fin,axiom,
! [A: $tType,A2: set @ A] : ( member @ ( coinductive_llist @ A ) @ ( coinductive_LNil @ A ) @ ( lList2236698231inlsts @ A @ A2 ) ) ).
% finlsts.LNil_fin
thf(fact_12_LNil__is__lappend__conv,axiom,
! [A: $tType,S: coinductive_llist @ A,T: coinductive_llist @ A] :
( ( ( coinductive_LNil @ A )
= ( coinductive_lappend @ A @ S @ T ) )
= ( ( S
= ( coinductive_LNil @ A ) )
& ( T
= ( coinductive_LNil @ A ) ) ) ) ).
% LNil_is_lappend_conv
thf(fact_13_lappend__is__LNil__conv,axiom,
! [A: $tType,S: coinductive_llist @ A,T: coinductive_llist @ A] :
( ( ( coinductive_lappend @ A @ S @ T )
= ( coinductive_LNil @ A ) )
= ( ( S
= ( coinductive_LNil @ A ) )
& ( T
= ( coinductive_LNil @ A ) ) ) ) ).
% lappend_is_LNil_conv
thf(fact_14_alllsts__UNIV,axiom,
! [A: $tType,S: coinductive_llist @ A] : ( member @ ( coinductive_llist @ A ) @ S @ ( lList2435255213lllsts @ A @ ( top_top @ ( set @ A ) ) ) ) ).
% alllsts_UNIV
thf(fact_15_lrev__LNil,axiom,
! [A: $tType] :
( ( lList2281150353e_lrev @ A @ ( coinductive_LNil @ A ) )
= ( coinductive_LNil @ A ) ) ).
% lrev_LNil
thf(fact_16_lrev__is__lrev__conv,axiom,
! [A: $tType,Xs: coinductive_llist @ A,Ys: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ Xs @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( ( member @ ( coinductive_llist @ A ) @ Ys @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( ( ( lList2281150353e_lrev @ A @ Xs )
= ( lList2281150353e_lrev @ A @ Ys ) )
= ( Xs = Ys ) ) ) ) ).
% lrev_is_lrev_conv
thf(fact_17_lrev__lrev__ident,axiom,
! [A: $tType,Xs: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ Xs @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( ( lList2281150353e_lrev @ A @ ( lList2281150353e_lrev @ A @ Xs ) )
= Xs ) ) ).
% lrev_lrev_ident
thf(fact_18_lrev__is__LNil__conv,axiom,
! [A: $tType,Xs: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ Xs @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( ( ( lList2281150353e_lrev @ A @ Xs )
= ( coinductive_LNil @ A ) )
= ( Xs
= ( coinductive_LNil @ A ) ) ) ) ).
% lrev_is_LNil_conv
thf(fact_19_LNil__is__lrev__conv,axiom,
! [A: $tType,Xs: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ Xs @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( ( ( coinductive_LNil @ A )
= ( lList2281150353e_lrev @ A @ Xs ) )
= ( Xs
= ( coinductive_LNil @ A ) ) ) ) ).
% LNil_is_lrev_conv
thf(fact_20_lrev__lappend,axiom,
! [A: $tType,Xs: coinductive_llist @ A,Ys: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ Xs @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( ( member @ ( coinductive_llist @ A ) @ Ys @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( ( lList2281150353e_lrev @ A @ ( coinductive_lappend @ A @ Xs @ Ys ) )
= ( coinductive_lappend @ A @ ( lList2281150353e_lrev @ A @ Ys ) @ ( lList2281150353e_lrev @ A @ Xs ) ) ) ) ) ).
% lrev_lappend
thf(fact_21_lappT,axiom,
! [A: $tType,S: coinductive_llist @ A,A2: set @ A,T: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ S @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( ( member @ ( coinductive_llist @ A ) @ T @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ S @ T ) @ ( lList2435255213lllsts @ A @ A2 ) ) ) ) ).
% lappT
thf(fact_22_lapp__all__invT,axiom,
! [A: $tType,R: coinductive_llist @ A,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ R @ S ) @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ R @ ( lList2435255213lllsts @ A @ A2 ) ) ) ).
% lapp_all_invT
thf(fact_23_alllsts_OLNil__all,axiom,
! [A: $tType,A2: set @ A] : ( member @ ( coinductive_llist @ A ) @ ( coinductive_LNil @ A ) @ ( lList2435255213lllsts @ A @ A2 ) ) ).
% alllsts.LNil_all
thf(fact_24_lapp__fin__fin__lemma,axiom,
! [A: $tType,R: coinductive_llist @ A,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ R @ S ) @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) ) ) ).
% lapp_fin_fin_lemma
thf(fact_25_lappfin__finT,axiom,
! [A: $tType,S: coinductive_llist @ A,A2: set @ A,T: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ S @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( member @ ( coinductive_llist @ A ) @ T @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ S @ T ) @ ( lList2236698231inlsts @ A @ A2 ) ) ) ) ).
% lappfin_finT
thf(fact_26_lappend__code_I1_J,axiom,
! [A: $tType,Ys: coinductive_llist @ A] :
( ( coinductive_lappend @ A @ ( coinductive_LNil @ A ) @ Ys )
= Ys ) ).
% lappend_code(1)
thf(fact_27_lappend__LNil2,axiom,
! [A: $tType,Xs: coinductive_llist @ A] :
( ( coinductive_lappend @ A @ Xs @ ( coinductive_LNil @ A ) )
= Xs ) ).
% lappend_LNil2
thf(fact_28_LNil__eq__lappend__iff,axiom,
! [A: $tType,Xs: coinductive_llist @ A,Ys: coinductive_llist @ A] :
( ( ( coinductive_LNil @ A )
= ( coinductive_lappend @ A @ Xs @ Ys ) )
= ( ( Xs
= ( coinductive_LNil @ A ) )
& ( Ys
= ( coinductive_LNil @ A ) ) ) ) ).
% LNil_eq_lappend_iff
thf(fact_29_lappend__eq__LNil__iff,axiom,
! [A: $tType,Xs: coinductive_llist @ A,Ys: coinductive_llist @ A] :
( ( ( coinductive_lappend @ A @ Xs @ Ys )
= ( coinductive_LNil @ A ) )
= ( ( Xs
= ( coinductive_LNil @ A ) )
& ( Ys
= ( coinductive_LNil @ A ) ) ) ) ).
% lappend_eq_LNil_iff
thf(fact_30_add__is__0,axiom,
! [M: nat,N: nat] :
( ( ( plus_plus @ nat @ M @ N )
= ( zero_zero @ nat ) )
= ( ( M
= ( zero_zero @ nat ) )
& ( N
= ( zero_zero @ nat ) ) ) ) ).
% add_is_0
thf(fact_31_Nat_Oadd__0__right,axiom,
! [M: nat] :
( ( plus_plus @ nat @ M @ ( zero_zero @ nat ) )
= M ) ).
% Nat.add_0_right
thf(fact_32_add_Oleft__neutral,axiom,
! [A: $tType] :
( ( monoid_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( plus_plus @ A @ ( zero_zero @ A ) @ A3 )
= A3 ) ) ).
% add.left_neutral
thf(fact_33_add_Oright__neutral,axiom,
! [A: $tType] :
( ( monoid_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( plus_plus @ A @ A3 @ ( zero_zero @ A ) )
= A3 ) ) ).
% add.right_neutral
thf(fact_34_double__zero,axiom,
! [A: $tType] :
( ( linord219039673up_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( ( plus_plus @ A @ A3 @ A3 )
= ( zero_zero @ A ) )
= ( A3
= ( zero_zero @ A ) ) ) ) ).
% double_zero
thf(fact_35_double__zero__sym,axiom,
! [A: $tType] :
( ( linord219039673up_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( ( zero_zero @ A )
= ( plus_plus @ A @ A3 @ A3 ) )
= ( A3
= ( zero_zero @ A ) ) ) ) ).
% double_zero_sym
thf(fact_36_add__cancel__left__left,axiom,
! [A: $tType] :
( ( cancel1352612707id_add @ A @ ( type2 @ A ) )
=> ! [B3: A,A3: A] :
( ( ( plus_plus @ A @ B3 @ A3 )
= A3 )
= ( B3
= ( zero_zero @ A ) ) ) ) ).
% add_cancel_left_left
thf(fact_37_add__right__cancel,axiom,
! [A: $tType] :
( ( cancel_semigroup_add @ A @ ( type2 @ A ) )
=> ! [B3: A,A3: A,C: A] :
( ( ( plus_plus @ A @ B3 @ A3 )
= ( plus_plus @ A @ C @ A3 ) )
= ( B3 = C ) ) ) ).
% add_right_cancel
thf(fact_38_add__left__cancel,axiom,
! [A: $tType] :
( ( cancel_semigroup_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( ( plus_plus @ A @ A3 @ B3 )
= ( plus_plus @ A @ A3 @ C ) )
= ( B3 = C ) ) ) ).
% add_left_cancel
thf(fact_39_add__cancel__right__right,axiom,
! [A: $tType] :
( ( cancel1352612707id_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( A3
= ( plus_plus @ A @ A3 @ B3 ) )
= ( B3
= ( zero_zero @ A ) ) ) ) ).
% add_cancel_right_right
thf(fact_40_add__cancel__right__left,axiom,
! [A: $tType] :
( ( cancel1352612707id_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( A3
= ( plus_plus @ A @ B3 @ A3 ) )
= ( B3
= ( zero_zero @ A ) ) ) ) ).
% add_cancel_right_left
thf(fact_41_add__cancel__left__right,axiom,
! [A: $tType] :
( ( cancel1352612707id_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( ( plus_plus @ A @ A3 @ B3 )
= A3 )
= ( B3
= ( zero_zero @ A ) ) ) ) ).
% add_cancel_left_right
thf(fact_42_zero__reorient,axiom,
! [A: $tType] :
( ( zero @ A @ ( type2 @ A ) )
=> ! [X: A] :
( ( ( zero_zero @ A )
= X )
= ( X
= ( zero_zero @ A ) ) ) ) ).
% zero_reorient
thf(fact_43_add__right__imp__eq,axiom,
! [A: $tType] :
( ( cancel_semigroup_add @ A @ ( type2 @ A ) )
=> ! [B3: A,A3: A,C: A] :
( ( ( plus_plus @ A @ B3 @ A3 )
= ( plus_plus @ A @ C @ A3 ) )
=> ( B3 = C ) ) ) ).
% add_right_imp_eq
thf(fact_44_mem__Collect__eq,axiom,
! [A: $tType,A3: A,P: A > $o] :
( ( member @ A @ A3 @ ( collect @ A @ P ) )
= ( P @ A3 ) ) ).
% mem_Collect_eq
thf(fact_45_Collect__mem__eq,axiom,
! [A: $tType,A2: set @ A] :
( ( collect @ A
@ ^ [X2: A] : ( member @ A @ X2 @ A2 ) )
= A2 ) ).
% Collect_mem_eq
thf(fact_46_Collect__cong,axiom,
! [A: $tType,P: A > $o,Q: A > $o] :
( ! [X3: A] :
( ( P @ X3 )
= ( Q @ X3 ) )
=> ( ( collect @ A @ P )
= ( collect @ A @ Q ) ) ) ).
% Collect_cong
thf(fact_47_ext,axiom,
! [B: $tType,A: $tType,F: A > B,G: A > B] :
( ! [X3: A] :
( ( F @ X3 )
= ( G @ X3 ) )
=> ( F = G ) ) ).
% ext
thf(fact_48_add__left__imp__eq,axiom,
! [A: $tType] :
( ( cancel_semigroup_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( ( plus_plus @ A @ A3 @ B3 )
= ( plus_plus @ A @ A3 @ C ) )
=> ( B3 = C ) ) ) ).
% add_left_imp_eq
thf(fact_49_add_Oleft__commute,axiom,
! [A: $tType] :
( ( ab_semigroup_add @ A @ ( type2 @ A ) )
=> ! [B3: A,A3: A,C: A] :
( ( plus_plus @ A @ B3 @ ( plus_plus @ A @ A3 @ C ) )
= ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) ) ) ) ).
% add.left_commute
thf(fact_50_add_Ocommute,axiom,
! [A: $tType] :
( ( ab_semigroup_add @ A @ ( type2 @ A ) )
=> ( ( plus_plus @ A )
= ( ^ [A4: A,B4: A] : ( plus_plus @ A @ B4 @ A4 ) ) ) ) ).
% add.commute
thf(fact_51_add_Oright__cancel,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [B3: A,A3: A,C: A] :
( ( ( plus_plus @ A @ B3 @ A3 )
= ( plus_plus @ A @ C @ A3 ) )
= ( B3 = C ) ) ) ).
% add.right_cancel
thf(fact_52_add_Oleft__cancel,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( ( plus_plus @ A @ A3 @ B3 )
= ( plus_plus @ A @ A3 @ C ) )
= ( B3 = C ) ) ) ).
% add.left_cancel
thf(fact_53_add_Oassoc,axiom,
! [A: $tType] :
( ( semigroup_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ C )
= ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) ) ) ) ).
% add.assoc
thf(fact_54_add__mono__thms__linordered__semiring_I4_J,axiom,
! [A: $tType] :
( ( ordere779506340up_add @ A @ ( type2 @ A ) )
=> ! [I: A,J: A,K: A,L: A] :
( ( ( I = J )
& ( K = L ) )
=> ( ( plus_plus @ A @ I @ K )
= ( plus_plus @ A @ J @ L ) ) ) ) ).
% add_mono_thms_linordered_semiring(4)
thf(fact_55_ab__semigroup__add__class_Oadd__ac_I1_J,axiom,
! [A: $tType] :
( ( ab_semigroup_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ C )
= ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) ) ) ) ).
% ab_semigroup_add_class.add_ac(1)
thf(fact_56_nat__add__right__cancel,axiom,
! [M: nat,K: nat,N: nat] :
( ( ( plus_plus @ nat @ M @ K )
= ( plus_plus @ nat @ N @ K ) )
= ( M = N ) ) ).
% nat_add_right_cancel
thf(fact_57_nat__add__left__cancel,axiom,
! [K: nat,M: nat,N: nat] :
( ( ( plus_plus @ nat @ K @ M )
= ( plus_plus @ nat @ K @ N ) )
= ( M = N ) ) ).
% nat_add_left_cancel
thf(fact_58_lappend__assoc,axiom,
! [A: $tType,Xs: coinductive_llist @ A,Ys: coinductive_llist @ A,Zs: coinductive_llist @ A] :
( ( coinductive_lappend @ A @ ( coinductive_lappend @ A @ Xs @ Ys ) @ Zs )
= ( coinductive_lappend @ A @ Xs @ ( coinductive_lappend @ A @ Ys @ Zs ) ) ) ).
% lappend_assoc
thf(fact_59_add__eq__0__iff__both__eq__0,axiom,
! [A: $tType] :
( ( canoni770627133id_add @ A @ ( type2 @ A ) )
=> ! [X: A,Y: A] :
( ( ( plus_plus @ A @ X @ Y )
= ( zero_zero @ A ) )
= ( ( X
= ( zero_zero @ A ) )
& ( Y
= ( zero_zero @ A ) ) ) ) ) ).
% add_eq_0_iff_both_eq_0
thf(fact_60_add_Ogroup__left__neutral,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( plus_plus @ A @ ( zero_zero @ A ) @ A3 )
= A3 ) ) ).
% add.group_left_neutral
thf(fact_61_add_Ocomm__neutral,axiom,
! [A: $tType] :
( ( comm_monoid_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( plus_plus @ A @ A3 @ ( zero_zero @ A ) )
= A3 ) ) ).
% add.comm_neutral
thf(fact_62_comm__monoid__add__class_Oadd__0,axiom,
! [A: $tType] :
( ( comm_monoid_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( plus_plus @ A @ ( zero_zero @ A ) @ A3 )
= A3 ) ) ).
% comm_monoid_add_class.add_0
thf(fact_63_add__eq__self__zero,axiom,
! [M: nat,N: nat] :
( ( ( plus_plus @ nat @ M @ N )
= M )
=> ( N
= ( zero_zero @ nat ) ) ) ).
% add_eq_self_zero
thf(fact_64_plus__nat_Oadd__0,axiom,
! [N: nat] :
( ( plus_plus @ nat @ ( zero_zero @ nat ) @ N )
= N ) ).
% plus_nat.add_0
thf(fact_65_lappend__LNil__LNil,axiom,
! [A: $tType] :
( ( coinductive_lappend @ A @ ( coinductive_LNil @ A ) @ ( coinductive_LNil @ A ) )
= ( coinductive_LNil @ A ) ) ).
% lappend_LNil_LNil
thf(fact_66_iso__tuple__UNIV__I,axiom,
! [A: $tType,X: A] : ( member @ A @ X @ ( top_top @ ( set @ A ) ) ) ).
% iso_tuple_UNIV_I
thf(fact_67_UNIV__I,axiom,
! [A: $tType,X: A] : ( member @ A @ X @ ( top_top @ ( set @ A ) ) ) ).
% UNIV_I
thf(fact_68_top__apply,axiom,
! [C2: $tType,D: $tType] :
( ( top @ C2 @ ( type2 @ C2 ) )
=> ( ( top_top @ ( D > C2 ) )
= ( ^ [X2: D] : ( top_top @ C2 ) ) ) ) ).
% top_apply
thf(fact_69_poslsts__iff,axiom,
! [A: $tType,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ S @ ( lList21148268032oslsts @ A @ A2 ) )
= ( ( member @ ( coinductive_llist @ A ) @ S @ ( lList2435255213lllsts @ A @ A2 ) )
& ( S
!= ( coinductive_LNil @ A ) ) ) ) ).
% poslsts_iff
thf(fact_70_fpslsts__iff,axiom,
! [A: $tType,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ S @ ( lList22096119349pslsts @ A @ A2 ) )
= ( ( member @ ( coinductive_llist @ A ) @ S @ ( lList2236698231inlsts @ A @ A2 ) )
& ( S
!= ( coinductive_LNil @ A ) ) ) ) ).
% fpslsts_iff
thf(fact_71_poslsts__UNIV,axiom,
! [A: $tType,S: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ S @ ( lList21148268032oslsts @ A @ ( top_top @ ( set @ A ) ) ) )
= ( S
!= ( coinductive_LNil @ A ) ) ) ).
% poslsts_UNIV
thf(fact_72_ind__euclid,axiom,
! [P: nat > nat > $o,A3: nat,B3: nat] :
( ! [A5: nat,B5: nat] :
( ( P @ A5 @ B5 )
= ( P @ B5 @ A5 ) )
=> ( ! [A5: nat] : ( P @ A5 @ ( zero_zero @ nat ) )
=> ( ! [A5: nat,B5: nat] :
( ( P @ A5 @ B5 )
=> ( P @ A5 @ ( plus_plus @ nat @ A5 @ B5 ) ) )
=> ( P @ A3 @ B3 ) ) ) ) ).
% ind_euclid
thf(fact_73_LList2__Mirabelle__hamjzmohle_Ollength__LNil,axiom,
! [A: $tType] :
( ( lList21232602520length @ A @ ( coinductive_LNil @ A ) )
= ( zero_zero @ nat ) ) ).
% LList2_Mirabelle_hamjzmohle.llength_LNil
thf(fact_74_add__0__iff,axiom,
! [A: $tType] :
( ( semiri456707255roduct @ A @ ( type2 @ A ) )
=> ! [B3: A,A3: A] :
( ( B3
= ( plus_plus @ A @ B3 @ A3 ) )
= ( A3
= ( zero_zero @ A ) ) ) ) ).
% add_0_iff
thf(fact_75_top__set__def,axiom,
! [A: $tType] :
( ( top_top @ ( set @ A ) )
= ( collect @ A @ ( top_top @ ( A > $o ) ) ) ) ).
% top_set_def
thf(fact_76_semiring__normalization__rules_I25_J,axiom,
! [A: $tType] :
( ( comm_semiring_1 @ A @ ( type2 @ A ) )
=> ! [A3: A,C: A,D2: A] :
( ( plus_plus @ A @ A3 @ ( plus_plus @ A @ C @ D2 ) )
= ( plus_plus @ A @ ( plus_plus @ A @ A3 @ C ) @ D2 ) ) ) ).
% semiring_normalization_rules(25)
thf(fact_77_semiring__normalization__rules_I24_J,axiom,
! [A: $tType] :
( ( comm_semiring_1 @ A @ ( type2 @ A ) )
=> ( ( plus_plus @ A )
= ( ^ [A4: A,C3: A] : ( plus_plus @ A @ C3 @ A4 ) ) ) ) ).
% semiring_normalization_rules(24)
thf(fact_78_semiring__normalization__rules_I23_J,axiom,
! [A: $tType] :
( ( comm_semiring_1 @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ C )
= ( plus_plus @ A @ ( plus_plus @ A @ A3 @ C ) @ B3 ) ) ) ).
% semiring_normalization_rules(23)
thf(fact_79_semiring__normalization__rules_I22_J,axiom,
! [A: $tType] :
( ( comm_semiring_1 @ A @ ( type2 @ A ) )
=> ! [A3: A,C: A,D2: A] :
( ( plus_plus @ A @ A3 @ ( plus_plus @ A @ C @ D2 ) )
= ( plus_plus @ A @ C @ ( plus_plus @ A @ A3 @ D2 ) ) ) ) ).
% semiring_normalization_rules(22)
thf(fact_80_semiring__normalization__rules_I21_J,axiom,
! [A: $tType] :
( ( comm_semiring_1 @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ C )
= ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) ) ) ) ).
% semiring_normalization_rules(21)
thf(fact_81_semiring__normalization__rules_I20_J,axiom,
! [A: $tType] :
( ( comm_semiring_1 @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A,D2: A] :
( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ ( plus_plus @ A @ C @ D2 ) )
= ( plus_plus @ A @ ( plus_plus @ A @ A3 @ C ) @ ( plus_plus @ A @ B3 @ D2 ) ) ) ) ).
% semiring_normalization_rules(20)
thf(fact_82_UNIV__eq__I,axiom,
! [A: $tType,A2: set @ A] :
( ! [X3: A] : ( member @ A @ X3 @ A2 )
=> ( ( top_top @ ( set @ A ) )
= A2 ) ) ).
% UNIV_eq_I
thf(fact_83_UNIV__witness,axiom,
! [A: $tType] :
? [X3: A] : ( member @ A @ X3 @ ( top_top @ ( set @ A ) ) ) ).
% UNIV_witness
thf(fact_84_semiring__normalization__rules_I6_J,axiom,
! [A: $tType] :
( ( comm_semiring_1 @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( plus_plus @ A @ A3 @ ( zero_zero @ A ) )
= A3 ) ) ).
% semiring_normalization_rules(6)
thf(fact_85_semiring__normalization__rules_I5_J,axiom,
! [A: $tType] :
( ( comm_semiring_1 @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( plus_plus @ A @ ( zero_zero @ A ) @ A3 )
= A3 ) ) ).
% semiring_normalization_rules(5)
thf(fact_86_lbutlast__LNil,axiom,
! [A: $tType] :
( ( lList2370560421utlast @ A @ ( coinductive_LNil @ A ) )
= ( coinductive_LNil @ A ) ) ).
% lbutlast_LNil
thf(fact_87_take__fin,axiom,
! [A: $tType,T: coinductive_llist @ A,A2: set @ A,I: nat] :
( ( member @ ( coinductive_llist @ A ) @ T @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ ( lList22119844313_ltake @ A @ T @ I ) @ ( lList2236698231inlsts @ A @ A2 ) ) ) ).
% take_fin
thf(fact_88_lrev__LCons,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A,A3: A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( lList2281150353e_lrev @ A @ ( coinductive_LCons @ A @ A3 @ R ) )
= ( coinductive_lappend @ A @ ( lList2281150353e_lrev @ A @ R ) @ ( coinductive_LCons @ A @ A3 @ ( coinductive_LNil @ A ) ) ) ) ) ).
% lrev_LCons
thf(fact_89_ltake__fin,axiom,
! [A: $tType,R: coinductive_llist @ A,I: nat] : ( member @ ( coinductive_llist @ A ) @ ( lList22119844313_ltake @ A @ R @ I ) @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) ) ).
% ltake_fin
thf(fact_90_inflstsI,axiom,
! [A: $tType,X: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ X @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( ~ ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( member @ ( coinductive_llist @ A ) @ X @ ( lList21612149805nflsts @ A @ A2 ) ) ) ) ).
% inflstsI
thf(fact_91_llistsum__LNil,axiom,
! [A: $tType] :
( ( monoid_add @ A @ ( type2 @ A ) )
=> ( ( coindu780009021istsum @ A @ ( coinductive_LNil @ A ) )
= ( zero_zero @ A ) ) ) ).
% llistsum_LNil
thf(fact_92_llist_Oinject,axiom,
! [A: $tType,X21: A,X22: coinductive_llist @ A,Y21: A,Y22: coinductive_llist @ A] :
( ( ( coinductive_LCons @ A @ X21 @ X22 )
= ( coinductive_LCons @ A @ Y21 @ Y22 ) )
= ( ( X21 = Y21 )
& ( X22 = Y22 ) ) ) ).
% llist.inject
thf(fact_93_top1I,axiom,
! [A: $tType,X: A] : ( top_top @ ( A > $o ) @ X ) ).
% top1I
thf(fact_94_lappend__code_I2_J,axiom,
! [A: $tType,Xa: A,X: coinductive_llist @ A,Ys: coinductive_llist @ A] :
( ( coinductive_lappend @ A @ ( coinductive_LCons @ A @ Xa @ X ) @ Ys )
= ( coinductive_LCons @ A @ Xa @ ( coinductive_lappend @ A @ X @ Ys ) ) ) ).
% lappend_code(2)
thf(fact_95_LConsE,axiom,
! [A: $tType,X: A,Xs: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ ( coinductive_LCons @ A @ X @ Xs ) @ ( lList2435255213lllsts @ A @ A2 ) )
= ( ( member @ A @ X @ A2 )
& ( member @ ( coinductive_llist @ A ) @ Xs @ ( lList2435255213lllsts @ A @ A2 ) ) ) ) ).
% LConsE
thf(fact_96_lapp__inf,axiom,
! [A: $tType,S: coinductive_llist @ A,A2: set @ A,T: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ S @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( ( coinductive_lappend @ A @ S @ T )
= S ) ) ).
% lapp_inf
thf(fact_97_LList2__Mirabelle__hamjzmohle_Oltake__LNil,axiom,
! [A: $tType,I: nat] :
( ( lList22119844313_ltake @ A @ ( coinductive_LNil @ A ) @ I )
= ( coinductive_LNil @ A ) ) ).
% LList2_Mirabelle_hamjzmohle.ltake_LNil
thf(fact_98_notfin__inf,axiom,
! [A: $tType,X: coinductive_llist @ A] :
( ( ~ ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) ) )
= ( member @ ( coinductive_llist @ A ) @ X @ ( lList21612149805nflsts @ A @ ( top_top @ ( set @ A ) ) ) ) ) ).
% notfin_inf
thf(fact_99_notinf__fin,axiom,
! [A: $tType,X: coinductive_llist @ A] :
( ( ~ ( member @ ( coinductive_llist @ A ) @ X @ ( lList21612149805nflsts @ A @ ( top_top @ ( set @ A ) ) ) ) )
= ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) ) ) ).
% notinf_fin
thf(fact_100_llength__take,axiom,
! [A: $tType,T: coinductive_llist @ A,A2: set @ A,I: nat] :
( ( member @ ( coinductive_llist @ A ) @ T @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( ( lList21232602520length @ A @ ( lList22119844313_ltake @ A @ T @ I ) )
= I ) ) ).
% llength_take
thf(fact_101_lbutlast__LCons,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A,A3: A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( ( R
= ( coinductive_LNil @ A ) )
=> ( ( lList2370560421utlast @ A @ ( coinductive_LCons @ A @ A3 @ R ) )
= ( coinductive_LNil @ A ) ) )
& ( ( R
!= ( coinductive_LNil @ A ) )
=> ( ( lList2370560421utlast @ A @ ( coinductive_LCons @ A @ A3 @ R ) )
= ( coinductive_LCons @ A @ A3 @ ( lList2370560421utlast @ A @ R ) ) ) ) ) ) ).
% lbutlast_LCons
thf(fact_102_inflsts__cases,axiom,
! [A: $tType,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ S @ ( lList21612149805nflsts @ A @ A2 ) )
=> ~ ! [A5: A,L2: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ L2 @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( ( member @ A @ A5 @ A2 )
=> ( S
!= ( coinductive_LCons @ A @ A5 @ L2 ) ) ) ) ) ).
% inflsts_cases
thf(fact_103_inflstsI2,axiom,
! [A: $tType,A3: A,A2: set @ A,T: coinductive_llist @ A] :
( ( member @ A @ A3 @ A2 )
=> ( ( member @ ( coinductive_llist @ A ) @ T @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ ( coinductive_LCons @ A @ A3 @ T ) @ ( lList21612149805nflsts @ A @ A2 ) ) ) ) ).
% inflstsI2
thf(fact_104_neq__LNil__conv,axiom,
! [A: $tType,Xs: coinductive_llist @ A] :
( ( Xs
!= ( coinductive_LNil @ A ) )
= ( ? [X2: A,Xs2: coinductive_llist @ A] :
( Xs
= ( coinductive_LCons @ A @ X2 @ Xs2 ) ) ) ) ).
% neq_LNil_conv
thf(fact_105_llist_Odistinct_I1_J,axiom,
! [A: $tType,X21: A,X22: coinductive_llist @ A] :
( ( coinductive_LNil @ A )
!= ( coinductive_LCons @ A @ X21 @ X22 ) ) ).
% llist.distinct(1)
thf(fact_106_llistE,axiom,
! [A: $tType,Y: coinductive_llist @ A] :
( ( Y
!= ( coinductive_LNil @ A ) )
=> ~ ! [X212: A,X222: coinductive_llist @ A] :
( Y
!= ( coinductive_LCons @ A @ X212 @ X222 ) ) ) ).
% llistE
thf(fact_107_finlsts_OLCons__fin,axiom,
! [A: $tType,L: coinductive_llist @ A,A2: set @ A,A3: A] :
( ( member @ ( coinductive_llist @ A ) @ L @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( member @ A @ A3 @ A2 )
=> ( member @ ( coinductive_llist @ A ) @ ( coinductive_LCons @ A @ A3 @ L ) @ ( lList2236698231inlsts @ A @ A2 ) ) ) ) ).
% finlsts.LCons_fin
thf(fact_108_alllsts_OLCons__all,axiom,
! [A: $tType,L: coinductive_llist @ A,A2: set @ A,A3: A] :
( ( member @ ( coinductive_llist @ A ) @ L @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( ( member @ A @ A3 @ A2 )
=> ( member @ ( coinductive_llist @ A ) @ ( coinductive_LCons @ A @ A3 @ L ) @ ( lList2435255213lllsts @ A @ A2 ) ) ) ) ).
% alllsts.LCons_all
thf(fact_109_infT__simp,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ R @ ( lList21612149805nflsts @ A @ ( top_top @ ( set @ A ) ) ) ) ) ).
% infT_simp
thf(fact_110_infsubsetall,axiom,
! [A: $tType,X: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ X @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ X @ ( lList2435255213lllsts @ A @ A2 ) ) ) ).
% infsubsetall
thf(fact_111_lappend__snocL1__conv__LCons2,axiom,
! [A: $tType,Xs: coinductive_llist @ A,Y: A,Ys: coinductive_llist @ A] :
( ( coinductive_lappend @ A @ ( coinductive_lappend @ A @ Xs @ ( coinductive_LCons @ A @ Y @ ( coinductive_LNil @ A ) ) ) @ Ys )
= ( coinductive_lappend @ A @ Xs @ ( coinductive_LCons @ A @ Y @ Ys ) ) ) ).
% lappend_snocL1_conv_LCons2
thf(fact_112_finlsts_Ocases,axiom,
! [A: $tType,A3: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ A3 @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( A3
!= ( coinductive_LNil @ A ) )
=> ~ ! [L2: coinductive_llist @ A,A5: A] :
( ( A3
= ( coinductive_LCons @ A @ A5 @ L2 ) )
=> ( ( member @ ( coinductive_llist @ A ) @ L2 @ ( lList2236698231inlsts @ A @ A2 ) )
=> ~ ( member @ A @ A5 @ A2 ) ) ) ) ) ).
% finlsts.cases
thf(fact_113_finlsts_Osimps,axiom,
! [A: $tType,A3: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ A3 @ ( lList2236698231inlsts @ A @ A2 ) )
= ( ( A3
= ( coinductive_LNil @ A ) )
| ? [L3: coinductive_llist @ A,A4: A] :
( ( A3
= ( coinductive_LCons @ A @ A4 @ L3 ) )
& ( member @ ( coinductive_llist @ A ) @ L3 @ ( lList2236698231inlsts @ A @ A2 ) )
& ( member @ A @ A4 @ A2 ) ) ) ) ).
% finlsts.simps
thf(fact_114_finlsts__induct,axiom,
! [A: $tType,X: coinductive_llist @ A,A2: set @ A,P: ( coinductive_llist @ A ) > $o] :
( ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ! [L2: coinductive_llist @ A] :
( ( L2
= ( coinductive_LNil @ A ) )
=> ( P @ L2 ) )
=> ( ! [A5: A,L2: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ L2 @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( P @ L2 )
=> ( ( member @ A @ A5 @ A2 )
=> ( P @ ( coinductive_LCons @ A @ A5 @ L2 ) ) ) ) )
=> ( P @ X ) ) ) ) ).
% finlsts_induct
thf(fact_115_finlsts_Oinducts,axiom,
! [A: $tType,X: coinductive_llist @ A,A2: set @ A,P: ( coinductive_llist @ A ) > $o] :
( ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( P @ ( coinductive_LNil @ A ) )
=> ( ! [L2: coinductive_llist @ A,A5: A] :
( ( member @ ( coinductive_llist @ A ) @ L2 @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( P @ L2 )
=> ( ( member @ A @ A5 @ A2 )
=> ( P @ ( coinductive_LCons @ A @ A5 @ L2 ) ) ) ) )
=> ( P @ X ) ) ) ) ).
% finlsts.inducts
thf(fact_116_alllsts_Ocoinduct,axiom,
! [A: $tType,X4: ( coinductive_llist @ A ) > $o,X: coinductive_llist @ A,A2: set @ A] :
( ( X4 @ X )
=> ( ! [X3: coinductive_llist @ A] :
( ( X4 @ X3 )
=> ( ( X3
= ( coinductive_LNil @ A ) )
| ? [L4: coinductive_llist @ A,A6: A] :
( ( X3
= ( coinductive_LCons @ A @ A6 @ L4 ) )
& ( ( X4 @ L4 )
| ( member @ ( coinductive_llist @ A ) @ L4 @ ( lList2435255213lllsts @ A @ A2 ) ) )
& ( member @ A @ A6 @ A2 ) ) ) )
=> ( member @ ( coinductive_llist @ A ) @ X @ ( lList2435255213lllsts @ A @ A2 ) ) ) ) ).
% alllsts.coinduct
thf(fact_117_alllsts_Osimps,axiom,
! [A: $tType,A3: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ A3 @ ( lList2435255213lllsts @ A @ A2 ) )
= ( ( A3
= ( coinductive_LNil @ A ) )
| ? [L3: coinductive_llist @ A,A4: A] :
( ( A3
= ( coinductive_LCons @ A @ A4 @ L3 ) )
& ( member @ ( coinductive_llist @ A ) @ L3 @ ( lList2435255213lllsts @ A @ A2 ) )
& ( member @ A @ A4 @ A2 ) ) ) ) ).
% alllsts.simps
thf(fact_118_alllsts_Ocases,axiom,
! [A: $tType,A3: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ A3 @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( ( A3
!= ( coinductive_LNil @ A ) )
=> ~ ! [L2: coinductive_llist @ A,A5: A] :
( ( A3
= ( coinductive_LCons @ A @ A5 @ L2 ) )
=> ( ( member @ ( coinductive_llist @ A ) @ L2 @ ( lList2435255213lllsts @ A @ A2 ) )
=> ~ ( member @ A @ A5 @ A2 ) ) ) ) ) ).
% alllsts.cases
thf(fact_119_fin__inf__cases,axiom,
! [A: $tType,R: coinductive_llist @ A] :
( ~ ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) )
=> ( member @ ( coinductive_llist @ A ) @ R @ ( lList21612149805nflsts @ A @ ( top_top @ ( set @ A ) ) ) ) ) ).
% fin_inf_cases
thf(fact_120_fpslsts__cases,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList22096119349pslsts @ A @ A2 ) )
=> ~ ! [A5: A,Rs: coinductive_llist @ A] :
( ( R
= ( coinductive_LCons @ A @ A5 @ Rs ) )
=> ( ( member @ A @ A5 @ A2 )
=> ~ ( member @ ( coinductive_llist @ A ) @ Rs @ ( lList2236698231inlsts @ A @ A2 ) ) ) ) ) ).
% fpslsts_cases
thf(fact_121_app__invT,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A,S: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ R @ S ) @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ S @ ( lList21612149805nflsts @ A @ A2 ) ) ) ) ).
% app_invT
thf(fact_122_lapp__infT,axiom,
! [A: $tType,R: coinductive_llist @ A,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ R @ S ) @ ( lList21612149805nflsts @ A @ A2 ) )
= ( ( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
& ( member @ ( coinductive_llist @ A ) @ S @ ( lList21612149805nflsts @ A @ A2 ) ) )
| ( member @ ( coinductive_llist @ A ) @ R @ ( lList21612149805nflsts @ A @ A2 ) ) ) ) ).
% lapp_infT
thf(fact_123_lapp__inv2T,axiom,
! [A: $tType,R: coinductive_llist @ A,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ R @ S ) @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( ( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
& ( member @ ( coinductive_llist @ A ) @ S @ ( lList21612149805nflsts @ A @ A2 ) ) )
| ( member @ ( coinductive_llist @ A ) @ R @ ( lList21612149805nflsts @ A @ A2 ) ) ) ) ).
% lapp_inv2T
thf(fact_124_lapp__fin__infT,axiom,
! [A: $tType,S: coinductive_llist @ A,A2: set @ A,T: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ S @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( member @ ( coinductive_llist @ A ) @ T @ ( lList21612149805nflsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ S @ T ) @ ( lList21612149805nflsts @ A @ A2 ) ) ) ) ).
% lapp_fin_infT
thf(fact_125_alllstsE,axiom,
! [A: $tType,X: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ X @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( ~ ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ X @ ( lList21612149805nflsts @ A @ A2 ) ) ) ) ).
% alllstsE
thf(fact_126_finlsts__rev__cases,axiom,
! [A: $tType,T: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ T @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( T
!= ( coinductive_LNil @ A ) )
=> ~ ! [A5: A,L2: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ L2 @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( member @ A @ A5 @ A2 )
=> ( T
!= ( coinductive_lappend @ A @ L2 @ ( coinductive_LCons @ A @ A5 @ ( coinductive_LNil @ A ) ) ) ) ) ) ) ) ).
% finlsts_rev_cases
thf(fact_127_lrev__induct,axiom,
! [A: $tType,Xs: coinductive_llist @ A,A2: set @ A,P: ( coinductive_llist @ A ) > $o] :
( ( member @ ( coinductive_llist @ A ) @ Xs @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( P @ ( coinductive_LNil @ A ) )
=> ( ! [X3: A,Xs3: coinductive_llist @ A] :
( ( member @ ( coinductive_llist @ A ) @ Xs3 @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( P @ Xs3 )
=> ( ( member @ A @ X3 @ A2 )
=> ( P @ ( coinductive_lappend @ A @ Xs3 @ ( coinductive_LCons @ A @ X3 @ ( coinductive_LNil @ A ) ) ) ) ) ) )
=> ( P @ Xs ) ) ) ) ).
% lrev_induct
thf(fact_128_LList2__Mirabelle__hamjzmohle_Oltake_Osimps_I1_J,axiom,
! [A: $tType,L: coinductive_llist @ A] :
( ( lList22119844313_ltake @ A @ L @ ( zero_zero @ nat ) )
= ( coinductive_LNil @ A ) ) ).
% LList2_Mirabelle_hamjzmohle.ltake.simps(1)
thf(fact_129_inflstsE,axiom,
! [A: $tType,X: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ X @ ( lList21612149805nflsts @ A @ A2 ) )
=> ~ ( ( member @ ( coinductive_llist @ A ) @ X @ ( lList2435255213lllsts @ A @ A2 ) )
=> ( member @ ( coinductive_llist @ A ) @ X @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) ) ) ) ).
% inflstsE
thf(fact_130_lapp__allT__iff,axiom,
! [A: $tType,R: coinductive_llist @ A,S: coinductive_llist @ A,A2: set @ A] :
( ( member @ ( coinductive_llist @ A ) @ ( coinductive_lappend @ A @ R @ S ) @ ( lList2435255213lllsts @ A @ A2 ) )
= ( ( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
& ( member @ ( coinductive_llist @ A ) @ S @ ( lList2435255213lllsts @ A @ A2 ) ) )
| ( member @ ( coinductive_llist @ A ) @ R @ ( lList21612149805nflsts @ A @ A2 ) ) ) ) ).
% lapp_allT_iff
thf(fact_131_LList2__Mirabelle__hamjzmohle_Oltake__ldrop,axiom,
! [A: $tType,Xs: coinductive_llist @ A,M: nat,N: nat] :
( ( lList22119844313_ltake @ A @ ( lList2508575361_ldrop @ A @ Xs @ M ) @ N )
= ( lList2508575361_ldrop @ A @ ( lList22119844313_ltake @ A @ Xs @ ( plus_plus @ nat @ N @ M ) ) @ M ) ) ).
% LList2_Mirabelle_hamjzmohle.ltake_ldrop
thf(fact_132_ltake__ldrop__id,axiom,
! [A: $tType,X: coinductive_llist @ A,I: nat] :
( ( coinductive_lappend @ A @ ( lList22119844313_ltake @ A @ X @ I ) @ ( lList2508575361_ldrop @ A @ X @ I ) )
= X ) ).
% ltake_ldrop_id
thf(fact_133_LList2__Mirabelle__hamjzmohle_Ollast__LCons,axiom,
! [B: $tType,R: coinductive_llist @ B,A2: set @ B,A3: B] :
( ( member @ ( coinductive_llist @ B ) @ R @ ( lList2236698231inlsts @ B @ A2 ) )
=> ( ( ( R
= ( coinductive_LNil @ B ) )
=> ( ( lList2170638824_llast @ B @ ( coinductive_LCons @ B @ A3 @ R ) )
= A3 ) )
& ( ( R
!= ( coinductive_LNil @ B ) )
=> ( ( lList2170638824_llast @ B @ ( coinductive_LCons @ B @ A3 @ R ) )
= ( lList2170638824_llast @ B @ R ) ) ) ) ) ).
% LList2_Mirabelle_hamjzmohle.llast_LCons
thf(fact_134_top__empty__eq,axiom,
! [A: $tType] :
( ( top_top @ ( A > $o ) )
= ( ^ [X2: A] : ( member @ A @ X2 @ ( top_top @ ( set @ A ) ) ) ) ) ).
% top_empty_eq
thf(fact_135_lsublist__singleton,axiom,
! [A: $tType,A2: set @ nat,X: A] :
( ( ( member @ nat @ ( zero_zero @ nat ) @ A2 )
=> ( ( coinductive_lsublist @ A @ ( coinductive_LCons @ A @ X @ ( coinductive_LNil @ A ) ) @ A2 )
= ( coinductive_LCons @ A @ X @ ( coinductive_LNil @ A ) ) ) )
& ( ~ ( member @ nat @ ( zero_zero @ nat ) @ A2 )
=> ( ( coinductive_lsublist @ A @ ( coinductive_LCons @ A @ X @ ( coinductive_LNil @ A ) ) @ A2 )
= ( coinductive_LNil @ A ) ) ) ) ).
% lsublist_singleton
thf(fact_136_Coinductive__List_Ofinite__lprefix__nitpick__simps_I3_J,axiom,
! [A: $tType,Xs: coinductive_llist @ A,Y: A,Ys: coinductive_llist @ A] :
( ( coindu328551480prefix @ A @ Xs @ ( coinductive_LCons @ A @ Y @ Ys ) )
= ( ( Xs
= ( coinductive_LNil @ A ) )
| ? [Xs2: coinductive_llist @ A] :
( ( Xs
= ( coinductive_LCons @ A @ Y @ Xs2 ) )
& ( coindu328551480prefix @ A @ Xs2 @ Ys ) ) ) ) ).
% Coinductive_List.finite_lprefix_nitpick_simps(3)
thf(fact_137_top__conj_I1_J,axiom,
! [A: $tType,X: A,P: $o] :
( ( ( top_top @ ( A > $o ) @ X )
& P )
= P ) ).
% top_conj(1)
thf(fact_138_lsublist__LNil,axiom,
! [A: $tType,A2: set @ nat] :
( ( coinductive_lsublist @ A @ ( coinductive_LNil @ A ) @ A2 )
= ( coinductive_LNil @ A ) ) ).
% lsublist_LNil
thf(fact_139_Coinductive__List_Ofinite__lprefix__nitpick__simps_I2_J,axiom,
! [A: $tType,Xs: coinductive_llist @ A] : ( coindu328551480prefix @ A @ ( coinductive_LNil @ A ) @ Xs ) ).
% Coinductive_List.finite_lprefix_nitpick_simps(2)
thf(fact_140_Coinductive__List_Ofinite__lprefix__nitpick__simps_I1_J,axiom,
! [A: $tType,Xs: coinductive_llist @ A] :
( ( coindu328551480prefix @ A @ Xs @ ( coinductive_LNil @ A ) )
= ( Xs
= ( coinductive_LNil @ A ) ) ) ).
% Coinductive_List.finite_lprefix_nitpick_simps(1)
thf(fact_141_top__conj_I2_J,axiom,
! [A: $tType,P: $o,X: A] :
( ( P
& ( top_top @ ( A > $o ) @ X ) )
= P ) ).
% top_conj(2)
thf(fact_142_lstrict__prefix__code_I3_J,axiom,
! [B: $tType,X: B,Xs: coinductive_llist @ B] :
~ ( coindu1478340336prefix @ B @ ( coinductive_LCons @ B @ X @ Xs ) @ ( coinductive_LNil @ B ) ) ).
% lstrict_prefix_code(3)
thf(fact_143_lstrict__prefix__code_I2_J,axiom,
! [B: $tType,Y: B,Ys: coinductive_llist @ B] : ( coindu1478340336prefix @ B @ ( coinductive_LNil @ B ) @ ( coinductive_LCons @ B @ Y @ Ys ) ) ).
% lstrict_prefix_code(2)
thf(fact_144_inflsts__def,axiom,
! [A: $tType] :
( ( lList21612149805nflsts @ A )
= ( ^ [A7: set @ A] : ( minus_minus @ ( set @ ( coinductive_llist @ A ) ) @ ( lList2435255213lllsts @ A @ A7 ) @ ( lList2236698231inlsts @ A @ ( top_top @ ( set @ A ) ) ) ) ) ) ).
% inflsts_def
thf(fact_145_LList2__Mirabelle__hamjzmohle_Ollength__LCons,axiom,
! [A: $tType,R: coinductive_llist @ A,A2: set @ A,A3: A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( lList21232602520length @ A @ ( coinductive_LCons @ A @ A3 @ R ) )
= ( suc @ ( lList21232602520length @ A @ R ) ) ) ) ).
% LList2_Mirabelle_hamjzmohle.llength_LCons
thf(fact_146_nat_Oinject,axiom,
! [X23: nat,Y2: nat] :
( ( ( suc @ X23 )
= ( suc @ Y2 ) )
= ( X23 = Y2 ) ) ).
% nat.inject
thf(fact_147_old_Onat_Oinject,axiom,
! [Nat: nat,Nat2: nat] :
( ( ( suc @ Nat )
= ( suc @ Nat2 ) )
= ( Nat = Nat2 ) ) ).
% old.nat.inject
thf(fact_148_DiffI,axiom,
! [A: $tType,C: A,A2: set @ A,B2: set @ A] :
( ( member @ A @ C @ A2 )
=> ( ~ ( member @ A @ C @ B2 )
=> ( member @ A @ C @ ( minus_minus @ ( set @ A ) @ A2 @ B2 ) ) ) ) ).
% DiffI
thf(fact_149_Diff__iff,axiom,
! [A: $tType,C: A,A2: set @ A,B2: set @ A] :
( ( member @ A @ C @ ( minus_minus @ ( set @ A ) @ A2 @ B2 ) )
= ( ( member @ A @ C @ A2 )
& ~ ( member @ A @ C @ B2 ) ) ) ).
% Diff_iff
thf(fact_150_Diff__idemp,axiom,
! [A: $tType,A2: set @ A,B2: set @ A] :
( ( minus_minus @ ( set @ A ) @ ( minus_minus @ ( set @ A ) @ A2 @ B2 ) @ B2 )
= ( minus_minus @ ( set @ A ) @ A2 @ B2 ) ) ).
% Diff_idemp
thf(fact_151_diff__self,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( minus_minus @ A @ A3 @ A3 )
= ( zero_zero @ A ) ) ) ).
% diff_self
thf(fact_152_diff__0__right,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( minus_minus @ A @ A3 @ ( zero_zero @ A ) )
= A3 ) ) ).
% diff_0_right
thf(fact_153_zero__diff,axiom,
! [A: $tType] :
( ( comm_monoid_diff @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( minus_minus @ A @ ( zero_zero @ A ) @ A3 )
= ( zero_zero @ A ) ) ) ).
% zero_diff
thf(fact_154_diff__zero,axiom,
! [A: $tType] :
( ( cancel1352612707id_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( minus_minus @ A @ A3 @ ( zero_zero @ A ) )
= A3 ) ) ).
% diff_zero
thf(fact_155_cancel__comm__monoid__add__class_Odiff__cancel,axiom,
! [A: $tType] :
( ( cancel1352612707id_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( minus_minus @ A @ A3 @ A3 )
= ( zero_zero @ A ) ) ) ).
% cancel_comm_monoid_add_class.diff_cancel
thf(fact_156_add__diff__cancel,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ B3 )
= A3 ) ) ).
% add_diff_cancel
thf(fact_157_diff__add__cancel,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( plus_plus @ A @ ( minus_minus @ A @ A3 @ B3 ) @ B3 )
= A3 ) ) ).
% diff_add_cancel
thf(fact_158_add__diff__cancel__left,axiom,
! [A: $tType] :
( ( cancel146912293up_add @ A @ ( type2 @ A ) )
=> ! [C: A,A3: A,B3: A] :
( ( minus_minus @ A @ ( plus_plus @ A @ C @ A3 ) @ ( plus_plus @ A @ C @ B3 ) )
= ( minus_minus @ A @ A3 @ B3 ) ) ) ).
% add_diff_cancel_left
thf(fact_159_add__diff__cancel__left_H,axiom,
! [A: $tType] :
( ( cancel146912293up_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ A3 )
= B3 ) ) ).
% add_diff_cancel_left'
thf(fact_160_add__diff__cancel__right,axiom,
! [A: $tType] :
( ( cancel146912293up_add @ A @ ( type2 @ A ) )
=> ! [A3: A,C: A,B3: A] :
( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C ) @ ( plus_plus @ A @ B3 @ C ) )
= ( minus_minus @ A @ A3 @ B3 ) ) ) ).
% add_diff_cancel_right
thf(fact_161_add__diff__cancel__right_H,axiom,
! [A: $tType] :
( ( cancel146912293up_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ B3 )
= A3 ) ) ).
% add_diff_cancel_right'
thf(fact_162_add__Suc__right,axiom,
! [M: nat,N: nat] :
( ( plus_plus @ nat @ M @ ( suc @ N ) )
= ( suc @ ( plus_plus @ nat @ M @ N ) ) ) ).
% add_Suc_right
thf(fact_163_lstrict__prefix__code_I4_J,axiom,
! [B: $tType,X: B,Xs: coinductive_llist @ B,Y: B,Ys: coinductive_llist @ B] :
( ( coindu1478340336prefix @ B @ ( coinductive_LCons @ B @ X @ Xs ) @ ( coinductive_LCons @ B @ Y @ Ys ) )
= ( ( X = Y )
& ( coindu1478340336prefix @ B @ Xs @ Ys ) ) ) ).
% lstrict_prefix_code(4)
thf(fact_164_lstrict__prefix__code_I1_J,axiom,
! [A: $tType] :
~ ( coindu1478340336prefix @ A @ ( coinductive_LNil @ A ) @ ( coinductive_LNil @ A ) ) ).
% lstrict_prefix_code(1)
thf(fact_165_diff__add__zero,axiom,
! [A: $tType] :
( ( comm_monoid_diff @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( minus_minus @ A @ A3 @ ( plus_plus @ A @ A3 @ B3 ) )
= ( zero_zero @ A ) ) ) ).
% diff_add_zero
thf(fact_166_eq__iff__diff__eq__0,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ( ( ^ [Y3: A,Z: A] : ( Y3 = Z ) )
= ( ^ [A4: A,B4: A] :
( ( minus_minus @ A @ A4 @ B4 )
= ( zero_zero @ A ) ) ) ) ) ).
% eq_iff_diff_eq_0
thf(fact_167_diff__eq__eq,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( ( minus_minus @ A @ A3 @ B3 )
= C )
= ( A3
= ( plus_plus @ A @ C @ B3 ) ) ) ) ).
% diff_eq_eq
thf(fact_168_eq__diff__eq,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,C: A,B3: A] :
( ( A3
= ( minus_minus @ A @ C @ B3 ) )
= ( ( plus_plus @ A @ A3 @ B3 )
= C ) ) ) ).
% eq_diff_eq
thf(fact_169_add__diff__eq,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ A3 @ ( minus_minus @ A @ B3 @ C ) )
= ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ C ) ) ) ).
% add_diff_eq
thf(fact_170_diff__diff__eq2,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( minus_minus @ A @ A3 @ ( minus_minus @ A @ B3 @ C ) )
= ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C ) @ B3 ) ) ) ).
% diff_diff_eq2
thf(fact_171_diff__add__eq,axiom,
! [A: $tType] :
( ( ab_group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ ( minus_minus @ A @ A3 @ B3 ) @ C )
= ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C ) @ B3 ) ) ) ).
% diff_add_eq
thf(fact_172_diff__add__eq__diff__diff__swap,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( minus_minus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) )
= ( minus_minus @ A @ ( minus_minus @ A @ A3 @ C ) @ B3 ) ) ) ).
% diff_add_eq_diff_diff_swap
thf(fact_173_diff__diff__add,axiom,
! [A: $tType] :
( ( cancel146912293up_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( minus_minus @ A @ ( minus_minus @ A @ A3 @ B3 ) @ C )
= ( minus_minus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) ) ) ) ).
% diff_diff_add
thf(fact_174_add__implies__diff,axiom,
! [A: $tType] :
( ( cancel1352612707id_add @ A @ ( type2 @ A ) )
=> ! [C: A,B3: A,A3: A] :
( ( ( plus_plus @ A @ C @ B3 )
= A3 )
=> ( C
= ( minus_minus @ A @ A3 @ B3 ) ) ) ) ).
% add_implies_diff
thf(fact_175_nat_Odistinct_I1_J,axiom,
! [X23: nat] :
( ( zero_zero @ nat )
!= ( suc @ X23 ) ) ).
% nat.distinct(1)
thf(fact_176_old_Onat_Odistinct_I2_J,axiom,
! [Nat3: nat] :
( ( suc @ Nat3 )
!= ( zero_zero @ nat ) ) ).
% old.nat.distinct(2)
thf(fact_177_old_Onat_Odistinct_I1_J,axiom,
! [Nat2: nat] :
( ( zero_zero @ nat )
!= ( suc @ Nat2 ) ) ).
% old.nat.distinct(1)
thf(fact_178_nat_OdiscI,axiom,
! [Nat: nat,X23: nat] :
( ( Nat
= ( suc @ X23 ) )
=> ( Nat
!= ( zero_zero @ nat ) ) ) ).
% nat.discI
thf(fact_179_nat__induct,axiom,
! [P: nat > $o,N: nat] :
( ( P @ ( zero_zero @ nat ) )
=> ( ! [N2: nat] :
( ( P @ N2 )
=> ( P @ ( suc @ N2 ) ) )
=> ( P @ N ) ) ) ).
% nat_induct
thf(fact_180_diff__induct,axiom,
! [P: nat > nat > $o,M: nat,N: nat] :
( ! [X3: nat] : ( P @ X3 @ ( zero_zero @ nat ) )
=> ( ! [Y4: nat] : ( P @ ( zero_zero @ nat ) @ ( suc @ Y4 ) )
=> ( ! [X3: nat,Y4: nat] :
( ( P @ X3 @ Y4 )
=> ( P @ ( suc @ X3 ) @ ( suc @ Y4 ) ) )
=> ( P @ M @ N ) ) ) ) ).
% diff_induct
thf(fact_181_zero__induct,axiom,
! [P: nat > $o,K: nat] :
( ( P @ K )
=> ( ! [N2: nat] :
( ( P @ ( suc @ N2 ) )
=> ( P @ N2 ) )
=> ( P @ ( zero_zero @ nat ) ) ) ) ).
% zero_induct
thf(fact_182_Suc__neq__Zero,axiom,
! [M: nat] :
( ( suc @ M )
!= ( zero_zero @ nat ) ) ).
% Suc_neq_Zero
thf(fact_183_Zero__neq__Suc,axiom,
! [M: nat] :
( ( zero_zero @ nat )
!= ( suc @ M ) ) ).
% Zero_neq_Suc
thf(fact_184_Zero__not__Suc,axiom,
! [M: nat] :
( ( zero_zero @ nat )
!= ( suc @ M ) ) ).
% Zero_not_Suc
thf(fact_185_old_Onat_Oexhaust,axiom,
! [Y: nat] :
( ( Y
!= ( zero_zero @ nat ) )
=> ~ ! [Nat4: nat] :
( Y
!= ( suc @ Nat4 ) ) ) ).
% old.nat.exhaust
thf(fact_186_old_Onat_Oinducts,axiom,
! [P: nat > $o,Nat: nat] :
( ( P @ ( zero_zero @ nat ) )
=> ( ! [Nat4: nat] :
( ( P @ Nat4 )
=> ( P @ ( suc @ Nat4 ) ) )
=> ( P @ Nat ) ) ) ).
% old.nat.inducts
thf(fact_187_not0__implies__Suc,axiom,
! [N: nat] :
( ( N
!= ( zero_zero @ nat ) )
=> ? [M2: nat] :
( N
= ( suc @ M2 ) ) ) ).
% not0_implies_Suc
thf(fact_188_add__Suc__shift,axiom,
! [M: nat,N: nat] :
( ( plus_plus @ nat @ ( suc @ M ) @ N )
= ( plus_plus @ nat @ M @ ( suc @ N ) ) ) ).
% add_Suc_shift
thf(fact_189_add__Suc,axiom,
! [M: nat,N: nat] :
( ( plus_plus @ nat @ ( suc @ M ) @ N )
= ( suc @ ( plus_plus @ nat @ M @ N ) ) ) ).
% add_Suc
thf(fact_190_DiffE,axiom,
! [A: $tType,C: A,A2: set @ A,B2: set @ A] :
( ( member @ A @ C @ ( minus_minus @ ( set @ A ) @ A2 @ B2 ) )
=> ~ ( ( member @ A @ C @ A2 )
=> ( member @ A @ C @ B2 ) ) ) ).
% DiffE
thf(fact_191_DiffD1,axiom,
! [A: $tType,C: A,A2: set @ A,B2: set @ A] :
( ( member @ A @ C @ ( minus_minus @ ( set @ A ) @ A2 @ B2 ) )
=> ( member @ A @ C @ A2 ) ) ).
% DiffD1
thf(fact_192_DiffD2,axiom,
! [A: $tType,C: A,A2: set @ A,B2: set @ A] :
( ( member @ A @ C @ ( minus_minus @ ( set @ A ) @ A2 @ B2 ) )
=> ~ ( member @ A @ C @ B2 ) ) ).
% DiffD2
thf(fact_193_Suc__inject,axiom,
! [X: nat,Y: nat] :
( ( ( suc @ X )
= ( suc @ Y ) )
=> ( X = Y ) ) ).
% Suc_inject
thf(fact_194_n__not__Suc__n,axiom,
! [N: nat] :
( N
!= ( suc @ N ) ) ).
% n_not_Suc_n
thf(fact_195_llist__less__induct,axiom,
! [A: $tType,P: ( coinductive_llist @ A ) > $o,Xs: coinductive_llist @ A] :
( ! [Xs3: coinductive_llist @ A] :
( ! [Ys2: coinductive_llist @ A] :
( ( coindu1478340336prefix @ A @ Ys2 @ Xs3 )
=> ( P @ Ys2 ) )
=> ( P @ Xs3 ) )
=> ( P @ Xs ) ) ).
% llist_less_induct
thf(fact_196_diff__eq__diff__eq,axiom,
! [A: $tType] :
( ( group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A,D2: A] :
( ( ( minus_minus @ A @ A3 @ B3 )
= ( minus_minus @ A @ C @ D2 ) )
=> ( ( A3 = B3 )
= ( C = D2 ) ) ) ) ).
% diff_eq_diff_eq
thf(fact_197_diff__right__commute,axiom,
! [A: $tType] :
( ( cancel146912293up_add @ A @ ( type2 @ A ) )
=> ! [A3: A,C: A,B3: A] :
( ( minus_minus @ A @ ( minus_minus @ A @ A3 @ C ) @ B3 )
= ( minus_minus @ A @ ( minus_minus @ A @ A3 @ B3 ) @ C ) ) ) ).
% diff_right_commute
thf(fact_198_one__is__add,axiom,
! [M: nat,N: nat] :
( ( ( suc @ ( zero_zero @ nat ) )
= ( plus_plus @ nat @ M @ N ) )
= ( ( ( M
= ( suc @ ( zero_zero @ nat ) ) )
& ( N
= ( zero_zero @ nat ) ) )
| ( ( M
= ( zero_zero @ nat ) )
& ( N
= ( suc @ ( zero_zero @ nat ) ) ) ) ) ) ).
% one_is_add
thf(fact_199_add__is__1,axiom,
! [M: nat,N: nat] :
( ( ( plus_plus @ nat @ M @ N )
= ( suc @ ( zero_zero @ nat ) ) )
= ( ( ( M
= ( suc @ ( zero_zero @ nat ) ) )
& ( N
= ( zero_zero @ nat ) ) )
| ( ( M
= ( zero_zero @ nat ) )
& ( N
= ( suc @ ( zero_zero @ nat ) ) ) ) ) ) ).
% add_is_1
thf(fact_200_ltake__LCons__Suc,axiom,
! [A: $tType,A3: A,L: coinductive_llist @ A,I: nat] :
( ( lList22119844313_ltake @ A @ ( coinductive_LCons @ A @ A3 @ L ) @ ( suc @ I ) )
= ( coinductive_LCons @ A @ A3 @ ( lList22119844313_ltake @ A @ L @ I ) ) ) ).
% ltake_LCons_Suc
thf(fact_201_list__decode_Ocases,axiom,
! [X: nat] :
( ( X
!= ( zero_zero @ nat ) )
=> ~ ! [N2: nat] :
( X
!= ( suc @ N2 ) ) ) ).
% list_decode.cases
thf(fact_202_dependent__nat__choice,axiom,
! [A: $tType,P: nat > A > $o,Q: nat > A > A > $o] :
( ? [X1: A] : ( P @ ( zero_zero @ nat ) @ X1 )
=> ( ! [X3: A,N2: nat] :
( ( P @ N2 @ X3 )
=> ? [Y5: A] :
( ( P @ ( suc @ N2 ) @ Y5 )
& ( Q @ N2 @ X3 @ Y5 ) ) )
=> ? [F2: nat > A] :
! [N3: nat] :
( ( P @ N3 @ ( F2 @ N3 ) )
& ( Q @ N3 @ ( F2 @ N3 ) @ ( F2 @ ( suc @ N3 ) ) ) ) ) ) ).
% dependent_nat_choice
thf(fact_203_exists__least__lemma,axiom,
! [P: nat > $o] :
( ~ ( P @ ( zero_zero @ nat ) )
=> ( ? [X1: nat] : ( P @ X1 )
=> ? [N2: nat] :
( ~ ( P @ N2 )
& ( P @ ( suc @ N2 ) ) ) ) ) ).
% exists_least_lemma
thf(fact_204_diff__0__eq__0,axiom,
! [N: nat] :
( ( minus_minus @ nat @ ( zero_zero @ nat ) @ N )
= ( zero_zero @ nat ) ) ).
% diff_0_eq_0
thf(fact_205_diff__self__eq__0,axiom,
! [M: nat] :
( ( minus_minus @ nat @ M @ M )
= ( zero_zero @ nat ) ) ).
% diff_self_eq_0
thf(fact_206_diff__Suc__Suc,axiom,
! [M: nat,N: nat] :
( ( minus_minus @ nat @ ( suc @ M ) @ ( suc @ N ) )
= ( minus_minus @ nat @ M @ N ) ) ).
% diff_Suc_Suc
thf(fact_207_Suc__diff__diff,axiom,
! [M: nat,N: nat,K: nat] :
( ( minus_minus @ nat @ ( minus_minus @ nat @ ( suc @ M ) @ N ) @ ( suc @ K ) )
= ( minus_minus @ nat @ ( minus_minus @ nat @ M @ N ) @ K ) ) ).
% Suc_diff_diff
thf(fact_208_diff__diff__left,axiom,
! [I: nat,J: nat,K: nat] :
( ( minus_minus @ nat @ ( minus_minus @ nat @ I @ J ) @ K )
= ( minus_minus @ nat @ I @ ( plus_plus @ nat @ J @ K ) ) ) ).
% diff_diff_left
thf(fact_209_diffs0__imp__equal,axiom,
! [M: nat,N: nat] :
( ( ( minus_minus @ nat @ M @ N )
= ( zero_zero @ nat ) )
=> ( ( ( minus_minus @ nat @ N @ M )
= ( zero_zero @ nat ) )
=> ( M = N ) ) ) ).
% diffs0_imp_equal
thf(fact_210_minus__nat_Odiff__0,axiom,
! [M: nat] :
( ( minus_minus @ nat @ M @ ( zero_zero @ nat ) )
= M ) ).
% minus_nat.diff_0
thf(fact_211_Nat_Odiff__cancel,axiom,
! [K: nat,M: nat,N: nat] :
( ( minus_minus @ nat @ ( plus_plus @ nat @ K @ M ) @ ( plus_plus @ nat @ K @ N ) )
= ( minus_minus @ nat @ M @ N ) ) ).
% Nat.diff_cancel
thf(fact_212_diff__cancel2,axiom,
! [M: nat,K: nat,N: nat] :
( ( minus_minus @ nat @ ( plus_plus @ nat @ M @ K ) @ ( plus_plus @ nat @ N @ K ) )
= ( minus_minus @ nat @ M @ N ) ) ).
% diff_cancel2
thf(fact_213_diff__add__inverse,axiom,
! [N: nat,M: nat] :
( ( minus_minus @ nat @ ( plus_plus @ nat @ N @ M ) @ N )
= M ) ).
% diff_add_inverse
thf(fact_214_diff__add__inverse2,axiom,
! [M: nat,N: nat] :
( ( minus_minus @ nat @ ( plus_plus @ nat @ M @ N ) @ N )
= M ) ).
% diff_add_inverse2
thf(fact_215_zero__induct__lemma,axiom,
! [P: nat > $o,K: nat,I: nat] :
( ( P @ K )
=> ( ! [N2: nat] :
( ( P @ ( suc @ N2 ) )
=> ( P @ N2 ) )
=> ( P @ ( minus_minus @ nat @ K @ I ) ) ) ) ).
% zero_induct_lemma
thf(fact_216_diff__add__0,axiom,
! [N: nat,M: nat] :
( ( minus_minus @ nat @ N @ ( plus_plus @ nat @ N @ M ) )
= ( zero_zero @ nat ) ) ).
% diff_add_0
thf(fact_217_triangle__Suc,axiom,
! [N: nat] :
( ( nat_triangle @ ( suc @ N ) )
= ( plus_plus @ nat @ ( nat_triangle @ N ) @ ( suc @ N ) ) ) ).
% triangle_Suc
thf(fact_218_add__diff__add,axiom,
! [A: $tType] :
( ( ab_group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,C: A,B3: A,D2: A] :
( ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C ) @ ( plus_plus @ A @ B3 @ D2 ) )
= ( plus_plus @ A @ ( minus_minus @ A @ A3 @ B3 ) @ ( minus_minus @ A @ C @ D2 ) ) ) ) ).
% add_diff_add
thf(fact_219_triangle__0,axiom,
( ( nat_triangle @ ( zero_zero @ nat ) )
= ( zero_zero @ nat ) ) ).
% triangle_0
thf(fact_220_diff__commute,axiom,
! [I: nat,J: nat,K: nat] :
( ( minus_minus @ nat @ ( minus_minus @ nat @ I @ J ) @ K )
= ( minus_minus @ nat @ ( minus_minus @ nat @ I @ K ) @ J ) ) ).
% diff_commute
thf(fact_221_linordered__field__class_Osign__simps_I34_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ ( minus_minus @ A @ A3 @ B3 ) @ C )
= ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C ) @ B3 ) ) ) ).
% linordered_field_class.sign_simps(34)
thf(fact_222_linordered__field__class_Osign__simps_I33_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( minus_minus @ A @ ( minus_minus @ A @ A3 @ B3 ) @ C )
= ( minus_minus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) ) ) ) ).
% linordered_field_class.sign_simps(33)
thf(fact_223_linordered__field__class_Osign__simps_I28_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ! [B3: A,A3: A,C: A] :
( ( plus_plus @ A @ B3 @ ( plus_plus @ A @ A3 @ C ) )
= ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) ) ) ) ).
% linordered_field_class.sign_simps(28)
thf(fact_224_linordered__field__class_Osign__simps_I27_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ( ( plus_plus @ A )
= ( ^ [A4: A,B4: A] : ( plus_plus @ A @ B4 @ A4 ) ) ) ) ).
% linordered_field_class.sign_simps(27)
thf(fact_225_linordered__field__class_Osign__simps_I26_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ C )
= ( plus_plus @ A @ A3 @ ( plus_plus @ A @ B3 @ C ) ) ) ) ).
% linordered_field_class.sign_simps(26)
thf(fact_226_linordered__field__class_Osign__simps_I29_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( plus_plus @ A @ A3 @ ( minus_minus @ A @ B3 @ C ) )
= ( minus_minus @ A @ ( plus_plus @ A @ A3 @ B3 ) @ C ) ) ) ).
% linordered_field_class.sign_simps(29)
thf(fact_227_linordered__field__class_Osign__simps_I30_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( ( minus_minus @ A @ A3 @ B3 )
= C )
= ( A3
= ( plus_plus @ A @ C @ B3 ) ) ) ) ).
% linordered_field_class.sign_simps(30)
thf(fact_228_linordered__field__class_Osign__simps_I31_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ! [A3: A,C: A,B3: A] :
( ( A3
= ( minus_minus @ A @ C @ B3 ) )
= ( ( plus_plus @ A @ A3 @ B3 )
= C ) ) ) ).
% linordered_field_class.sign_simps(31)
thf(fact_229_linordered__field__class_Osign__simps_I32_J,axiom,
! [A: $tType] :
( ( linordered_field @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A,C: A] :
( ( minus_minus @ A @ A3 @ ( minus_minus @ A @ B3 @ C ) )
= ( minus_minus @ A @ ( plus_plus @ A @ A3 @ C ) @ B3 ) ) ) ).
% linordered_field_class.sign_simps(32)
thf(fact_230_finlsts__rec__LCons,axiom,
! [B: $tType,A: $tType,R: coinductive_llist @ A,A2: set @ A,C: B,D2: A > ( coinductive_llist @ A ) > B > B,A3: A] :
( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( lList21916056377ts_rec @ B @ A @ C @ D2 @ ( coinductive_LCons @ A @ A3 @ R ) )
= ( D2 @ A3 @ R @ ( lList21916056377ts_rec @ B @ A @ C @ D2 @ R ) ) ) ) ).
% finlsts_rec_LCons
thf(fact_231_finlsts__rec__LCons__def,axiom,
! [B: $tType,A: $tType,F: ( coinductive_llist @ A ) > B,C: B,D2: A > ( coinductive_llist @ A ) > B > B,R: coinductive_llist @ A,A2: set @ A,A3: A] :
( ( F
= ( lList21916056377ts_rec @ B @ A @ C @ D2 ) )
=> ( ( member @ ( coinductive_llist @ A ) @ R @ ( lList2236698231inlsts @ A @ A2 ) )
=> ( ( F @ ( coinductive_LCons @ A @ A3 @ R ) )
= ( D2 @ A3 @ R @ ( F @ R ) ) ) ) ) ).
% finlsts_rec_LCons_def
thf(fact_232_finlsts__rec__LNil,axiom,
! [B: $tType,A: $tType,C: A,D2: B > ( coinductive_llist @ B ) > A > A] :
( ( lList21916056377ts_rec @ A @ B @ C @ D2 @ ( coinductive_LNil @ B ) )
= C ) ).
% finlsts_rec_LNil
thf(fact_233_finlsts__rec__LNil__def,axiom,
! [A: $tType,B: $tType,F: ( coinductive_llist @ A ) > B,C: B,D2: A > ( coinductive_llist @ A ) > B > B] :
( ( F
= ( lList21916056377ts_rec @ B @ A @ C @ D2 ) )
=> ( ( F @ ( coinductive_LNil @ A ) )
= C ) ) ).
% finlsts_rec_LNil_def
thf(fact_234_add__eq__if,axiom,
( ( plus_plus @ nat )
= ( ^ [M3: nat,N4: nat] :
( if @ nat
@ ( M3
= ( zero_zero @ nat ) )
@ N4
@ ( suc @ ( plus_plus @ nat @ ( minus_minus @ nat @ M3 @ ( one_one @ nat ) ) @ N4 ) ) ) ) ) ).
% add_eq_if
thf(fact_235_diff__Suc__diff__eq1,axiom,
! [K: nat,J: nat,I: nat] :
( ( ord_less_eq @ nat @ K @ J )
=> ( ( minus_minus @ nat @ I @ ( suc @ ( minus_minus @ nat @ J @ K ) ) )
= ( minus_minus @ nat @ ( plus_plus @ nat @ I @ K ) @ ( suc @ J ) ) ) ) ).
% diff_Suc_diff_eq1
thf(fact_236_order__refl,axiom,
! [A: $tType] :
( ( preorder @ A @ ( type2 @ A ) )
=> ! [X: A] : ( ord_less_eq @ A @ X @ X ) ) ).
% order_refl
thf(fact_237_le__zero__eq,axiom,
! [A: $tType] :
( ( canoni770627133id_add @ A @ ( type2 @ A ) )
=> ! [N: A] :
( ( ord_less_eq @ A @ N @ ( zero_zero @ A ) )
= ( N
= ( zero_zero @ A ) ) ) ) ).
% le_zero_eq
thf(fact_238_add__le__cancel__right,axiom,
! [A: $tType] :
( ( ordere236663937imp_le @ A @ ( type2 @ A ) )
=> ! [A3: A,C: A,B3: A] :
( ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ C ) @ ( plus_plus @ A @ B3 @ C ) )
= ( ord_less_eq @ A @ A3 @ B3 ) ) ) ).
% add_le_cancel_right
thf(fact_239_add__le__cancel__left,axiom,
! [A: $tType] :
( ( ordere236663937imp_le @ A @ ( type2 @ A ) )
=> ! [C: A,A3: A,B3: A] :
( ( ord_less_eq @ A @ ( plus_plus @ A @ C @ A3 ) @ ( plus_plus @ A @ C @ B3 ) )
= ( ord_less_eq @ A @ A3 @ B3 ) ) ) ).
% add_le_cancel_left
thf(fact_240_le0,axiom,
! [N: nat] : ( ord_less_eq @ nat @ ( zero_zero @ nat ) @ N ) ).
% le0
thf(fact_241_Suc__le__mono,axiom,
! [N: nat,M: nat] :
( ( ord_less_eq @ nat @ ( suc @ N ) @ ( suc @ M ) )
= ( ord_less_eq @ nat @ N @ M ) ) ).
% Suc_le_mono
thf(fact_242_nat__add__left__cancel__le,axiom,
! [K: nat,M: nat,N: nat] :
( ( ord_less_eq @ nat @ ( plus_plus @ nat @ K @ M ) @ ( plus_plus @ nat @ K @ N ) )
= ( ord_less_eq @ nat @ M @ N ) ) ).
% nat_add_left_cancel_le
thf(fact_243_diff__diff__cancel,axiom,
! [I: nat,N: nat] :
( ( ord_less_eq @ nat @ I @ N )
=> ( ( minus_minus @ nat @ N @ ( minus_minus @ nat @ N @ I ) )
= I ) ) ).
% diff_diff_cancel
thf(fact_244_zero__le__double__add__iff__zero__le__single__add,axiom,
! [A: $tType] :
( ( linord219039673up_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( plus_plus @ A @ A3 @ A3 ) )
= ( ord_less_eq @ A @ ( zero_zero @ A ) @ A3 ) ) ) ).
% zero_le_double_add_iff_zero_le_single_add
thf(fact_245_double__add__le__zero__iff__single__add__le__zero,axiom,
! [A: $tType] :
( ( linord219039673up_add @ A @ ( type2 @ A ) )
=> ! [A3: A] :
( ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ A3 ) @ ( zero_zero @ A ) )
= ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).
% double_add_le_zero_iff_single_add_le_zero
thf(fact_246_le__add__same__cancel2,axiom,
! [A: $tType] :
( ( ordere516151231imp_le @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( ord_less_eq @ A @ A3 @ ( plus_plus @ A @ B3 @ A3 ) )
= ( ord_less_eq @ A @ ( zero_zero @ A ) @ B3 ) ) ) ).
% le_add_same_cancel2
thf(fact_247_le__add__same__cancel1,axiom,
! [A: $tType] :
( ( ordere516151231imp_le @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( ord_less_eq @ A @ A3 @ ( plus_plus @ A @ A3 @ B3 ) )
= ( ord_less_eq @ A @ ( zero_zero @ A ) @ B3 ) ) ) ).
% le_add_same_cancel1
thf(fact_248_add__le__same__cancel2,axiom,
! [A: $tType] :
( ( ordere516151231imp_le @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( ord_less_eq @ A @ ( plus_plus @ A @ A3 @ B3 ) @ B3 )
= ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).
% add_le_same_cancel2
thf(fact_249_add__le__same__cancel1,axiom,
! [A: $tType] :
( ( ordere516151231imp_le @ A @ ( type2 @ A ) )
=> ! [B3: A,A3: A] :
( ( ord_less_eq @ A @ ( plus_plus @ A @ B3 @ A3 ) @ B3 )
= ( ord_less_eq @ A @ A3 @ ( zero_zero @ A ) ) ) ) ).
% add_le_same_cancel1
thf(fact_250_diff__ge__0__iff__ge,axiom,
! [A: $tType] :
( ( ordered_ab_group_add @ A @ ( type2 @ A ) )
=> ! [A3: A,B3: A] :
( ( ord_less_eq @ A @ ( zero_zero @ A ) @ ( minus_minus @ A @ A3 @ B3 ) )
= ( ord_less_eq @ A @ B3 @ A3 ) ) ) ).
% diff_ge_0_iff_ge
thf(fact_251_diff__is__0__eq_H,axiom,
! [M: nat,N: nat] :
( ( ord_less_eq @ nat @ M @ N )
=> ( ( minus_minus @ nat @ M @ N )
= ( zero_zero @ nat ) ) ) ).
% diff_is_0_eq'
%----Type constructors (23)
thf(tcon_fun___Orderings_Opreorder,axiom,
! [A8: $tType,A9: $tType] :
( ( preorder @ A9 @ ( type2 @ A9 ) )
=> ( preorder @ ( A8 > A9 ) @ ( type2 @ ( A8 > A9 ) ) ) ) ).
thf(tcon_fun___Orderings_Otop,axiom,
! [A8: $tType,A9: $tType] :
( ( top @ A9 @ ( type2 @ A9 ) )
=> ( top @ ( A8 > A9 ) @ ( type2 @ ( A8 > A9 ) ) ) ) ).
thf(tcon_Nat_Onat___Semiring__Normalization_Ocomm__semiring__1__cancel__crossproduct,axiom,
semiri456707255roduct @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Oordered__ab__semigroup__monoid__add__imp__le,axiom,
ordere516151231imp_le @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Oordered__ab__semigroup__add__imp__le,axiom,
ordere236663937imp_le @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Ocanonically__ordered__monoid__add,axiom,
canoni770627133id_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Oordered__ab__semigroup__add,axiom,
ordere779506340up_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Ocancel__ab__semigroup__add,axiom,
cancel146912293up_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Ocancel__comm__monoid__add,axiom,
cancel1352612707id_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Ocancel__semigroup__add,axiom,
cancel_semigroup_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Ocomm__monoid__diff,axiom,
comm_monoid_diff @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Oab__semigroup__add,axiom,
ab_semigroup_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Ocomm__monoid__add,axiom,
comm_monoid_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Rings_Ocomm__semiring__1,axiom,
comm_semiring_1 @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Osemigroup__add,axiom,
semigroup_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Orderings_Opreorder_1,axiom,
preorder @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Omonoid__add,axiom,
monoid_add @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Ozero,axiom,
zero @ nat @ ( type2 @ nat ) ).
thf(tcon_Nat_Onat___Groups_Oone,axiom,
one @ nat @ ( type2 @ nat ) ).
thf(tcon_Set_Oset___Orderings_Opreorder_2,axiom,
! [A8: $tType] : ( preorder @ ( set @ A8 ) @ ( type2 @ ( set @ A8 ) ) ) ).
thf(tcon_Set_Oset___Orderings_Otop_3,axiom,
! [A8: $tType] : ( top @ ( set @ A8 ) @ ( type2 @ ( set @ A8 ) ) ) ).
thf(tcon_HOL_Obool___Orderings_Opreorder_4,axiom,
preorder @ $o @ ( type2 @ $o ) ).
thf(tcon_HOL_Obool___Orderings_Otop_5,axiom,
top @ $o @ ( type2 @ $o ) ).
%----Helper facts (3)
thf(help_If_3_1_T,axiom,
! [P: $o] :
( ( P = $true )
| ( P = $false ) ) ).
thf(help_If_2_1_T,axiom,
! [A: $tType,X: A,Y: A] :
( ( if @ A @ $false @ X @ Y )
= Y ) ).
thf(help_If_1_1_T,axiom,
! [A: $tType,X: A,Y: A] :
( ( if @ A @ $true @ X @ Y )
= X ) ).
%----Conjectures (2)
thf(conj_0,hypothesis,
member @ ( coinductive_llist @ a ) @ t @ ( lList2236698231inlsts @ a @ a2 ) ).
thf(conj_1,conjecture,
member @ ( coinductive_llist @ a ) @ ( lList2508575361_ldrop @ a @ t @ i ) @ ( lList2236698231inlsts @ a @ a2 ) ).
%------------------------------------------------------------------------------