Documentation Verification Report

PostTuringMachine

šŸ“ Source: Mathlib/Computability/PostTuringMachine.lean

Statistics

MetricCount
DefinitionsFRespects, Reaches, Reachesā‚€, Reaches₁, Respects, Cfg, inhabited, map, q, Machine, inhabited, map, Reaches, Stmt, inhabited, map, Supports, eval, init, step, instInhabitedĪ›', tr, trCfg, Ī›', Cfg, inhabited, l, var, Stmt, inhabited, Supports, SupportsStmt, eval, init, step, stepAux, stmts, stmts₁, instInhabitedĪ›', tr, trAux, trCfg, trStmts, Ī›', instInhabitedĪ›', move, read, readAux, tr, trCfg, trNormal, trSupp, trTape, trTape', write, writes, Ī›', eval, evalInduction
59
Theoremstoā‚€, head, refl, single, tail, tail', trans, toā‚€, map_respects, map_step, map_init, step_supports, univ_supports, tr_respects, step_supports, stmts_supportsStmt, stmts_trans, stmts₁_self, stmts₁_supportsStmt_mono, stmts₁_trans, tr_eval, tr_respects, tr_supports, exists_enc_dec, stepAux_move, stepAux_read, stepAux_write, supportsStmt_move, supportsStmt_read, supportsStmt_write, trTape'_move_left, trTape'_move_right, trTape_mk', tr_respects, tr_supports, eval_maximal, eval_maximal₁, frespects_eq, fun_respects, mem_eval, reaches_eval, reaches_total, reachesā‚€_eq, reaches₁_eq, reaches₁_fwd, tr_eval, tr_eval', tr_eval_dom, tr_eval_rev, tr_reaches, tr_reaches_rev, tr_reaches₁
52
Total111

Turing

Definitions

NameCategoryTheorems
FRespects šŸ“–MathDef
2 mathmath: frespects_eq, fun_respects
Reaches šŸ“–MathDef
3 mathmath: mem_eval, eval_maximal, reaches₁_fwd
Reachesā‚€ šŸ“–MathDef
7 mathmath: TM2to1.tr_respects_aux₁, reachesā‚€_eq, TM2to1.tr_respects_auxā‚ƒ, Reachesā‚€.refl, Reaches₁.toā‚€, Reaches.toā‚€, Reachesā‚€.single
Reaches₁ šŸ“–MathDef
15 mathmath: PartrecToTM2.copy_ok, eval_maximal₁, PartrecToTM2.move_ok, PartrecToTM2.head_stack_ok, reaches₁_eq, PartrecToTM2.succ_ok, PartrecToTM2.clear_ok, PartrecToTM2.trNormal_respects, PartrecToTM2.pred_ok, PartrecToTM2.moveā‚‚_ok, PartrecToTM2.tr_ret_respects, PartrecToTM2.tr_init, Reachesā‚€.tail', PartrecToTM2.unrev_ok, PartrecToTM2.head_main_ok
Respects šŸ“–MathDef
7 mathmath: TM0to1.tr_respects, PartrecToTM2.tr_respects, TM1to1.tr_respects, fun_respects, TM1to0.tr_respects, TM0.Machine.map_respects, TM2to1.tr_respects
eval šŸ“–CompOp
9 mathmath: tr_eval_dom, tr_eval', ToPartrec.stepNormal_eval, reaches_eval, mem_eval, ToPartrec.stepRet_eval, ToPartrec.cont_eval_fix, PartrecToTM2.tr_eval, ToPartrec.Code.Ok.zero
evalInduction šŸ“–CompOp—

Theorems

NameKindAssumesProvesValidatesDepends On
eval_maximal šŸ“–mathematicalPart
Part.instMembership
eval
Reaches—mem_eval
Relation.reflTransGen_iff_eq
eval_maximal₁ šŸ“–mathematicalPart
Part.instMembership
eval
Reaches₁—mem_eval
Relation.TransGen.head'_iff
frespects_eq šŸ“–mathematical—FRespects—reaches₁_eq
fun_respects šŸ“–mathematical—Respects
FRespects
——
mem_eval šŸ“–mathematical—Part
Part.instMembership
eval
Reaches
—Part.mem_unique
PFun.mem_fix_iff
Part.mem_some_iff
Relation.ReflTransGen.head
Relation.ReflTransGen.head_induction_on
Part.mem_some
reaches_eval šŸ“–mathematicalReacheseval—Part.ext
mem_eval
eval_maximal
reaches_total
Relation.ReflTransGen.trans
reaches_total šŸ“–ā€”Reaches——Relation.ReflTransGen.total_of_right_unique
reachesā‚€_eq šŸ“–mathematical—Reaches₀—reaches₁_eq
reaches₁_eq šŸ“–mathematical—Reaches₁—Relation.TransGen.head'_iff
reaches₁_fwd šŸ“–mathematicalReaches₁Reaches—Relation.TransGen.head'_iff
tr_eval šŸ“–ā€”Respects
Part
Part.instMembership
eval
——mem_eval
tr_reaches
tr_eval' šŸ“–mathematicalRespectseval
Part
Part.instMonad
—Part.ext
tr_eval_rev
Part.mem_map_iff
tr_eval
tr_eval_dom šŸ“–mathematicalRespectsPart.Dom
eval
—tr_eval_rev
tr_eval
tr_eval_rev šŸ“–ā€”Respects
Part
Part.instMembership
eval
——mem_eval
tr_reaches_rev
Relation.reflTransGen_iff_eq
Relation.TransGen.head'_iff
tr_reaches šŸ“–ā€”Respects
Reaches
——Relation.reflTransGen_iff_eq_or_transGen
tr_reaches₁
Relation.TransGen.to_reflTransGen
tr_reaches_rev šŸ“–ā€”Respects
Reaches
——Relation.ReflTransGen.cases_head
Relation.TransGen.head'_iff
tr_reaches₁ šŸ“–ā€”Respects
Reaches₁
———

Turing.Reaches

Theorems

NameKindAssumesProvesValidatesDepends On
toā‚€ šŸ“–mathematicalTuring.ReachesTuring.Reaches₀—Relation.TransGen.trans_right

Turing.Reachesā‚€

Theorems

NameKindAssumesProvesValidatesDepends On
head šŸ“–ā€”Turing.Reaches₀——trans
single
refl šŸ“–mathematical—Turing.Reaches₀——
single šŸ“–mathematical—Turing.Reaches₀—Relation.TransGen.head
tail šŸ“–ā€”Turing.Reaches₀——trans
single
tail' šŸ“–mathematicalTuring.Reachesā‚€Turing.Reaches₁——
trans šŸ“–ā€”Turing.Reaches₀———

Turing.Reaches₁

Theorems

NameKindAssumesProvesValidatesDepends On
toā‚€ šŸ“–mathematicalTuring.Reaches₁Turing.Reaches₀——

Turing.TM0

Definitions

NameCategoryTheorems
Cfg šŸ“–CompData
4 mathmath: Turing.TM0to1.tr_respects, Machine.map_step, Turing.TM1to0.tr_respects, Machine.map_respects
Machine šŸ“–CompOp—
Reaches šŸ“–MathDef—
Stmt šŸ“–CompData—
Supports šŸ“–MathDef
2 mathmath: univ_supports, Turing.TM1to0.tr_supports
eval šŸ“–CompOp
1 mathmath: Turing.TM1to0.tr_eval
init šŸ“–CompOp
1 mathmath: map_init
step šŸ“–CompOp
4 mathmath: Turing.TM0to1.tr_respects, Machine.map_step, Turing.TM1to0.tr_respects, Machine.map_respects

Theorems

NameKindAssumesProvesValidatesDepends On
map_init šŸ“–mathematical—Cfg.map
Turing.PointedMap.f
init
—Turing.PointedMap.map_pt
Turing.Tape.map_mk₁
step_supports šŸ“–ā€”Supports
Cfg
step
Set
Set.instMembership
Cfg.q
———
univ_supports šŸ“–mathematical—Supports
Set.univ
—Set.mem_univ

Turing.TM0.Cfg

Definitions

