Buckets:
cfahlgren1/math / lean /OAI /MathematicalPhysics /NavierStokes /ForcedComputation /Programs /FiniteMachineHaltingDischarge.lean
| import OAI.MathematicalPhysics.NavierStokes.ForcedComputation.Programs.FixedInterpreter | |
| import OAI.MathematicalPhysics.NavierStokes.ForcedComputation.Programs.MachineDecisionInput | |
| namespace OAI | |
| /-! Discharge of the finite-table undecidability input, using the fixed | |
| universal interpreter and Mathlib's proved halting theorem. -/ | |
| namespace ForcedComputation | |
| theorem finiteMachineHaltingUndecidable : FiniteMachineHaltingUndecidable := by | |
| rintro ⟨d, hd, hcorrect⟩ | |
| obtain ⟨M, input, hi, hM⟩ := FiniteMachine.exists_fixed_universal_machine | |
| apply ComputablePred.halting_problem 0 | |
| apply ComputablePred.computable_iff.mpr | |
| refine ⟨fun c : Nat.Partrec.Code => d (M, input (Encodable.encode c)), | |
| hd.comp ((Computable.const M).pair (hi.comp Computable.encode)), ?_⟩ | |
| funext c | |
| apply propext | |
| have h := (hcorrect (M, input (Encodable.encode c)) (hM _).1).trans (hM _).2 | |
| simpa only [Denumerable.ofNat_encode] using h.symm | |
| end ForcedComputation | |
| end OAI | |
Xet Storage Details
- Size:
- 976 Bytes
- Xet hash:
- 77073f9b71f06b19436941799fc21a252149404ae2d5b9ab51919e785577687b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.