Let gamma be given.
Apply IH gamma Hc to the current goal.
Assume H1.
An exact proof term for the current goal is H1.
Apply H1 to the current goal.
Let tau be given.
Assume H2.
Apply H2 to the current goal.
Assume H2.
Apply H2 to the current goal.
Let p be given.
Apply HNC2 to the current goal.
We use tau to witness the existential quantifier.
Apply andI to the current goal.
We will
prove tau ∈ alpha.
An exact proof term for the current goal is Ha1 gamma Hc tau Ht.
We use p to witness the existential quantifier.
An exact proof term for the current goal is H3.
Let gamma be given.
Apply LIH gamma Hc1 to the current goal.
Let p be given.
Assume Hp.
Apply Hp to the current goal.
Apply Hp1 to the current goal.
Assume Hp1a Hp1b.
We prove the intermediate
claim Lplpe:
PNoEq_ gamma pl p.
Let delta be given.
We prove the intermediate
claim Lsda:
ordsucc delta ∈ alpha.
An
exact proof term for the current goal is
Ha1 gamma Hc1 (ordsucc delta) Hsd.
Apply IH2 (ordsucc delta) Hsd Lsda to the current goal.
We will
prove pl delta ↔ p delta.
Apply Hpl2 p to the current goal.
We will
prove pl delta ↔ p delta.
Apply iffI to the current goal.
Assume H2: pl delta.
We will prove p delta.
Apply H2 p to the current goal.
rewrite the current goal using Hsd (from right to left).
An exact proof term for the current goal is Hp1.
Assume H2: p delta.
Let q be given.
rewrite the current goal using Hsd (from right to left).
We will prove q delta.
An
exact proof term for the current goal is
iffEL (p delta) (q delta) (Hp2 q Hq delta Hd) H2.
Apply andI to the current goal.
Apply andI to the current goal.
Let beta be given.
Let q be given.
An
exact proof term for the current goal is
Hp1a beta Hb q Hq.
We will
prove PNoEq_ gamma p pl.
An exact proof term for the current goal is Lplpe.
Let beta be given.
Let q be given.
We will
prove PNoEq_ gamma pl p.
An exact proof term for the current goal is Lplpe.
An
exact proof term for the current goal is
Hp1b beta Hb q Hq.
Let q be given.
We will
prove PNoEq_ gamma pl q.
Apply PNoEq_tra_ gamma pl p q to the current goal.
We will
prove PNoEq_ gamma pl p.
An exact proof term for the current goal is Lplpe.
We will
prove PNoEq_ gamma p q.
An exact proof term for the current goal is Hp2 q Hq.
Let gamma be given.
We prove the intermediate
claim Lc:
ordinal gamma.
An
exact proof term for the current goal is
ordinal_Hered alpha Ha gamma Hc.
An exact proof term for the current goal is Lpl1 gamma Lc Hc.
Apply HNC1 to the current goal.
We use pl to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
Let beta be given.
Let q be given.
Assume H2.
Apply H2 to the current goal.
An exact proof term for the current goal is H2.
Assume H2.
Apply H2 to the current goal.
Apply In_irref alpha to the current goal.
rewrite the current goal using H2 (from right to left) at position 1.
An exact proof term for the current goal is Hb.
Apply PNoLtE alpha beta pl q H2 to the current goal.
Apply H3 to the current goal.
Let gamma be given.
Assume H4.
Apply H4 to the current goal.
Assume Hc1 Hc2.
Assume H5.
Apply H5 to the current goal.
Assume H5.
Apply H5 to the current goal.
Assume H7: q gamma.
We prove the intermediate
claim Lc:
ordinal gamma.
Apply H6 to the current goal.
We will prove pl gamma.
Let p be given.
We will prove p gamma.
Apply Hp to the current goal.
Assume Hp1 Hp2.
We prove the intermediate
claim Lqp:
PNoLt gamma q (ordsucc gamma) p.
Apply Hp1 gamma (ordsuccI2 gamma) q to the current goal.
An exact proof term for the current goal is Hq.
We will
prove gamma ∈ beta.
An exact proof term for the current goal is Hc2.
We will
prove PNoEq_ gamma q q.
We will prove q gamma.
An exact proof term for the current goal is H7.
Apply H6 to the current goal.
Let delta be given.
Assume H7.
Apply H7 to the current goal.
Assume Hd1 Hd2.
Assume H7.
Apply H7 to the current goal.
Assume H7.
Apply H7 to the current goal.
Assume H9: p delta.
We prove the intermediate
claim Ld:
ordinal delta.
An
exact proof term for the current goal is
ordinal_Hered gamma Lc delta Hd1.
We prove the intermediate
claim Lda:
delta ∈ alpha.
An exact proof term for the current goal is Ha1 gamma Hc1 delta Hd1.
We prove the intermediate
claim Lsda:
ordsucc delta ∈ alpha.
An exact proof term for the current goal is H1 delta Lda.
We prove the intermediate claim Lpld: pl delta.
Apply Lpl2 (ordsucc delta) Lsda to the current goal.
Assume _.
We prove the intermediate
claim Lpld1:
PNoEq_ (ordsucc delta) pl p.
Apply Hpl3 p to the current goal.
An exact proof term for the current goal is Lc.
We will
prove delta ∈ gamma.
An exact proof term for the current goal is Hd1.
An exact proof term for the current goal is Hp.
An
exact proof term for the current goal is
iffER (pl delta) (p delta) (Lpld1 delta (ordsuccI2 delta)) H9.
We prove the intermediate
claim Lnpld:
¬ pl delta.
Assume H10: pl delta.
Apply H8 to the current goal.
An
exact proof term for the current goal is
iffEL (pl delta) (q delta) (H5 delta Hd1) H10.
An exact proof term for the current goal is Lnpld Lpld.
Assume H8: p gamma.
An exact proof term for the current goal is H8.
Apply H5 to the current goal.
Let p be given.
Apply Hp to the current goal.
Assume Hp1 Hp2.
Apply H6 to the current goal.
Let delta be given.
Assume H7.
Apply H7 to the current goal.
Assume Hd1 Hd2.
Assume H7.
Apply H7 to the current goal.
Assume H7.
Apply H7 to the current goal.
Assume H9: p delta.
We prove the intermediate
claim Ld:
ordinal delta.
We prove the intermediate
claim Lda:
delta ∈ alpha.
An
exact proof term for the current goal is
Ha1 beta Hb delta Hd1.
We prove the intermediate
claim Lsda:
ordsucc delta ∈ alpha.
An exact proof term for the current goal is H1 delta Lda.
We prove the intermediate claim Lpld: pl delta.
Apply Lpl2 (ordsucc delta) Lsda to the current goal.
Assume _.
We prove the intermediate
claim Lpld1:
PNoEq_ (ordsucc delta) pl p.
Apply Hpl3 p to the current goal.
An exact proof term for the current goal is Lb.
We will
prove delta ∈ beta.
An exact proof term for the current goal is Hd1.
An exact proof term for the current goal is Hp.
An
exact proof term for the current goal is
iffER (pl delta) (p delta) (Lpld1 delta (ordsuccI2 delta)) H9.
We prove the intermediate
claim Lnpld:
¬ pl delta.
Assume H10: pl delta.
Apply H8 to the current goal.
An
exact proof term for the current goal is
iffEL (pl delta) (q delta) (H4 delta Hd1) H10.
An exact proof term for the current goal is Lnpld Lpld.
An exact proof term for the current goal is H8.
Let beta be given.
Let q be given.
An
exact proof term for the current goal is
H1 beta Hb.
Assume H2.
Apply H2 to the current goal.
An exact proof term for the current goal is H2.
Assume H2.
Apply H2 to the current goal.
Apply In_irref alpha to the current goal.
rewrite the current goal using H2 (from left to right) at position 1.
An exact proof term for the current goal is Hb.
Apply PNoLtE beta alpha q pl H2 to the current goal.
Apply H3 to the current goal.
Let gamma be given.
Assume H4.
Apply H4 to the current goal.
Assume Hc2 Hc1.
Assume H5.
Apply H5 to the current goal.
Assume H5.
Apply H5 to the current goal.
Assume H7: pl gamma.
We prove the intermediate
claim Lc:
ordinal gamma.
We prove the intermediate
claim Lsca:
ordsucc gamma ∈ alpha.
An exact proof term for the current goal is H1 gamma Hc1.
Apply Lpl2 (ordsucc gamma) Lsca to the current goal.
Assume _.
Apply Hpl2 to the current goal.
Assume _.
We prove the intermediate
claim Lplq:
PNoLt (ordsucc gamma) pl gamma q.
Apply Hpl2b gamma (ordsuccI2 gamma) q to the current goal.
An exact proof term for the current goal is Hq.
We will
prove gamma ∈ beta.
An exact proof term for the current goal is Hc2.
We will
prove PNoEq_ gamma q q.
An exact proof term for the current goal is H6.
We prove the intermediate
claim Lqpl:
PNoLt gamma q (ordsucc gamma) pl.
We will
prove PNoEq_ gamma q pl.
An exact proof term for the current goal is H5.
We will prove pl gamma.
An exact proof term for the current goal is H7.
An
exact proof term for the current goal is
PNoLt_tra gamma (ordsucc gamma) gamma Lc Lsc Lc q pl q Lqpl Lplq.
Assume _.
Apply Hpl2 to the current goal.
Assume _.
An exact proof term for the current goal is Hq.
An exact proof term for the current goal is H4.
An exact proof term for the current goal is H5.
Let q be given.
Let gamma be given.
We will
prove pl gamma ↔ q gamma.
We prove the intermediate
claim Lsca:
ordsucc gamma ∈ alpha.
An exact proof term for the current goal is H1 gamma Hc.
Apply Lpl2 (ordsucc gamma) Lsca to the current goal.
Assume _.
Apply Hpl3 to the current goal.
Apply H1 to the current goal.
Let beta be given.
Assume H1.
Apply H1 to the current goal.
rewrite the current goal using Hab (from right to left).
An exact proof term for the current goal is Ha.
An exact proof term for the current goal is Lbsb1.
Apply LIH beta Hb to the current goal.
Let p be given.
Apply Hp to the current goal.
Apply Hp0 to the current goal.
Set p0 to be the term
λdelta ⇒ p delta ∧ delta ≠ beta of type
set → prop.
Set p1 to be the term
λdelta ⇒ p delta ∨ delta = beta of type
set → prop.
We prove the intermediate
claim Lp0e:
PNoEq_ beta p0 p.
Let gamma be given.
We will
prove p0 gamma ↔ p gamma.
Apply iffI to the current goal.
We will prove p gamma.
Apply H2 to the current goal.
Assume H2 _.
An exact proof term for the current goal is H2.
Assume H2: p gamma.
We will
prove p gamma ∧ gamma ≠ beta.
Apply andI to the current goal.
An exact proof term for the current goal is H2.
rewrite the current goal using H3 (from right to left) at position 1.
An exact proof term for the current goal is Hc.
We prove the intermediate
claim Lp0b:
¬ p0 beta.
Apply H2 to the current goal.
Assume _ H2.
Apply H2 to the current goal.
Use reflexivity.
An exact proof term for the current goal is Lp0e.
An exact proof term for the current goal is Lp0b.
We prove the intermediate
claim Lp1e:
PNoEq_ beta p p1.
Let gamma be given.
We will
prove p gamma ↔ p1 gamma.
Apply iffI to the current goal.
Assume H2: p gamma.
We will
prove p gamma ∨ gamma = beta.
Apply orIL to the current goal.
An exact proof term for the current goal is H2.
We will prove p gamma.
Apply H2 to the current goal.
Assume H3: p gamma.
An exact proof term for the current goal is H3.
rewrite the current goal using H3 (from right to left) at position 1.
An exact proof term for the current goal is Hc.
We prove the intermediate
claim Lp1b:
p1 beta.
Apply orIR to the current goal.
Use reflexivity.
An exact proof term for the current goal is Lp1e.
An exact proof term for the current goal is Lp1b.
rewrite the current goal using Hab (from left to right).
Assume H2.
Apply HNC2 to the current goal.
We use
beta to
witness the existential quantifier.
Apply andI to the current goal.
We will
prove beta ∈ alpha.
An exact proof term for the current goal is Hb.
We use p to witness the existential quantifier.
An exact proof term for the current goal is H2.
rewrite the current goal using
eq_or_nand (from left to right).
Assume H2.
Apply H2 to the current goal.
Apply H2 to the current goal.
Let q0 be given.
Apply H3 to the current goal.
Let q1 be given.
An
exact proof term for the current goal is
LLR beta Lb q0 H4 beta Lb q1 H6.
Apply orIR to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is H7.
An exact proof term for the current goal is H5.
Apply Lcases to the current goal.
Apply andI to the current goal.
Let gamma be given.
Let q be given.
We prove the intermediate
claim Lc:
ordinal gamma.
We prove the intermediate
claim L1:
PNoLt gamma q beta p.
An exact proof term for the current goal is Hp1 gamma H4 q H3.
Apply PNoLtE gamma beta q p L1 to the current goal.
Apply H5 to the current goal.
Let delta be given.
Assume H6.
Apply H6 to the current goal.
Assume H6.
Apply H6 to the current goal.
Assume H6.
Apply H6 to the current goal.
Assume H8: p delta.
We use delta to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hd1.
An exact proof term for the current goal is Hd2.
Apply and3I to the current goal.
We will
prove PNoEq_ delta q p0.
Apply PNoEq_tra_ delta q p p0 to the current goal.
An exact proof term for the current goal is H6.
An exact proof term for the current goal is Lp0e.
An exact proof term for the current goal is H7.
We will prove p0 delta.
We will
prove p delta ∧ delta ≠ beta.
Apply andI to the current goal.
An exact proof term for the current goal is H8.
rewrite the current goal using H9 (from right to left) at position 1.
An exact proof term for the current goal is Hd2.
Assume H7: p gamma.
An exact proof term for the current goal is H5.
We will
prove PNoEq_ gamma q p0.
Apply PNoEq_tra_ gamma q p p0 to the current goal.
We will
prove PNoEq_ gamma q p.
An exact proof term for the current goal is H6.
We will
prove PNoEq_ gamma p p0.
An exact proof term for the current goal is Lp0e.
We will prove p0 gamma.
We will
prove p gamma ∧ gamma ≠ beta.
Apply andI to the current goal.
An exact proof term for the current goal is H7.
Apply In_irref gamma to the current goal.
rewrite the current goal using H8 (from left to right) at position 2.
An exact proof term for the current goal is H5.
rewrite the current goal using H4 (from left to right).
Assume H5.
Apply H5 to the current goal.
Assume H5.
An exact proof term for the current goal is H5.
Assume H5.
Apply H5 to the current goal.
rewrite the current goal using H5 (from left to right) at position 2.
rewrite the current goal using Lbsb2 (from left to right).
Apply H6 to the current goal.
Let delta be given.
Assume H7.
Apply H7 to the current goal.
Assume H7.
Apply H7 to the current goal.
Assume H7.
Apply H7 to the current goal.
Assume H9: q delta.
We prove the intermediate
claim Ld:
ordinal delta.
We prove the intermediate
claim L2:
PNoLt beta p delta q.
We will
prove delta ∈ beta.
An exact proof term for the current goal is Hd.
We will
prove PNoEq_ delta p q.
Apply PNoEq_tra_ delta p p0 q to the current goal.
We will
prove PNoEq_ delta p p0.
An exact proof term for the current goal is Lp0e.
We will
prove PNoEq_ delta p0 q.
An exact proof term for the current goal is H7.
Assume H10: p delta.
Apply H8 to the current goal.
We will
prove p delta ∧ delta ≠ beta.
Apply andI to the current goal.
An exact proof term for the current goal is H10.
rewrite the current goal using H11 (from right to left) at position 1.
An exact proof term for the current goal is Hd.
We prove the intermediate
claim L3:
PNoLt delta q beta p.
Apply Hp1 delta Hd q to the current goal.
Apply PNoLe_downc L gamma delta q q Lc Ld H3 to the current goal.
We will
prove PNoLe delta q gamma q.
We will
prove PNoLt delta q gamma q.
We will
prove delta ∈ gamma.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is Hd.
We will
prove PNoEq_ delta q q.
We will prove q delta.
An exact proof term for the current goal is H9.
We will
prove PNoLt delta q delta q.
An
exact proof term for the current goal is
PNoLt_tra delta beta delta Ld Lb Ld q p q L3 L2.
Apply H2 q to the current goal.
rewrite the current goal using H4 (from right to left).
An exact proof term for the current goal is H3.
An exact proof term for the current goal is Lp0e.
An exact proof term for the current goal is H7.
Let gamma be given.
Let q be given.
We prove the intermediate
claim Lc:
ordinal gamma.
Apply Hp2 gamma H4 q to the current goal.
An exact proof term for the current goal is H3.
rewrite the current goal using H4 (from left to right).
Assume H5.
Apply H5 to the current goal.
rewrite the current goal using Lbsb1 (from left to right).
Apply H6 to the current goal.
Let delta be given.
Assume H7.
Apply H7 to the current goal.
Assume H9.
Apply H9 to the current goal.
Assume H9.
Apply H9 to the current goal.
Assume H11: p0 delta.
We prove the intermediate
claim Ld:
ordinal delta.
We prove the intermediate
claim L4:
PNoLt beta p delta q.
Apply Hp2 delta H8 q to the current goal.
Apply PNoLe_upc R gamma delta q q Lc Ld H3 to the current goal.
We will
prove PNoLe gamma q delta q.
We will
prove PNoLt gamma q delta q.
We will
prove delta ∈ gamma.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is H8.
We will
prove PNoEq_ delta q q.
An exact proof term for the current goal is H10.
We prove the intermediate
claim L5:
PNoLt delta q beta p.
We will
prove delta ∈ beta.
An exact proof term for the current goal is H8.
We will
prove PNoEq_ delta q p.
Apply PNoEq_tra_ delta q p0 p to the current goal.
An exact proof term for the current goal is H9.
We will
prove PNoEq_ delta p0 p.
An exact proof term for the current goal is Lp0e.
We will prove p delta.
Apply H11 to the current goal.
Assume H12 _.
An exact proof term for the current goal is H12.
An
exact proof term for the current goal is
PNoLt_tra beta delta beta Lb Ld Lb p q p L4 L5.
Apply H8 to the current goal.
Assume _ H9.
Apply H9 to the current goal.
Use reflexivity.
Assume H5.
Apply H5 to the current goal.
rewrite the current goal using H5 (from left to right) at position 2.
An exact proof term for the current goal is H5.
Apply HNC1 to the current goal.
We use p0 to witness the existential quantifier.
rewrite the current goal using Hab (from left to right).
Apply andI to the current goal.
An exact proof term for the current goal is Lp0imv.
Let q be given.
We prove the intermediate
claim Lpqe:
PNoEq_ beta p q.
An exact proof term for the current goal is Hp3 q Lqb.
Apply xm (q beta) to the current goal.
Apply Lnotboth to the current goal.
rewrite the current goal using Hab (from left to right).
Apply andI to the current goal.
An exact proof term for the current goal is Lp0imv.
Let gamma be given.
We prove the intermediate
claim Lpqce:
p gamma ↔ q gamma.
An exact proof term for the current goal is Lpqe gamma H3.
Apply Lpqce to the current goal.
Assume Hpqc Hqpc.
We will
prove q gamma ↔ p1 gamma.
Apply iffI to the current goal.
Assume H4: q gamma.
We will
prove p gamma ∨ gamma = beta.
Apply orIL to the current goal.
An exact proof term for the current goal is Hqpc H4.
Apply H4 to the current goal.
An exact proof term for the current goal is Hpqc.
rewrite the current goal using H5 (from right to left) at position 1.
An exact proof term for the current goal is H3.
We will
prove q gamma ↔ p1 gamma.
Apply iffI to the current goal.
Assume _.
We will
prove p gamma ∨ gamma = beta.
Apply orIR to the current goal.
An exact proof term for the current goal is H3.
Assume _.
We will prove q gamma.
rewrite the current goal using H3 (from left to right).
An exact proof term for the current goal is Hq1.
An exact proof term for the current goal is Hq.
Let gamma be given.
We prove the intermediate
claim Lpqce:
p gamma ↔ q gamma.
An exact proof term for the current goal is Lpqe gamma H3.
Apply Lpqce to the current goal.
Assume Hpqc Hqpc.
We will
prove p0 gamma ↔ q gamma.
Apply iffI to the current goal.
Apply H4 to the current goal.
Assume H5: p gamma.
Assume _.
An exact proof term for the current goal is Hpqc H5.
Assume H4: q gamma.
We will
prove p gamma ∧ gamma ≠ beta.
Apply andI to the current goal.
We will prove p gamma.
An exact proof term for the current goal is Hqpc H4.
We will
prove gamma ≠ beta.
rewrite the current goal using H5 (from right to left) at position 1.
An exact proof term for the current goal is H3.
We will
prove p0 gamma ↔ q gamma.
Apply iffI to the current goal.
Apply H4 to the current goal.
Assume _ H5.
An exact proof term for the current goal is H5 H3.
Assume H4: q gamma.
Apply Hq0 to the current goal.
rewrite the current goal using H3 (from right to left).
An exact proof term for the current goal is H4.
Apply andI to the current goal.
Let gamma be given.
Let q be given.
We prove the intermediate
claim Lc:
ordinal gamma.
Apply Hp1 gamma H4 q to the current goal.
An exact proof term for the current goal is H3.
An exact proof term for the current goal is Lpp1.
rewrite the current goal using H4 (from left to right).
Assume H5.
Apply H5 to the current goal.
An exact proof term for the current goal is H5.
Assume H5.
Apply H5 to the current goal.
rewrite the current goal using H5 (from left to right) at position 2.
rewrite the current goal using Lbsb2 (from left to right).
Apply H6 to the current goal.
Let delta be given.
Assume H7.
Apply H7 to the current goal.
Assume H9.
Apply H9 to the current goal.
Assume H9.
Apply H9 to the current goal.
Assume H11: q delta.
We prove the intermediate
claim Ld:
ordinal delta.
We prove the intermediate
claim L4:
PNoLt delta q beta p.
Apply Hp1 delta H8 q to the current goal.
Apply PNoLe_downc L gamma delta q q Lc Ld H3 to the current goal.
We will
prove PNoLe delta q gamma q.
We will
prove PNoLt delta q gamma q.
We will
prove delta ∈ gamma.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is H8.
We will
prove PNoEq_ delta q q.
We will prove q delta.
An exact proof term for the current goal is H11.
We prove the intermediate
claim L5:
PNoLt beta p delta q.
We will
prove delta ∈ beta.
An exact proof term for the current goal is H8.
We will
prove PNoEq_ delta p q.
Apply PNoEq_tra_ delta p p1 q to the current goal.
We will
prove PNoEq_ delta p p1.
An exact proof term for the current goal is Lp1e.
An exact proof term for the current goal is H9.
Assume H12: p delta.
Apply H10 to the current goal.
We will
prove p delta ∨ delta = beta.
Apply orIL to the current goal.
An exact proof term for the current goal is H12.
An
exact proof term for the current goal is
PNoLt_tra beta delta beta Lb Ld Lb p q p L5 L4.
Apply H8 to the current goal.
Apply orIR to the current goal.
Use reflexivity.
Let gamma be given.
Let q be given.
We prove the intermediate
claim Lc:
ordinal gamma.
We prove the intermediate
claim L1:
PNoLt beta p gamma q.
An exact proof term for the current goal is Hp2 gamma H4 q H3.
Apply PNoLtE beta gamma p q L1 to the current goal.
Apply H5 to the current goal.
Let delta be given.
Assume H6.
Apply H6 to the current goal.
Assume H6.
Apply H6 to the current goal.
Assume H6.
Apply H6 to the current goal.
Assume H8: q delta.
We use delta to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is Hd2.
An exact proof term for the current goal is Hd1.
Apply and3I to the current goal.
We will
prove PNoEq_ delta p1 q.
Apply PNoEq_tra_ delta p1 p q to the current goal.
An exact proof term for the current goal is Lp1e.
An exact proof term for the current goal is H6.
We will
prove ¬ p1 delta.
Apply H9 to the current goal.
An exact proof term for the current goal is H7.
rewrite the current goal using H10 (from right to left) at position 1.
An exact proof term for the current goal is Hd2.
We will prove q delta.
An exact proof term for the current goal is H8.
An exact proof term for the current goal is H5.
We will
prove PNoEq_ gamma p1 q.
Apply PNoEq_tra_ gamma p1 p q to the current goal.
We will
prove PNoEq_ gamma p1 p.
An exact proof term for the current goal is Lp1e.
We will
prove PNoEq_ gamma p q.
An exact proof term for the current goal is H6.
We will
prove ¬ p1 gamma.
Apply H8 to the current goal.
An exact proof term for the current goal is H7.
rewrite the current goal using H9 (from right to left) at position 1.
An exact proof term for the current goal is H5.
rewrite the current goal using H4 (from left to right).
Assume H5.
Apply H5 to the current goal.
rewrite the current goal using Lbsb1 (from left to right).
Apply H6 to the current goal.
Let delta be given.
Assume H7.
Apply H7 to the current goal.
Assume H7.
Apply H7 to the current goal.
Assume H7.
Apply H7 to the current goal.
Assume H9: p1 delta.
We prove the intermediate
claim Ld:
ordinal delta.
We prove the intermediate
claim L2:
PNoLt delta q beta p.
We will
prove delta ∈ beta.
An exact proof term for the current goal is Hd.
We will
prove PNoEq_ delta q p.
Apply PNoEq_tra_ delta q p1 p to the current goal.
We will
prove PNoEq_ delta q p1.
An exact proof term for the current goal is H7.
We will
prove PNoEq_ delta p1 p.
An exact proof term for the current goal is Lp1e.
We will prove p delta.
Apply H9 to the current goal.
Assume H10: p delta.
An exact proof term for the current goal is H10.
rewrite the current goal using H10 (from right to left) at position 1.
An exact proof term for the current goal is Hd.
We prove the intermediate
claim L3:
PNoLt beta p delta q.
Apply Hp2 delta Hd q to the current goal.
Apply PNoLe_upc R gamma delta q q Lc Ld H3 to the current goal.
We will
prove PNoLe gamma q delta q.
We will
prove PNoLt gamma q delta q.
We will
prove delta ∈ gamma.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is Hd.
We will
prove PNoEq_ delta q q.
An exact proof term for the current goal is H8.
We will
prove PNoLt delta q delta q.
An
exact proof term for the current goal is
PNoLt_tra delta beta delta Ld Lb Ld q p q L2 L3.
Apply H2 q to the current goal.
rewrite the current goal using H4 (from right to left).
An exact proof term for the current goal is H3.
An exact proof term for the current goal is Lp1e.
An exact proof term for the current goal is H7.
Assume H5.
Apply H5 to the current goal.
rewrite the current goal using H5 (from left to right) at position 2.
Assume H5.
An exact proof term for the current goal is H5.
Apply HNC1 to the current goal.
We use p1 to witness the existential quantifier.
rewrite the current goal using Hab (from left to right).
Apply andI to the current goal.
An exact proof term for the current goal is Lp1imv.
Let q be given.
We prove the intermediate
claim Lpqe:
PNoEq_ beta p q.
An exact proof term for the current goal is Hp3 q Lqb.
Apply xm (q beta) to the current goal.
Let gamma be given.
We prove the intermediate
claim Lpqce:
p gamma ↔ q gamma.
An exact proof term for the current goal is Lpqe gamma H3.
Apply Lpqce to the current goal.
Assume Hpqc Hqpc.
We will
prove p1 gamma ↔ q gamma.
Apply iffI to the current goal.
Apply H4 to the current goal.
Assume H5: p gamma.
An exact proof term for the current goal is Hpqc H5.
rewrite the current goal using H5 (from right to left) at position 1.
An exact proof term for the current goal is H3.
Assume H4: q gamma.
We will
prove p gamma ∨ gamma = beta.
Apply orIL to the current goal.
We will prove p gamma.
An exact proof term for the current goal is Hqpc H4.
We will
prove p1 gamma ↔ q gamma.
Apply iffI to the current goal.
Assume _.
We will prove q gamma.
rewrite the current goal using H3 (from left to right).
An exact proof term for the current goal is Hq1.
Assume H4: q gamma.
We will
prove p gamma ∨ gamma = beta.
Apply orIR to the current goal.
An exact proof term for the current goal is H3.
Apply Lnotboth to the current goal.
rewrite the current goal using Hab (from left to right).
Apply andI to the current goal.
Let gamma be given.
We prove the intermediate
claim Lpqce:
p gamma ↔ q gamma.
An exact proof term for the current goal is Lpqe gamma H3.
Apply Lpqce to the current goal.
Assume Hpqc Hqpc.
We will
prove q gamma ↔ p0 gamma.
Apply iffI to the current goal.
Assume H4: q gamma.
We will
prove p gamma ∧ gamma ≠ beta.
Apply andI to the current goal.
We will prove p gamma.
An exact proof term for the current goal is Hqpc H4.
We will
prove gamma ≠ beta.
rewrite the current goal using H5 (from right to left) at position 1.
An exact proof term for the current goal is H3.
Apply H4 to the current goal.
Assume H5 _.
An exact proof term for the current goal is Hpqc H5.
We will
prove q gamma ↔ p0 gamma.
Apply iffI to the current goal.
Assume H4: q gamma.
Apply Hq0 to the current goal.
rewrite the current goal using H3 (from right to left).
An exact proof term for the current goal is H4.
Assume H4: p0 gamma.
Apply H4 to the current goal.
Assume _ H5.
Apply H5 to the current goal.
An exact proof term for the current goal is H3.
An exact proof term for the current goal is Hq.
An exact proof term for the current goal is Lp1imv.
∎