Nisha Rathode (Editor)

Glauber

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Name
  
Glauber Glauber

Roy glauber priscilla mcmillan on oppenheimer


Glauber is a scientific discovery method written in the context of computational philosophy of science. It is related to machine learning in artificial intelligence.

Contents

Glauber was written, among other programs, by Pat Langley, Herbert A. Simon, G. Bradshaw and J. Zytkow to demonstrate how scientific discovery may be obtained by problem solving methods, in their book Scientific Discovery, Computational Explorations on the Creative Mind.

Their programs simulate historical scientific discoveries based on the empirical evidence known at the time of discovery.

Glauber was named after Johann Rudolph Glauber, a 17th-century alchemist whose work helped to develop acid-base theory. Glauber (the method) rediscovers the law of acid-alkali reactions producing salts, given the qualities of substances and observed facts, the result of mixing substances. From that knowledge Glauber discovers that substances that taste bitter react with substances tasting sour, producing substances tasting salty.

In few words, the law:

Acid + Alkali --> Salt

Glauber was designed by Pat Langley as part of his work on discovery heuristics in an attempt to have a computer automatically review a host of values and characteristics and make independent analyses from them. In the case of Glauber, the goal was to have an autonomous application that could estimate, even perfectly describe, the nature of a given chemical compound by comparing it to related substances. Langley formalized and compiled Glauber in 1983.

The software were supplied with information about a variety of materials as they had been described by 17-18th century chemists, before most of modern chemical knowledge had been uncovered or invented. Qualitative descriptions like taste, rather than numerical data such as molecular weight, were programmed into the application. Chemical reactions that were known in that era and the distinction between reactants and products were also provided. From this knowledge, Glauber was to figure out which substances were acids, bases, and salts without any quantitative information. The system examined chemical substances and all of their most likely reactions and correlates the expected taste and related acidity or saltiness according to the rule that acids and bases produce salts.

Glauber was a very successful advance in theoretical chemistry as performed by computer and it, along with similar systems developed by Herbert A. Simon including Stahl (which examines oxidation) and DALTON (which calculates atomic weight), helped form the groundwork of all current automated chemical analysis.

A vinganca do glauber desafio do travessao gaba


Information representation (data structures)

Glauber uses two predicates: Reacts and Has-Quality, represented in Lisp lists as follows:

(Reacts Inputs {reactant1 reactant2 ...} Outputs {product1 product2 ...}) (Has-Quality Object {substance} quality {value})

For their experiment the authors used the following facts:

(Reacts Inputs {HCl NaOH} Outputs {NaCl}) (Reacts Inputs {HCl KOH} Outputs {KCl}) (Reacts Inputs {HNO3 NaOH} Outputs {NaNO3 }) (Reacts Inputs {HNO3 KOH} Outputs {KNO3 }) (Has-Quality Object {HCl} Tastes {Sour }) (Has-Quality Object {HNO3 } Tastes {Sour }) (Has-Quality Object {NaOH} Tastes {Bitter }) (Has-Quality Object {KOH} Tastes {Bitter }) (Has-Quality Object {NaCl} Tastes {Salty }) (Has-Quality Object {NaNO3} Tastes {Salty }) (Has-Quality Object {KCl} Tastes {Salty }) (Has-Quality Object {KNO3 } Tastes {Salty })

Discovering the following law and equivalence classes:

SALTS:{KNO3 ,KCl,NaNO3 ,NaCl} ACIDS:{HCl,HNO3 } ALKALIS:{NaOH,KOH} ∀ alkali ∀ acid ∃ salt (Reacts Inputs {acid,alkali} Outputs {salt}) ∀ salt (Has-Quality Object {salt} Tastes {Salty}) ∀ acid (Has-Quality Object {acid} Tastes {Sour}) ∀ alkali(Has-Quality Object {alkali} Tastes {Bitter})

The modern notation with strings like: NaOH, HCl, etc., is used just as short substance names. Here they do not mean the chemical structure of the substances, which was not known at the time of the discovery; the program works with any name used in the 17th century like aqua regia, muriatic acid, etc.

Procedures

Glauber is based in two procedures: Form-Class and Determine-Quantifier. The procedure Form-Class generalize the Reacts predicates by replacing the substance names by variables ranging on equivalence classes determined by a quality whose value distinguishes the substances in each class. In the experiment designed by its authors, the substances are partitioned in three classes based in the value of the taste quality according on their value: Acids (sour), Alkalis (bitter) and Salts (salty).

Glauber main procedure

Input: Reacts and Has-Quality predicate sets Output: On success returns a generalized version of the Reacts predicate whose variables range over the equivalence classes and a new Class predicate which is like Has-Quality having a name-class instead of substance name: (Has-Quality {class-name} quality {value})
  1. If there are no more substance names in the Reacts predicates then finish
  2. process the Reacts predicates with the Form-Class procedure
  3. process the result of the previous step with Determine-Quantifier
  4. go to step 3

Form-Class

Input: the Reacts and Has-Quality predicate sets Output: a new substances class, a new Has-Quality and a new Reacts predicate set
  1. Count the number of occurrences of each quality {value} in the Has-Quality predicates
  2. Select the quality value with the largest number of occurrences, which substances are in the Reacts predicates
  3. Create a name for the class
  4. Generate a new Has-Quality predicate set removing all the predicates in Has-Quality with the selected quality {value} and adding the predicate (Has-Quality {class-name} quality {value}) to the Class predicates where class-name is the name obtained in step 3
  5. Generate a new Reacts predicate set by replacing the name of the substance in the class formed in the step 2 by the name created in step 3
  6. Create a new class extension by associating the name generated on step 3 with the set of all substances on the class selected on step 2

Determine-Quantifier

Input: the Reacts, Has-Quality and Class (generated by Form-Class) predicate sets Output: An intensional quantified class corresponding to the extensional class gererated by Form-Class, a new Reacts predicate set extended with the appropriate quantifier of the last discovered class received from Form-Class
  1. Universally quantify the rule to determine the class
  2. Generate Reacts predicates replacing each substance in the new class for its class-name in the Reacts predicates
  3. if all the predicates generated in the previous step are contained in the original set then quantify universally else quantify existentially

References

Glauber Wikipedia