Commit 3d37f17
Reimplement HOL mechanizing. (epfl-lara#254)
* update .gitignore
* upload current progress
* have some steps further
* Substitute failed at TApp
* fix Pi definition error and finish TApp prove
* finish T-Abs set boundary check
* Finish T-Abs functionality proof
* Finish TAbs typing rule proof
* Fix the error from abs defintion
* Refactor the code
* finish proving beta reduction
* FIx the definition of Pi
* provide some examples
* Basic typing system with dependent type works!
* Add more readable syntax and examples
* add a new example
* feat: Enhance Set Theory Library with Cardinality Definitions and Universe Structure
- Added Cardinal.scala to define cardinality concepts including equinumerosity and dominance.
- Introduced Universe.scala to establish the structural definition of Tarski/Grothendieck Universes.
- Implemented UniverseRank.scala to define the level of a universe and its properties.
- Created Predef.scala to export essential definitions from the cardinal package.
- Updated Helper.scala, Examples.scala, Symbols.scala, and TypingRules.scala to integrate new cardinality and universe functionalities.
- Added new theorems related to universes and cardinalities, including Cantor's theorem and the structure of universes.
* draft for a strong universe
* Finish the foundamental theorem(replacementImpliesFunctionRange)'s proof
* feat: Add new theorems for universe closure properties and enhance Symbols with proposition variable
* refactor: Simplify theorem definitions and remove commented-out universe structure theorem
* feat: Enhance typing rules and tactics with new theorems for universe handling and subset relations
* feat: replace the TForm with two auxilliary theorems within tactics
* refactor: change the project name
* feat: Add README file for LISA-CoC module with project overview and setup instructions
* fix: adjust compiler options
* Introduce subtyping case into current system, support automatical type-lifting
* reimplement types and on the way for HOL.
* mostly done with vars and functions
* typechecking works!
* remove 4 sorries
* closed to finished with HOL steps.
* small
* all tests pass
* moved typing to implicit context, removed HOL-specific constructors and fixed most tests.
* stable for HOL steps and tests.
* removed context and replace with typed variables again. Tests don't quite pass but probably nothing complicated.
* good amount of refactoring and cleaning
* inst_types tested
* about to remove all unused imports using scalafix.
* cleanup, removed unused imports, add HOLAbstraction.
* made test suites for HOL, various small improvements.
* add examples
* add file
* add file
* add missing file
* scalafix, scalafmt
* fix issues and remove duplicates.
* add HOL tactics that auto-have, and rename.
---------
Co-authored-by: HaleOIC <shinehale730@gmail.com>
Co-authored-by: YunsongY <yunsongyang730@gmail.com>
Co-authored-by: Yunsong Y <132993600+HaleOIC@users.noreply.github.com>1 parent 5b13582 commit 3d37f17
105 files changed
Lines changed: 3316 additions & 930 deletions
File tree
- lisa-sets/src
- main/scala/lisa
- automation
- atp
- hol
- maths
- SetTheory
- Base
- Cardinal
- Functions
- Operations
- Order
- WellOrders
- Ordinals
- Relations
- Operations
- Types
- ADT
- Dependent
- tptp
- test/scala/lisa
- automation
- examples/peano_example
- hol
- proven
- tptp
- utilities
- lisa-utils/src
- main/scala/lisa/utils
- collection
- fol
- prooflib
- unification
- test/scala/lisa
- kernel
- utils
- project/project/project
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 3 | | |
12 | 4 | | |
13 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 3 | | |
8 | | - | |
9 | 4 | | |
10 | 5 | | |
11 | 6 | | |
12 | 7 | | |
13 | | - | |
14 | | - | |
| 8 | + | |
15 | 9 | | |
16 | 10 | | |
17 | 11 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 12 | | |
22 | 13 | | |
23 | 14 | | |
| |||
196 | 187 | | |
197 | 188 | | |
198 | 189 | | |
199 | | - | |
| 190 | + | |
200 | 191 | | |
201 | 192 | | |
202 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
0 commit comments