#Processed by EYE v20.0225.2300 josd
#eye --no-genid --wcache http://josd.github.io/eye/reasoning/c2d . http://josd.github.io/eye/reasoning/c2d/train_data.n3 http://josd.github.io/eye/reasoning/c2d/background_rules.n3 http://josd.github.io/eye/reasoning/c2d/train_rules.n3 --query http://josd.github.io/eye/reasoning/c2d/train_query.n3

@prefix : <http://josd.github.io/eye/reasoning#>.
@prefix list: <http://www.w3.org/2000/10/swap/list#>.
@prefix c2d: <http://josd.github.io/eye/reasoning/c2d#>.
@prefix math: <http://www.w3.org/2000/10/swap/math#>.
@prefix e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>.
@prefix r: <http://www.w3.org/2000/10/swap/reason#>.
@prefix var: <http://josd.github.io/var#>.
@prefix n3: <http://www.w3.org/2004/06/rei#>.

[] a r:Proof, r:Conjunction;
  r:component <#lemma1>;
  r:component <#lemma2>;
  r:component <#lemma3>;
  r:component <#lemma4>;
  r:component <#lemma5>;
  r:component <#lemma6>;
  r:component <#lemma7>;
  r:component <#lemma8>;
  r:component <#lemma9>;
  r:component <#lemma10>;
  r:component <#lemma11>;
  r:component <#lemma12>;
  r:component <#lemma13>;
  r:component <#lemma14>;
  r:component <#lemma15>;
  r:component <#lemma16>;
  r:component <#lemma17>;
  r:gives {
    (:input1 "abc") c2d:model (:output1 2 3).
    (:input1 "xyz") c2d:model (:output1 2 1).
    (:input2 40) c2d:model (:output1 3 0).
    (:input2 60) c2d:model (:output1 2 4).
    (:input3 (0 1)) c2d:model (:output1 2 2).
    (:input3 (2 3)) c2d:model (:output1 1 3).
    (:input4 :v1) c2d:model (:output1 2 0).
    (:input4 :v2) c2d:model (:output1 1 1).
    (:input4 :v4) c2d:model (:output1 1 1).
    (:input4 :v3) c2d:model (:output1 1 2).
    (:input5 "b") c2d:model (:output1 2 0).
    (:input5 "c") c2d:model (:output1 0 3).
    (:input5 "a") c2d:model (:output1 1 1).
    (:input10 ("abc" 40)) c2d:model (:output1 1 0).
    (:input10 ("xyz" 60)) c2d:model (:output1 1 1).
    (:input10 ("abc" 60)) c2d:model (:output1 1 2).
    (:input10 ("xyz" 40)) c2d:model (:output1 1 0).
  }.

<#lemma1> a r:Inference;
  r:gives {
    (:input1 "abc") c2d:model (:output1 2 3).
  };
  r:evidence (
    <#lemma18>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_0 :input1 "abc".
     _:sk_0 :output1 1} (1 1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_0 :input1 "abc".
     _:sk_0 :output1 0} (1 1 1))}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
    [ a r:Fact; r:gives {(1 1 1) math:sum 3}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "abc"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_0"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1 1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 2];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 3];
  r:rule <#lemma19>.

<#lemma2> a r:Inference;
  r:gives {
    (:input1 "xyz") c2d:model (:output1 2 1).
  };
  r:evidence (
    <#lemma20>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_1 :input1 "xyz".
     _:sk_1 :output1 1} (1 1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_1 :input1 "xyz".
     _:sk_1 :output1 0} (1))}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "xyz"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 2];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 1];
  r:rule <#lemma19>.

<#lemma3> a r:Inference;
  r:gives {
    (:input2 40) c2d:model (:output1 3 0).
  };
  r:evidence (
    <#lemma21>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_2 :input2 40 .
     _:sk_2 :output1 1} (1 1 1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_2 :input2 40 .
     _:sk_2 :output1 0} ())}]
    [ a r:Fact; r:gives {(1 1 1) math:sum 3}]
    [ a r:Fact; r:gives {() math:sum 0}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo 40];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1 1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo ()];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 3];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 0];
  r:rule <#lemma19>.

<#lemma4> a r:Inference;
  r:gives {
    (:input2 60) c2d:model (:output1 2 4).
  };
  r:evidence (
    <#lemma22>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_3 :input2 60 .
     _:sk_3 :output1 1} (1 1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_3 :input2 60 .
     _:sk_3 :output1 0} (1 1 1 1))}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
    [ a r:Fact; r:gives {(1 1 1 1) math:sum 4}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo 60];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_3"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1 1 1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 2];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 4];
  r:rule <#lemma19>.

<#lemma5> a r:Inference;
  r:gives {
    (:input3 (0 1)) c2d:model (:output1 2 2).
  };
  r:evidence (
    <#lemma23>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_4 :input3 (0 1).
     _:sk_4 :output1 1} (1 1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_4 :input3 (0 1).
     _:sk_4 :output1 0} (1 1))}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input3"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo (0 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 2];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 2];
  r:rule <#lemma19>.

<#lemma6> a r:Inference;
  r:gives {
    (:input3 (2 3)) c2d:model (:output1 1 3).
  };
  r:evidence (
    <#lemma24>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_5 :input3 (2 3).
     _:sk_5 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_5 :input3 (2 3).
     _:sk_5 :output1 0} (1 1 1))}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {(1 1 1) math:sum 3}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input3"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo (2 3)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1 1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 3];
  r:rule <#lemma19>.

<#lemma7> a r:Inference;
  r:gives {
    (:input4 :v1) c2d:model (:output1 2 0).
  };
  r:evidence (
    <#lemma25>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_6 :input4 :v1.
     _:sk_6 :output1 1} (1 1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_6 :input4 :v1.
     _:sk_6 :output1 0} ())}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
    [ a r:Fact; r:gives {() math:sum 0}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#v1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_6"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo ()];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 2];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 0];
  r:rule <#lemma19>.

<#lemma8> a r:Inference;
  r:gives {
    (:input4 :v2) c2d:model (:output1 1 1).
  };
  r:evidence (
    <#lemma26>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_7 :input4 :v2.
     _:sk_7 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_7 :input4 :v2.
     _:sk_7 :output1 0} (1))}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#v2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_7"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 1];
  r:rule <#lemma19>.

<#lemma9> a r:Inference;
  r:gives {
    (:input4 :v4) c2d:model (:output1 1 1).
  };
  r:evidence (
    <#lemma27>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_8 :input4 :v4.
     _:sk_8 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_8 :input4 :v4.
     _:sk_8 :output1 0} (1))}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#v4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_8"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 1];
  r:rule <#lemma19>.

<#lemma10> a r:Inference;
  r:gives {
    (:input4 :v3) c2d:model (:output1 1 2).
  };
  r:evidence (
    <#lemma28>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_9 :input4 :v3.
     _:sk_9 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_9 :input4 :v3.
     _:sk_9 :output1 0} (1 1))}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#v3"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_9"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 2];
  r:rule <#lemma19>.

<#lemma11> a r:Inference;
  r:gives {
    (:input5 "b") c2d:model (:output1 2 0).
  };
  r:evidence (
    <#lemma29>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_10 :input5 "b".
     _:sk_10 :output1 1} (1 1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_10 :input5 "b".
     _:sk_10 :output1 0} ())}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
    [ a r:Fact; r:gives {() math:sum 0}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "b"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo ()];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 2];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 0];
  r:rule <#lemma19>.

<#lemma12> a r:Inference;
  r:gives {
    (:input5 "c") c2d:model (:output1 0 3).
  };
  r:evidence (
    <#lemma30>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_11 :input5 "c".
     _:sk_11 :output1 1} ())}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_11 :input5 "c".
     _:sk_11 :output1 0} (1 1 1))}]
    [ a r:Fact; r:gives {() math:sum 0}]
    [ a r:Fact; r:gives {(1 1 1) math:sum 3}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "c"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_11"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo ()];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1 1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 0];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 3];
  r:rule <#lemma19>.

<#lemma13> a r:Inference;
  r:gives {
    (:input5 "a") c2d:model (:output1 1 1).
  };
  r:evidence (
    <#lemma31>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_12 :input5 "a".
     _:sk_12 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_12 :input5 "a".
     _:sk_12 :output1 0} (1))}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "a"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_12"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 1];
  r:rule <#lemma19>.

<#lemma14> a r:Inference;
  r:gives {
    (:input10 ("abc" 40)) c2d:model (:output1 1 0).
  };
  r:evidence (
    <#lemma32>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_13 :input10 ("abc" 40).
     _:sk_13 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_13 :input10 ("abc" 40).
     _:sk_13 :output1 0} ())}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {() math:sum 0}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo ("abc" 40)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_13"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo ()];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 0];
  r:rule <#lemma19>.

<#lemma15> a r:Inference;
  r:gives {
    (:input10 ("xyz" 60)) c2d:model (:output1 1 1).
  };
  r:evidence (
    <#lemma33>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_14 :input10 ("xyz" 60).
     _:sk_14 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_14 :input10 ("xyz" 60).
     _:sk_14 :output1 0} (1))}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo ("xyz" 60)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_14"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 1];
  r:rule <#lemma19>.

<#lemma16> a r:Inference;
  r:gives {
    (:input10 ("abc" 60)) c2d:model (:output1 1 2).
  };
  r:evidence (
    <#lemma34>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_15 :input10 ("abc" 60).
     _:sk_15 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_15 :input10 ("abc" 60).
     _:sk_15 :output1 0} (1 1))}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {(1 1) math:sum 2}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo ("abc" 60)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_15"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo (1 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 2];
  r:rule <#lemma19>.

<#lemma17> a r:Inference;
  r:gives {
    (:input10 ("xyz" 40)) c2d:model (:output1 1 0).
  };
  r:evidence (
    <#lemma35>
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_16 :input10 ("xyz" 40).
     _:sk_16 :output1 1} (1))}]
    [ a r:Fact; r:gives {((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1) e:findall (1 {_:sk_16 :input10 ("xyz" 40).
     _:sk_16 :output1 0} ())}]
    [ a r:Fact; r:gives {(1) math:sum 1}]
    [ a r:Fact; r:gives {() math:sum 0}]
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#output1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo ("xyz" 40)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_3"]; r:boundTo ((<http://josd.github.io/eye/reasoning/c2d/train_data.n3> <http://josd.github.io/eye/reasoning/c2d/background_rules.n3> <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>) 1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_4"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_16"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_5"]; r:boundTo (1)];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_6"]; r:boundTo ()];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_7"]; r:boundTo 1];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_8"]; r:boundTo 0];
  r:rule <#lemma19>.

<#lemma18> a r:Inference;
  r:gives {
    (:input1 "abc") c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input1}]
    <#lemma36>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo "abc"];
  r:rule <#lemma37>.

<#lemma19> a r:Extraction;
  r:gives {
    @forAll var:x_0, var:x_1, var:x_2, var:x_3, var:x_4, var:x_5, var:x_6, var:x_7, var:x_8. {(var:x_0 var:x_1) c2d:output var:x_2.
     var:x_3 e:findall (1 {var:x_4 var:x_0 var:x_1.
      var:x_4 var:x_2 1} var:x_5).
     var:x_3 e:findall (1 {var:x_4 var:x_0 var:x_1.
      var:x_4 var:x_2 0} var:x_6).
     var:x_5 math:sum var:x_7.
     var:x_6 math:sum var:x_8} => {(var:x_0 var:x_1) c2d:model (var:x_2 var:x_7 var:x_8)}.
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_query.n3>].

<#lemma20> a r:Inference;
  r:gives {
    (:input1 "xyz") c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input1}]
    <#lemma38>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo "xyz"];
  r:rule <#lemma37>.

<#lemma21> a r:Inference;
  r:gives {
    (:input2 40) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input2}]
    <#lemma39>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo 40];
  r:rule <#lemma37>.

<#lemma22> a r:Inference;
  r:gives {
    (:input2 60) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input2}]
    <#lemma40>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo 60];
  r:rule <#lemma37>.

<#lemma23> a r:Inference;
  r:gives {
    (:input3 (0 1)) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input3}]
    <#lemma41>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input3"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo (0 1)];
  r:rule <#lemma37>.

<#lemma24> a r:Inference;
  r:gives {
    (:input3 (2 3)) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input3}]
    <#lemma42>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input3"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo (2 3)];
  r:rule <#lemma37>.

<#lemma25> a r:Inference;
  r:gives {
    (:input4 :v1) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input4}]
    <#lemma43>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#v1"]];
  r:rule <#lemma37>.

<#lemma26> a r:Inference;
  r:gives {
    (:input4 :v2) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input4}]
    <#lemma44>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#v2"]];
  r:rule <#lemma37>.

<#lemma27> a r:Inference;
  r:gives {
    (:input4 :v4) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input4}]
    <#lemma45>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#v4"]];
  r:rule <#lemma37>.

<#lemma28> a r:Inference;
  r:gives {
    (:input4 :v3) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input4}]
    <#lemma46>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_6"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#v3"]];
  r:rule <#lemma37>.

