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
fcd7b825
Commit
fcd7b825
authored
5 years ago
by
gabrielhdt
Browse files
Options
Downloads
Patches
Plain Diff
prf_irrelevance
parent
86cf6dad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sandbox/nat.lp
+23
-0
23 additions, 0 deletions
sandbox/nat.lp
with
23 additions
and
0 deletions
sandbox/nat.lp
+
23
−
0
View file @
fcd7b825
...
...
@@ -58,3 +58,26 @@ proof
simpl
refine reflexivity_of_equal _ ((fst x) + (fst x))
qed
symbol surjective_pairing T (p: Term T ⇒ Term bool):
∀x: Term (Psub p), Term (pair p (fst x) (snd x) = x)
theorem prf_irrelevance: ∀x y: Term Even, Term (fst x = fst y) ⇒ Term (x = y)
proof
assume x y h
refine transitivity_of_equal Even x (pair even (fst x) (snd x)) y _
assume h0
refine h0 ?P0[x,y,h,h0] _
// Proof of P0 that x = pair even (fst x) (snd x)
refine symmetry_of_equal Even (pair even (fst x) (snd x)) x _
refine surjective_pairing _ even x
refine transitivity_of_equal Even (pair even (fst x) (snd x)) (pair even (fst y) (snd y)) y _
assume h1
refine h1 _ _
focus 1
refine surjective_pairing _ even y
simpl //FIXME
qed
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