Skip to content

Follow-ups from the review of #22: a repeated proof block, and two meanings of replyLaw #31

Open

Description

@MarcIlunga

Two points from the review of #22, left for later.

  1. RandomSystem.ofProbAutomaton_eq_drawStep and PDCBehavior.attach_ofDDC_ofProgramOn_ofProbAutomaton (Converter/ProbProgramAttachment.lean) repeat the same proof block: the invariant of the recording automaton, its preservation (hpres) and its initial case (hinit). These could be two lemmas used by both theorems.

  2. ProbStep.replyLaw (the reply law of an automaton from a state law) and Program.replyLaw (the reply law of one program invocation against fresh samples) share a name. System/Memoryless.lean uses both. One should be renamed; candidate names to be proposed here first.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions