SlideShare a Scribd company logo
1 of 41
Download to read offline
Thou Shalt is not You Will
Guido Governatori
ICAIL 2015
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 1/20
Deontic Logic History
1951 Georg Henrik von Wright. Deontic Logic.
1959 Soul Kripke. A Completeness Theorem in Modal Logic.
1962 Roderick Chisholm. Contrary-to-Duty Imperatives and Deontic Logic.
1965 William W. Hansson. Semantics for Deontic Logic.
1986 Marek Sergot et al. British Nationality Act as a Logic Program.
1991 Henning Herrestad. Norms and Formalization.
1992 Andrew J. Jones and Marek Sergot. Deontic logic in the representation of law:
Towards a methodology.
2015 Thou Shalt is not You Will
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 2/20
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 3/20
Aim of the paper
Can we use (linear) temporal logic to verify the compliance of a system
with a set of norms?
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 4/20
Aim of the paper
Can we use (linear) temporal logic to verify the compliance of a system
with a set of norms?
Can we use (linear) temporal logic to model norms?
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 4/20
Background
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 5/20
Linear Temporal Logic 101 (Syntax)
• Xφ: at the next time φ holds;
• Fφ: eventually φ holds (sometimes in the future φ); and
• Gφ: globally φ holds (always in the future φ).
In addition we have three binary operators:
• φ U ψ (until): φ holds until ψ holds;
• φ W ψ (weak until): φ holds until ψ holds and ψ might not hold.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 6/20
Linear Temporal Logic 101 (Syntax)
• Xφ: at the next time φ holds;
• Fφ: eventually φ holds (sometimes in the future φ); and
• Gφ: globally φ holds (always in the future φ).
In addition we have three binary operators:
• φ U ψ (until): φ holds until ψ holds;
• φ W ψ (weak until): φ holds until ψ holds and ψ might not hold.
Interdefinability
• Fφ ≡ U φ,
• Gφ ≡ ¬F¬φ,
• φ W ψ ≡ (φ U ψ) ∨ Gφ
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 6/20
Linear Temporal Logic 102 (Semantics)
TS, σ |= a
s0
a
s1 s2 s3
TS, σ |= Xa
s0 s1
a
s2 s3
TS, σ |= a U b
s0
a ∧ ¬b
s1
a ∧ ¬b
s2
b
s3
TS, σ |= Fa
s0
¬a
s1
¬a
s2
a
s3
TS, σ |= Ga
s0
a
s1
a
s2
a
s3
a
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 7/20
Linear Temporal Logic 102 (Semantics)
TS, σ |= a
s0
a
s1 s2 s3
TS, σ |= Xa
s0 s1
a
s2 s3
TS, σ |= a U b
s0
a ∧ ¬b
s1
a ∧ ¬b
s2
b
s3
TS, σ |= Fa
s0
¬a
s1
¬a
s2
a
s3
TS, σ |= Ga
s0
a
s1
a
s2
a
s3
a
A formula φ is true in a fullpath σ iff it is true at the first element of the fullpath.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 7/20
Linear Temporal Logic 102 (Semantics)
TS, σ |= a
s0
a
s1 s2 s3
TS, σ |= Xa
s0 s1
a
s2 s3
TS, σ |= a U b
s0
a ∧ ¬b
s1
a ∧ ¬b
s2
b
s3
TS, σ |= Fa
s0
¬a
s1
¬a
s2
a
s3
TS, σ |= Ga
s0
a
s1
a
s2
a
s3
a
A formula φ is true in a fullpath σ iff it is true at the first element of the fullpath.
A formula is true in a state S
TS, s |= φ iff ∀σ: σ[0] = s, TS, σ |= φ.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 7/20
Obligation, Prohibition and Permission
Obligation A situation, an act, or a course of action to which a bearer is legally bound, and
if it is not achieved or performed results in a violation.
Prohibition A situation, an act, or a course of action which a bearer should avoid, and if it is
achieved results in a violation.
Permission Something is permitted if the obligation or the prohibition to the contrary does
not hold.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 8/20
Achievement vs Maintenance Obligations
• For an achievement obligation, a certain condition must occur at least once before the
deadline
‘Customers must pay before the delivery of the good, after receiving the invoice’
• For maintenance obligations, a certain condition must obtain during all instants before
the deadline:
‘After opening a bank account, customers must keep a positive balance until bank
charges are taken out’
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 9/20
Dura lex sed lex
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 10/20
A Privacy Act
Section 1: (Prohibition to collect personal medical information)
Offence: It is an offence to collect personal medical information.
Defence: It is a defence to the prohibition of collecting personal medical information,
if an entity immediately destroys the illegally collected personal medical
information before making any use of the personal medical information
Section 2: An entity is permitted to collect personal medical information if the entity acts
under a Court Order authorising the collection of personal medical information.
Section 3: (Prohibition to collect personal information) It is forbidden to collect personal
information unless an entity is permitted to collect personal medical
information.
Offence: an entity collected personal information
Defence: an entity being permitted to collect personal medical information.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 11/20
Making Sense of the Act
• Collection of medical information is forbidden.
• Destruction of the illegally collected medical information excuses the illegal collection.
• Collection of medical information is permitted if there is an authorising court order.
• Collection of personal information is forbidden.
• Collection of personal information is permitted if the collection of medical information is
permitted
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 12/20
Dilemma Structure
• b (“collection of medical information”) is forbidden
• c (“destruction of medical information”) compensates the illegal collection
• b is permitted if a (“acting under a court order”)
• d (“collection of personal information”) is forbidden
• d is permitted if b is permitted
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 13/20
Running Out of Time
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 14/20
Running out of time (1)
How do we model obligations in LTL?
• Achievement obligations: F (sometimes in the future)
• Maintenance obligations: G (always in the future)
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
Running out of time (1)
How do we model obligations in LTL?
• Achievement obligations: F (sometimes in the future)
• Maintenance obligations: G (always in the future)
• Prohibitions: G¬ (never)
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
Running out of time (1)
How do we model obligations in LTL?
• Achievement obligations: F (sometimes in the future)
• Maintenance obligations: G (always in the future)
• Prohibitions: G¬ (never)
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
Running out of time (1)
How do we model obligations in LTL?
• Achievement obligations: F (sometimes in the future)
• Maintenance obligations: G (always in the future)
• Prohibitions: G¬ (never)
Fp ≡ ¬G¬p
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
Running out of time (1)
How do we model obligations in LTL?
• Achievement obligations: F (sometimes in the future)
• Maintenance obligations: G (always in the future)
• Prohibitions: G¬ (never)
Fp ≡ ¬G¬p
In deontic logic the dual of obligation is permission.
Pp ≡ ¬O¬p
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
Running out of time (1)
How do we model obligations in LTL?
• Achievement obligations: F (sometimes in the future)
• Maintenance obligations: G (always in the future)
• Prohibitions: G¬ (never)
Fp ≡ ¬G¬p
In deontic logic the dual of obligation is permission.
Pp ≡ ¬O¬p
Obligation implies permission
Op → Pp
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
Running out of time (1)
How do we model obligations in LTL?
• Achievement obligations: F (sometimes in the future)
• Maintenance obligations: G (always in the future)
• Prohibitions: G¬ (never)
Fp ≡ ¬G¬p
In deontic logic the dual of obligation is permission.
Pp ≡ ¬O¬p
Obligation implies permission
Op → Pp
How do we model permissions in LTL?
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
Dilemma Structure
• b (“collection of medical information”) is forbidden
• c (“destruction of medical information”) compensates the illegal collection
• b is permitted if a (“acting under a court order”)
• d (“collection of personal information”) is forbidden
• d is permitted if b is permitted
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 16/20
Formalising the Dilemma: Take 1
1 G¬b, (G¬b ∧ b) → Gc;
2 a → Fb;
3 G¬d;
4 Fb → Fd.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 17/20
Formalising the Dilemma: Take 1
1 G¬b, (G¬b ∧ b) → Gc;
2 a → Fb;
3 G¬d;
4 Fb → Fd.
G¬b ∧ b ≡ ⊥
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 17/20
Formalising the Dilemma: Take 1
1 G¬b, (G¬b ∧ b) → Gc;
2 a → Fb;
3 G¬d;
4 Fb → Fd.
G¬b ∧ b ≡ ⊥
G¬b ∧ Fb ≡ ⊥ G¬d ∧ Fd ≡ ⊥
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 17/20
Formalising Compensation
Contrary-to-duty obligation
Oα ¬α → Oβ
Violation triggered obligation
Oα ∧ ¬α → Oβ
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 18/20
Formalising Compensation
Contrary-to-duty obligation
Oα ¬α → Oβ
Violation triggered obligation
Oα ∧ ¬α → Oβ
New “compensation operator” ⊗.
TS, σ |= φ ⊗ ψ iff ∀i ≥ 0, TS, σi |= φ; or
∃j, k : 0 ≤ j ≤ k, TS, σj |= ¬φ and TS, σk |= ψ.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 18/20
Formalising the Dilemma: Take 2
1 ¬a → (¬b ⊗ c);
2 a → Fb;
3 G¬b → G¬d;
4 Fb → Fd.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 19/20
Formalising the Dilemma: Take 2
1 ¬a → (¬b ⊗ c);
2 a → Fb;
3 G¬b → G¬d;
4 Fb → Fd.
t0
¬a
t1
¬a, b
t3
¬a, c, d
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 19/20
Formalising the Dilemma: Take 2
1 ¬a → (¬b ⊗ c);
2 a → Fb;
3 G¬b → G¬d;
4 Fb → Fd.
t0
¬a
t1
¬a, b
t3
¬a, c, d
the trace is (weakly) compliant in LTL, but the prohibition of ‘d’ is violated.
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 19/20
Really Running Out of Time
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
Really Running Out of Time Conclusions
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
Really Running Out of Time Conclusions
• Solution:
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
Really Running Out of Time Conclusions
• Solution: do not use temporal logic to model norms
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
Really Running Out of Time Conclusions
• Solution: do not use temporal logic to model norms
• CLAIM: the problem is not limited to temporal logic (most deontic logics have the same
issue)
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
Really Running Out of Time Conclusions
• Solution: do not use temporal logic to model norms
• CLAIM: the problem is not limited to temporal logic (most deontic logics have the same
issue)
• Solution: Norm based semantics (Calardo, Governatori, Rotolo: A Preference-Based
Semantics for CTD Reasoning. DEON 2014: 49-64)
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
Really Running Out of Time Conclusions
• Solution: do not use temporal logic to model norms
• CLAIM: the problem is not limited to temporal logic (most deontic logics have the same
issue)
• Solution: Norm based semantics (Calardo, Governatori, Rotolo: A Preference-Based
Semantics for CTD Reasoning. DEON 2014: 49-64)
• Solution: Defeasible Deontic Logic of Violation (FCL/PCL) (Governatori: Representing
business contracts in RuleML, International Journal of Cooperative Information Systems
(2005) 14: 181-216)
Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20

