% Mizar problem: t31_waybel31,waybel31,1833,45 
fof(t31_waybel31,conjecture,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l1_orders_2(A) )
     => ! [B] : 
          ( ( ~ v3_struct_0(B)
            & l1_orders_2(B) )
         => ( r5_waybel_1(A,B)
           => k1_card_1(u1_struct_0(A)) = k1_card_1(u1_struct_0(B)) ) ) ) ),
    inference(mizar_bg_added,[status(thm)],[antisymmetry_r2_hidden,cc1_card_1,cc1_finseq_1,cc1_finset_1,cc1_relset_1,cc1_yellow15,cc1_yellow_3,cc2_finset_1,cc2_yellow_3,cc8_waybel_0,d1_funct_2,d4_wellord2,d8_waybel_1,dt_k1_card_1,dt_k1_funct_1,dt_k1_relat_1,dt_k1_waybel_0,dt_k1_xboole_0,dt_k1_zfmisc_1,dt_k2_relat_1,dt_k2_zfmisc_1,dt_k4_relset_1,dt_k8_yellow_2,dt_l1_orders_2,dt_l1_struct_0,dt_m1_relset_1,dt_m1_subset_1,dt_m2_relset_1,dt_u1_struct_0,existence_l1_orders_2,existence_l1_struct_0,existence_m1_relset_1,existence_m1_subset_1,existence_m2_relset_1,fc11_finseq_1,fc14_finset_1,fc17_finseq_1,fc1_struct_0,fc1_subset_1,fc2_card_1,fc2_finseq_1,fc4_subset_1,rc1_card_1,rc1_finseq_1,rc1_finset_1,rc1_subset_1,rc2_card_1,rc2_subset_1,rc3_finseq_1,rc3_finset_1,rc3_struct_0,rc4_finset_1,rc5_struct_0,rc6_finseq_1,rc7_finseq_1,rc8_finseq_1,redefinition_k1_waybel_0,redefinition_k4_relset_1,redefinition_k8_yellow_2,redefinition_m2_relset_1,redefinition_r2_wellord2,reflexivity_r1_tarski,reflexivity_r2_wellord2,reflexivity_r5_waybel_1,symmetry_r2_wellord2,t1_subset,t21_card_1,t2_subset,t3_subset,t4_subset,t5_subset,t66_waybel_0,t6_boole,t7_boole,t8_boole]),
    [file(waybel31,t31_waybel31)]).

fof(antisymmetry_r2_hidden,axiom,(
    ! [A,B] : 
      ( r2_hidden(A,B)
     => ~ r2_hidden(B,A) ) ),
    file(hidden,r2_hidden),
    []).

fof(cc1_card_1,axiom,(
    ! [A] : 
      ( v1_card_1(A)
     => ( v1_ordinal1(A)
        & v2_ordinal1(A)
        & v3_ordinal1(A) ) ) ),
    file(card_1,cc1_card_1),
    []).

fof(cc1_finseq_1,axiom,(
    ! [A] : 
      ( ( v1_relat_1(A)
        & v1_funct_1(A)
        & v1_finseq_1(A) )
     => ( v1_relat_1(A)
        & v1_funct_1(A)
        & v1_finset_1(A) ) ) ),
    file(finseq_1,cc1_finseq_1),
    []).

fof(cc1_finset_1,axiom,(
    ! [A] : 
      ( v1_xboole_0(A)
     => v1_finset_1(A) ) ),
    file(finset_1,cc1_finset_1),
    []).

fof(cc1_relset_1,axiom,(
    ! [A,B,C] : 
      ( m1_subset_1(C,k1_zfmisc_1(k2_zfmisc_1(A,B)))
     => v1_relat_1(C) ) ),
    file(relset_1,cc1_relset_1),
    []).

fof(cc1_yellow15,axiom,(
    ! [A] : 
      ( v1_finset_1(A)
     => ! [B] : 
          ( m1_subset_1(B,k1_zfmisc_1(k1_zfmisc_1(A)))
         => v1_finset_1(B) ) ) ),
    file(yellow15,cc1_yellow15),
    []).

fof(cc1_yellow_3,axiom,(
    ! [A] : 
      ( l1_orders_2(A)
     => ( v3_struct_0(A)
       => v1_yellow_3(A) ) ) ),
    file(yellow_3,cc1_yellow_3),
    []).

fof(cc2_finset_1,axiom,(
    ! [A] : 
      ( v1_finset_1(A)
     => ! [B] : 
          ( m1_subset_1(B,k1_zfmisc_1(A))
         => v1_finset_1(B) ) ) ),
    file(finset_1,cc2_finset_1),
    []).

fof(cc2_yellow_3,axiom,(
    ! [A] : 
      ( l1_orders_2(A)
     => ( ~ v1_yellow_3(A)
       => ~ v3_struct_0(A) ) ) ),
    file(yellow_3,cc2_yellow_3),
    []).

fof(cc8_waybel_0,axiom,(
    ! [A,B] : 
      ( ( ~ v3_struct_0(A)
        & l1_orders_2(A)
        & ~ v3_struct_0(B)
        & l1_orders_2(B) )
     => ! [C] : 
          ( m1_relset_1(C,u1_struct_0(A),u1_struct_0(B))
         => ( ( v1_funct_1(C)
              & v1_funct_2(C,u1_struct_0(A),u1_struct_0(B))
              & v23_waybel_0(C,A,B) )
           => ( v1_funct_1(C)
              & v2_funct_1(C)
              & v1_funct_2(C,u1_struct_0(A),u1_struct_0(B))
              & v5_orders_3(C,A,B) ) ) ) ) ),
    file(waybel_0,cc8_waybel_0),
    []).

fof(d1_funct_2,axiom,(
    ! [A,B,C] : 
      ( m2_relset_1(C,A,B)
     => ( ( ( B = k1_xboole_0
           => A = k1_xboole_0 )
         => ( v1_funct_2(C,A,B)
          <=> A = k4_relset_1(A,B,C) ) )
        & ( B = k1_xboole_0
         => ( A = k1_xboole_0
            | ( v1_funct_2(C,A,B)
            <=> C = k1_xboole_0 ) ) ) ) ) ),
    file(funct_2,d1_funct_2),
    []).

fof(d4_wellord2,axiom,(
    ! [A,B] : 
      ( r2_wellord2(A,B)
    <=> ? [C] : 
          ( v1_relat_1(C)
          & v1_funct_1(C)
          & v2_funct_1(C)
          & k1_relat_1(C) = A
          & k2_relat_1(C) = B ) ) ),
    file(wellord2,d4_wellord2),
    []).

fof(d8_waybel_1,axiom,(
    ! [A] : 
      ( l1_orders_2(A)
     => ! [B] : 
          ( l1_orders_2(B)
         => ( r5_waybel_1(A,B)
          <=> ? [C] : 
                ( v1_funct_1(C)
                & v1_funct_2(C,u1_struct_0(A),u1_struct_0(B))
                & m2_relset_1(C,u1_struct_0(A),u1_struct_0(B))
                & v23_waybel_0(C,A,B) ) ) ) ) ),
    file(waybel_1,d8_waybel_1),
    []).

fof(dt_k1_card_1,axiom,(
    ! [A] : v1_card_1(k1_card_1(A)) ),
    file(card_1,k1_card_1),
    []).

fof(dt_k1_funct_1,axiom,(
    $true ),
    file(funct_1,k1_funct_1),
    []).

fof(dt_k1_relat_1,axiom,(
    $true ),
    file(relat_1,k1_relat_1),
    []).

