forward vs backward proof
play

Forward vs. backward proof Consider the following Natural Deduction - PowerPoint PPT Presentation

Forward vs. backward proof Consider the following Natural Deduction rule: Rule can be read in two ways: Backwards: to prove suffjces to prove Forwards: if holds then holds With apply -style proofs we are reasoning


  1. Forward vs. backward proof Consider the following Natural Deduction rule: Rule can be read in two ways: • Backwards: “to prove suffjces to prove ” • Forwards: “if holds then holds” With apply -style proofs we are reasoning backwards Decomposing complex goals into simpler goals Using a backward reading of rules and theorems 1 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ

  2. Forward vs. backward proof Consider the following Natural Deduction rule: Rule can be read in two ways: With apply -style proofs we are reasoning backwards Decomposing complex goals into simpler goals Using a backward reading of rules and theorems 1 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ • Backwards: “to prove Γ ⊢ φ → ψ suffjces to prove Γ , φ ⊢ ψ ” • Forwards: “if Γ , φ ⊢ ψ holds then Γ ⊢ φ → ψ holds”

  3. Forward vs. backward proof Consider the following Natural Deduction rule: Rule can be read in two ways: With apply -style proofs we are reasoning backwards Decomposing complex goals into simpler goals Using a backward reading of rules and theorems 1 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ • Backwards: “to prove Γ ⊢ φ → ψ suffjces to prove Γ , φ ⊢ ψ ” • Forwards: “if Γ , φ ⊢ ψ holds then Γ ⊢ φ → ψ holds”

  4. Meta vs. object-level Consider the same Natural Deduction rule: Recall the forward reading: “if holds then holds” Note there are two different kinds of implication at play here! The implication in the logic we are reasoning about: The implication in our meta-language, informal English: “if-then” Isabelle uses a logic rather than informal English for this purpose The “fat arrow” replaces the English “if-then” in Isabelle 2 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ

  5. Meta vs. object-level Consider the same Natural Deduction rule: Note there are two different kinds of implication at play here! The implication in the logic we are reasoning about: The implication in our meta-language, informal English: “if-then” Isabelle uses a logic rather than informal English for this purpose The “fat arrow” replaces the English “if-then” in Isabelle 2 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ Recall the forward reading: “if Γ , φ ⊢ ψ holds then Γ ⊢ φ → ψ holds”

  6. Meta vs. object-level Consider the same Natural Deduction rule: Note there are two different kinds of implication at play here! The implication in our meta-language, informal English: “if-then” Isabelle uses a logic rather than informal English for this purpose The “fat arrow” replaces the English “if-then” in Isabelle 2 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ Recall the forward reading: “if Γ , φ ⊢ ψ holds then Γ ⊢ φ → ψ holds” The implication in the logic we are reasoning about: φ → ψ

  7. Meta vs. object-level Consider the same Natural Deduction rule: Note there are two different kinds of implication at play here! The implication in our meta-language, informal English: “if-then” Isabelle uses a logic rather than informal English for this purpose 2 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ Recall the forward reading: “if Γ , φ ⊢ ψ holds then Γ ⊢ φ → ψ holds” The implication in the logic we are reasoning about: φ → ψ The “fat arrow” = ⇒ replaces the English “if-then” in Isabelle

  8. Moreover... holds then when embedded in HOL Thus the Natural Deduction rule above would be rendered as “for-every” in Isabelle ) replaces the English The meta-level universal quantifjer ( holds” : if In the rule: , and , “ For every ...there’s also hidden universal quantifjcation 3 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ

  9. Moreover... In the rule: ...there’s also hidden universal quantifjcation The meta-level universal quantifjer ( ) replaces the English “for-every” in Isabelle Thus the Natural Deduction rule above would be rendered as when embedded in HOL 3 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ “ For every Γ , φ , and ψ : if Γ , φ ⊢ ψ holds then Γ ⊢ φ → ψ holds”

  10. Moreover... In the rule: ...there’s also hidden universal quantifjcation “for-every” in Isabelle Thus the Natural Deduction rule above would be rendered as when embedded in HOL 3 Γ , φ ⊢ ψ ( ImpI ) Γ ⊢ φ → ψ “ For every Γ , φ , and ψ : if Γ , φ ⊢ ψ holds then Γ ⊢ φ → ψ holds” The meta-level universal quantifjer ( � ) replaces the English � Γ φ ψ. Γ , φ ⊢ ψ = ⇒ Γ ⊢ φ → ψ

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend