SlideShare a Scribd company logo
1 of 30
Sequent Calculus - Natural
Deduction. Translation and Overview
Dostonbek Matyakubov
A little bit of history
Natural Deduction and Sequent calculus both were introduced by Gerhard
Gentzen, who first introduced Natural Deduction and later Sequent Calculus
which he found easier to work with(for consistency of proofs).
In Natural Deduction, the rules for logical connectives are introduction and
elimination rules (right).
In Sequent Calculus, there are no elimination rules: right introduction and left
introduction rules.
I.e. right elimination is traded against left introduction.
Sequent Calculus vs Natural Deduction
Differences:
โ— The sequent calculus is more suitable for automated proof search
โ— The cut rule is implicit in Natural Deduction and explicit in Sequent
Calculus.
โ— Natural Deduction gives more mathematical-like approach to reasoning
while the Sequent Calculus gives more structural and symmetrical
approach
Relations - one can be translated to another.
The Sequent Calculus
Sequent calculus gives principled answers to problems such as:
โ— How to soundly compile xxx?
โ— How to prove normalization of xxx?
โ— How should control operators and xxx interact?
โ— Deciding equivalence of normal forms
Sequent
A sequent is an expression A |- B where A and B are finite sequences of
formulae A1...An and B1...Bn.
Natural Deduction - Example
Letโ€™s consider the following problem : P, P โ‡’ Q โŠข P โˆง Q
1. P Premise
2. P โ‡’ Q Premise
3. Q Modus Ponens (2)
4. P โˆง Q Conjunction (3)
Note:
โ— Natural Deduction is solved from top-to-bottom unlike Sequent Calculus
โ— Natural Deduction is more mathematical-like approach.
Sequent Calculus Example
Consider |- A โ‡’ (B โ‡’ A).
Consider |- โˆ€x.Px โ‡’ โˆ€y.Py.
Sequent Calculus - Structural rules (CL)
โ— The exchange rules:
โ— The weakening rules:
โ— The contraction rules:
The structural rules essentially say that A and B in the sequence A |- B are
multisets. These rules are the most important of the whole calculus.Symmetry
Intuitionistic Structural Rules
An intuitionistic sequent is a sequent A |- B where B has at most one formula.
The exchange and contraction rules:
The weakening rules:
Note that RX and RC rules are not possible. And the symmetry is broken.
Properties of Intuitionistic Sequent Calculus
Letโ€™s consider a proof of |- A without cut. What could be the last rule?
โ— Structural rules cannot give us |- A.
โ— The identity axiom does not give us |- A.
โ— Left logical rules cannot do.
The last rule must be a right logical rule.
Disjunction Property vs Existence Property
If A = Aโ€™ โˆจ Aโ€™โ€™, the last rule must be R1โˆจ or R2โˆจ. That is, we have |- Aโ€™ or |- Aโ€™โ€™. If
|- Aโ€™ โˆจ Aโ€™โ€™, then |- Aโ€™ or Aโ€™โ€™ . This is called the Disjunction Property.
I If A = โˆƒฮพ.Aโ€™, the last rule must be Rโˆƒ. That is, we have |- Aโ€™ [a/ฮพ]. If |- โˆƒฮพ.Aโ€™ is
provable, then |- Aโ€™[a/ฮพ] for some term a. This is called the Existence
Property.
The Cut rule - General Idea
The cut rule is an inference rule of sequent calculus. It is a generalisation of
the classical modus ponens rule, meaning - if formula A appears as conclusion
in one proof as hypothesis in another, then another proof in which formula A
does not appear can be deduced.
Example - occurences of man are eliminated to deduce Socrates is
mortal: Every man is mortal, Socrates is a man - Socrates is mortal.
The cut rule is the subject of an important theorem - the cut elimination
theorem, which states that any judgement that possesses a proof in the
sequent calculus that makes use of the cut rule also possesses a cut-free
proof(a proof that does not make use of cut rule).
The Cut rule and Identity Axiom
For every formula C, we have the identity axiom.
The cut rule:
The cut rule can be seen as the symmetric rule to identity axiom. The identity
axiom states C-left is stronger than C-right. The cut rule states C-right is
stronger than C-left
The cut rule is not welcome in proof search. How can an algorithm guess C to
prove A, A` |- B, B` ?
For every proof for a sequent, there is a cut-free proof for the same sequent.
So, no need for cut rule
Unpredictable Cut rule
The cut rule is absolutely unpredictable, since an arbitrary formula C
disappears: it cannot be recovered from the conclusions. The cut rule is only
rule which behaves in this way, all other rules have the property that the
unspecified context part is preserved intact.
For example: for A / B as a conclusion, A and B must have been used as
premises.
All rules expect cut have the property that premises are made up of sub-
formula of the conclusions. In fact, a cut-free proof of sequent uses only
subformula of its formula.
Subformula Property
The cut rule is unpredictable. So, there is no way to guess the cut formula C.
โ— The immediate subformulae of A โˆง B, A โˆจ B, and A โ‡’ B are A and B;
โ— The immediate subformulae of ยฌA is A;
โ— The immediate subformulae of โˆ€ฮพ.A and โˆƒฮพ.A are A[a/ฮพ] with any term a.
Except the cut rule, all rules preserve โ€œcontextsโ€ (written A, Aโ€™ , B, Bโ€™) and
change only one formula; moreover, the premises are immediate subformula
of the conclusion. This is called Subformula Property which is very useful in
automated deduction.
From Sequent Calculus to Natural Deduction
A proof of A|- B corresponds to deduction of B under parcels of hypotheses A.
Conversely, a deduction of B under parcels of hypotheses A can be
represented by a proof of A |- B.
Why not consider A |- B? - A deduction is for a formula, not formulae(s).
Identity Axiom and Cut rule - Translation
The identity group gives basic deductions.
For the identity axiom,
For the cut rule,
Structural rules Translation
Structural rules manage parcels. The rule LX is interpreted as the identity: the same
deduction before and after the rule.
For rule LW, add a new parcel. is interpreted as the creation of a mock parcel formed
from zero occurrences of C.
The rule LC merges two parcels.
Logical rules Translation
Right logical rules correspond to introduction. The rule Rโˆง will be interpreted by โˆงI
The rule Rโ‡’ will be interpreted by โ‡’I.
The rule Rโˆ€ will be interpreted by โˆ€I:
From Sequent Calculus to Natural Deduction
Left logical rules correspond to elimination.
The rule L1โˆง is interpreted by โˆง1E:
The rule Lโ‡’ is interpreted by โ‡’E:
The rule Lโˆ€ is interpreted by โˆ€E
Properties of translation
The translation from sequent calculus into natural deduction is not 1โ€“1: different proofs
give the same deduction, for example.
which differ only in the order of the rules, have the same translation:
Natural deductions reflect to our informal notion of โ€œproofsโ€ more closely.
Sequent calculus on the other hand manipulates such โ€œproofs.โ€ Hence, A |- B means a
โ€œproofโ€ of B from A.
Some Remarks on Translation
Right logical rules in sequent calculus correpond to introduction rules in natural
deduction. The translation expands the deduction downwards (to the root).
Left logical rules in sequent calculus correspond to elimination rules in natural
deduction. The translation expands the deduction upwards (to leaves).
We can make the translation expand downwards by the cut rule.
Automatic proof generator for SC
Sequent calculus proof generators.
โ— http://logitext.mit.edu/main
โ— http://bach.istc.kobe-u.ac.jp/seqprover/
โ— https://seqcalc.io/
Automatic ND to SC translator GAPT - General Architecture for proof theory.
โ— https://logic.at/gapt
โ— https://www.logic.at/gapt/release_archive.html
โ— https://github.com/gapt/gapt
Sequent Calculus - example
Let's consider how to build a CL proof for |- ((A โˆง B) โˆง C) -> (B โˆง A) is true.
First, we begin with the sequent as the goal and notice that the primary
connective exposed in the only proposition available is implication, so we can
apply the right implication rule:
Next, we may break down the conjunction in the consequence B โˆง A with the
right conjunction rule, splitting the proof into two parts
Sequent Calculus - example
At this point, the consequences of both our goals are generic, lacking any
specific connectives to work with. Therefore, we must shift our attention to
the left and begin breaking down the hypotheses. Since the hypothesis
(AโˆงB)โˆงC contains a superfluous C, we use the first left conjunction rule in both
branches of the proof to discard it:
Sequent Calculus - example
Now we may apply another left conjunction rule to select the appropriate
hypothesis needed for both sub-proofs:
Sequent Calculus - example
And finally, we can now close off both sub-proofs with the Axiom, finishing the
proof:
Sequent Calculus Natural Deduction. Overview and Translation process.
Sequent Calculus Natural Deduction. Overview and Translation process.
Sequent Calculus Natural Deduction. Overview and Translation process.

More Related Content

Similar to Sequent Calculus Natural Deduction. Overview and Translation process.

Revision Partial Fractions
Revision   Partial FractionsRevision   Partial Fractions
Revision Partial Fractionsshmaths
ย 
Revision Partial Fractions
Revision   Partial FractionsRevision   Partial Fractions
Revision Partial Fractionsshmaths
ย 
Varaiational formulation fem
Varaiational formulation fem Varaiational formulation fem
Varaiational formulation fem Tushar Aneyrao
ย 
Direct Methods For The Solution Of Systems Of
Direct Methods For The Solution Of Systems OfDirect Methods For The Solution Of Systems Of
Direct Methods For The Solution Of Systems OfMarcela Carrillo
ย 
Unger
UngerUnger
UngerUri Unger
ย 
IBM SPSS Statistics Algorithms.pdf
IBM SPSS Statistics Algorithms.pdfIBM SPSS Statistics Algorithms.pdf
IBM SPSS Statistics Algorithms.pdfNorafizah Samawi
ย 
Bounded Model Checking
Bounded Model CheckingBounded Model Checking
Bounded Model CheckingIlham Amezzane
ย 
Numerical Solution of Linear algebraic Equation
Numerical Solution of Linear algebraic EquationNumerical Solution of Linear algebraic Equation
Numerical Solution of Linear algebraic Equationpayalpriyadarshinisa1
ย 
Logistic regression - one of the key regression tools in experimental research
Logistic regression - one of the key regression tools in experimental researchLogistic regression - one of the key regression tools in experimental research
Logistic regression - one of the key regression tools in experimental researchAdrian Olszewski
ย 
Introduction to finite element method
Introduction to finite element methodIntroduction to finite element method
Introduction to finite element methodshahzaib601980
ย 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
ย 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptxarsh260174
ย 
Regression Analysis Techniques.pptx
Regression Analysis Techniques.pptxRegression Analysis Techniques.pptx
Regression Analysis Techniques.pptxYutaItadori
ย 
Diagnostic Tests.ppt
Diagnostic Tests.pptDiagnostic Tests.ppt
Diagnostic Tests.pptNavyaPS2
ย 
A brief history of process algebra
A brief history of process algebraA brief history of process algebra
A brief history of process algebrasugeladi
ย 
Machine Learning Interview Question and Answer
Machine Learning Interview Question and AnswerMachine Learning Interview Question and Answer
Machine Learning Interview Question and AnswerLearnbay Datascience
ย 

Similar to Sequent Calculus Natural Deduction. Overview and Translation process. (20)

Revision Partial Fractions
Revision   Partial FractionsRevision   Partial Fractions
Revision Partial Fractions
ย 
Revision Partial Fractions
Revision   Partial FractionsRevision   Partial Fractions
Revision Partial Fractions
ย 
Varaiational formulation fem
Varaiational formulation fem Varaiational formulation fem
Varaiational formulation fem
ย 
Direct Methods For The Solution Of Systems Of
Direct Methods For The Solution Of Systems OfDirect Methods For The Solution Of Systems Of
Direct Methods For The Solution Of Systems Of
ย 
Unger
UngerUnger
Unger
ย 
Thesis
ThesisThesis
Thesis
ย 
IBM SPSS Statistics Algorithms.pdf
IBM SPSS Statistics Algorithms.pdfIBM SPSS Statistics Algorithms.pdf
IBM SPSS Statistics Algorithms.pdf
ย 
Bounded Model Checking
Bounded Model CheckingBounded Model Checking
Bounded Model Checking
ย 
Numerical Solution of Linear algebraic Equation
Numerical Solution of Linear algebraic EquationNumerical Solution of Linear algebraic Equation
Numerical Solution of Linear algebraic Equation
ย 
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
ย 
Ijetr021210
Ijetr021210Ijetr021210
Ijetr021210
ย 
Logistic regression - one of the key regression tools in experimental research
Logistic regression - one of the key regression tools in experimental researchLogistic regression - one of the key regression tools in experimental research
Logistic regression - one of the key regression tools in experimental research
ย 
01 algebra
01 algebra01 algebra
01 algebra
ย 
Introduction to finite element method
Introduction to finite element methodIntroduction to finite element method
Introduction to finite element method
ย 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
ย 
Regression Analysis.pptx
Regression Analysis.pptxRegression Analysis.pptx
Regression Analysis.pptx
ย 
Regression Analysis Techniques.pptx
Regression Analysis Techniques.pptxRegression Analysis Techniques.pptx
Regression Analysis Techniques.pptx
ย 
Diagnostic Tests.ppt
Diagnostic Tests.pptDiagnostic Tests.ppt
Diagnostic Tests.ppt
ย 
A brief history of process algebra
A brief history of process algebraA brief history of process algebra
A brief history of process algebra
ย 
Machine Learning Interview Question and Answer
Machine Learning Interview Question and AnswerMachine Learning Interview Question and Answer
Machine Learning Interview Question and Answer
ย 

