Learning.Round.map
From the authors
Transport a round along maps of the observation, the action and the feedback.
-
๐ : Type u_1 -
๐' : Type u_2 -
๐ : Type u_4 -
๐' : Type u_5 -
๐จ : Type u_7 -
๐จ' : Type u_8
-
fo : ๐ โ ๐' -
fa : ๐ โ ๐' -
fy : ๐จ โ ๐จ' -
r : Round ๐ ๐ ๐จOne round of interaction: an observation, then an action, then a feedback.
Round ๐' ๐' ๐จ'(fo r.obs, fa r.action, fy r.feedback)Learning.Round : Type u_5 โ Type u_6 โ Type u_7 โ Type (max u_5 u_7 u_6)One round of interaction: an observation, then an action, then a feedback.Go to its page
Prod.mk : {ฮฑ : Type u} โ {ฮฒ : Type v} โ ฮฑ โ ฮฒ โ ฮฑ ร ฮฒConstructs a pair. This is usually written `(x, y)` instead of `Prod.mk x y`. Conventions for notations in identifiers: * The recommended spelling of `(a, b)` in identifiers is `mk`.
Learning.Round.obs : {๐ : Type u_1} โ {๐ : Type u_2} โ {๐จ : Type u_3} โ Learning.Round ๐ ๐ ๐จ โ ๐The observation of a round.Go to its page
Learning.Round.action : {๐ : Type u_1} โ {๐ : Type u_2} โ {๐จ : Type u_3} โ Learning.Round ๐ ๐ ๐จ โ ๐The action of a round.Go to its page
Learning.Round.feedback : {๐ : Type u_1} โ {๐ : Type u_2} โ {๐จ : Type u_3} โ Learning.Round ๐ ๐ ๐จ โ ๐จThe feedback of a round.Go to its page
Code
def Round.map (fo : ๐ โ ๐') (fa : ๐ โ ๐') (fy : ๐จ โ ๐จ') (r : Round ๐ ๐ ๐จ) : Round ๐' ๐' ๐จ' := (fo r.obs, fa r.action, fy r.feedback)
New in v4.34.0-rc2-74-ge05e4f3 (2026-09-10), and its meaning has not changed since.
Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file ยท open it in the Lean web editor.
Dependency graph
Audit surface: 4 project declarations, 4 external constants
โ Proved: no sorry anywhere in its closure
This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.