@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 : <http://www.agfa.com/w3c/euler/case001#>.
@prefix fl: <http://eulersharp.sourceforge.net/2003/03swap/fl-rules#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@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:component skolem:lemma3;
    r:component skolem:lemma4;
    r:component skolem:lemma5;
    r:component skolem:lemma6;
    r:component skolem:lemma7;
    r:component skolem:lemma8;
    r:gives {
        (:Ann :ChildAge) fl:pi 0.4167000000000005 .
        (:Ann :AdultAge) fl:pi 0.5832999999999995 .
        (:Ann owl:Thing) fl:pi 1.0 .
        (:Ann owl:Nothing) fl:pi 0.0 .
        (:Ann :NormalIntraocularPressure) fl:pi 0.42055693693538665 .
        (:Ann :IncreasedIntraocularPressure) fl:pi 0.5762688313443307 .
        (:Ann :NonNormalIntraocularPressure) fl:pi 0.5794430630646134 .
        (:Ann :NonIncreasedIntraocularPressure) fl:pi 0.4237311686556693 .
    }.

skolem:lemma1 a r:Inference;
    r:gives {
        (:Ann :ChildAge) fl:pi 0.4167000000000005 .
    };
    r:evidence (
        [ a r:Fact; r:gives {(:Ann :ChildAge) fl:pi 0.4167000000000005}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 0.4167000000000005];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#ChildAge"]];
    r:rule skolem:lemma9.

skolem:lemma2 a r:Inference;
    r:gives {
        (:Ann :AdultAge) fl:pi 0.5832999999999995 .
    };
    r:evidence (
        [ a r:Fact; r:gives {(:Ann :AdultAge) fl:pi 0.5832999999999995}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 0.5832999999999995];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#AdultAge"]];
    r:rule skolem:lemma9.

skolem:lemma3 a r:Inference;
    r:gives {
        (:Ann owl:Thing) fl:pi 1.0 .
    };
    r:evidence (
        [ a r:Fact; r:gives {(:Ann owl:Thing) fl:pi 1.0}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 1.0];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.w3.org/2002/07/owl#Thing"]];
    r:rule skolem:lemma9.

skolem:lemma4 a r:Inference;
    r:gives {
        (:Ann owl:Nothing) fl:pi 0.0 .
    };
    r:evidence (
        [ a r:Fact; r:gives {(:Ann owl:Nothing) fl:pi 0.0}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 0.0];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.w3.org/2002/07/owl#Nothing"]];
    r:rule skolem:lemma9.

skolem:lemma5 a r:Inference;
    r:gives {
        (:Ann :NormalIntraocularPressure) fl:pi 0.42055693693538665 .
    };
    r:evidence (
        [ a r:Fact; r:gives {(:Ann :NormalIntraocularPressure) fl:pi 0.42055693693538665}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 0.42055693693538665];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#NormalIntraocularPressure"]];
    r:rule skolem:lemma9.

skolem:lemma6 a r:Inference;
    r:gives {
        (:Ann :IncreasedIntraocularPressure) fl:pi 0.5762688313443307 .
    };
    r:evidence (
        [ a r:Fact; r:gives {(:Ann :IncreasedIntraocularPressure) fl:pi 0.5762688313443307}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 0.5762688313443307];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#IncreasedIntraocularPressure"]];
    r:rule skolem:lemma9.

skolem:lemma7 a r:Inference;
    r:gives {
        (:Ann :NonNormalIntraocularPressure) fl:pi 0.5794430630646134 .
    };
    r:evidence (
        skolem:lemma10
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 0.5794430630646134];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#NonNormalIntraocularPressure"]];
    r:rule skolem:lemma9.

skolem:lemma8 a r:Inference;
    r:gives {
        (:Ann :NonIncreasedIntraocularPressure) fl:pi 0.4237311686556693 .
    };
    r:evidence (
        skolem:lemma11
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo 0.4237311686556693];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#NonIncreasedIntraocularPressure"]];
    r:rule skolem:lemma9.

skolem:lemma9 a r:Extraction;
    r:gives {
        @forAll var:x_0, var:x_1, var:x_2. {
            (var:x_0 var:x_1) fl:pi var:x_2.
        } => {
            (var:x_0 var:x_1) fl:pi var:x_2.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/fcm/example003Q.n3>].

skolem:lemma10 a r:Inference;
    r:gives {
        (:Ann :NonNormalIntraocularPressure) fl:pi 0.5794430630646134 .
    };
    r:evidence (
        skolem:lemma12
        [ a r:Fact; r:gives {(:Ann :NormalIntraocularPressure) fl:pi 0.42055693693538665}]
        [ a r:Fact; r:gives {(1.0 0.42055693693538665) math:difference 0.5794430630646134}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#NonNormalIntraocularPressure"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#NormalIntraocularPressure"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_3"]; r:boundTo 0.42055693693538665];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_4"]; r:boundTo 0.5794430630646134];
    r:rule skolem:lemma13.

skolem:lemma11 a r:Inference;
    r:gives {
        (:Ann :NonIncreasedIntraocularPressure) fl:pi 0.4237311686556693 .
    };
    r:evidence (
        skolem:lemma14
        [ a r:Fact; r:gives {(:Ann :IncreasedIntraocularPressure) fl:pi 0.5762688313443307}]
        [ a r:Fact; r:gives {(1.0 0.5762688313443307) math:difference 0.4237311686556693}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#NonIncreasedIntraocularPressure"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#IncreasedIntraocularPressure"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_3"]; r:boundTo 0.5762688313443307];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo [ n3:uri "http://www.agfa.com/w3c/euler/case001#Ann"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_4"]; r:boundTo 0.4237311686556693];
    r:rule skolem:lemma13.

skolem:lemma12 a r:Extraction;
    r:gives {
        :NonNormalIntraocularPressure owl:complementOf :NormalIntraocularPressure.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/fcm/example002P.n3>].

skolem:lemma13 a r:Extraction;
    r:gives {
        @forAll var:x_0, var:x_1, var:x_2, var:x_3, var:x_4. {
            var:x_0 owl:complementOf var:x_1.
            (var:x_2 var:x_1) fl:pi var:x_3.
            (1.0 var:x_3) math:difference var:x_4.
        } => {
            (var:x_2 var:x_0) fl:pi var:x_4.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/fcm/fl-rules.n3>].

skolem:lemma14 a r:Extraction;
    r:gives {
        :NonIncreasedIntraocularPressure owl:complementOf :IncreasedIntraocularPressure.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/fcm/example002P.n3>].

