<< Chapter < Page
  Intro to logic   Page 1 / 1
Chapter >> Page >
The domain axioms for WaterWorld in propositional logic.

We summarize the details of how we choose to model WaterWorld boardsin propositional logic: exactly what propositions we make up,and the formal domain axioms which capture the game's rules.

The board is fixed at 64, named A ,, Z (with I and O omitted).

A Sample WaterWorld board

Propositions

There are a myriad of propositions for WaterWorld, which can be grouped:

  • Whether or not a location contains a pirate: A-unsafe , B-unsafe ,, Z-unsafe .
  • Whether or not a location contains no pirate: A-safe , B-safe ,, Z-safe .
    Yes, using the intended interpretation, these are redundant with the previous ones.Some domain axioms below will formalize this.
  • Propositions indicating the number of neighboring pirates, to a location: A-has-0 , A-has-1 , A-has-2 , B-has-0 , B-has-1 , B-has-2 ,, H-has-0 , H-has-1 , H-has-2 , H-has-3 ,, Z-has-0 , Z-has-1 . These are all true/false propositions;there are no explicit numbers in the logic.A domain axiom below will assert that whenever (say) B-has-1 is true, then B-has-0 and B-has-2 are both false.
    There is no proposition A-has-3 since location A has only two neighbors. Similarly, there is no proposition B-has-3 . We could have chosen to include those, but under the intended interpretationthey'd always be false.

These propositions describe the state of the underlying boardthe modeland not our particular view of it. Our particular view will be reflected in which formulas we'll accept as premises. So we'll accept A-has-2 as a premise only when A has been exposed and shows a 2.

The domain axioms

Axioms asserting that the neighbor counts are correct:

  • Count of 0:
    • A0: A-has-0 B-safe G-safe
    • H0: H-has-0 G-safe J-safe P-safe
    • Z0: Z-has-0 Y-safe
  • Count of 1:
    • A1: A-has-1 B-safe G-unsafe B-unsafe G-safe
    • H1: H-has-1 G-safe J-safe P-unsafe G-safe J-unsafe P-safe G-unsafe J-safe P-safe
    • Z1: Z-has-1 Y-unsafe
  • Count of 2:
    • A2: A-has-2 B-unsafe G-unsafe
    • H2: H-has-2 G-safe J-unsafe P-unsafe G-unsafe J-safe P-unsafe G-unsafe J-unsafe P-safe
    There aren't any such axioms for locations with only one neighbor.
  • Count of 3:
    • H3: H-has-3 G-unsafe J-unsafe P-unsafe
    There aren't any such axioms for locations with only one or two neighbors.

Axioms asserting that the propositions for counting neighbors are consistent:

  • A-has-0 A-has-1
  • A-has-0 A-has-1
  • A-has-1 A-has-0
  • B-has-0 B-has-1 B-has-2
  • B-has-0 B-has-1 B-has-2
  • B-has-1 B-has-0 B-has-2
  • B-has-2 B-has-0 B-has-1
  • H-has-0 H-has-1 H-has-2 H-has-3
  • H-has-0 H-has-1 H-has-2 H-has-3
  • H-has-1 H-has-0 H-has-2 H-has-3
  • H-has-2 H-has-0 H-has-1 H-has-3
  • H-has-3 H-has-0 H-has-1 H-has-2

Axioms asserting that the safety propositions are consistent:

  • A-safe A-unsafe ,
  • A-safe A-unsafe ,
  • Z-safe Z-unsafe ,
  • Z-safe Z-unsafe .

This set of axioms is not quite complete, as explored in an exercise .

As mentioned, it is redundant to have both A-safe and A-unsafe as propositions. Furthermore, having both allows us to express inconsistent states(ones that would contradict the safety axioms). If implementing this in a program, you might use both as variables,but have a safety-check function to make sure that a given board representation is consistent.Even better, you could implement WaterWorld so that these propositions wouldn't be variables,but instead be calls to a lookup (accessor) functions. These would examine the same internal state,to eliminate the chance of inconsistent data.

Using only true/false propositions; without recourse to numbers makes these domain axioms unwieldy.Later, we'll see how relations and quantifiers help us model the game of WaterWorld more concisely.

Questions & Answers

I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Intro to logic. OpenStax CNX. Jan 29, 2008 Download for free at http://cnx.org/content/col10154/1.20
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Intro to logic' conversation and receive update notifications?

Ask