fof(dt_k1_waybel_0,axiom,(
    ! [A,B,C,D] : 
      ( ( ~ v3_struct_0(A)
        & l1_struct_0(A)
        & ~ v3_struct_0(B)
        & l1_struct_0(B)
        & v1_funct_1(C)
        & v1_funct_2(C,u1_struct_0(A),u1_struct_0(B))
        & m1_relset_1(C,u1_struct_0(A),u1_struct_0(B))
        & m1_subset_1(D,u1_struct_0(A)) )
     => m1_subset_1(k1_waybel_0(A,B,C,D),u1_struct_0(B)) ) ),
    file(waybel_0,k1_waybel_0),
    []).

fof(dt_k1_xboole_0,axiom,(
    $true ),
    file(xboole_0,k1_xboole_0),
    []).

fof(dt_k1_zfmisc_1,axiom,(
    $true ),
    file(zfmisc_1,k1_zfmisc_1),
    []).

fof(dt_k2_relat_1,axiom,(
    $true ),
    file(relat_1,k2_relat_1),
    []).

fof(dt_k2_zfmisc_1,axiom,(
    $true ),
    file(zfmisc_1,k2_zfmisc_1),
    []).

fof(dt_k4_relset_1,axiom,(
    ! [A,B,C] : 
      ( m1_relset_1(C,A,B)
     => m1_subset_1(k4_relset_1(A,B,C),k1_zfmisc_1(A)) ) ),
    file(relset_1,k4_relset_1),
    []).

fof(dt_k8_yellow_2,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(B)
        & l1_struct_0(B)
        & v1_funct_1(C)
        & v1_funct_2(C,A,u1_struct_0(B))
        & m1_relset_1(C,A,u1_struct_0(B)) )
     => m1_subset_1(k8_yellow_2(A,B,C),k1_zfmisc_1(u1_struct_0(B))) ) ),
    file(yellow_2,k8_yellow_2),
    []).

fof(dt_l1_orders_2,axiom,(
    ! [A] : 
      ( l1_orders_2(A)
     => l1_struct_0(A) ) ),
    file(orders_2,l1_orders_2),
    []).

fof(dt_l1_struct_0,axiom,(
    $true ),
    file(struct_0,l1_struct_0),
    []).

fof(dt_m1_relset_1,axiom,(
    $true ),
    file(relset_1,m1_relset_1),
    []).

fof(dt_m1_subset_1,axiom,(
    $true ),
    file(subset_1,m1_subset_1),
    []).

fof(dt_m2_relset_1,axiom,(
    ! [A,B,C] : 
      ( m2_relset_1(C,A,B)
     => m1_subset_1(C,k1_zfmisc_1(k2_zfmisc_1(A,B))) ) ),
    file(relset_1,m2_relset_1),
    []).

fof(dt_u1_struct_0,axiom,(
    $true ),
    file(struct_0,u1_struct_0),
    []).

fof(existence_l1_orders_2,axiom,(
    ? [A] : l1_orders_2(A) ),
    file(orders_2,l1_orders_2),
    []).

fof(existence_l1_struct_0,axiom,(
    ? [A] : l1_struct_0(A) ),
    file(struct_0,l1_struct_0),
    []).

fof(existence_m1_relset_1,axiom,(
    ! [A,B] : 
    ? [C] : m1_relset_1(C,A,B) ),
    file(relset_1,m1_relset_1),
    []).

fof(existence_m1_subset_1,axiom,(
    ! [A] : 
    ? [B] : m1_subset_1(B,A) ),
    file(subset_1,m1_subset_1),
    []).

fof(existence_m2_relset_1,axiom,(
    ! [A,B] : 
    ? [C] : m2_relset_1(C,A,B) ),
    file(relset_1,m2_relset_1),
    []).

fof(fc11_finseq_1,axiom,(
    ! [A] : 
      ( ( v1_relat_1(A)
        & v1_finset_1(A) )
     => v1_finset_1(k2_relat_1(A)) ) ),
    file(finseq_1,fc11_finseq_1),
    []).

fof(fc14_finset_1,axiom,(
    ! [A,B] : 
      ( ( v1_finset_1(A)
        & v1_finset_1(B) )
     => v1_finset_1(k2_zfmisc_1(A,B)) ) ),
    file(finset_1,fc14_finset_1),
    []).

fof(fc17_finseq_1,axiom,(
    ! [A] : 
      ( ( v1_relat_1(A)
        & v1_funct_1(A)
        & v1_finset_1(A) )
     => v1_finset_1(k1_relat_1(A)) ) ),
    file(finseq_1,fc17_finseq_1),
    []).

fof(fc1_struct_0,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l1_struct_0(A) )
     => ~ v1_xboole_0(u1_struct_0(A)) ) ),
    file(struct_0,fc1_struct_0),
    []).

fof(fc1_subset_1,axiom,(
    ! [A] : ~ v1_xboole_0(k1_zfmisc_1(A)) ),
    file(subset_1,fc1_subset_1),
    []).

fof(fc2_card_1,axiom,(
    ! [A] : 
      ( v1_finset_1(A)
     => ( v1_ordinal1(k1_card_1(A))
        & v2_ordinal1(k1_card_1(A))
        & v3_ordinal1(k1_card_1(A))
        & v1_finset_1(k1_card_1(A))
        & v1_card_1(k1_card_1(A)) ) ) ),
    file(card_1,fc2_card_1),
    []).

fof(fc2_finseq_1,axiom,
    ( v1_xboole_0(k1_xboole_0)
    & v1_relat_1(k1_xboole_0)
    & v3_relat_1(k1_xboole_0)
    & v1_funct_1(k1_xboole_0)
    & v2_funct_1(k1_xboole_0)
    & v1_finset_1(k1_xboole_0)
    & v1_finseq_1(k1_xboole_0) ),
    file(finseq_1,fc2_finseq_1),
    []).

fof(fc4_subset_1,axiom,(
    ! [A,B] : 
      ( ( ~ v1_xboole_0(A)
        & ~ v1_xboole_0(B) )
     => ~ v1_xboole_0(k2_zfmisc_1(A,B)) ) ),
    file(subset_1,fc4_subset_1),
    []).

fof(rc1_card_1,axiom,(
    ? [A] : v1_card_1(A) ),
    file(card_1,rc1_card_1),
    []).

fof(rc1_finseq_1,axiom,(
    ? [A] : 
      ( v1_relat_1(A)
      & v1_funct_1(A)
      & v1_finseq_1(A) ) ),
    file(finseq_1,rc1_finseq_1),
    []).

fof(rc1_finset_1,axiom,(
    ? [A] : 
      ( ~ v1_xboole_0(A)
      & v1_finset_1(A) ) ),
    file(finset_1,rc1_finset_1),
    []).

fof(rc1_subset_1,axiom,(
    ! [A] : 
      ( ~ v1_xboole_0(A)
     => ? [B] : 
          ( m1_subset_1(B,k1_zfmisc_1(A))
          & ~ v1_xboole_0(B) ) ) ),
    file(subset_1,rc1_subset_1),
    []).

fof(rc2_card_1,axiom,(
    ? [A] : 
      ( v1_ordinal1(A)
      & v2_ordinal1(A)
      & v3_ordinal1(A)
      & v1_finset_1(A)
      & v1_card_1(A) ) ),
    file(card_1,rc2_card_1),
    []).

fof(rc2_subset_1,axiom,(
    ! [A] : 
    ? [B] : 
      ( m1_subset_1(B,k1_zfmisc_1(A))
      & v1_xboole_0(B) ) ),
    file(subset_1,rc2_subset_1),
    []).

fof(rc3_finseq_1,axiom,(
    ? [A] : 
      ( v1_xboole_0(A)
      & v1_relat_1(A)
      & v1_funct_1(A)
      & v2_funct_1(A)
      & v1_finset_1(A)
      & v1_finseq_1(A) ) ),
    file(finseq_1,rc3_finseq_1),
    []).

fof(rc3_finset_1,axiom,(
    ! [A] : 
      ( ~ v1_xboole_0(A)
     => ? [B] : 
          ( m1_subset_1(B,k1_zfmisc_1(A))
          & ~ v1_xboole_0(B)
          & v1_finset_1(B) ) ) ),
    file(finset_1,rc3_finset_1),
    []).

fof(rc3_struct_0,axiom,(
    ? [A] : 
      ( l1_struct_0(A)
      & ~ v3_struct_0(A) ) ),
    file(struct_0,rc3_struct_0),
    []).

fof(rc4_finset_1,axiom,(
    ! [A] : 
      ( ~ v1_xboole_0(A)
     => ? [B] : 
          ( m1_subset_1(B,k1_zfmisc_1(A))
          & ~ v1_xboole_0(B)
          & v1_finset_1(B) ) ) ),
    file(finset_1,rc4_finset_1),
    []).

fof(rc5_struct_0,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l1_struct_0(A) )
     => ? [B] : 
          ( m1_subset_1(B,k1_zfmisc_1(u1_struct_0(A)))
          & ~ v1_xboole_0(B) ) ) ),
    file(struct_0,rc5_struct_0),
    []).

fof(rc6_finseq_1,axiom,(
    ? [A] : 
      ( v1_xboole_0(A)
      & v1_relat_1(A)
      & v1_funct_1(A)
      & v2_funct_1(A)
      & v1_finset_1(A) ) ),
    file(finseq_1,rc6_finseq_1),
    []).

fof(rc7_finseq_1,axiom,(
    ? [A] : 
      ( ~ v1_xboole_0(A)
      & v1_relat_1(A)
      & v1_funct_1(A)
      & v1_finset_1(A) ) ),
    file(finseq_1,rc7_finseq_1),
    []).

fof(rc8_finseq_1,axiom,(
    ? [A] : 
      ( ~ v1_xboole_0(A)
      & v1_relat_1(A)
      & v1_funct_1(A)
      & v1_finset_1(A)
      & v1_finseq_1(A) ) ),
    file(finseq_1,rc8_finseq_1),
    []).

fof(redefinition_k1_waybel_0,axiom,(
    ! [A,B,C,D] : 
      ( ( ~ v3_struct_0(A)
        & l1_struct_0(A)
        & ~ v3_struct_0(B)
        & l1_struct_0(B)
        & v1_funct_1(C)
        & v1_funct_2(C,u1_struct_0(A),u1_struct_0(B))
        & m1_relset_1(C,u1_struct_0(A),u1_struct_0(B))
        & m1_subset_1(D,u1_struct_0(A)) )
     => k1_waybel_0(A,B,C,D) = k1_funct_1(C,D) ) ),
    file(waybel_0,k1_waybel_0),
    []).

fof(redefinition_k4_relset_1,axiom,(
    ! [A,B,C] : 
      ( m1_relset_1(C,A,B)
     => k4_relset_1(A,B,C) = k1_relat_1(C) ) ),
    file(relset_1,k4_relset_1),
    []).

fof(redefinition_k8_yellow_2,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(B)
        & l1_struct_0(B)
        & v1_funct_1(C)
        & v1_funct_2(C,A,u1_struct_0(B))
        & m1_relset_1(C,A,u1_struct_0(B)) )
     => k8_yellow_2(A,B,C) = k2_relat_1(C) ) ),
    file(yellow_2,k8_yellow_2),
    []).

fof(redefinition_m2_relset_1,axiom,(
    ! [A,B,C] : 
      ( m2_relset_1(C,A,B)
    <=> m1_relset_1(C,A,B) ) ),
    file(relset_1,m2_relset_1),
    []).

fof(redefinition_r2_wellord2,axiom,(
    ! [A,B] : 
      ( r2_wellord2(A,B)
    <=> r2_tarski(A,B) ) ),
    file(wellord2,r2_wellord2),
    []).

