logo
down
shadow

Solve ~(P /\ Q) |- Q -> ~P in Isabelle


Solve ~(P /\ Q) |- Q -> ~P in Isabelle

By : Abdul Rehman Basim
Date : November 29 2020, 09:01 AM
Hope that helps This is an example that the quality of an SO question is many times determined by an answer, not the question. I kind of give this answer to thank M.Eberl for another useful answer, since I can't make comments.
As to a comment above, that you may be asking a homework question, the comment is valid, but if you're confused by negation, then you're mostly doomed anyway, until you make progress, so even one complete answer wouldn't help you, and here, there's no right answer.
code :
lemma "~(P ∧ Q) ==> Q --> ~P"
  by auto
lemma disj_not2: "(P | ~Q) = (Q --> P)"
lemma "~(P ∧ Q) ==> Q --> ~P"
proof-
  fix P Q :: bool
  assume "~(P ∧ Q)"
  hence "~P ∨ ~Q" by simp
  hence "~Q ∨ ~P" by metis
  thus "Q --> ~P" by metis
qed


Share : facebook icon twitter icon
Isabelle: run sledgehammer on a different machine then my normal PC where Isabelle/jEdit runs

Isabelle: run sledgehammer on a different machine then my normal PC where Isabelle/jEdit runs


By : Kristy Charmaine Del
Date : March 29 2020, 07:55 AM
This might help you There's no easy way to achieve this from the user level. But here are a couple of ideas:
Does Lueng's RegExp library work with Isabelle/ML? Is there another regex lib devs use for Isabelle/ML?

Does Lueng's RegExp library work with Isabelle/ML? Is there another regex lib devs use for Isabelle/ML?


By : Zahid Hassan Alvi
Date : March 29 2020, 07:55 AM
should help you out That is a library for Standard ML of New Jersey, which has "Standard ML" in its name, but many non-standard add-ons, like the compilation manager CM.
I don't think it is worth spending too much time on that for Isabelle/ML. E.g. the parser combinators (structure Scan) are slightly more general and more functional in style.
What is (*>*) in Isabelle?

What is (*>*) in Isabelle?


By : Jawad
Date : March 29 2020, 07:55 AM
This might help you The special comments (*<*) and (*>*) tell the document preparation system of Isabelle to not include the enclosed theory text in the generated PDF documents. They are the predecessors of the more structured tags like %invisible, which also control what appears in the generated documents. For example,
code :
lemma %invisible silly: "0 = 0" by simp
(*<*)
lemma silly: "0 = 0" by simp
(*>*)
 by(simp add: take_map(*<*) drop_map(*>*))
Is 1 / 0 = 0 according to Isabelle?

Is 1 / 0 = 0 according to Isabelle?


By : user3066000
Date : December 24 2020, 06:01 AM
hope this fix your issue Isabelle/HOL is a logic of total functions, so there is no built-in notion of a fraction or any other function application being undefined. That is, a / b is defined for all a and b, and it returns their quotient except when b is zero. But then it still has a value.
In the library, the decision was made to complete the function in such a way that x / 0 = 0. This decision simplifies many proofs, since you have to deal with less side conditions. Unfortunately it also sometimes confuses people who expect something else.
Isabelle 'fun' without 'where'?

Isabelle 'fun' without 'where'?


By : Monkey_D_Luffy
Date : March 29 2020, 07:55 AM
will help you Firstly, I do not see why fun f without where is a handy alternative to consts f. You have the latter at your disposal (but also have to specify a type), use it if you must. Moreover, consts is more primitive than commands like definition, fun, and -- in my opinion -- shouldn't be used in production code.
As for your comment on leaving constructors undefined inside a function declaration. The wording "undefined" is misleading here, since, e.g., after
Related Posts Related Posts :
  • Ignore whitespace in Xtext rule
  • ServiceStack Ormlite: Circular reference between parent and child tables prevents foreign key creation
  • Can't connect to MobileFirst 7.1 server
  • See parameters that are overridden from TeamCity template
  • Can we send collection of messages in QuickBlox using Android SDK
  • SqlFileStream: Returning stream vs byte array in HTTP response
  • tvos: How should we handle low resolution monitor? like 1366x768
  • Aggregation binding only shows last item
  • Gitlab CI artifacts crashes with 403
  • InvalidSessionDescriptionError: Invalid description, no ice-ufrag attribute
  • Missing ionic.project file
  • ispConfig soap client functions of billing module does not exist
  • How to check for dynamic element names in a typeswitch expression?
  • braintree payments integration with zf2( zend framework 2 )
  • Sitecore 8 Admin role: Lock access
  • freemarker looping sequence error
  • How to set multiple commands in one yaml file with Kubernetes?
  • Quartz composer - output specific number
  • make gdb load a shared library from a specific path
  • ADD A COLUMN WITH SR.NO in Sap.m.table irrespective of other columns
  • Can I use SPARQL to query DBPedia for information about Wiki pages such as page length or number of times an article was
  • Jaro Similarity
  • How can I share sessions between Chrome and Paw?
  • how to start developing with OpenText CASE360
  • How to find relation between send and received message in twillio
  • JetBrains Resharper 9 Ultimate Test Runner error: NUnit.Core.UnsupportedFrameworkException: Skipped loading assembly {My
  • Which RFID and RFID Reader to use?
  • wmi call returning Unexpected COM Error error
  • Training model ignored by stanford CoreNLP
  • z3: Is it possible to adjust the branching heuristics in Z3?
  • SAPUI5_JSON Data binding issue
  • Why does my protractor test have "no specs found" when I include jasmine-reporters in my config file?
  • How to remove "OK" button from Dialog fragment in Android
  • MobileFirst 7.1 connectOnStartup & WL.Client.connect different
  • OrientDB Fetch Plan/Strategies with Tinkerpop
  • Release memory from ID3D11Device::CreateBuffer(...)
  • Samsung SDK: how to install app through apache server and view logs in console?
  • Silex - Redirecting to home page if url not found
  • Convert a TIME8. to a Character Without First Converting to Numeric Format
  • ImageMagick, Can ImageMagick return single annotation as a bitmap?
  • Block access to some LAN ip`s using PFsense
  • noVNC Multiple Localhost Servers
  • What casts are allowed with `as`?
  • Google Drive API append file?
  • nix-env -qa not showing latest packages
  • In TI-BASIC, how do I add a variable in the middle of a String?
  • NetBeans - Display .gitignore Files in Projects/Files
  • Why is my command prompt freezing on Windows 10?
  • pass python arguments with argument name
  • Storing a time stamp(Calendar object) with objectify
  • XSLT to copy element without default/old namespace
  • Spark: join key-tuple pairs into key-list value
  • RethinkDB: Get last N from an object
  • How to direct my index to MediaWiki index.php
  • Removing ExecControl to upgrade to Ratpack v1.1.1?
  • When registering a table using the %pyspark interpreter in Zeppelin, I can't access the table in %sql
  • Phaser Sprite for joint between two bodies
  • The system detected a protection exception
  • OpenCL cannot find GPU device: NVIDIA GPU (Quadro K4000) + Visual Studio 2015
  • Rendr add custom header to fetch request (such as basic auth)
  • shadow
    Privacy Policy - Terms - Contact Us © animezone.co