% Mizar problem: t40_yellow_0,yellow_0,1117,78 
fof(t40_yellow_0,conjecture,(
    ! [A] : 
      ( ( v2_orders_2(A)
        & v3_orders_2(A)
        & v4_orders_2(A)
        & v2_lattice3(A)
        & l1_orders_2(A) )
     => ! [B] : 
          ( m1_subset_1(B,u1_struct_0(A))
         => ! [C] : 
              ( m1_subset_1(C,u1_struct_0(A))
             => k2_yellow_0(A,k2_struct_0(A,B,C)) = k12_lattice3(A,B,C) ) ) ) ),
    inference(mizar_bg_added,[status(thm)],[antisymmetry_r2_hidden,cc1_finset_1,cc2_finset_1,cc2_lattice3,commutativity_k12_lattice3,commutativity_k2_struct_0,commutativity_k2_tarski,d10_yellow_0,dt_k11_lattice3,dt_k12_lattice3,dt_k1_xboole_0,dt_k1_zfmisc_1,dt_k2_struct_0,dt_k2_tarski,dt_k2_yellow_0,dt_l1_orders_2,dt_l1_struct_0,dt_m1_subset_1,dt_u1_struct_0,existence_l1_orders_2,existence_l1_struct_0,existence_m1_subset_1,fc1_struct_0,fc1_xboole_0,fc2_finset_1,rc1_finset_1,rc1_xboole_0,rc2_xboole_0,rc3_finset_1,rc3_struct_0,rc4_finset_1,rc5_struct_0,redefinition_k12_lattice3,redefinition_k2_struct_0,redefinition_r3_orders_2,reflexivity_r1_tarski,reflexivity_r3_orders_2,t16_yellow_0,t1_subset,t23_yellow_0,t2_subset,t3_subset,t4_subset,t5_subset,t6_boole,t7_boole,t8_boole,t8_yellow_0]),
    [file(yellow_0,t40_yellow_0)]).

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

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

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_lattice3,axiom,(
    ! [A] : 
      ( l1_orders_2(A)
     => ( v2_lattice3(A)
       => ~ v3_struct_0(A) ) ) ),
    file(lattice3,cc2_lattice3),
    []).

fof(commutativity_k12_lattice3,axiom,(
    ! [A,B,C] : 
      ( ( v4_orders_2(A)
        & v2_lattice3(A)
        & l1_orders_2(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => k12_lattice3(A,B,C) = k12_lattice3(A,C,B) ) ),
    file(lattice3,k12_lattice3),
    []).

fof(commutativity_k2_struct_0,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & l1_struct_0(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => k2_struct_0(A,B,C) = k2_struct_0(A,C,B) ) ),
    file(struct_0,k2_struct_0),
    []).

fof(commutativity_k2_tarski,axiom,(
    ! [A,B] : k2_tarski(A,B) = k2_tarski(B,A) ),
    file(tarski,k2_tarski),
    []).

fof(d10_yellow_0,axiom,(
    ! [A] : 
      ( l1_orders_2(A)
     => ! [B,C] : 
          ( m1_subset_1(C,u1_struct_0(A))
         => ( r2_yellow_0(A,B)
           => ( C = k2_yellow_0(A,B)
            <=> ( r1_lattice3(A,B,C)
                & ! [D] : 
                    ( m1_subset_1(D,u1_struct_0(A))
                   => ( r1_lattice3(A,B,D)
                     => r1_orders_2(A,D,C) ) ) ) ) ) ) ) ),
    file(yellow_0,d10_yellow_0),
    []).

fof(dt_k11_lattice3,axiom,(
    ! [A,B,C] : 
      ( ( l1_orders_2(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => m1_subset_1(k11_lattice3(A,B,C),u1_struct_0(A)) ) ),
    file(lattice3,k11_lattice3),
    []).

fof(dt_k12_lattice3,axiom,(
    ! [A,B,C] : 
      ( ( v4_orders_2(A)
        & v2_lattice3(A)
        & l1_orders_2(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => m1_subset_1(k12_lattice3(A,B,C),u1_struct_0(A)) ) ),
    file(lattice3,k12_lattice3),
    []).

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_struct_0,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & l1_struct_0(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => m1_subset_1(k2_struct_0(A,B,C),k1_zfmisc_1(u1_struct_0(A))) ) ),
    file(struct_0,k2_struct_0),
    []).

fof(dt_k2_tarski,axiom,(
    $true ),
    file(tarski,k2_tarski),
    []).

fof(dt_k2_yellow_0,axiom,(
    ! [A,B] : 
      ( l1_orders_2(A)
     => m1_subset_1(k2_yellow_0(A,B),u1_struct_0(A)) ) ),
    file(yellow_0,k2_yellow_0),
    []).

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_subset_1,axiom,(
    $true ),
    file(subset_1,m1_subset_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_subset_1,axiom,(
    ! [A] : 
    ? [B] : m1_subset_1(B,A) ),
    file(subset_1,m1_subset_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_xboole_0,axiom,(
    v1_xboole_0(k1_xboole_0) ),
    file(xboole_0,fc1_xboole_0),
    []).

fof(fc2_finset_1,axiom,(
    ! [A,B] : 
      ( ~ v1_xboole_0(k2_tarski(A,B))
      & v1_finset_1(k2_tarski(A,B)) ) ),
    file(finset_1,fc2_finset_1),
    []).

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

fof(rc1_xboole_0,axiom,(
    ? [A] : v1_xboole_0(A) ),
    file(xboole_0,rc1_xboole_0),
    []).

fof(rc2_xboole_0,axiom,(
    ? [A] : ~ v1_xboole_0(A) ),
    file(xboole_0,rc2_xboole_0),
    []).

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(redefinition_k12_lattice3,axiom,(
    ! [A,B,C] : 
      ( ( v4_orders_2(A)
        & v2_lattice3(A)
        & l1_orders_2(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => k12_lattice3(A,B,C) = k11_lattice3(A,B,C) ) ),
    file(lattice3,k12_lattice3),
    []).

fof(redefinition_k2_struct_0,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & l1_struct_0(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => k2_struct_0(A,B,C) = k2_tarski(B,C) ) ),
    file(struct_0,k2_struct_0),
    []).

fof(redefinition_r3_orders_2,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & v2_orders_2(A)
        & l1_orders_2(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => ( r3_orders_2(A,B,C)
      <=> r1_orders_2(A,B,C) ) ) ),
    file(orders_2,r3_orders_2),
    []).

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

fof(reflexivity_r3_orders_2,axiom,(
    ! [A,B,C] : 
      ( ( ~ v3_struct_0(A)
        & v2_orders_2(A)
        & l1_orders_2(A)
        & m1_subset_1(B,u1_struct_0(A))
        & m1_subset_1(C,u1_struct_0(A)) )
     => r3_orders_2(A,B,B) ) ),
    file(orders_2,r3_orders_2),
    []).

fof(t16_yellow_0,axiom,(
    ! [A] : 
      ( ( v4_orders_2(A)
        & l1_orders_2(A) )
     => ! [B] : 
          ( r2_yellow_0(A,B)
        <=> ? [C] : 
              ( m1_subset_1(C,u1_struct_0(A))
              & r1_lattice3(A,B,C)
              & ! [D] : 
                  ( m1_subset_1(D,u1_struct_0(A))
                 => ( r1_lattice3(A,B,D)
                   => r1_orders_2(A,D,C) ) ) ) ) ) ),
    file(yellow_0,t16_yellow_0),
    []).

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

fof(t23_yellow_0,axiom,(
    ! [A] : 
      ( ( v4_orders_2(A)
        & v2_lattice3(A)
        & l1_orders_2(A) )
     => ! [B] : 
          ( m1_subset_1(B,u1_struct_0(A))
         => ! [C] : 
              ( m1_subset_1(C,u1_struct_0(A))
             => ! [D] : 
                  ( m1_subset_1(D,u1_struct_0(A))
                 => ( D = k12_lattice3(A,B,C)
                  <=> ( r1_orders_2(A,D,B)
                      & r1_orders_2(A,D,C)
                      & ! [E] : 
                          ( m1_subset_1(E,u1_struct_0(A))
                         => ( ( r1_orders_2(A,E,B)
                              & r1_orders_2(A,E,C) )
                           => r1_orders_2(A,E,D) ) ) ) ) ) ) ) ) ),
    file(yellow_0,t23_yellow_0),
    []).

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

fof(t8_yellow_0,axiom,(
    ! [A] : 
      ( l1_orders_2(A)
     => ! [B] : 
          ( m1_subset_1(B,u1_struct_0(A))
         => ! [C] : 
              ( m1_subset_1(C,u1_struct_0(A))
             => ! [D] : 
                  ( m1_subset_1(D,u1_struct_0(A))
                 => ( ( r1_lattice3(A,k2_tarski(C,D),B)
                     => ( r1_orders_2(A,B,C)
                        & r1_orders_2(A,B,D) ) )
                    & ( ( r1_orders_2(A,B,C)
                        & r1_orders_2(A,B,D) )
                     => r1_lattice3(A,k2_tarski(C,D),B) )
                    & ( r2_lattice3(A,k2_tarski(C,D),B)
                     => ( r1_orders_2(A,C,B)
                        & r1_orders_2(A,D,B) ) )
                    & ( ( r1_orders_2(A,C,B)
                        & r1_orders_2(A,D,B) )
                     => r2_lattice3(A,k2_tarski(C,D),B) ) ) ) ) ) ) ),
    file(yellow_0,t8_yellow_0),
    []).
