Skip to content

Commit

Permalink
Lattices2 (#206)
Browse files Browse the repository at this point in the history
Fix README to take the folder change of the reference manual into account. Small improvements to lattices tutorial.
  • Loading branch information
SimonGuilloud authored Jan 9, 2024
1 parent 9dcd3b1 commit 5471d8b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

LISA is a proof assistant based on first-order logic, sequent calculus, and set
theory. To get started, take a look at the [Reference
Manual](Reference%20Manual/lisa.pdf).
Manual](refman/lisa.pdf).

LISA is developed and maintained by the [Laboratory for Automated Reasoning and
Analysis (LARA)](https://lara.epfl.ch) at the [EPFL](https://epfl.ch).
Expand Down
19 changes: 18 additions & 1 deletion lisa-examples/src/main/scala/Lattices.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
object Lattices extends lisa.Main {



val x = variable
val P = predicate[1]
val f = function[1]

val fixedPointDoubleApplication = Theorem(
∀(x, P(x) ==> P(f(x))) |- P(x) ==> P(f(f(x)))
) {
sorry
}






// We introduce the signature of lattices
val <= = ConstantPredicateLabel.infix("<=", 2)
addSymbol(<=)
Expand All @@ -16,7 +34,6 @@ object Lattices extends lisa.Main {

// We now states the axioms of lattices

val x = variable
val y = variable
val z = variable

Expand Down

0 comments on commit 5471d8b

Please sign in to comment.