Let γ be given.
Apply IH γ 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.
An exact proof term for the current goal is Ha1 γ Hc tau Ht.
We use p to witness the existential quantifier.
An exact proof term for the current goal is H3.
Let γ be given.
Apply LIH γ 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_ γ pl p.
Let δ be given.
We prove the intermediate
claim Lsda:
ordsucc δ ∈ α.
An
exact proof term for the current goal is
Ha1 γ Hc1 (ordsucc δ) Hsd.
Apply IH2 (ordsucc δ) Hsd Lsda to the current goal.
We will
prove pl δ ↔ p δ.
Apply Hpl2 p to the current goal.
We will
prove pl δ ↔ p δ.
Apply iffI to the current goal.
Assume H2: pl δ.
We will prove p δ.
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 δ.
Let q be given.
rewrite the current goal using Hsd (from right to left).
We will prove q δ.
An
exact proof term for the current goal is
iffEL (p δ) (q δ) (Hp2 q Hq δ Hd) H2.
Apply andI to the current goal.
Apply andI to the current goal.
Let β be given.
Let q be given.
We prove the intermediate
claim Lb:
ordinal β.
An
exact proof term for the current goal is
ordinal_Hered γ Hc β Hb.
We will
prove PNoLt β q γ pl.
Apply PNoLtEq_tra β γ Lb Hc q p pl to the current goal.
We will
prove PNoLt β q γ p.
An exact proof term for the current goal is Hp1a β Hb q Hq.
An exact proof term for the current goal is Lplpe.
Let β be given.
Let q be given.
We prove the intermediate
claim Lb:
ordinal β.
An
exact proof term for the current goal is
ordinal_Hered γ Hc β Hb.
We will
prove PNoLt γ pl β q.
Apply PNoEqLt_tra γ β Hc Lb pl p q to the current goal.
An exact proof term for the current goal is Lplpe.
We will
prove PNoLt γ p β q.
An exact proof term for the current goal is Hp1b β Hb q Hq.
Let q be given.
An exact proof term for the current goal is Lplpe.
An exact proof term for the current goal is Hp2 q Hq.
Let γ be given.
We prove the intermediate
claim Lc:
ordinal γ.
An
exact proof term for the current goal is
ordinal_Hered α Ha γ Hc.
An exact proof term for the current goal is Lpl1 γ 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 β be given.
Let q be given.
We prove the intermediate
claim Lb:
ordinal β.
An
exact proof term for the current goal is
ordinal_Hered α Ha β Hb.
We will
prove PNoLt β q α pl.
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.
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 α β pl q H2 to the current goal.
Apply H3 to the current goal.
Let γ 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 γ.
We prove the intermediate
claim Lc:
ordinal γ.
An
exact proof term for the current goal is
ordinal_Hered β Lb γ Hc2.
Apply H6 to the current goal.
We will prove pl γ.
Let p be given.
We will prove p γ.
Apply Hp to the current goal.
Assume Hp1 Hp2.
We prove the intermediate
claim Lqp:
PNoLt γ q (ordsucc γ) p.
Apply Hp1 γ (ordsuccI2 γ) q to the current goal.
An exact proof term for the current goal is Hq.
We will
prove PNoLe γ q β q.
We will
prove PNoLt γ q β q.
An exact proof term for the current goal is Hc2.
We will prove q γ.
An exact proof term for the current goal is H7.
Apply H6 to the current goal.
Let δ 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 δ.
We prove the intermediate
claim Ld:
ordinal δ.
An
exact proof term for the current goal is
ordinal_Hered γ Lc δ Hd1.
We prove the intermediate
claim Lda:
δ ∈ α.
An exact proof term for the current goal is Ha1 γ Hc1 δ Hd1.
We prove the intermediate
claim Lsda:
ordsucc δ ∈ α.
An exact proof term for the current goal is H1 δ Lda.
We prove the intermediate claim Lpld: pl δ.
Apply Lpl2 (ordsucc δ) Lsda to the current goal.
Assume _.
Apply Hpl3 p to the current goal.
An exact proof term for the current goal is Lc.
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 δ) (p δ) (Lpld1 δ (ordsuccI2 δ)) H9.
We prove the intermediate
claim Lnpld:
¬ pl δ.
Assume H10: pl δ.
Apply H8 to the current goal.
An
exact proof term for the current goal is
iffEL (pl δ) (q δ) (H5 δ Hd1) H10.
An exact proof term for the current goal is Lnpld Lpld.
Assume H8: p γ.
An exact proof term for the current goal is H8.
An
exact proof term for the current goal is
In_no2cycle β α Hb H3.
Apply H5 to the current goal.
We will prove pl β.
Let p be given.
We will prove p β.
Apply Hp to the current goal.
Assume Hp1 Hp2.
We prove the intermediate
claim Lqp:
PNoLt β q (ordsucc β) p.
An
exact proof term for the current goal is
Hp1 β (ordsuccI2 β) q Hq.
Apply H6 to the current goal.
Let δ 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 δ.
We prove the intermediate
claim Ld:
ordinal δ.
An
exact proof term for the current goal is
ordinal_Hered β Lb δ Hd1.
We prove the intermediate
claim Lda:
δ ∈ α.
An exact proof term for the current goal is Ha1 β Hb δ Hd1.
We prove the intermediate
claim Lsda:
ordsucc δ ∈ α.
An exact proof term for the current goal is H1 δ Lda.
We prove the intermediate claim Lpld: pl δ.
Apply Lpl2 (ordsucc δ) Lsda to the current goal.
Assume _.
Apply Hpl3 p to the current goal.
An exact proof term for the current goal is Lb.
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 δ) (p δ) (Lpld1 δ (ordsuccI2 δ)) H9.
We prove the intermediate
claim Lnpld:
¬ pl δ.
Assume H10: pl δ.
Apply H8 to the current goal.
An
exact proof term for the current goal is
iffEL (pl δ) (q δ) (H4 δ Hd1) H10.
An exact proof term for the current goal is Lnpld Lpld.
Assume H8: p β.
An exact proof term for the current goal is H8.
Let β be given.
Let q be given.
We prove the intermediate
claim Lb:
ordinal β.
An
exact proof term for the current goal is
ordinal_Hered α Ha β Hb.
We prove the intermediate
claim Lsba:
ordsucc β ∈ α.
An exact proof term for the current goal is H1 β Hb.
We will
prove PNoLt α pl β q.
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.
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 β α q pl H2 to the current goal.
Apply H3 to the current goal.
Let γ 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 γ.
We prove the intermediate
claim Lc:
ordinal γ.
An
exact proof term for the current goal is
ordinal_Hered β Lb γ Hc2.
We prove the intermediate
claim Lsca:
ordsucc γ ∈ α.
An exact proof term for the current goal is H1 γ Hc1.
Apply Lpl2 (ordsucc γ) Lsca to the current goal.
Assume _.
Apply Hpl2 to the current goal.
Assume _.
We prove the intermediate
claim Lplq:
PNoLt (ordsucc γ) pl γ q.
Apply Hpl2b γ (ordsuccI2 γ) q to the current goal.
Apply PNoLe_upc R β γ q q Lb Lc to the current goal.
An exact proof term for the current goal is Hq.
We will
prove PNoLe β q γ q.
Apply PNoLeI1 β γ q q to the current goal.
We will
prove PNoLt β q γ q.
An exact proof term for the current goal is Hc2.
An exact proof term for the current goal is H6.
We prove the intermediate
claim Lqpl:
PNoLt γ q (ordsucc γ) pl.
An exact proof term for the current goal is H5.
We will prove pl γ.
An exact proof term for the current goal is H7.
An
exact proof term for the current goal is
PNoLt_tra γ (ordsucc γ) γ Lc Lsc Lc q pl q Lqpl Lplq.
Assume H5: pl β.
Apply Lpl2 (ordsucc β) Lsba to the current goal.
Assume _.
Apply Hpl2 to the current goal.
Assume _.
We prove the intermediate
claim Lplq:
PNoLt (ordsucc β) pl β q.
Apply Hpl2b β (ordsuccI2 β) q to the current goal.
An exact proof term for the current goal is Hq.
We prove the intermediate
claim Lqpl:
PNoLt β q (ordsucc β) pl.
An exact proof term for the current goal is H4.
We will prove pl β.
An exact proof term for the current goal is H5.
An
exact proof term for the current goal is
PNoLt_tra β (ordsucc β) β Lb Lsb Lb q pl q Lqpl Lplq.
An
exact proof term for the current goal is
In_no2cycle β α Hb H3.
Let q be given.
Let γ be given.
We will
prove pl γ ↔ q γ.
We prove the intermediate
claim Lsca:
ordsucc γ ∈ α.
An exact proof term for the current goal is H1 γ Hc.
Apply Lpl2 (ordsucc γ) Lsca to the current goal.
Assume _.
Apply Hpl3 to the current goal.
Apply H1 to the current goal.
Let β be given.
Assume H1.
Apply H1 to the current goal.
We prove the intermediate
claim Lb:
ordinal β.
An
exact proof term for the current goal is
ordinal_Hered α Ha β Hb.
rewrite the current goal using Hab (from right to left).
An exact proof term for the current goal is Ha.
We prove the intermediate
claim Lbsb1:
β ∩ ordsucc β = β.
We prove the intermediate
claim Lbsb2:
ordsucc β ∩ β = β.
An exact proof term for the current goal is Lbsb1.
Apply LIH β 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
λδ ⇒ p δ ∧ δ ≠ β of type
set → prop.
Set p1 to be the term
λδ ⇒ p δ ∨ δ = β of type
set → prop.
We prove the intermediate
claim Lp0e:
PNoEq_ β p0 p.
Let γ be given.
We will
prove p0 γ ↔ p γ.
Apply iffI to the current goal.
We will prove p γ.
Apply H2 to the current goal.
Assume H2 _.
An exact proof term for the current goal is H2.
Assume H2: p γ.
We will
prove p γ ∧ γ ≠ β.
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 β.
Apply H2 to the current goal.
Assume _ H2.
Apply H2 to the current goal.
Use reflexivity.
We prove the intermediate
claim Lp0p:
PNoLt (ordsucc β) p0 β p.
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_ β p p1.
Let γ be given.
We will
prove p γ ↔ p1 γ.
Apply iffI to the current goal.
Assume H2: p γ.
We will
prove p γ ∨ γ = β.
Apply orIL to the current goal.
An exact proof term for the current goal is H2.
We will prove p γ.
Apply H2 to the current goal.
Assume H3: p γ.
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 β.
We will
prove p β ∨ β = β.
Apply orIR to the current goal.
Use reflexivity.
We prove the intermediate
claim Lpp1:
PNoLt β p (ordsucc β) p1.
An exact proof term for the current goal is Lp1e.
We will prove p1 β.
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 β to witness the existential quantifier.
Apply andI to the current goal.
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.
We prove the intermediate
claim L2:
PNoLt β q0 β q1.
An exact proof term for the current goal is LLR β Lb q0 H4 β Lb q1 H6.
Apply PNoLtLe_tra β β β Lb Lb Lb q0 q1 q0 L2 to the current goal.
We will
prove PNoLe β q1 β q0.
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 γ be given.
Let q be given.
We prove the intermediate
claim Lc:
ordinal γ.
Apply ordsuccE β γ Hc to the current goal.
We prove the intermediate
claim L1:
PNoLt γ q β p.
An exact proof term for the current goal is Hp1 γ H4 q H3.
Apply PNoLtE γ β q p L1 to the current goal.
Apply H5 to the current goal.
Let δ 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 δ.
We use δ 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.
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 δ.
We will
prove p δ ∧ δ ≠ β.
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 γ.
An exact proof term for the current goal is H5.
An exact proof term for the current goal is H6.
An exact proof term for the current goal is Lp0e.
We will prove p0 γ.
We will
prove p γ ∧ γ ≠ β.
Apply andI to the current goal.
An exact proof term for the current goal is H7.
rewrite the current goal using H8 (from left to right) at position 2.
An exact proof term for the current goal is H5.
An
exact proof term for the current goal is
In_no2cycle γ β H4 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 δ 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 δ.
We prove the intermediate
claim Ld:
ordinal δ.
An
exact proof term for the current goal is
ordinal_Hered β Lb δ Hd.
We prove the intermediate
claim L2:
PNoLt β p δ q.
An exact proof term for the current goal is Hd.
An exact proof term for the current goal is Lp0e.
An exact proof term for the current goal is H7.
Assume H10: p δ.
Apply H8 to the current goal.
We will
prove p δ ∧ δ ≠ β.
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 δ q β p.
Apply Hp1 δ Hd q to the current goal.
Apply PNoLe_downc L γ δ q q Lc Ld H3 to the current goal.
We will
prove PNoLe δ q γ q.
We will
prove PNoLt δ q γ q.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is Hd.
We will prove q δ.
An exact proof term for the current goal is H9.
We will
prove PNoLt δ q δ q.
An
exact proof term for the current goal is
PNoLt_tra δ β δ 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 γ be given.
Let q be given.
We prove the intermediate
claim Lc:
ordinal γ.
Apply ordsuccE β γ Hc to the current goal.
We will
prove PNoLt β p γ q.
Apply Hp2 γ 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 δ 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 δ.
We prove the intermediate
claim Ld:
ordinal δ.
An
exact proof term for the current goal is
ordinal_Hered β Lb δ H8.
We prove the intermediate
claim L4:
PNoLt β p δ q.
Apply Hp2 δ H8 q to the current goal.
Apply PNoLe_upc R γ δ q q Lc Ld H3 to the current goal.
We will
prove PNoLe γ q δ q.
We will
prove PNoLt γ q δ q.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is H8.
An exact proof term for the current goal is H10.
We prove the intermediate
claim L5:
PNoLt δ q β p.
An exact proof term for the current goal is H8.
An exact proof term for the current goal is H9.
An exact proof term for the current goal is Lp0e.
We will prove p δ.
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 β δ β 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_ β p q.
An exact proof term for the current goal is Hp3 q Lqb.
Apply xm (q β) to the current goal.
Assume Hq1: q β.
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 γ be given.
Apply ordsuccE β γ Hc to the current goal.
We prove the intermediate
claim Lpqce:
p γ ↔ q γ.
An exact proof term for the current goal is Lpqe γ H3.
Apply Lpqce to the current goal.
Assume Hpqc Hqpc.
We will
prove q γ ↔ p1 γ.
Apply iffI to the current goal.
Assume H4: q γ.
We will
prove p γ ∨ γ = β.
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 γ ↔ p1 γ.
Apply iffI to the current goal.
Assume _.
We will
prove p γ ∨ γ = β.
Apply orIR to the current goal.
An exact proof term for the current goal is H3.
Assume _.
We will prove q γ.
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 γ be given.
Apply ordsuccE β γ Hc to the current goal.
We prove the intermediate
claim Lpqce:
p γ ↔ q γ.
An exact proof term for the current goal is Lpqe γ H3.
Apply Lpqce to the current goal.
Assume Hpqc Hqpc.
We will
prove p0 γ ↔ q γ.
Apply iffI to the current goal.
Apply H4 to the current goal.
Assume H5: p γ.
Assume _.
An exact proof term for the current goal is Hpqc H5.
Assume H4: q γ.
We will
prove p γ ∧ γ ≠ β.
Apply andI to the current goal.
We will prove p γ.
An exact proof term for the current goal is Hqpc H4.
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 γ ↔ q γ.
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 γ.
Apply Hq0 to the current goal.
We will prove q β.
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 γ be given.
Let q be given.
We prove the intermediate
claim Lc:
ordinal γ.
Apply ordsuccE β γ Hc to the current goal.
We will
prove PNoLt γ q β p.
Apply Hp1 γ 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 δ 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 δ.
We prove the intermediate
claim Ld:
ordinal δ.
An
exact proof term for the current goal is
ordinal_Hered β Lb δ H8.
We prove the intermediate
claim L4:
PNoLt δ q β p.
Apply Hp1 δ H8 q to the current goal.
Apply PNoLe_downc L γ δ q q Lc Ld H3 to the current goal.
We will
prove PNoLe δ q γ q.
We will
prove PNoLt δ q γ q.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is H8.
We will prove q δ.
An exact proof term for the current goal is H11.
We prove the intermediate
claim L5:
PNoLt β p δ q.
An exact proof term for the current goal is H8.
An exact proof term for the current goal is Lp1e.
An exact proof term for the current goal is H9.
Assume H12: p δ.
Apply H10 to the current goal.
We will
prove p δ ∨ δ = β.
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 β δ β Lb Ld Lb p q p L5 L4.
Apply H8 to the current goal.
We will
prove p β ∨ β = β.
Apply orIR to the current goal.
Use reflexivity.
Let γ be given.
Let q be given.
We prove the intermediate
claim Lc:
ordinal γ.
Apply ordsuccE β γ Hc to the current goal.
We prove the intermediate
claim L1:
PNoLt β p γ q.
An exact proof term for the current goal is Hp2 γ H4 q H3.
Apply PNoLtE β γ p q L1 to the current goal.
Apply H5 to the current goal.
Let δ 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 δ.
We use δ 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.
An exact proof term for the current goal is Lp1e.
An exact proof term for the current goal is H6.
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 δ.
An exact proof term for the current goal is H8.
An
exact proof term for the current goal is
In_no2cycle γ β H4 H5.
An exact proof term for the current goal is H5.
An exact proof term for the current goal is Lp1e.
An exact proof term for the current goal is H6.
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 δ 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 δ.
We prove the intermediate
claim Ld:
ordinal δ.
An
exact proof term for the current goal is
ordinal_Hered β Lb δ Hd.
We prove the intermediate
claim L2:
PNoLt δ q β p.
An exact proof term for the current goal is Hd.
An exact proof term for the current goal is H7.
An exact proof term for the current goal is Lp1e.
We will prove p δ.
Apply H9 to the current goal.
Assume H10: p δ.
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 β p δ q.
Apply Hp2 δ Hd q to the current goal.
Apply PNoLe_upc R γ δ q q Lc Ld H3 to the current goal.
We will
prove PNoLe γ q δ q.
We will
prove PNoLt γ q δ q.
rewrite the current goal using H4 (from left to right).
An exact proof term for the current goal is Hd.
An exact proof term for the current goal is H8.
We will
prove PNoLt δ q δ q.
An
exact proof term for the current goal is
PNoLt_tra δ β δ 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_ β p q.
An exact proof term for the current goal is Hp3 q Lqb.
Apply xm (q β) to the current goal.
Assume Hq1: q β.
Let γ be given.
Apply ordsuccE β γ Hc to the current goal.
We prove the intermediate
claim Lpqce:
p γ ↔ q γ.
An exact proof term for the current goal is Lpqe γ H3.
Apply Lpqce to the current goal.
Assume Hpqc Hqpc.
We will
prove p1 γ ↔ q γ.
Apply iffI to the current goal.
Apply H4 to the current goal.
Assume H5: p γ.
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 γ.
We will
prove p γ ∨ γ = β.
Apply orIL to the current goal.
We will prove p γ.
An exact proof term for the current goal is Hqpc H4.
We will
prove p1 γ ↔ q γ.
Apply iffI to the current goal.
Assume _.
We will prove q γ.
rewrite the current goal using H3 (from left to right).
We will prove q β.
An exact proof term for the current goal is Hq1.
Assume H4: q γ.
We will
prove p γ ∨ γ = β.
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 γ be given.
Apply ordsuccE β γ Hc to the current goal.
We prove the intermediate
claim Lpqce:
p γ ↔ q γ.
An exact proof term for the current goal is Lpqe γ H3.
Apply Lpqce to the current goal.
Assume Hpqc Hqpc.
We will
prove q γ ↔ p0 γ.
Apply iffI to the current goal.
Assume H4: q γ.
We will
prove p γ ∧ γ ≠ β.
Apply andI to the current goal.
We will prove p γ.
An exact proof term for the current goal is Hqpc H4.
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 γ ↔ p0 γ.
Apply iffI to the current goal.
Assume H4: q γ.
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 γ.
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.
∎