More Related Content

Recently uploaded

Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsSumit Kumar yadav
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSSLeenakshiTyagi
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Lokesh Kothari
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptxanandsmhk
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxgindu3009
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINsankalpkumarsahoo174
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 

Recently uploaded (20)

Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSS
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
Labelling Requirements and Label Claims for Dietary Supplements and Recommend...
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATINChromatin Structure | EUCHROMATIN | HETEROCHROMATIN
Chromatin Structure | EUCHROMATIN | HETEROCHROMATIN
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Thou Shalt is not You Will

  • 1. Thou Shalt is not You Will Guido Governatori ICAIL 2015 Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 1/20
  • 2. Deontic Logic History 1951 Georg Henrik von Wright. Deontic Logic. 1959 Soul Kripke. A Completeness Theorem in Modal Logic. 1962 Roderick Chisholm. Contrary-to-Duty Imperatives and Deontic Logic. 1965 William W. Hansson. Semantics for Deontic Logic. 1986 Marek Sergot et al. British Nationality Act as a Logic Program. 1991 Henning Herrestad. Norms and Formalization. 1992 Andrew J. Jones and Marek Sergot. Deontic logic in the representation of law: Towards a methodology. 2015 Thou Shalt is not You Will Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 2/20
  • 3. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 3/20
  • 4. Aim of the paper Can we use (linear) temporal logic to verify the compliance of a system with a set of norms? Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 4/20
  • 5. Aim of the paper Can we use (linear) temporal logic to verify the compliance of a system with a set of norms? Can we use (linear) temporal logic to model norms? Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 4/20
  • 6. Background Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 5/20
  • 7. Linear Temporal Logic 101 (Syntax) • Xφ: at the next time φ holds; • Fφ: eventually φ holds (sometimes in the future φ); and • Gφ: globally φ holds (always in the future φ). In addition we have three binary operators: • φ U ψ (until): φ holds until ψ holds; • φ W ψ (weak until): φ holds until ψ holds and ψ might not hold. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 6/20
  • 8. Linear Temporal Logic 101 (Syntax) • Xφ: at the next time φ holds; • Fφ: eventually φ holds (sometimes in the future φ); and • Gφ: globally φ holds (always in the future φ). In addition we have three binary operators: • φ U ψ (until): φ holds until ψ holds; • φ W ψ (weak until): φ holds until ψ holds and ψ might not hold. Interdefinability • Fφ ≡ U φ, • Gφ ≡ ¬F¬φ, • φ W ψ ≡ (φ U ψ) ∨ Gφ Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 6/20
  • 9. Linear Temporal Logic 102 (Semantics) TS, σ |= a s0 a s1 s2 s3 TS, σ |= Xa s0 s1 a s2 s3 TS, σ |= a U b s0 a ∧ ¬b s1 a ∧ ¬b s2 b s3 TS, σ |= Fa s0 ¬a s1 ¬a s2 a s3 TS, σ |= Ga s0 a s1 a s2 a s3 a Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 7/20
  • 10. Linear Temporal Logic 102 (Semantics) TS, σ |= a s0 a s1 s2 s3 TS, σ |= Xa s0 s1 a s2 s3 TS, σ |= a U b s0 a ∧ ¬b s1 a ∧ ¬b s2 b s3 TS, σ |= Fa s0 ¬a s1 ¬a s2 a s3 TS, σ |= Ga s0 a s1 a s2 a s3 a A formula φ is true in a fullpath σ iff it is true at the first element of the fullpath. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 7/20
  • 11. Linear Temporal Logic 102 (Semantics) TS, σ |= a s0 a s1 s2 s3 TS, σ |= Xa s0 s1 a s2 s3 TS, σ |= a U b s0 a ∧ ¬b s1 a ∧ ¬b s2 b s3 TS, σ |= Fa s0 ¬a s1 ¬a s2 a s3 TS, σ |= Ga s0 a s1 a s2 a s3 a A formula φ is true in a fullpath σ iff it is true at the first element of the fullpath. A formula is true in a state S TS, s |= φ iff ∀σ: σ[0] = s, TS, σ |= φ. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 7/20
  • 12. Obligation, Prohibition and Permission Obligation A situation, an act, or a course of action to which a bearer is legally bound, and if it is not achieved or performed results in a violation. Prohibition A situation, an act, or a course of action which a bearer should avoid, and if it is achieved results in a violation. Permission Something is permitted if the obligation or the prohibition to the contrary does not hold. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 8/20
  • 13. Achievement vs Maintenance Obligations • For an achievement obligation, a certain condition must occur at least once before the deadline ‘Customers must pay before the delivery of the good, after receiving the invoice’ • For maintenance obligations, a certain condition must obtain during all instants before the deadline: ‘After opening a bank account, customers must keep a positive balance until bank charges are taken out’ Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 9/20
  • 14. Dura lex sed lex Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 10/20
  • 15. A Privacy Act Section 1: (Prohibition to collect personal medical information) Offence: It is an offence to collect personal medical information. Defence: It is a defence to the prohibition of collecting personal medical information, if an entity immediately destroys the illegally collected personal medical information before making any use of the personal medical information Section 2: An entity is permitted to collect personal medical information if the entity acts under a Court Order authorising the collection of personal medical information. Section 3: (Prohibition to collect personal information) It is forbidden to collect personal information unless an entity is permitted to collect personal medical information. Offence: an entity collected personal information Defence: an entity being permitted to collect personal medical information. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 11/20
  • 16. Making Sense of the Act • Collection of medical information is forbidden. • Destruction of the illegally collected medical information excuses the illegal collection. • Collection of medical information is permitted if there is an authorising court order. • Collection of personal information is forbidden. • Collection of personal information is permitted if the collection of medical information is permitted Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 12/20
  • 17. Dilemma Structure • b (“collection of medical information”) is forbidden • c (“destruction of medical information”) compensates the illegal collection • b is permitted if a (“acting under a court order”) • d (“collection of personal information”) is forbidden • d is permitted if b is permitted Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 13/20
  • 18. Running Out of Time Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 14/20
  • 19. Running out of time (1) How do we model obligations in LTL? • Achievement obligations: F (sometimes in the future) • Maintenance obligations: G (always in the future) Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
  • 20. Running out of time (1) How do we model obligations in LTL? • Achievement obligations: F (sometimes in the future) • Maintenance obligations: G (always in the future) • Prohibitions: G¬ (never) Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
  • 21. Running out of time (1) How do we model obligations in LTL? • Achievement obligations: F (sometimes in the future) • Maintenance obligations: G (always in the future) • Prohibitions: G¬ (never) Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
  • 22. Running out of time (1) How do we model obligations in LTL? • Achievement obligations: F (sometimes in the future) • Maintenance obligations: G (always in the future) • Prohibitions: G¬ (never) Fp ≡ ¬G¬p Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
  • 23. Running out of time (1) How do we model obligations in LTL? • Achievement obligations: F (sometimes in the future) • Maintenance obligations: G (always in the future) • Prohibitions: G¬ (never) Fp ≡ ¬G¬p In deontic logic the dual of obligation is permission. Pp ≡ ¬O¬p Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
  • 24. Running out of time (1) How do we model obligations in LTL? • Achievement obligations: F (sometimes in the future) • Maintenance obligations: G (always in the future) • Prohibitions: G¬ (never) Fp ≡ ¬G¬p In deontic logic the dual of obligation is permission. Pp ≡ ¬O¬p Obligation implies permission Op → Pp Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
  • 25. Running out of time (1) How do we model obligations in LTL? • Achievement obligations: F (sometimes in the future) • Maintenance obligations: G (always in the future) • Prohibitions: G¬ (never) Fp ≡ ¬G¬p In deontic logic the dual of obligation is permission. Pp ≡ ¬O¬p Obligation implies permission Op → Pp How do we model permissions in LTL? Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 15/20
  • 26. Dilemma Structure • b (“collection of medical information”) is forbidden • c (“destruction of medical information”) compensates the illegal collection • b is permitted if a (“acting under a court order”) • d (“collection of personal information”) is forbidden • d is permitted if b is permitted Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 16/20
  • 27. Formalising the Dilemma: Take 1 1 G¬b, (G¬b ∧ b) → Gc; 2 a → Fb; 3 G¬d; 4 Fb → Fd. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 17/20
  • 28. Formalising the Dilemma: Take 1 1 G¬b, (G¬b ∧ b) → Gc; 2 a → Fb; 3 G¬d; 4 Fb → Fd. G¬b ∧ b ≡ ⊥ Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 17/20
  • 29. Formalising the Dilemma: Take 1 1 G¬b, (G¬b ∧ b) → Gc; 2 a → Fb; 3 G¬d; 4 Fb → Fd. G¬b ∧ b ≡ ⊥ G¬b ∧ Fb ≡ ⊥ G¬d ∧ Fd ≡ ⊥ Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 17/20
  • 30. Formalising Compensation Contrary-to-duty obligation Oα ¬α → Oβ Violation triggered obligation Oα ∧ ¬α → Oβ Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 18/20
  • 31. Formalising Compensation Contrary-to-duty obligation Oα ¬α → Oβ Violation triggered obligation Oα ∧ ¬α → Oβ New “compensation operator” ⊗. TS, σ |= φ ⊗ ψ iff ∀i ≥ 0, TS, σi |= φ; or ∃j, k : 0 ≤ j ≤ k, TS, σj |= ¬φ and TS, σk |= ψ. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 18/20
  • 32. Formalising the Dilemma: Take 2 1 ¬a → (¬b ⊗ c); 2 a → Fb; 3 G¬b → G¬d; 4 Fb → Fd. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 19/20
  • 33. Formalising the Dilemma: Take 2 1 ¬a → (¬b ⊗ c); 2 a → Fb; 3 G¬b → G¬d; 4 Fb → Fd. t0 ¬a t1 ¬a, b t3 ¬a, c, d Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 19/20
  • 34. Formalising the Dilemma: Take 2 1 ¬a → (¬b ⊗ c); 2 a → Fb; 3 G¬b → G¬d; 4 Fb → Fd. t0 ¬a t1 ¬a, b t3 ¬a, c, d the trace is (weakly) compliant in LTL, but the prohibition of ‘d’ is violated. Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 19/20
  • 35. Really Running Out of Time Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
  • 36. Really Running Out of Time Conclusions Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
  • 37. Really Running Out of Time Conclusions • Solution: Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
  • 38. Really Running Out of Time Conclusions • Solution: do not use temporal logic to model norms Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
  • 39. Really Running Out of Time Conclusions • Solution: do not use temporal logic to model norms • CLAIM: the problem is not limited to temporal logic (most deontic logics have the same issue) Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
  • 40. Really Running Out of Time Conclusions • Solution: do not use temporal logic to model norms • CLAIM: the problem is not limited to temporal logic (most deontic logics have the same issue) • Solution: Norm based semantics (Calardo, Governatori, Rotolo: A Preference-Based Semantics for CTD Reasoning. DEON 2014: 49-64) Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20
  • 41. Really Running Out of Time Conclusions • Solution: do not use temporal logic to model norms • CLAIM: the problem is not limited to temporal logic (most deontic logics have the same issue) • Solution: Norm based semantics (Calardo, Governatori, Rotolo: A Preference-Based Semantics for CTD Reasoning. DEON 2014: 49-64) • Solution: Defeasible Deontic Logic of Violation (FCL/PCL) (Governatori: Representing business contracts in RuleML, International Journal of Cooperative Information Systems (2005) 14: 181-216) Thou Shalt is not You Will Copyright NICTA 2015 Guido Governatori 20/20