Learning.eval_comp_history
This page has the declaration's own card below, then its dependency graph, then a card for each dependency (type dependencies first, then the rest of the transitive closure). For a theorem, the graph and the dependency cards only follow its statement's dependencies (its proof is replaced by sorry, so what it proves doesn't depend on how); for everything else, both the type and the body/value are followed, since their content is part of what later declarations build on.
eval_comp_history๐
Learning.eval_comp_historyNo docstring.
Learning.eval_comp_history.{u_1, u_2, u_3} {๐ : Type u_1} {๐จ : Type u_2} {ฮฉ : Type u_3} {A : โ โ ฮฉ โ ๐} {Y : โ โ ฮฉ โ ๐จ} (n : โ) : (fun x => x โจn, โฏโฉ) โ history A Y n = step A Y nLearning.eval_comp_history.{u_1, u_2, u_3} {๐ : Type u_1} {๐จ : Type u_2} {ฮฉ : Type u_3} {A : โ โ ฮฉ โ ๐} {Y : โ โ ฮฉ โ ๐จ} (n : โ) : (fun x => x โจn, โฏโฉ) โ history A Y n = step A Y n
Code
lemma eval_comp_history (n : โ) :
(fun x โฆ x โจn, by simpโฉ) โ (history A Y n) = step A Y nActions: Source ยท Open Issue
Proof
rfl
Dependency graph
Type dependencies (2)
history๐
Learning.history
History of the algorithm-environment sequence up to time n.
Learning.history.{u_1, u_2, u_3} {๐ : Type u_1} {๐จ : Type u_2} {ฮฉ : Type u_3} (A : โ โ ฮฉ โ ๐) (Y : โ โ ฮฉ โ ๐จ) (n : โ) (ฯ : ฮฉ) : โฅ(Finset.Iic n) โ ๐ ร ๐จLearning.history.{u_1, u_2, u_3} {๐ : Type u_1} {๐จ : Type u_2} {ฮฉ : Type u_3} (A : โ โ ฮฉ โ ๐) (Y : โ โ ฮฉ โ ๐จ) (n : โ) (ฯ : ฮฉ) : โฅ(Finset.Iic n) โ ๐ ร ๐จ
Code
def history (A : โ โ ฮฉ โ ๐) (Y : โ โ ฮฉ โ ๐จ) (n : โ) (ฯ : ฮฉ) : Iic n โ ๐ ร ๐จ := fun i โฆ (A i ฯ, Y i ฯ)
Actions: Source ยท Open Issue
step๐
Learning.step
Step of the algorithm-environment sequence: the action-feedback pair at time n.
Learning.step.{u_1, u_2, u_3} {๐ : Type u_1} {๐จ : Type u_2} {ฮฉ : Type u_3} (A : โ โ ฮฉ โ ๐) (Y : โ โ ฮฉ โ ๐จ) (n : โ) (ฯ : ฮฉ) : ๐ ร ๐จLearning.step.{u_1, u_2, u_3} {๐ : Type u_1} {๐จ : Type u_2} {ฮฉ : Type u_3} (A : โ โ ฮฉ โ ๐) (Y : โ โ ฮฉ โ ๐จ) (n : โ) (ฯ : ฮฉ) : ๐ ร ๐จ
Code
def step (A : โ โ ฮฉ โ ๐) (Y : โ โ ฮฉ โ ๐จ) (n : โ) (ฯ : ฮฉ) : ๐ ร ๐จ := (A n ฯ, Y n ฯ)
Used by (12)
Actions: Source ยท Open Issue