MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / __init__

Method __init__

problem.py:347–371  ·  view source on GitHub ↗
(
      self,
      construction: Construction,
      rely: dict[str, str],
      deps: Clause,
      basics: list[tuple[list[str], list[Construction]]],
      numerics: list[Construction],
  )

Source from the content-addressed store, hash-verified

345 )
346
347 def __init__(
348 self,
349 construction: Construction,
350 rely: dict[str, str],
351 deps: Clause,
352 basics: list[tuple[list[str], list[Construction]]],
353 numerics: list[Construction],
354 ):
355 self.construction = construction
356 self.rely = rely
357 self.deps = deps
358 self.basics = basics
359 self.numerics = numerics
360
361 args = set()
362 for num in numerics:
363 args.update(num.args)
364
365 self.points = []
366 self.args = []
367 for p in self.construction.args:
368 if p in args:
369 self.args.append(p)
370 else:
371 self.points.append(p)
372
373
374class Theorem:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected