theoremgroundEligibleFreshAction_positive_agreement (M : TransitiveGround.{u})
{PG r μ ALabelsm inv e g h v q q' q'' : ZFSet.{u}}
(group : GroupCodeG m inv e) (action : PosetActionCodeGP m e r A)
(meet : MeetOrderCodeP r μ) (agree : ActionAgreementBelowP r A g h v)
(first : ZFSet.pair (ZFSet.pair g q) q' ∈M.groundEligibleFreshAction PG r μ ALabels)
(second : ZFSet.pair (ZFSet.pair h q) q'' ∈M.groundEligibleFreshAction PG r μ ALabels)
(upper : ZFSet.pair q v ∈ batchAttachmentUpperGraph
(M.groundEligibleTasks PG r μ ALabels) P
(constantFamilyGraph (M.groundEligibleTasks PG r μ ALabels) P)
(literalTaskFilterGraph (M.groundEligibleTasks PG r μ ALabels) P
(M.groundRelations PP) (M.groundMeetFilters P r μ) Labels)) : q' = q'' :=by
proof · 20
lines
letI:=M.groundEligibleTasks PG r μ ALabelsletR:=M.groundRelations PPletU:=M.groundMeetFilters P r μ
letN:= indexedAttachmentFresh I (constantFamilyGraph IP) (constantFamilyGraph I r)
(literalTaskSourceGraph IPRULabels)
letT:=M.groundTaskTransport PG r μ ALabels
obtain ⟨_, _, _, i, hi, i', _, x, _, source, target, firstTask⟩ :=
(triple_mem_indexedTaskActionGraph GIPNT g q q').1 first
obtain ⟨_, _, _, j, _, j', _, y, _, source', target', secondTask⟩ :=
(triple_mem_indexedTaskActionGraph GIPNT h q q'').1 second
haveindices : i = j := (ZFSet.pair_inj.1 (source.symm.trans source')).1havepoints : x = y := (ZFSet.pair_inj.1 (source.symm.trans source')).2
subst j y
obtain ⟨a, ha, c, hc, base, hb, s, hs, F, hF, label, hl, equal, _⟩ :=
(mem_eligibleTaskSet PG r μ ARULabels i).1 hi
subst i
rw [source] at upper
have positive := ((literalTask_upper_iff ha hc hb hs hF hl).1 upper).2.2.2have same :=M.groundTaskTransport_positive_agreement group action meet agree positive firstTask secondTask
exact target.trans ((congrArg (fun task =>ZFSet.pair task x) same).trans target'.symm)
theoremcodedAttachmentOrder_below_old
{PNr inside shadow upper x v : ZFSet.{u}} (hv : v ∈P) :
ZFSet.pair x v ∈ codedAttachmentOrder PN r inside shadow upper ↔
(x ∈P∧ZFSet.pair x v ∈ r) ∨∃ q ∈N, x = ZFSet.pair P q ∧ZFSet.pair q v ∈ upper :=by
theoremgroundEligibleBatchAction_agreement
(pairing : RealizeM.sets SetFormula.pairing Fin.elim0)
(unions : RealizeM.sets SetFormula.union Fin.elim0)
(powers : RealizeM.sets powerSet Fin.elim0) (separation : SeparationSchemaM.sets)
{PG r μ ALabelsm inv e g h v : ZFSet.{u}}
(hP : P∈M.sets) (hG : G∈M.sets) (hA : A∈M.sets)
(group : GroupCodeG m inv e) (action : PosetActionCodeGP m e r A)
(meet : MeetOrderCodeP r μ) (hg : g ∈G) (hh : h ∈G) (hv : v ∈P)
(agree : ActionAgreementBelowP r A g h v) :
let d :=M.groundEligibleTaskBatchInputs (Labels:=Labels) group action meet
proof · 29
lines
ActionAgreementBelow d.batchCarrier d.batchOrder (M.groundEligibleBatchAction PG r μ ALabels) g h v :=bylet d :=M.groundEligibleTaskBatchInputs (Labels:=Labels) group action meet
letB:=M.groundEligibleBatchAction PG r μ ALabelshave full :=M.groundEligibleBatchAction_code (Labels:=Labels)
pairing unions powers separation hP hG hA group action meet
have fresh :=M.groundEligibleFreshAction_setAction (Labels:=Labels)
pairing unions powers separation hP hG hA group action meet
have outputs {x y z : ZFSet.{u}} (lower : ZFSet.pair x v ∈ d.batchOrder)
(first : ZFSet.pair (ZFSet.pair g x) y ∈B)
(second : ZFSet.pair (ZFSet.pair h x) z ∈B) : y = z :=by
rcases (codedAttachmentOrder_below_old hv).1 lower with ⟨hx, below⟩ | ⟨q, _, rfl, upper⟩
· exact agree.entry_eq action hh hx below
((M.groundEligibleBatchAction_old_iff hx).1 first)
((M.groundEligibleBatchAction_old_iff hx).1 second)
· obtain ⟨q', _, rfl, firstFresh⟩ :=
(taggedActionGraph_fresh_iff action.toSetAction fresh).1 first
obtain ⟨q'', _, rfl, secondFresh⟩ :=
(taggedActionGraph_fresh_iff action.toSetAction fresh).1 second
exact congrArg (ZFSet.pair P)
(M.groundEligibleFreshAction_positive_agreement group action meet agree firstFresh secondFresh upper)
change ActionAgreementBelow d.batchCarrier d.batchOrder B g h v
intro x hx y _ lower
constructor
· intro first
obtain ⟨z, second, _⟩ := full.function.2 (ZFSet.pair h x) (ZFSet.pair_mem_prod.2 ⟨hh, hx⟩)
exact (outputs lower first second).symm ▸ second
· intro second
obtain ⟨z, first, _⟩ := full.function.2 (ZFSet.pair g x) (ZFSet.pair_mem_prod.2 ⟨hg, hx⟩)
exact outputs lower first second ▸ first