src/HOL/Tools/Sledgehammer/sledgehammer_fact.ML
changeset 74947 7ada0c20379b
parent 74379 9ea507f63bcb
child 74955 6f5eafd952c9
equal deleted inserted replaced
74946:0dd14d8b16da 74947:7ada0c20379b
   520                    end)
   520                    end)
   521               end) ths (n, accum))
   521               end) ths (n, accum))
   522           end)
   522           end)
   523   in
   523   in
   524     (* Names like "xxx" are preferred to "xxx.yyy", which are preferred to "xxx(666)" and the like.
   524     (* Names like "xxx" are preferred to "xxx.yyy", which are preferred to "xxx(666)" and the like.
   525        "Preferred" means put to the front of  the list. *)
   525        "Preferred" means "put to the front of the list". *)
   526     ([], ([], []))
   526     ([], ([], []))
   527     |> add_facts false fold local_facts (unnamed_locals @ named_locals)
   527     |> add_facts false fold local_facts (unnamed_locals @ named_locals)
   528     |> add_facts true Facts.fold_static global_facts global_facts
   528     |> add_facts true Facts.fold_static global_facts global_facts
   529     ||> op @ |> op @
   529     ||> op @ |> op @
   530   end
   530   end