Recently uploaded

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
ย 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
ย 
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Call Girls in Nagpur High Profile
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
ย 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
ย 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 

Recently uploaded (20)

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
ย 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
ย 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
ย 
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth โŸŸ 6297143586 โŸŸ Call Me For Genuine Se...
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
ย 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
ย 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
ย 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
ย 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
ย 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
ย 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
ย 
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Ramesh Nagar Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 

Sequent Calculus Natural Deduction. Overview and Translation process.

  • 1. Sequent Calculus - Natural Deduction. Translation and Overview Dostonbek Matyakubov
  • 2. A little bit of history Natural Deduction and Sequent calculus both were introduced by Gerhard Gentzen, who first introduced Natural Deduction and later Sequent Calculus which he found easier to work with(for consistency of proofs). In Natural Deduction, the rules for logical connectives are introduction and elimination rules (right). In Sequent Calculus, there are no elimination rules: right introduction and left introduction rules. I.e. right elimination is traded against left introduction.
  • 3. Sequent Calculus vs Natural Deduction Differences: โ— The sequent calculus is more suitable for automated proof search โ— The cut rule is implicit in Natural Deduction and explicit in Sequent Calculus. โ— Natural Deduction gives more mathematical-like approach to reasoning while the Sequent Calculus gives more structural and symmetrical approach Relations - one can be translated to another.
  • 4. The Sequent Calculus Sequent calculus gives principled answers to problems such as: โ— How to soundly compile xxx? โ— How to prove normalization of xxx? โ— How should control operators and xxx interact? โ— Deciding equivalence of normal forms
  • 5. Sequent A sequent is an expression A |- B where A and B are finite sequences of formulae A1...An and B1...Bn.
  • 6. Natural Deduction - Example Letโ€™s consider the following problem : P, P โ‡’ Q โŠข P โˆง Q 1. P Premise 2. P โ‡’ Q Premise 3. Q Modus Ponens (2) 4. P โˆง Q Conjunction (3) Note: โ— Natural Deduction is solved from top-to-bottom unlike Sequent Calculus โ— Natural Deduction is more mathematical-like approach.
  • 7. Sequent Calculus Example Consider |- A โ‡’ (B โ‡’ A). Consider |- โˆ€x.Px โ‡’ โˆ€y.Py.
  • 8. Sequent Calculus - Structural rules (CL) โ— The exchange rules: โ— The weakening rules: โ— The contraction rules: The structural rules essentially say that A and B in the sequence A |- B are multisets. These rules are the most important of the whole calculus.Symmetry
  • 9. Intuitionistic Structural Rules An intuitionistic sequent is a sequent A |- B where B has at most one formula. The exchange and contraction rules: The weakening rules: Note that RX and RC rules are not possible. And the symmetry is broken.
  • 10. Properties of Intuitionistic Sequent Calculus Letโ€™s consider a proof of |- A without cut. What could be the last rule? โ— Structural rules cannot give us |- A. โ— The identity axiom does not give us |- A. โ— Left logical rules cannot do. The last rule must be a right logical rule.
  • 11. Disjunction Property vs Existence Property If A = Aโ€™ โˆจ Aโ€™โ€™, the last rule must be R1โˆจ or R2โˆจ. That is, we have |- Aโ€™ or |- Aโ€™โ€™. If |- Aโ€™ โˆจ Aโ€™โ€™, then |- Aโ€™ or Aโ€™โ€™ . This is called the Disjunction Property. I If A = โˆƒฮพ.Aโ€™, the last rule must be Rโˆƒ. That is, we have |- Aโ€™ [a/ฮพ]. If |- โˆƒฮพ.Aโ€™ is provable, then |- Aโ€™[a/ฮพ] for some term a. This is called the Existence Property.
  • 12. The Cut rule - General Idea The cut rule is an inference rule of sequent calculus. It is a generalisation of the classical modus ponens rule, meaning - if formula A appears as conclusion in one proof as hypothesis in another, then another proof in which formula A does not appear can be deduced. Example - occurences of man are eliminated to deduce Socrates is mortal: Every man is mortal, Socrates is a man - Socrates is mortal. The cut rule is the subject of an important theorem - the cut elimination theorem, which states that any judgement that possesses a proof in the sequent calculus that makes use of the cut rule also possesses a cut-free proof(a proof that does not make use of cut rule).
  • 13. The Cut rule and Identity Axiom For every formula C, we have the identity axiom. The cut rule: The cut rule can be seen as the symmetric rule to identity axiom. The identity axiom states C-left is stronger than C-right. The cut rule states C-right is stronger than C-left The cut rule is not welcome in proof search. How can an algorithm guess C to prove A, A` |- B, B` ? For every proof for a sequent, there is a cut-free proof for the same sequent. So, no need for cut rule
  • 14. Unpredictable Cut rule The cut rule is absolutely unpredictable, since an arbitrary formula C disappears: it cannot be recovered from the conclusions. The cut rule is only rule which behaves in this way, all other rules have the property that the unspecified context part is preserved intact. For example: for A / B as a conclusion, A and B must have been used as premises. All rules expect cut have the property that premises are made up of sub- formula of the conclusions. In fact, a cut-free proof of sequent uses only subformula of its formula.
  • 15. Subformula Property The cut rule is unpredictable. So, there is no way to guess the cut formula C. โ— The immediate subformulae of A โˆง B, A โˆจ B, and A โ‡’ B are A and B; โ— The immediate subformulae of ยฌA is A; โ— The immediate subformulae of โˆ€ฮพ.A and โˆƒฮพ.A are A[a/ฮพ] with any term a. Except the cut rule, all rules preserve โ€œcontextsโ€ (written A, Aโ€™ , B, Bโ€™) and change only one formula; moreover, the premises are immediate subformula of the conclusion. This is called Subformula Property which is very useful in automated deduction.
  • 16. From Sequent Calculus to Natural Deduction A proof of A|- B corresponds to deduction of B under parcels of hypotheses A. Conversely, a deduction of B under parcels of hypotheses A can be represented by a proof of A |- B. Why not consider A |- B? - A deduction is for a formula, not formulae(s).
  • 17. Identity Axiom and Cut rule - Translation The identity group gives basic deductions. For the identity axiom, For the cut rule,
  • 18. Structural rules Translation Structural rules manage parcels. The rule LX is interpreted as the identity: the same deduction before and after the rule. For rule LW, add a new parcel. is interpreted as the creation of a mock parcel formed from zero occurrences of C. The rule LC merges two parcels.
  • 19. Logical rules Translation Right logical rules correspond to introduction. The rule Rโˆง will be interpreted by โˆงI The rule Rโ‡’ will be interpreted by โ‡’I. The rule Rโˆ€ will be interpreted by โˆ€I:
  • 20. From Sequent Calculus to Natural Deduction Left logical rules correspond to elimination. The rule L1โˆง is interpreted by โˆง1E: The rule Lโ‡’ is interpreted by โ‡’E: The rule Lโˆ€ is interpreted by โˆ€E
  • 21. Properties of translation The translation from sequent calculus into natural deduction is not 1โ€“1: different proofs give the same deduction, for example. which differ only in the order of the rules, have the same translation: Natural deductions reflect to our informal notion of โ€œproofsโ€ more closely. Sequent calculus on the other hand manipulates such โ€œproofs.โ€ Hence, A |- B means a โ€œproofโ€ of B from A.
  • 22. Some Remarks on Translation Right logical rules in sequent calculus correpond to introduction rules in natural deduction. The translation expands the deduction downwards (to the root). Left logical rules in sequent calculus correspond to elimination rules in natural deduction. The translation expands the deduction upwards (to leaves). We can make the translation expand downwards by the cut rule.
  • 23. Automatic proof generator for SC Sequent calculus proof generators. โ— http://logitext.mit.edu/main โ— http://bach.istc.kobe-u.ac.jp/seqprover/ โ— https://seqcalc.io/ Automatic ND to SC translator GAPT - General Architecture for proof theory. โ— https://logic.at/gapt โ— https://www.logic.at/gapt/release_archive.html โ— https://github.com/gapt/gapt
  • 24. Sequent Calculus - example Let's consider how to build a CL proof for |- ((A โˆง B) โˆง C) -> (B โˆง A) is true. First, we begin with the sequent as the goal and notice that the primary connective exposed in the only proposition available is implication, so we can apply the right implication rule: Next, we may break down the conjunction in the consequence B โˆง A with the right conjunction rule, splitting the proof into two parts
  • 25. Sequent Calculus - example At this point, the consequences of both our goals are generic, lacking any specific connectives to work with. Therefore, we must shift our attention to the left and begin breaking down the hypotheses. Since the hypothesis (AโˆงB)โˆงC contains a superfluous C, we use the first left conjunction rule in both branches of the proof to discard it:
  • 26. Sequent Calculus - example Now we may apply another left conjunction rule to select the appropriate hypothesis needed for both sub-proofs:
  • 27. Sequent Calculus - example And finally, we can now close off both sub-proofs with the Axiom, finishing the proof: