Skip to content

Commit

Permalink
Add proof to EM and fix the meta is left uninstanciated for forall de…
Browse files Browse the repository at this point in the history
…finition and rules
  • Loading branch information
NotBad4U committed Apr 3, 2024
1 parent 93b7d8b commit f6e8554
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions Classic.lp
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ end;

symbol ∀ᶜ [a] p ≔ `∀ x : τ a, ¬ ¬ (p x); notation ∀ᶜ quantifier;

opaque symbol ∀ᶜᵢ p : (Π x, πᶜ (p x)) → πᶜ (∀ᶜ p) ≔
opaque symbol ∀ᶜᵢ [a] p : (Π (x: τ a), πᶜ (p x)) → πᶜ (∀ᶜ p) ≔
begin
assume p Hnnpx Hnnnpx;
assume a p Hnnpx Hnnnpx;
apply Hnnnpx;
assume x Hnnp;
apply Hnnpx x;
Expand All @@ -66,9 +66,9 @@ begin
apply Hnp
end;

opaque symbol ∀ᶜₑ [p] x : πᶜ (∀ᶜ p) → πᶜ (p x) ≔
opaque symbol ∀ᶜₑ [a p] (x: τ a) : πᶜ (∀ᶜ p) → πᶜ (p x) ≔
begin
assume p x Hnnforallnnp Hnnpx;
assume a p x Hnnforallnnp Hnnpx;
apply Hnnforallnnp;
assume Hforallnnp;
refine Hforallnnp x Hnnpx
Expand Down Expand Up @@ -145,7 +145,18 @@ begin
refine Hnnnp Hnnp
end;

constant symbol classic [p] : πᶜ (p ∨ᶜ ¬ p);
opaque symbol classic [p] : πᶜ (p ∨ᶜ ¬ p) ≔
begin
assume p H;
apply H;
apply ∨ᵢ₁;
assume Hnp;
apply H;
apply ∨ᵢ₂;
assume Hnnp;
apply Hnnp;
refine Hnp
end;

opaque symbol nnpp [p] : πᶜ (¬ ¬ p) → πᶜ p ≔
begin
Expand Down

0 comments on commit f6e8554

Please sign in to comment.