NameCategoryTheorems
inhabited šŸ“–CompOp—
map šŸ“–CompOp
3 mathmath: Turing.TM0.map_init, Turing.TM0.Machine.map_step, Turing.TM0.Machine.map_respects
q šŸ“–CompOp
1 mathmath: Turing.TM0.Machine.map_respects

Turing.TM0.Machine

Definitions

NameCategoryTheorems
inhabited šŸ“–CompOp—
map šŸ“–CompOp
2 mathmath: map_step, map_respects

Theorems

NameKindAssumesProvesValidatesDepends On
map_respects šŸ“–mathematicalTuring.TM0.Supports
Turing.PointedMap.f
Turing.Respects
Turing.TM0.Cfg
Turing.TM0.step
map
Set
Set.instMembership
Turing.TM0.Cfg.q
Turing.TM0.Cfg.map
—map_step
Turing.TM0.step_supports
map_step šŸ“–mathematicalTuring.PointedMap.f
Set
Set.instMembership
Turing.TM0.Cfg.q
Turing.TM0.Cfg
Turing.TM0.Cfg.map
Turing.TM0.step
map
—Turing.Tape.map_fst
Turing.Tape.map_move
Turing.Tape.map_write

Turing.TM0.Stmt

Definitions

NameCategoryTheorems
inhabited šŸ“–CompOp—
map šŸ“–CompOp—

Turing.TM0to1

Definitions

NameCategoryTheorems
instInhabitedĪ›' šŸ“–CompOp—
tr šŸ“–CompOp
1 mathmath: tr_respects
trCfg šŸ“–CompOp
1 mathmath: tr_respects
Ī›' šŸ“–CompData
1 mathmath: tr_respects

Theorems

NameKindAssumesProvesValidatesDepends On
tr_respects šŸ“–mathematical—Turing.Respects
Turing.TM0.Cfg
Turing.TM1.Cfg
Ī›'
Turing.TM0.step
Turing.TM1.step
tr
trCfg
—Turing.fun_respects
Relation.TransGen.head
Relation.TransGen.head'
Relation.ReflTransGen.single

Turing.TM1

Definitions

NameCategoryTheorems
Cfg šŸ“–CompData
6 mathmath: Turing.TM2to1.tr_respects_aux₁, Turing.TM2to1.tr_respects_auxā‚ƒ, Turing.TM0to1.tr_respects, Turing.TM1to1.tr_respects, Turing.TM1to0.tr_respects, Turing.TM2to1.tr_respects
Stmt šŸ“–CompData
1 mathmath: stmts₁_self
Supports šŸ“–MathDef
1 mathmath: Turing.TM2to1.tr_supports
SupportsStmt šŸ“–MathDef
3 mathmath: Turing.TM1to1.supportsStmt_write, Turing.TM1to1.supportsStmt_move, stmts_supportsStmt
eval šŸ“–CompOp
2 mathmath: Turing.TM1to0.tr_eval, Turing.TM2to1.tr_eval_dom
init šŸ“–CompOp
1 mathmath: Turing.TM2to1.trCfg_init
step šŸ“–CompOp
6 mathmath: Turing.TM2to1.tr_respects_aux₁, Turing.TM2to1.tr_respects_auxā‚ƒ, Turing.TM0to1.tr_respects, Turing.TM1to1.tr_respects, Turing.TM1to0.tr_respects, Turing.TM2to1.tr_respects
stepAux šŸ“–CompOp
4 mathmath: Turing.TM1to1.stepAux_write, Turing.TM1to1.stepAux_read, Turing.TM1to1.stepAux_move, Turing.TM2to1.tr_respects_auxā‚‚
stmts šŸ“–CompOp—
stmts₁ šŸ“–CompOp
1 mathmath: stmts₁_self

Theorems

NameKindAssumesProvesValidatesDepends On
step_supports šŸ“–ā€”Supports
Cfg
step
Finset
Finset.instMembership
DFunLike.coe
OrderEmbedding
Preorder.toLE
PartialOrder.toPreorder
Finset.partialOrder
instFunLikeOrderEmbedding
Finset.insertNone
Cfg.l
——Finset.some_mem_insertNone
stepAux.eq_def
Multiset.mem_cons_self
stmts_supportsStmt šŸ“–mathematicalSupports
Stmt
Finset
Finset.instMembership
stmts
SupportsStmt—stmts₁_supportsStmt_mono
stmts_trans šŸ“–ā€”Stmt
Finset
Finset.instMembership
stmts₁
stmts
——stmts₁_trans
stmts₁_self šŸ“–mathematical—Stmt
Finset
Finset.instMembership
stmts₁
——
stmts₁_supportsStmt_mono šŸ“–ā€”Stmt
Finset
Finset.instMembership
stmts₁
SupportsStmt
———
stmts₁_trans šŸ“–mathematicalStmt
Finset
Finset.instMembership
stmts₁
Finset.instHasSubset—stmts₁.eq_def

Turing.TM1.Cfg

Definitions

NameCategoryTheorems
inhabited šŸ“–CompOp—
l šŸ“–CompOp—
var šŸ“–CompOp—

Turing.TM1.Stmt

Definitions

NameCategoryTheorems
inhabited šŸ“–CompOp—

Turing.TM1to0

Definitions

NameCategoryTheorems
instInhabitedĪ›' šŸ“–CompOp
3 mathmath: tr_eval, tr_supports, tr_respects
tr šŸ“–CompOp
3 mathmath: tr_eval, tr_supports, tr_respects
trAux šŸ“–CompOp—
trCfg šŸ“–CompOp
1 mathmath: tr_respects
trStmts šŸ“–CompOp
1 mathmath: tr_supports
Ī›' šŸ“–CompOp
3 mathmath: tr_eval, tr_supports, tr_respects

Theorems

NameKindAssumesProvesValidatesDepends On
tr_eval šŸ“–mathematical—Turing.TM0.eval
Ī›'
instInhabitedĪ›'
tr
Turing.TM1.eval
—Turing.tr_eval'
tr_respects
Part.map_eq_map
Part.map_map
Turing.TM1.eval.eq_1
tr_respects šŸ“–mathematical—Turing.Respects
Turing.TM1.Cfg
Turing.TM0.Cfg
Ī›'
Turing.TM1.step
Turing.TM0.step
instInhabitedĪ›'
tr
trCfg
—Turing.fun_respects
Relation.TransGen.head
Turing.reaches₁_eq
Turing.TM1.stepAux.eq_def
Turing.Tape.write_self
tr_supports šŸ“–mathematicalTuring.TM1.SupportsTuring.TM0.Supports
Ī›'
instInhabitedĪ›'
tr
SetLike.coe
Finset
Finset.instSetLike
trStmts
—Finset.mem_product
Turing.TM1.stmts₁_self
Finset.mem_univ
Multiset.mem_cons_self
Turing.TM1.stmts_supportsStmt
Turing.TM1.stmts_trans
Turing.TM1.stmts₁.eq_def
Finset.mem_insert_of_mem
Finset.mem_union_right
trAux.eq_4
Finset.mem_union_left
Finset.some_mem_insertNone
Finset.mem_biUnion

Turing.TM1to1

Definitions

NameCategoryTheorems
instInhabitedĪ›' šŸ“–CompOp
1 mathmath: tr_supports
move šŸ“–CompOp
2 mathmath: supportsStmt_move, stepAux_move
read šŸ“–CompOp
2 mathmath: stepAux_read, supportsStmt_read
readAux šŸ“–CompOp—
tr šŸ“–CompOp
2 mathmath: tr_respects, tr_supports
trCfg šŸ“–CompOp
1 mathmath: tr_respects
trNormal šŸ“–CompOp—
trSupp šŸ“–CompOp
1 mathmath: tr_supports
trTape šŸ“–CompOp
1 mathmath: trTape_mk'
trTape' šŸ“–CompOp
5 mathmath: trTape_mk', stepAux_write, stepAux_read, trTape'_move_left, trTape'_move_right
write šŸ“–CompOp
2 mathmath: stepAux_write, supportsStmt_write
writes šŸ“–CompOp—
Ī›' šŸ“–CompData
7 mathmath: stepAux_write, stepAux_read, tr_respects, supportsStmt_write, supportsStmt_move, stepAux_move, tr_supports

Theorems

