equal
deleted
inserted
replaced
117 theories_local = for ((a, b) <- theories_local) yield (a, b.map(File.standard_path(_))), |
117 theories_local = for ((a, b) <- theories_local) yield (a, b.map(File.standard_path(_))), |
118 files = for ((a, b) <- files) yield (a, b.map(c => c.map(File.standard_path(_))))) |
118 files = for ((a, b) <- files) yield (a, b.map(c => c.map(File.standard_path(_))))) |
119 |
119 |
120 def theory_names: List[Document.Node.Name] = theories.iterator.map(p => p._2.name).toList |
120 def theory_names: List[Document.Node.Name] = theories.iterator.map(p => p._2.name).toList |
121 |
121 |
122 lazy val theory_graph: Graph[Document.Node.Name, Unit] = |
122 lazy val theory_graph: Document.Theory_Graph[Unit] = |
123 Document.theory_graph( |
123 Document.theory_graph( |
124 for ((_, entry) <- theories.toList) |
124 for ((_, entry) <- theories.toList) |
125 yield ((entry.name, ()), entry.header.imports.map(imp => theories(imp.theory).name))) |
125 yield ((entry.name, ()), entry.header.imports.map(imp => theories(imp.theory).name))) |
126 |
126 |
127 def get_file(file: JFile, bootstrap: Boolean = false): Option[Document.Node.Name] = |
127 def get_file(file: JFile, bootstrap: Boolean = false): Option[Document.Node.Name] = |
202 (for { |
202 (for { |
203 (_, base) <- session_bases.iterator |
203 (_, base) <- session_bases.iterator |
204 name <- base.dump_checkpoints.iterator |
204 name <- base.dump_checkpoints.iterator |
205 } yield name).toSet |
205 } yield name).toSet |
206 |
206 |
207 def used_theories_condition(default_options: Options, progress: Progress = No_Progress) |
207 def used_theories_condition( |
208 : Graph[Document.Node.Name, Options] = |
208 default_options: Options, progress: Progress = No_Progress): Document.Theory_Graph[Options] = |
209 { |
209 { |
210 val default_skip_proofs = default_options.bool("skip_proofs") |
210 val default_skip_proofs = default_options.bool("skip_proofs") |
211 Document.theory_graph( |
211 Document.theory_graph( |
212 permissive = true, |
212 permissive = true, |
213 entries = |
213 entries = |