Giter VIP home page Giter VIP logo

lcsassignment-2_part-2's Introduction

LCSAssignment-2_part-2

Logic in Computer Science Assignment 2-Part-2 along with Documentation

Project Status-Completed

Collaborators-AjithKanduri,VamsiAdapa.

Documentation of the Project can be viewed in html pages by opening index.html file in Documentation folder in repository's root.

Project Description: Note: This project is done in C++ programming language Aim: To create a tool for verifying whether a certain proof of a given sequent is valid or not, for a certain set of proof rules These proof rules are listed below 1.Premise 2.AND Introduction/Elimination 3.OR Introduction 4.IMPLIES Elimination 5.Modus Tollens(MT)

Assumptions Made: 1.Each propositional formula should begin and end with parenthesis examples: (i) (a^b) is valid (ii) a^b is invali (iii) ((a^b)^(c^d)) is valid (iv) (a^b)^(c^d) is invalid

2.In case of negation or multiple negations to a literal/formula, each negation is enclosed within set of parenthesis.
 examples:
  (i) ~p is invalid
  (ii) (~p) is valid
  (iii) (~(~p)) is valid
  (iv) (~~p) is invalid

Procedure: 1.Each line of proof of the given sequent is sorted into propositional formula, proof rule and line numbers of proof used to prove the propositional formula. 2.We then validate propositional formula by passing it to it's proof rule's method. 3.Step-2 is repeated for all the lines of proof. 4.If all lines are valid than the proof is considered valid.

Observations: The Given Observation were recorded on a Ubuntu 18.04.1 environment and compiled using g++ compiler, C++14 standard The execution time might vary from system to system

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.