% Mizar problem: t47_lattices,lattices,762,18 
fof(t47_lattices,conjecture,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & v10_lattices(A)
        & v17_lattices(A)
        & l3_lattices(A) )
     => ! [B] : 
          ( m1_subset_1(B,u1_struct_0(A))
         => k4_lattices(A,k7_lattices(A,B),B) = k5_lattices(A) ) ) ),
    inference(mizar_bg_added,[status(thm)],[antisymmetry_r2_hidden,cc1_finsub_1,cc1_lattices,cc2_finsub_1,cc2_lattices,cc3_lattices,cc4_lattices,cc5_lattices,cc6_lattices,cc7_lattices,commutativity_k4_lattices,d18_lattices,d1_lattices,d21_lattices,d2_lattices,dt_k1_binop_1,dt_k1_lattices,dt_k1_xboole_0,dt_k1_zfmisc_1,dt_k2_binop_1,dt_k2_lattices,dt_k2_zfmisc_1,dt_k4_lattices,dt_k5_lattices,dt_k6_lattices,dt_k7_lattices,dt_l1_lattices,dt_l1_struct_0,dt_l2_lattices,dt_l3_lattices,dt_m1_relset_1,dt_m1_subset_1,dt_m2_relset_1,dt_u1_lattices,dt_u1_struct_0,dt_u2_lattices,existence_l1_lattices,existence_l1_struct_0,existence_l2_lattices,existence_l3_lattices,existence_m1_relset_1,existence_m1_subset_1,existence_m2_relset_1,fc1_finsub_1,fc1_struct_0,rc3_struct_0,rc5_struct_0,redefinition_k2_binop_1,redefinition_k4_lattices,redefinition_m2_relset_1,reflexivity_r1_tarski,t1_subset,t2_subset,t3_subset,t4_subset,t5_subset,t6_boole,t7_boole,t8_boole]),
    [file(lattices,t47_lattices)]).

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

fof(cc1_finsub_1,axiom,(
    ! [A] : 
      ( v4_finsub_1(A)
     => ( v1_finsub_1(A)
        & v3_finsub_1(A) ) ) ),
    file(finsub_1,cc1_finsub_1),
    []).

fof(cc1_lattices,axiom,(
    ! [A] : 
      ( l3_lattices(A)
     => ( ( ~ v3_struct_0(A)
          & v10_lattices(A) )
       => ( ~ v3_struct_0(A)
          & v4_lattices(A)
          & v5_lattices(A)
          & v6_lattices(A)
          & v7_lattices(A)
          & v8_lattices(A)
          & v9_lattices(A) ) ) ) ),
    file(lattices,cc1_lattices),
    []).

fof(cc2_finsub_1,axiom,(
    ! [A] : 
      ( ( v1_finsub_1(A)
        & v3_finsub_1(A) )
     => v4_finsub_1(A) ) ),
    file(finsub_1,cc2_finsub_1),
    []).

fof(cc2_lattices,axiom,(
    ! [A] : 
      ( l3_lattices(A)
     => ( ( ~ v3_struct_0(A)
          & v4_lattices(A)
          & v5_lattices(A)
          & v6_lattices(A)
          & v7_lattices(A)
          & v8_lattices(A)
          & v9_lattices(A) )
       => ( ~ v3_struct_0(A)
          & v10_lattices(A) ) ) ) ),
    file(lattices,cc2_lattices),
    []).

fof(cc3_lattices,axiom,(
    ! [A] : 
      ( l3_lattices(A)
     => ( ( ~ v3_struct_0(A)
          & v13_lattices(A)
          & v14_lattices(A) )
       => ( ~ v3_struct_0(A)
          & v15_lattices(A) ) ) ) ),
    file(lattices,cc3_lattices),
    []).

fof(cc4_lattices,axiom,(
    ! [A] : 
      ( l3_lattices(A)
     => ( ( ~ v3_struct_0(A)
          & v15_lattices(A) )
       => ( ~ v3_struct_0(A)
          & v13_lattices(A)
          & v14_lattices(A) ) ) ) ),
    file(lattices,cc4_lattices),
    []).

fof(cc5_lattices,axiom,(
    ! [A] : 
      ( l3_lattices(A)
     => ( ( ~ v3_struct_0(A)
          & v17_lattices(A) )
       => ( ~ v3_struct_0(A)
          & v11_lattices(A)
          & v13_lattices(A)
          & v14_lattices(A)
          & v15_lattices(A)
          & v16_lattices(A) ) ) ) ),
    file(lattices,cc5_lattices),
    []).

fof(cc6_lattices,axiom,(
    ! [A] : 
      ( l3_lattices(A)
     => ( ( ~ v3_struct_0(A)
          & v11_lattices(A)
          & v15_lattices(A)
          & v16_lattices(A) )
       => ( ~ v3_struct_0(A)
          & v17_lattices(A) ) ) ) ),
    file(lattices,cc6_lattices),
    []).

fof(cc7_lattices,axiom,(
    ! [A] : 
      ( l3_lattices(A)
     => ( ( ~ v3_struct_0(A)
          & v10_lattices(A)
          & v11_lattices(A) )
       => ( ~ v3_struct_0(A)
          & v4_lattices(A)
          & v5_lattices(A)
          & v6_lattices(A)
          & v7_lattices(A)
          & v8_lattices(A)
          & v9_lattices(A)
          & v10_lattices(A)
          & v12_lattices(A) ) ) ) ),
    file(lattices,cc7_lattices),
    []).

fof(commutativity_k4_lattices,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & v6_lattices(A)
        & l1_lattices(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => k4_lattices(A,B,C) = k4_lattices(A,C,B) ) ),
    file(lattices,k4_lattices),
    []).

fof(d18_lattices,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l3_lattices(A) )
     => ! [B] : 
          ( m1_subset_1(B,u1_struct_0(A))
         => ! [C] : 
              ( m1_subset_1(C,u1_struct_0(A))
             => ( r2_lattices(A,B,C)
              <=> ( k1_lattices(A,B,C) = k6_lattices(A)
                  & k1_lattices(A,C,B) = k6_lattices(A)
                  & k2_lattices(A,B,C) = k5_lattices(A)
                  & k2_lattices(A,C,B) = k5_lattices(A) ) ) ) ) ) ),
    file(lattices,d18_lattices),
    []).

fof(d1_lattices,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l2_lattices(A) )
     => ! [B] : 
          ( m1_subset_1(B,u1_struct_0(A))
         => ! [C] : 
              ( m1_subset_1(C,u1_struct_0(A))
             => k1_lattices(A,B,C) = k2_binop_1(u1_struct_0(A),u1_struct_0(A),u1_struct_0(A),u2_lattices(A),B,C) ) ) ) ),
    file(lattices,d1_lattices),
    []).

fof(d21_lattices,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l3_lattices(A) )
     => ! [B] : 
          ( m1_subset_1(B,u1_struct_0(A))
         => ( ( ~ v3_struct_0(A)
              & v10_lattices(A)
              & v11_lattices(A)
              & v16_lattices(A)
              & l3_lattices(A) )
           => ! [C] : 
                ( m1_subset_1(C,u1_struct_0(A))
               => ( C = k7_lattices(A,B)
                <=> r2_lattices(A,C,B) ) ) ) ) ) ),
    file(lattices,d21_lattices),
    []).

fof(d2_lattices,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l1_lattices(A) )
     => ! [B] : 
          ( m1_subset_1(B,u1_struct_0(A))
         => ! [C] : 
              ( m1_subset_1(C,u1_struct_0(A))
             => k2_lattices(A,B,C) = k2_binop_1(u1_struct_0(A),u1_struct_0(A),u1_struct_0(A),u1_lattices(A),B,C) ) ) ) ),
    file(lattices,d2_lattices),
    []).

fof(dt_k1_binop_1,axiom,(
    $true ),
    file(binop_1,k1_binop_1),
    []).

fof(dt_k1_lattices,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & l2_lattices(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => m1_subset_1(k1_lattices(A,B,C),u1_struct_0(A)) ) ),
    file(lattices,k1_lattices),
    []).

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_binop_1,axiom,(
    ! [A,B,C,D,E,F] : 
      ( ( ~ v1_xboole_0(A)
        & ~ v1_xboole_0(B)
        & v1_funct_1(D)
        & v1_funct_2(D,k2_zfmisc_1(A,B),C)
        & m1_relset_1(D,k2_zfmisc_1(A,B),C)
        & m1_subset_1(E,A)
        & m1_subset_1(F,B) )
     => m1_subset_1(k2_binop_1(A,B,C,D,E,F),C) ) ),
    file(binop_1,k2_binop_1),
    []).

fof(dt_k2_lattices,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & l1_lattices(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => m1_subset_1(k2_lattices(A,B,C),u1_struct_0(A)) ) ),
    file(lattices,k2_lattices),
    []).

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

fof(dt_k4_lattices,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & v6_lattices(A)
        & l1_lattices(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => m1_subset_1(k4_lattices(A,B,C),u1_struct_0(A)) ) ),
    file(lattices,k4_lattices),
    []).

fof(dt_k5_lattices,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l1_lattices(A) )
     => m1_subset_1(k5_lattices(A),u1_struct_0(A)) ) ),
    file(lattices,k5_lattices),
    []).

fof(dt_k6_lattices,axiom,(
    ! [A] : 
      ( ( ~ v3_struct_0(A)
        & l2_lattices(A) )
     => m1_subset_1(k6_lattices(A),u1_struct_0(A)) ) ),
    file(lattices,k6_lattices),
    []).

fof(dt_k7_lattices,axiom,(
    ! [A,B] : 
      ( ( ~ v3_struct_0(A)
        & l3_lattices(A)
        & m1_subset_1(B,u1_struct_0(A)) )
     => m1_subset_1(k7_lattices(A,B),u1_struct_0(A)) ) ),
    file(lattices,k7_lattices),
    []).

fof(dt_l1_lattices,axiom,(
    ! [A] : 
      ( l1_lattices(A)
     => l1_struct_0(A) ) ),
    file(lattices,l1_lattices),
    []).

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

fof(dt_l2_lattices,axiom,(
    ! [A] : 
      ( l2_lattices(A)
     => l1_struct_0(A) ) ),
    file(lattices,l2_lattices),
    []).

fof(dt_l3_lattices,axiom,(
    ! [A] : 
      ( l3_lattices(A)
     => ( l1_lattices(A)
        & l2_lattices(A) ) ) ),
    file(lattices,l3_lattices),
    []).

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_lattices,axiom,(
    ! [A] : 
      ( l1_lattices(A)
     => ( v1_funct_1(u1_lattices(A))
        & v1_funct_2(u1_lattices(A),k2_zfmisc_1(u1_struct_0(A),u1_struct_0(A)),u1_struct_0(A))
        & m2_relset_1(u1_lattices(A),k2_zfmisc_1(u1_struct_0(A),u1_struct_0(A)),u1_struct_0(A)) ) ) ),
    file(lattices,u1_lattices),
    []).

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

fof(dt_u2_lattices,axiom,(
    ! [A] : 
      ( l2_lattices(A)
     => ( v1_funct_1(u2_lattices(A))
        & v1_funct_2(u2_lattices(A),k2_zfmisc_1(u1_struct_0(A),u1_struct_0(A)),u1_struct_0(A))
        & m2_relset_1(u2_lattices(A),k2_zfmisc_1(u1_struct_0(A),u1_struct_0(A)),u1_struct_0(A)) ) ) ),
    file(lattices,u2_lattices),
    []).

fof(existence_l1_lattices,axiom,(
    ? [A] : l1_lattices(A) ),
    file(lattices,l1_lattices),
    []).

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

fof(existence_l2_lattices,axiom,(
    ? [A] : l2_lattices(A) ),
    file(lattices,l2_lattices),
    []).

fof(existence_l3_lattices,axiom,(
    ? [A] : l3_lattices(A) ),
    file(lattices,l3_lattices),
    []).

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(fc1_finsub_1,axiom,(
    ! [A] : 
      ( ~ v1_xboole_0(k1_zfmisc_1(A))
      & v1_finsub_1(k1_zfmisc_1(A))
      & v3_finsub_1(k1_zfmisc_1(A))
      & v4_finsub_1(k1_zfmisc_1(A)) ) ),
    file(finsub_1,fc1_finsub_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(rc3_struct_0,axiom,(
    ? [A] : 
      ( l1_struct_0(A)
      & ~ v3_struct_0(A) ) ),
    file(struct_0,rc3_struct_0),
    []).

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(redefinition_k2_binop_1,axiom,(
    ! [A,B,C,D,E,F] : 
      ( ( ~ v1_xboole_0(A)
        & ~ v1_xboole_0(B)
        & v1_funct_1(D)
        & v1_funct_2(D,k2_zfmisc_1(A,B),C)
        & m1_relset_1(D,k2_zfmisc_1(A,B),C)
        & m1_subset_1(E,A)
        & m1_subset_1(F,B) )
     => k2_binop_1(A,B,C,D,E,F) = k1_binop_1(D,E,F) ) ),
    file(binop_1,k2_binop_1),
    []).

fof(redefinition_k4_lattices,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & v6_lattices(A)
        & l1_lattices(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => k4_lattices(A,B,C) = k2_lattices(A,B,C) ) ),
    file(lattices,k4_lattices),
    []).

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(reflexivity_r1_tarski,axiom,(
    ! [A,B] : r1_tarski(A,A) ),
    file(tarski,r1_tarski),
    []).

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

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(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),
    []).
