Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
personoj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
koizel
personoj
Commits
b9937891
Commit
b9937891
authored
5 years ago
by
gabrielhdt
Browse files
Options
Downloads
Patches
Plain Diff
several corrections
parent
2ec0e673
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
prelude/cert_f/numbers.lp
+4
-4
4 additions, 4 deletions
prelude/cert_f/numbers.lp
with
4 additions
and
4 deletions
prelude/cert_f/numbers.lp
+
4
−
4
View file @
b9937891
...
...
@@ -11,7 +11,7 @@ constant symbol number: Term uType
// Theory number_fields
//
symbol field_pred: Term number ⇒ Univ Prop
constant symbol
number_field
: Term (
ePsub number field_pred
)
definition
number_field
≔
ePsub number field_pred
// number_field is an uninterpreted subtype
definition numfield ≔ number_field
...
...
@@ -27,7 +27,7 @@ proof admit
symbol lt (x y: Term real): Term bool
set infix 6 "<" ≔ lt
definition leq (x y: Term real) ≔ (lt x y) ∨ (
@
eq real x y)
definition leq (x y: Term real) ≔ (lt x y) ∨ (eq
{
real
}
x y)
definition gt (x y: Term real) ≔ y < x
set infix 7 ">" ≔ gt
definition geq (x y: Term real) ≔ leq y x
...
...
@@ -49,7 +49,7 @@ constant symbol rational: Term uType
//
symbol integer_pred: Term (pred rational)
// constant symbol integer: Term (∃ integer_pred) ⇒ Term uType
constant symbol integer: Term uType
definition integer ≔ ePsub rational integer_pred
// Proof of existence because NONEMPTY_TYPE
theorem integer_not_empty: Term (∃ integer_pred)
proof
...
...
@@ -58,5 +58,5 @@ definition int ≔ integer
symbol natz : Term int
definition nonzero_integer ≔ ePsub int (
λx,
neq natz
x
)
definition nonzero_integer ≔ ePsub int (neq natz)
definition nzint ≔ nonzero_integer
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment