MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / new

Method new

lean-agentic/src/environment.rs:217–223  ·  view source on GitHub ↗

Create a new empty environment

()

Source from the content-addressed store, hash-verified

215impl Environment {
216 /// Create a new empty environment
217 pub fn new() -> Self {
218 Self {
219 declarations: HashMap::new(),
220 inductives: HashMap::new(),
221 constructor_to_ind: HashMap::new(),
222 }
223 }
224
225 /// Add a declaration to the environment
226 pub fn add_decl(&mut self, decl: Declaration) -> crate::Result<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected