Buckets:
| import OAI.Computability.DegreeRigidity.SetModels.IdealLift | |
| import OAI.Computability.DegreeRigidity.SetModels.EnumerationDecoding | |
| namespace OAI | |
| namespace TuringRigidity.IdealInterpretation | |
| open SetCoding RelationCoding BoundedDecoding ArithmeticModelDecoding EnumerationDecoding | |
| noncomputable section | |
| theorem transport_enumeration {I J : DegreeIdeal} (ρ : I ≃o J) | |
| (c : Enumeration) (b : I) (hS : RelationBelow c.successor b.val) (hP : RelationBelow c.payload b.val) | |
| (v : ℕ → I) (hv : ∀ n, (v n).val = c.output n) : | |
| ∃ d : Enumeration, (∀ n, d.output n = (ρ (v n)).val) ∧ | |
| RelationBelow d.successor (ρ b).val ∧ RelationBelow d.payload (ρ b).val := by | |
| let S := RCode.ofBelow c.successor b hS | |
| let P := RCode.ofBelow c.payload b hP | |
| have hn (n : ℕ) : c.node n ∈ I.carrier := by | |
| have hh : S.external.Holds (two (c.node n) (c.node (n+1))) := by | |
| simpa only [S,RCode.external_ofBelow] using (c.successor_spec _ _).mpr ⟨n,rfl,rfl⟩ | |
| exact S.coordinates_mem hh 0 | |
| let node : ℕ → I := fun n => ⟨c.node n,hn n⟩ | |
| have hi : Function.Injective (fun n => (ρ (node n)).val) := by | |
| intro i j he | |
| have hh : ρ (node i) = ρ (node j) := Element.ext _ _ he | |
| exact c.injective (congrArg Element.val (ρ.injective hh)) | |
| have hsuccessor (a d : J) : (S.map ρ).external.Holds (two a.val d.val) ↔ | |
| ∃ k, a = ρ (node k) ∧ d = ρ (node (k+1)) := by | |
| have hh := S.transport_two ρ (ρ.symm a) (ρ.symm d) | |
| simp only [ρ.apply_symm_apply,S,RCode.external_ofBelow] at hh | |
| rw [hh,c.successor_spec] | |
| constructor | |
| · rintro ⟨k,hk,hl⟩ | |
| have he : ρ.symm a = node k := Element.ext _ _ hk | |
| have hf : ρ.symm d = node (k+1) := Element.ext _ _ hl | |
| exact ⟨k,by rw [← he,ρ.apply_symm_apply],by rw [← hf,ρ.apply_symm_apply]⟩ | |
| · rintro ⟨k,rfl,rfl⟩ | |
| exact ⟨k,by simp only [ρ.symm_apply_apply,node],by simp only [ρ.symm_apply_apply,node]⟩ | |
| have hpayload (a d : J) : (P.map ρ).external.Holds (two a.val d.val) ↔ | |
| ∃ k, a = ρ (node k) ∧ d = ρ (v k) := by | |
| have hh := P.transport_two ρ (ρ.symm a) (ρ.symm d) | |
| simp only [ρ.apply_symm_apply,P,RCode.external_ofBelow] at hh | |
| rw [hh,c.payload_spec] | |
| constructor | |
| · rintro ⟨k,hk,hl⟩ | |
| have he : ρ.symm a = node k := Element.ext _ _ hk | |
| have hf : ρ.symm d = v k := Element.ext _ _ (hl.trans (hv k).symm) | |
| exact ⟨k,by rw [← he,ρ.apply_symm_apply],by rw [← hf,ρ.apply_symm_apply]⟩ | |
| · rintro ⟨k,rfl,rfl⟩ | |
| exact ⟨k,by simp only [ρ.symm_apply_apply,node],by simpa only [ρ.symm_apply_apply] using hv k⟩ | |
| have hsglobal (a d : Degree) : (S.map ρ).external.Holds (two a d) ↔ | |
| ∃ k, a = (ρ (node k)).val ∧ d = (ρ (node (k+1))).val := by | |
| constructor | |
| · intro h | |
| have ha : a ∈ J.carrier := (S.map ρ).coordinates_mem h 0 | |
| have hd : d ∈ J.carrier := (S.map ρ).coordinates_mem h 1 | |
| obtain ⟨k,hk,hl⟩ := (hsuccessor ⟨a,ha⟩ ⟨d,hd⟩).mp h | |
| exact ⟨k,congrArg Element.val hk,congrArg Element.val hl⟩ | |
| · rintro ⟨k,rfl,rfl⟩ | |
| exact (hsuccessor _ _).mpr ⟨k,rfl,rfl⟩ | |
| have hpglobal (a d : Degree) : (P.map ρ).external.Holds (two a d) ↔ | |
| ∃ k, a = (ρ (node k)).val ∧ d = (ρ (v k)).val := by | |
| constructor | |
| · intro h | |
| have ha : a ∈ J.carrier := (P.map ρ).coordinates_mem h 0 | |
| have hd : d ∈ J.carrier := (P.map ρ).coordinates_mem h 1 | |
| obtain ⟨k,hk,hl⟩ := (hpayload ⟨a,ha⟩ ⟨d,hd⟩).mp h | |
| exact ⟨k,congrArg Element.val hk,congrArg Element.val hl⟩ | |
| · rintro ⟨k,rfl,rfl⟩ | |
| exact (hpayload _ _).mpr ⟨k,rfl,rfl⟩ | |
| let d : Enumeration := ⟨fun k => (ρ (node k)).val,hi,fun k => (ρ (v k)).val, | |
| (S.map ρ).external,(P.map ρ).external,hsglobal,hpglobal⟩ | |
| refine ⟨d,fun _ => rfl,S.map_below ρ b ?_,P.map_below ρ b ?_⟩ | |
| · simpa only [S,RCode.external_ofBelow] using hS | |
| · simpa only [P,RCode.external_ofBelow] using hP | |
| end | |
| end TuringRigidity.IdealInterpretation | |
| end OAI | |
Xet Storage Details
- Size:
- 4.05 kB
- Xet hash:
- 27e72903f8e187aafdc7f2d412d9c961e302c250ec2d55efa2248af92fab6c8a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.