NameKindAssumesProvesValidatesDepends On
exists_enc_dec šŸ“–mathematical—List.Vector.replicate—Finite.exists_equiv_fin
Bool.of_decide_true
Bool.decide_true
Function.Embedding.setValue_eq
Function.leftInverse_invFun
Function.Embedding.inj'
stepAux_move šŸ“–mathematical—Turing.TM1.stepAux
Ī›'
move
Nat.iterate
Turing.Tape
Turing.Tape.move
—Function.iterate_succ'
Function.iterate_succ
stepAux_read šŸ“–mathematicalList.Vector.replicateTuring.TM1.stepAux
Ī›'
read
trTape'
Turing.ListBlank.head
—Turing.ListBlank.exists_cons
Turing.ListBlank.cons_flatMap
Turing.ListBlank.head_cons
Turing.ListBlank.flatMap.congr_simp
Turing.ListBlank.tail_cons
Turing.Tape.move_right_mk'
Turing.ListBlank.append.eq_2
read.eq_1
stepAux_move
trTape'_move_left
trTape'.congr_simp
Turing.ListBlank.cons_head_tail
stepAux_write šŸ“–mathematicalList.Vector.replicateTuring.TM1.stepAux
Ī›'
write
List.Vector.toList
trTape'
Turing.ListBlank.cons
—Turing.ListBlank.cons_flatMap
Turing.Tape.write_mk'
Turing.ListBlank.tail_cons
Turing.Tape.move_right_mk'
Turing.ListBlank.head_cons
supportsStmt_move šŸ“–mathematical—Turing.TM1.SupportsStmt
Ī›'
move
——
supportsStmt_read šŸ“–mathematicalTuring.TM1.SupportsStmt
Ī›'
read—supportsStmt_move
supportsStmt_write šŸ“–mathematical—Turing.TM1.SupportsStmt
Ī›'
write
——
trTape'_move_left šŸ“–mathematicalList.Vector.replicateNat.iterate
Turing.Tape
Turing.Tape.move
Turing.Dir.left
trTape'
Turing.ListBlank.tail
Turing.ListBlank.cons
Turing.ListBlank.head
—Turing.ListBlank.exists_cons
Turing.ListBlank.cons_flatMap
Turing.ListBlank.flatMap.congr_simp
Turing.ListBlank.tail_cons
Turing.ListBlank.head_cons
Turing.Tape.move_left_mk'
List.Vector.toList_length
trTape'_move_right šŸ“–mathematicalList.Vector.replicateNat.iterate
Turing.Tape
Turing.Tape.move
Turing.Dir.right
trTape'
Turing.ListBlank.cons
Turing.ListBlank.head
Turing.ListBlank.tail
—Function.iterate_succ_apply
Function.iterate_succ_apply'
Turing.Tape.move_left_right
trTape'_move_left
trTape'.congr_simp
Turing.ListBlank.tail_cons
Turing.ListBlank.head_cons
Turing.ListBlank.cons_head_tail
trTape_mk' šŸ“–mathematicalList.Vector.replicatetrTape
Turing.Tape.mk'
trTape'
—trTape'.congr_simp
Turing.Tape.mk'_rightā‚€
tr_respects šŸ“–mathematicalList.Vector.replicateTuring.Respects
Turing.TM1.Cfg
Ī›'
Turing.TM1.step
tr
trCfg
—Turing.fun_respects
Turing.Tape.exists_mk'
stepAux_move
trTape'_move_left
trCfg.congr_simp
Turing.Tape.move_left_mk'
trTape'_move_right
stepAux_read
Relation.ReflTransGen.head
Turing.ListBlank.exists_cons
tr.eq_2
Turing.Tape.mk'_head
stepAux_write
Turing.ListBlank.head_cons
trTape'.congr_simp
Turing.ListBlank.tail_cons
Turing.Tape.write_mk'
trTape_mk'
Relation.TransGen.head'
tr_supports šŸ“–mathematicalTuring.TM1.SupportsĪ›'
instInhabitedĪ›'
tr
trSupp
—Finset.mem_biUnion
Finset.mem_insert_self
writes.eq_def
supportsStmt_move
supportsStmt_read
supportsStmt_write
Finset.mem_insert_of_mem
Finset.mem_insert

---

← Back to Index