Giter Club home page Giter Club logo

spring22's Introduction

6.822: Formal Reasoning About Programs

Course website: https://frap.csail.mit.edu/

Use git clone --recursive to clone this repository. If you have already cloned it without submodules, use git submodule init followed by git submodule update to get the 6.822 Coq library in frap/.

Each pset will appear in this repository. Pset 1 is already available in pset01_ProgramAnalysis/. Instructions for completing it are in pset01_ProgramAnalysis/Pset1Signature.v.

Happy proving!

spring22's People

Contributors

al3623 avatar

Stargazers

Tejas Gupta avatar ZYMo avatar VL avatar Fa1sePRoMiSe avatar joao guilherme avatar Mahiru Kagura avatar  avatar Seboo avatar Junrui Liu avatar Yiyuan Cao avatar Michal  avatar Ziqian Zhong avatar Reece McMillin avatar Yush G avatar ebigram avatar Samuel Tian avatar Nikita avatar McCoy R. Becker avatar Victor A. Ying avatar

Watchers

Victor A. Ying avatar Samuel Gruetter avatar Ziqian Zhong avatar Clément Pit-Claudel avatar

spring22's Issues

Pset3: theorems `bst_strict_monotone_increasing` and `bst_strict_monotone_decreasing_mirror` are degenerate

(Thanks for these problem sets, which I've been very much enjoying as I learn Coq.)

In Pset3, the two monotonicity-related theorems are degenerate in the following sense:

bst_strict_monotone_increasing: Under the assumptions of the theorem, namely that f : nat -> nat has a right inverse and is strictly monotone, we can prove f = id. This makes the theorem trivial.

bst_strict_monotone_decreasing_mirror: The theorem assumes that f : nat -> nat is strictly decreasing, but there is no such function. Thus the theorem can be proven by showing that the hypotheses are contradictory.

I assume this is just an accident caused by using nat for convenience, since various other totally-ordered sets (such as the integers or the rationals) wouldn't have this problem.

(Edit: Fixed accidentally saying f has a left inverse. f has a right inverse, because the left inverse of g is f. The important thing is that it causes f to be onto.)

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.