Tweety Triangle and Nixon Diamond #
The two classic default-reasoning testbeds, as finite world types shared
by the rival accounts in Studies/GoldszmidtPearl1996 and
Studies/AsherPelletier2013:
- Tweety Triangle (specificity): birds normally fly; penguins are birds; penguins normally don't fly. The more specific default wins.
- Nixon Diamond (conflicting defaults): Quakers are normally pacifist; Republicans are normally not; Nixon is both.
Main declarations #
The Tweety world: 4 possible states of an entity.
- birdFlies : TweetyWorld
- birdNoFly : TweetyWorld
- penguinFlies : TweetyWorld
- penguinNoFly : TweetyWorld
Instances For
@[instance_reducible]
Equations
- TweetyNixon.instDecidableEqTweetyWorld x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
@[instance_reducible]
Equations
- TweetyNixon.instReprTweetyWorld = { reprPrec := TweetyNixon.instReprTweetyWorld.repr }
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Equations
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Equations
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Equations
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Every penguin is a bird.
The Nixon world: 4 possible states.
- quakerPacifist : NixonWorld
- quakerNotPacifist : NixonWorld
- repPacifist : NixonWorld
- repNotPacifist : NixonWorld
Instances For
@[instance_reducible]
Equations
- TweetyNixon.instDecidableEqNixonWorld x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
- TweetyNixon.instReprNixonWorld = { reprPrec := TweetyNixon.instReprNixonWorld.repr }