fof(reflexivity_r1_tarski,axiom,(
    ! [A,B] : r1_tarski(A,A) ),
    file(tarski,r1_tarski),
    []).

fof(reflexivity_r2_wellord2,axiom,(
    ! [A,B] : r2_wellord2(A,A) ),
    file(wellord2,r2_wellord2),
    []).

fof(reflexivity_r5_waybel_1,axiom,(
    ! [A,B] : 
      ( ( l1_orders_2(A)
        & l1_orders_2(B) )
     => r5_waybel_1(A,A) ) ),
    file(waybel_1,r5_waybel_1),
    []).

fof(symmetry_r2_wellord2,axiom,(
    ! [A,B] : 
      ( r2_wellord2(A,B)
     => r2_wellord2(B,A) ) ),
    file(wellord2,r2_wellord2),
    []).

fof(t1_subset,axiom,(
    ! [A,B] : 
      ( r2_hidden(A,B)
     => m1_subset_1(A,B) ) ),
    file(subset,t1_subset),
    []).

fof(t21_card_1,axiom,(
    ! [A,B] : 
      ( r2_wellord2(A,B)
    <=> k1_card_1(A) = k1_card_1(B) ) ),
    file(card_1,t21_card_1),
    []).

fof(t2_subset,axiom,(
    ! [A,B] : 
      ( m1_subset_1(A,B)
     => ( v1_xboole_0(B)
        | r2_hidden(A,B) ) ) ),
    file(subset,t2_subset),
    []).

fof(t3_subset,axiom,(
    ! [A,B] : 
      ( m1_subset_1(A,k1_zfmisc_1(B))
    <=> r1_tarski(A,B) ) ),
    file(subset,t3_subset),
    []).

fof(t4_subset,axiom,(
    ! [A,B,C] : 
      ( ( r2_hidden(A,B)
        & m1_subset_1(B,k1_zfmisc_1(C)) )
     => m1_subset_1(A,C) ) ),
    file(subset,t4_subset),
    []).

fof(t5_subset,axiom,(
    ! [A,B,C] : ~ ( r2_hidden(A,B)
      & m1_subset_1(B,k1_zfmisc_1(C))
      & v1_xboole_0(C) ) ),
    file(subset,t5_subset),
    []).

fof(t66_waybel_0,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l1_orders_2(A) )
     => ! [B] : 
          ( ( ~ v3_struct_0(B)
            & l1_orders_2(B) )
         => ! [C] : 
              ( ( v1_funct_1(C)
                & v1_funct_2(C,u1_struct_0(A),u1_struct_0(B))
                & m2_relset_1(C,u1_struct_0(A),u1_struct_0(B)) )
             => ( v23_waybel_0(C,A,B)
              <=> ( v2_funct_1(C)
                  & k2_relat_1(C) = u1_struct_0(B)
                  & ! [D] : 
                      ( m1_subset_1(D,u1_struct_0(A))
                     => ! [E] : 
                          ( m1_subset_1(E,u1_struct_0(A))
                         => ( r1_orders_2(A,D,E)
                          <=> r1_orders_2(B,k1_waybel_0(A,B,C,D),k1_waybel_0(A,B,C,E)) ) ) ) ) ) ) ) ) ),
    file(waybel_0,t66_waybel_0),
    []).

fof(t6_boole,axiom,(
    ! [A] : 
      ( v1_xboole_0(A)
     => A = k1_xboole_0 ) ),
    file(boole,t6_boole),
    []).

fof(t7_boole,axiom,(
    ! [A,B] : ~ ( r2_hidden(A,B)
      & v1_xboole_0(B) ) ),
    file(boole,t7_boole),
    []).

fof(t8_boole,axiom,(
    ! [A,B] : ~ ( v1_xboole_0(A)
      & A != B
      & v1_xboole_0(B) ) ),
    file(boole,t8_boole),
    []).
