@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 : <https://eyereasoner.github.io/ns#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix n3: <http://www.w3.org/2004/06/rei#>.
@prefix var: <http://www.w3.org/2000/10/swap/var#>.

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 {
        {
            :alcoholicBeverage :sellingTo :adult.
        } log:isPermittedIn :normativeWorld1.
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isPermittedIn :normativeWorld1.
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isPermittedIn :normativeWorld2.
        {
            :alcoholicBeverage :sellingTo :adult.
        } log:isPermittedIn :normativeWorld2.
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isObligatoryIn :normativeWorld1.
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isObligatoryIn :normativeWorld2.
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } log:isForbiddenIn :normativeWorld1.
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } log:isForbiddenIn :normativeWorld2.
    }.

skolem:lemma1 a r:Inference;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :adult.
        } log:isPermittedIn :normativeWorld1.
    };
    r:evidence (
        skolem:lemma9
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
        :alcoholicBeverage :sellingTo :adult.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:rule skolem:lemma10.

skolem:lemma2 a r:Inference;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isPermittedIn :normativeWorld1.
    };
    r:evidence (
        skolem:lemma11
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } => false.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:rule skolem:lemma10.

skolem:lemma3 a r:Inference;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isPermittedIn :normativeWorld2.
    };
    r:evidence (
        skolem:lemma12
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } => false.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:rule skolem:lemma10.

skolem:lemma4 a r:Inference;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :adult.
        } log:isPermittedIn :normativeWorld2.
    };
    r:evidence (
        skolem:lemma13
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
        :alcoholicBeverage :sellingTo :adult.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:rule skolem:lemma10.

skolem:lemma5 a r:Inference;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isObligatoryIn :normativeWorld1.
    };
    r:evidence (
        skolem:lemma14
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } => false.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:rule skolem:lemma15.

skolem:lemma6 a r:Inference;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isObligatoryIn :normativeWorld2.
    };
    r:evidence (
        skolem:lemma16
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } => false.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:rule skolem:lemma15.

skolem:lemma7 a r:Inference;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } log:isForbiddenIn :normativeWorld1.
    };
    r:evidence (
        skolem:lemma17
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
        :alcoholicBeverage :sellingTo :nonAdult.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:rule skolem:lemma18.

skolem:lemma8 a r:Inference;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } log:isForbiddenIn :normativeWorld2.
    };
    r:evidence (
        skolem:lemma19
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo {
        :alcoholicBeverage :sellingTo :nonAdult.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:rule skolem:lemma18.

skolem:lemma9 a r:Inference;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :adult.
        } log:isPermittedIn :normativeWorld1.
    };
    r:evidence (
        skolem:lemma20
        skolem:lemma21
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
        :alcoholicBeverage :sellingTo :adult.
    }];
    r:rule skolem:lemma22.

skolem:lemma10 a r:Extraction;
    r:gives {
        @forAll var:x_0, var:x_1. {
            var:x_0 log:isPermittedIn var:x_1.
        } => {
            var:x_0 log:isPermittedIn var:x_1.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic-query.n3>].

skolem:lemma11 a r:Inference;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isPermittedIn :normativeWorld1.
    };
    r:evidence (
        skolem:lemma20
        skolem:lemma23
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } => false.
    }];
    r:rule skolem:lemma22.

skolem:lemma12 a r:Inference;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isPermittedIn :normativeWorld2.
    };
    r:evidence (
        skolem:lemma24
        skolem:lemma25
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } => false.
    }];
    r:rule skolem:lemma22.

skolem:lemma13 a r:Inference;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :adult.
        } log:isPermittedIn :normativeWorld2.
    };
    r:evidence (
        skolem:lemma26
        skolem:lemma21
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
        :alcoholicBeverage :sellingTo :adult.
    }];
    r:rule skolem:lemma22.

skolem:lemma14 a r:Inference;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isObligatoryIn :normativeWorld1.
    };
    r:evidence (
        skolem:lemma20
        skolem:lemma23
        [ a r:Fact; r:gives {({
            :normativeWorld1 log:hasAccessTo _:sk_0.
        } {
            {
                {
                    :alcoholicBeverage :sellingTo :nonAdult.
                } => false.
            } log:holdsIn _:sk_0.
        }) log:forAllIn ((<https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3> <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>) 1)}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } => false.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_4"]; r:boundTo ((<https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3> <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>) 1)];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_3"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_0"]];
    r:rule skolem:lemma27.

skolem:lemma15 a r:Extraction;
    r:gives {
        @forAll var:x_0, var:x_1. {
            var:x_0 log:isObligatoryIn var:x_1.
        } => {
            var:x_0 log:isObligatoryIn var:x_1.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic-query.n3>].

skolem:lemma16 a r:Inference;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:isObligatoryIn :normativeWorld2.
    };
    r:evidence (
        skolem:lemma24
        skolem:lemma25
        [ a r:Fact; r:gives {({
            :normativeWorld2 log:hasAccessTo _:sk_1.
        } {
            {
                {
                    :alcoholicBeverage :sellingTo :nonAdult.
                } => false.
            } log:holdsIn _:sk_1.
        }) log:forAllIn ((<https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3> <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>) 1)}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } => false.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_4"]; r:boundTo ((<https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3> <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>) 1)];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_3"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_1"]];
    r:rule skolem:lemma27.

skolem:lemma17 a r:Inference;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } log:isForbiddenIn :normativeWorld1.
    };
    r:evidence (
        skolem:lemma20
        skolem:lemma23
        [ a r:Fact; r:gives {({
            :normativeWorld1 log:hasAccessTo _:sk_2.
        } {
            {
                {
                    :alcoholicBeverage :sellingTo :nonAdult.
                } => false.
            } log:holdsIn _:sk_2.
        }) log:forAllIn ((<https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3> <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>) 1)}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld1"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
        :alcoholicBeverage :sellingTo :nonAdult.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_4"]; r:boundTo ((<https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3> <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>) 1)];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_3"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_2"]];
    r:rule skolem:lemma28.

skolem:lemma18 a r:Extraction;
    r:gives {
        @forAll var:x_0, var:x_1. {
            var:x_0 log:isForbiddenIn var:x_1.
        } => {
            var:x_0 log:isForbiddenIn var:x_1.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic-query.n3>].

skolem:lemma19 a r:Inference;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :nonAdult.
        } log:isForbiddenIn :normativeWorld2.
    };
    r:evidence (
        skolem:lemma24
        skolem:lemma25
        [ a r:Fact; r:gives {({
            :normativeWorld2 log:hasAccessTo _:sk_3.
        } {
            {
                {
                    :alcoholicBeverage :sellingTo :nonAdult.
                } => false.
            } log:holdsIn _:sk_3.
        }) log:forAllIn ((<https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3> <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>) 1)}]
    );
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_0"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_1"]; r:boundTo [ n3:uri "https://eyereasoner.github.io/ns#normativeWorld2"]];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_2"]; r:boundTo {
        :alcoholicBeverage :sellingTo :nonAdult.
    }];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_4"]; r:boundTo ((<https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3> <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>) 1)];
    r:binding [ r:variable [ n3:uri "http://www.w3.org/2000/10/swap/var#x_3"]; r:boundTo [ a r:Existential; n3:nodeId "_:sk_3"]];
    r:rule skolem:lemma28.

skolem:lemma20 a r:Extraction;
    r:gives {
        :normativeWorld1 log:hasAccessTo :normativeWorld1.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>].

skolem:lemma21 a r:Extraction;
    r:gives {
        {
            :alcoholicBeverage :sellingTo :adult.
        } log:holdsIn :normativeWorld1.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>].

skolem:lemma22 a r:Extraction;
    r:gives {
        @forAll var:x_0, var:x_1, var:x_2. {
            var:x_0 log:hasAccessTo var:x_1.
            var:x_2 log:holdsIn var:x_1.
        } => {
            var:x_2 log:isPermittedIn var:x_0.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3>].

skolem:lemma23 a r:Extraction;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:holdsIn :normativeWorld1.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>].

skolem:lemma24 a r:Extraction;
    r:gives {
        :normativeWorld2 log:hasAccessTo :normativeWorld2.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>].

skolem:lemma25 a r:Extraction;
    r:gives {
        {
            {
                :alcoholicBeverage :sellingTo :nonAdult.
            } => false.
        } log:holdsIn :normativeWorld2.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>].

skolem:lemma26 a r:Extraction;
    r:gives {
        :normativeWorld2 log:hasAccessTo :normativeWorld1.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/example2.n3>].

skolem:lemma27 a r:Extraction;
    r:gives {
        @forAll var:x_0, var:x_1, var:x_2, var:x_3, var:x_4. {
            var:x_0 log:hasAccessTo var:x_1.
            var:x_2 log:holdsIn var:x_0.
            ({
                var:x_0 log:hasAccessTo var:x_3.
            } {
                var:x_2 log:holdsIn var:x_3.
            }) log:forAllIn var:x_4.
        } => {
            var:x_2 log:isObligatoryIn var:x_0.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3>].

skolem:lemma28 a r:Extraction;
    r:gives {
        @forAll var:x_0, var:x_1, var:x_2, var:x_3, var:x_4. {
            var:x_0 log:hasAccessTo var:x_1.
            {
                var:x_2 => false.
            } log:holdsIn var:x_0.
            ({
                var:x_0 log:hasAccessTo var:x_3.
            } {
                {
                    var:x_2 => false.
                } log:holdsIn var:x_3.
            }) log:forAllIn var:x_4.
        } => {
            var:x_2 log:isForbiddenIn var:x_0.
        }.
    };
    r:because [ a r:Parsing; r:source <https://eyereasoner.github.io/eye/reasoning/deontic-logic/deontic.n3>].

