proof nets for sum product logic
play

Proof nets for sumproduct logic Willem Heijltjes LFCS School of - PowerPoint PPT Presentation

Proof nets for sumproduct logic Willem Heijltjes LFCS School of Informatics University of Edinburgh Kananaskis, 11-12 June 2011 This talk. . . Part 1 Background Sumproduct nets without units Sumproduct nets with units


  1. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  2. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  3. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  4. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  5. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  6. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  7. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  8. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  9. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  10. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  11. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  12. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  13. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  14. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  15. Example 1 1 × × + 0 0 + × 1 1 × 0 0

  16. The problem We would like canonical representations for the equivalence classes of proof nets generated by ( ⇔ ). A standard approach is to rewrite towards a normal form, using a confluent and terminating rewrite relation. The first question is then whether restricting the equivalences of ( ⇔ ) to a single direction can provide a suitable rewrite relation.

  17. Rewriting towards the leaves × 1 ⇒ ⇒ ? × 1 ⇒ ⇒ × 1

  18. Rewriting towards the roots 0 1 × + ⇒ ⇒ 0 1 0 1 × + × + ⇒ ⇒ ?

  19. Rewriting towards the roots 0 1 × + ⇒ ⇒ 0 1 0 1 × + × + ⇒ ⇒ ? A first attempt at a solution: a new type of link 0 1 + ×

  20. Rewriting towards the roots id A A + × 0 1 ⇒ ⇒ id id A A A A + × + × 0 1 0 1 ⇒ ⇒ ?

  21. Rewriting towards the roots id A A + × 0 1 ⇒ ⇒ id id A A A A + × + × 0 1 0 1 ⇒ ⇒ ? The following breaks the switching condition (and makes no sense) id A A + × 0 1

  22. The solution Confluent rewriting seems impossible without breaking the switching condition. So: break it. Then there is a simple confluent and normalising rewrite relation: saturation ( ). ⇔ 0 + 0 + + 0

  23. The solution Confluent rewriting seems impossible without breaking the switching condition. So: break it. Then there is a simple confluent and normalising rewrite relation: saturation ( ). ⇔ 0 × 0 × × 0

  24. The solution Confluent rewriting seems impossible without breaking the switching condition. So: break it. Then there is a simple confluent and normalising rewrite relation: saturation ( ). ⇔ + 1 + 1 + 1

  25. The solution Confluent rewriting seems impossible without breaking the switching condition. So: break it. Then there is a simple confluent and normalising rewrite relation: saturation ( ). ⇔ × 1 × 1 × 1

  26. Example 0 1 + + 0 1

  27. Example 0 1 + + 0 1

  28. Example 0 1 + + 0 1

  29. Example 0 1 + + 0 1

  30. Example 0 1 + + 0 1

  31. Example 0 1 + + 0 1

  32. Example 0 1 + + 0 1

  33. Example 0 1 + + 0 1

  34. Example 0 1 + + 0 1

  35. Example 0 1 + + 0 1

  36. Example 0 1 + + 0 1

  37. Example 0 1 + + 0 1

  38. Results The saturation relation ( ) is confluent rewrite steps add links, depending on the presence of other links strongly normalising bounded by the number of possible links R ( | X | × | Y | for X − → Y ) (in | X | × | Y | ); saturation steps are linear-time constant-time

  39. Results The saturation relation ( ) is confluent rewrite steps add links, depending on the presence of other links strongly normalising bounded by the number of possible links R ( | X | × | Y | for X − → Y ) (in | X | × | Y | ); saturation steps are linear-time constant-time σ R Write X − → Y for the normal form (the saturation) of a net R − → Y and call it a saturated net X

  40. Results Saturation gives a decision procedure for sum–product logic: R S σ R σ S X − → Y ⇔ X − → Y ⇐ ⇒ X − → Y = X − → Y Completeness ( ⇒ ) ⇔ ⇔ ⇔ R ′ R . . . . . S • • • ............. • . . . . . . . • Soundness ( ⇐ ) is the hard part

  41. Saturated nets σ R A saturated net X − → Y combines the links of all equivalent nets S R � σ R = { S | X − → Y ⇔ X − → Y }

  42. Saturated nets σ R A saturated net X − → Y combines the links of all equivalent nets S R � σ R = { S | X − → Y ⇔ X − → Y } call links occurring in the same saturation step neighbours, and an equivalence class of neighbouring links a neighbourhood Correctness: (tentative) relation of links R ⊆ X × Y is a saturated net if and only if it is saturated, and for every switching the links switched on form a non-empty neighbourhood.

  43. Saturated nets σ R A saturated net X − → Y combines the links of all equivalent nets S R � σ R = { S | X − → Y ⇔ X − → Y } call links occurring in the same saturation step neighbours, and an equivalence class of neighbouring links a neighbourhood Correctness: (tentative) relation of links R ⊆ X × Y is a saturated net if and only if it is saturated, and for every switching the links switched on form a non-empty neighbourhood. Morally, this is a requirement for evidence that all maps expressed in a net commute.

  44. The category of saturated nets The category of saturated nets is the free completion with finite (nullary and binary) products and coproducts of a base category C . σ id X Identities are nets X − → X where id X is the identity relation on the leaves of X . id A 0 0 1 1 A A id 0 = ? 0 id 1 = ! 1 id X id X + + × × id Y id Y id X + Y = [ ι 0 ◦ id X , ι 1 ◦ id Y ] id X × Y = 〈 id X ◦ π 0 , id Y ◦ π 1 〉

  45. The category of saturated nets The category of saturated nets is the free completion with finite (nullary and binary) products and coproducts of a base category C . σ id X Identities are nets X − → X where id X is the identity relation on the leaves of X . Saturation is necessary: nets id X are equivalent to other nets. 0 0 0 0 ⇔ + + + + 1 1 1 1 ∗ ∗ 0 0 + + 1 1

  46. The category of saturated nets The category of saturated nets is the free completion with finite (nullary and binary) products and coproducts of a base category C . Composition is relational composition followed by (re-)saturation. 0 A A 1 × + + + 0 B B 1 0 1 × + 0 1 0 1 × + 0 1

  47. Future work: bicompletions For products, these are the diagrams × ×

  48. Future work: bicompletions For products, these are the diagrams × × Possibly, equalisers can be added in the following way E E R S R S

Recommend


More recommend