<#lemma29> a r:Inference;
  r:gives {
    (:input5 "b") c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input5}]
    <#lemma47>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo "b"];
  r:rule <#lemma37>.

<#lemma30> a r:Inference;
  r:gives {
    (:input5 "c") c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input5}]
    <#lemma48>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_2"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo "c"];
  r:rule <#lemma37>.

<#lemma31> a r:Inference;
  r:gives {
    (:input5 "a") c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input5}]
    <#lemma49>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_3"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo "a"];
  r:rule <#lemma37>.

<#lemma32> a r:Inference;
  r:gives {
    (:input10 ("abc" 40)) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input10}]
    <#lemma50>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo ("abc" 40)];
  r:rule <#lemma37>.

<#lemma33> a r:Inference;
  r:gives {
    (:input10 ("xyz" 60)) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input10}]
    <#lemma51>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo ("xyz" 60)];
  r:rule <#lemma37>.

<#lemma34> a r:Inference;
  r:gives {
    (:input10 ("abc" 60)) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input10}]
    <#lemma52>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo ("abc" 60)];
  r:rule <#lemma37>.

<#lemma35> a r:Inference;
  r:gives {
    (:input10 ("xyz" 40)) c2d:output :output1.
  };
  r:evidence (
    [ a r:Fact; r:gives {(:input1 :input2 :input3 :input4 :input5 :input10) list:member :input10}]
    <#lemma53>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ n3:uri "http://josd.github.io/eye/reasoning#input10"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_8"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo ("xyz" 40)];
  r:rule <#lemma37>.

<#lemma36> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_1> :input1 "abc".
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma37> a r:Extraction;
  r:gives {
    @forAll var:x_0, var:x_1, var:x_2. {(:input1 :input2 :input3 :input4 :input5 :input10) list:member var:x_0.
     var:x_1 var:x_0 var:x_2} => {(var:x_0 var:x_2) c2d:output :output1}.
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_rules.n3>].

<#lemma38> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_4> :input1 "xyz".
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma39> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_1> :input2 40 .
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma40> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_4> :input2 60 .
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma41> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_1> :input3 (0 1).
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma42> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_2> :input3 (2 3).
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma43> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_1> :input4 :v1.
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma44> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_2> :input4 :v2.
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma45> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_5> :input4 :v4.
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma46> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_6> :input4 :v3.
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma47> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_1> :input5 "b".
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma48> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_2> :input5 "c".
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma49> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_3> :input5 "a".
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma50> a r:Inference;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_1> :input10 ("abc" 40).
  };
  r:evidence (
    <#lemma36>
    <#lemma39>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_1"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "abc"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo 40];
  r:rule <#lemma54>.

<#lemma51> a r:Inference;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_4> :input10 ("xyz" 60).
  };
  r:evidence (
    <#lemma38>
    <#lemma40>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_4"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "xyz"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo 60];
  r:rule <#lemma54>.

<#lemma52> a r:Inference;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_5> :input10 ("abc" 60).
  };
  r:evidence (
    <#lemma55>
    <#lemma56>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_5"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "abc"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo 60];
  r:rule <#lemma54>.

<#lemma53> a r:Inference;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_8> :input10 ("xyz" 40).
  };
  r:evidence (
    <#lemma57>
    <#lemma58>
  );
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_0"]; r:boundTo [ a r:Existential; n3:nodeId "http://josd.github.io/.well-known/genid/#bn_8"]];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_1"]; r:boundTo "xyz"];
  r:binding [ r:variable [ n3:uri "http://josd.github.io/var#x_2"]; r:boundTo 40];
  r:rule <#lemma54>.

<#lemma54> a r:Extraction;
  r:gives {
    @forAll var:x_0, var:x_1, var:x_2. {var:x_0 :input1 var:x_1.
     var:x_0 :input2 var:x_2} => {var:x_0 :input10 (var:x_1 var:x_2)}.
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/background_rules.n3>].

<#lemma55> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_5> :input1 "abc".
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma56> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_5> :input2 60 .
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma57> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_8> :input1 "xyz".
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

<#lemma58> a r:Extraction;
  r:gives {
    <http://josd.github.io/.well-known/genid/#bn_8> :input2 40 .
  };
  r:because [ a r:Parsing; r:source <http://josd.github.io/eye/reasoning/c2d/train_data.n3>].

#2020-03-01T20:09:01.701Z in=54 out=17 ent=41 step=254 brake=4 inf=179531 sec=0.157 inf/sec=1143510
#ENDS

