Comments (2)
Thanks for the report. That's actually a bug in the error checking: dV does not support equational postconditions directly because there is no good notion of "epsilon" progress towards it.
Here are two alternative more "canonical" ways to prove an equational postcondition.
- In your example, the intuition for the proof since x starts at 0 and reaches x > 1 eventually, it should have hit x=1 along the way. Use K<&> from the right-click menu to turn the postcondition to x>1 (or x>=1) first.
This gives you two branches. The "easy" branch <{x'=1}>x>1 which should prove by dV automatically.
The more interesting branch has a box modality: [{x'=1 & !x=1}] !x>1. Intuitively, this gives a contrapositive reading of what I wrote above, i.e., if the ODE never hit x=1, then it could never have hit x>1. This should prove automatically by ODE.
- Another case is if the equality happens to be an invariant of your system, for example:
x=0 & c=0 -> <{x'=1,c'=c}>(x>1&c=0)
Here, you can again use K<&> with x>1. The interesting branch has a box modality: [{x'=1,c'=c & !(x>1&c=0)}] !x>1. This proves automatically (or you can diff cut c=0).
Alternatively, if you would like to use [{x'=1,c'=c}]c=0 more in your subsequent proofs, then use "compactCut" from the right-click menu to first add an assumption [{x'=1,c'=c}]c=0.
from keymaerax-release.
Fixed in e078f77
from keymaerax-release.
Related Issues (20)
- [UI] [enhancement] Model pop-up dialog does not auto-close upon running incomplete tactic
- empty Tactic block => internal safety check violated
- [UI] only allow editing existing model while "edit" button is active
- opening deleted proof-> lots of error dialogs
- [parser/printer?] KeYmaera X allows uploading models with Unicode characters, then errs HOT 1
- mond context-menu UI bug
- KeyMaeraX not Loading HOT 2
- Mathematica and Wolfram Engine Configuration HOT 1
- Input {48, MemoryConstrained[...]} cannot be evaluated, cause: {HoldForm[MessageName[ForAll, "msgs"]]} HOT 2
- Configuration.sanitizedPathSegments breaks execution on Windows HOT 4
- Error with derived axioms database in KeYmaera 5.0.2 HOT 2
- Unable to use built-in implicitly defined functions (e.g., sin(x))
- Cannot prove lemmas due to overlapping UI elements HOT 1
- Archive only uploads halfway when some entries contain non-fatal errors
- Some syntax errors only found upon starting proof HOT 1
- Late definition usubst clash checking leads to less direct error messages
- [UI] [enhancement] Change right-click menu closing logic
- [UI] [enhancement] Not obvious to user why diRule breaks tactic editor goal-switching HOT 6
- [UI] [enhancement] raw token names in alternative tactic editor display are surprising
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keymaerax-release.