@prefix skolem: <https://eyereasoner.github.io/.well-known/genid/8b98b360-9a70-4845-b52c-c675af60ad01#>.
@prefix r: <http://www.w3.org/2000/10/swap/reason#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix : <https://eyereasoner.github.io/eye/reasoning/cs#>.
@prefix n3: <http://www.w3.org/2004/06/rei#>.
@prefix var: <http://www.w3.org/2000/10/swap/var#>.
@prefix math: <http://www.w3.org/2000/10/swap/math#>.

skolem:proof a r:Proof, r:Conjunction;
    r:component skolem:lemma1;
    r:component skolem:lemma2;
    r:gives [ log:graph (
        [ log:triple (:actuator1 :control1 39.27346198678276)] 
        [ log:triple (:actuator2 :control1 26.08)] 
    )].

skolem:lemma1 a r:Inference;
    r:gives [ log:graph (
        [ log:triple (:actuator1 :control1 39.27346198678276)] 
    )];
    r:evidence (
        skolem:lemma3
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/eye/reasoning/cs#actuator1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo 39.27346198678276];
    r:rule [ a r:Fact; r:gives [ log:graph ([ log:triple ([ log:graph (
        [ log:triple (var:x_0 :control1 var:x_1)]
    )] log:implies [ log:graph (
        [ log:triple (var:x_0 :control1 var:x_1)]
    )])])]].

skolem:lemma2 a r:Inference;
    r:gives [ log:graph (
        [ log:triple (:actuator2 :control1 26.08)] 
    )];
    r:evidence (
        skolem:lemma4
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/eye/reasoning/cs#actuator2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo 26.08];
    r:rule [ a r:Fact; r:gives [ log:graph ([ log:triple ([ log:graph (
        [ log:triple (var:x_0 :control1 var:x_1)]
    )] log:implies [ log:graph (
        [ log:triple (var:x_0 :control1 var:x_1)]
    )])])]].

skolem:lemma3 a r:Inference;
    r:gives [ log:graph (
        [ log:triple (:actuator1 :control1 39.27346198678276)] 
    )];
    r:evidence (
        [ a r:Fact; r:gives [ log:graph ([ log:triple (:input1 :measurement10 2.23606797749979)])]]
        skolem:lemma5
        skolem:lemma6
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((2.23606797749979 19.6) math:product 43.82693235899588)])]]
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((10 4.553470372213121) math:exponentiation 35766)])]]
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((43.82693235899588 4.553470372213121) math:difference 39.27346198678276)])]]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo 2.23606797749979];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo 35766];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 43.82693235899588];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_3"]; r:boundTo 4.553470372213121];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_4"]; r:boundTo 39.27346198678276];
    r:rule [ a r:Fact; r:gives [ log:graph ([ log:triple ([ log:graph (
        [ log:triple (:input1 :measurement10 var:x_0)]
        [ log:triple (:input2 :measurement2 true)]
        [ log:triple (:disturbance1 :measurement3 var:x_1)]
        [ log:triple ((var:x_0 19.6) math:product var:x_2)]
        [ log:triple ((10 var:x_3) math:exponentiation var:x_1)]
        [ log:triple ((var:x_2 var:x_3) math:difference var:x_4)]
    )] log:implies [ log:graph (
        [ log:triple (:actuator1 :control1 var:x_4)]
    )])])]].

skolem:lemma4 a r:Inference;
    r:gives [ log:graph (
        [ log:triple (:actuator2 :control1 26.08)] 
    )];
    r:evidence (
        skolem:lemma7
        skolem:lemma8
        skolem:lemma9
        skolem:lemma10
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((29 24) math:difference 5)])]]
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((22 24) math:difference -2)])]]
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((5.8 5) math:product 29.0)])]]
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((7.3 5) math:quotient 1.46)])]]
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((1.46 -2) math:product -2.92)])]]
        [ a r:Fact; r:gives [ log:graph ([ log:triple ((29.0 -2.92) math:sum 26.08)])]]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo 56967];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo 22];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 24];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_3"]; r:boundTo 29];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_4"]; r:boundTo 5];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_5"]; r:boundTo -2];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_6"]; r:boundTo 29.0];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_7"]; r:boundTo 1.46];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_8"]; r:boundTo -2.92];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_9"]; r:boundTo 26.08];
    r:rule [ a r:Fact; r:gives [ log:graph ([ log:triple ([ log:graph (
        [ log:triple (:input3 :measurement3 var:x_0)]
        [ log:triple (:state3 :observation3 var:x_1)]
        [ log:triple (:output2 :measurement4 var:x_2)]
        [ log:triple (:output2 :target2 var:x_3)]
        [ log:triple ((var:x_3 var:x_2) math:difference var:x_4)]
        [ log:triple ((var:x_1 var:x_2) math:difference var:x_5)]
        [ log:triple ((5.8 var:x_4) math:product var:x_6)]
        [ log:triple ((7.3 var:x_4) math:quotient var:x_7)]
        [ log:triple ((var:x_7 var:x_5) math:product var:x_8)]
        [ log:triple ((var:x_6 var:x_8) math:sum var:x_9)]
    )] log:implies [ log:graph (
        [ log:triple (:actuator2 :control1 var:x_9)]
    )])])]].

skolem:lemma5 a r:Extraction;
    r:gives [ log:graph (
        [ log:triple (:input2 :measurement2 true)]
    )];
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/arcus/control-system/control-system.ttl>].

skolem:lemma6 a r:Extraction;
    r:gives [ log:graph (
        [ log:triple (:disturbance1 :measurement3 35766)] 
    )];
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/arcus/control-system/control-system.ttl>].

skolem:lemma7 a r:Extraction;
    r:gives [ log:graph (
        [ log:triple (:input3 :measurement3 56967)] 
    )];
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/arcus/control-system/control-system.ttl>].

skolem:lemma8 a r:Extraction;
    r:gives [ log:graph (
        [ log:triple (:state3 :observation3 22)] 
    )];
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/arcus/control-system/control-system.ttl>].

skolem:lemma9 a r:Extraction;
    r:gives [ log:graph (
        [ log:triple (:output2 :measurement4 24)] 
    )];
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/arcus/control-system/control-system.ttl>].

skolem:lemma10 a r:Extraction;
    r:gives [ log:graph (
        [ log:triple (:output2 :target2 29)] 
    )];
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/arcus/control-system/control-system.ttl>].

