Advertisement
logicmoo

Untitled

Jan 20th, 2018
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 3.34 KB | None | 0 0
  1. [Mon](chemicalLaw
  2.     [F]M(implies
  3.         (and
  4.           (isa ?BASE ttBaseTypeWeak)
  5.           (elementOf ?BASE ?SOLUTES)
  6.           (extentCardinality ?SOLUTES 2)
  7.           (elementOf ?SALT ?SOLUTES)
  8.           (genls ?SALT tSaltChemicalSubstance)
  9.           (totalSolutesInAqueousSolution ?SAMPLE ?SOLUTES)
  10.           (commonIonTypeInCompoundTypes ?BASE ?SALT ??ION))
  11.         (isa ?SAMPLE tAqueousBufferSolution)))
  12. [Mon](chemicalLaw
  13.     [B]M(not
  14.         (and
  15.           (genls ?SALT tSaltChemicalSubstance)
  16.           (elementOf ?SALT ?SOLUTE-SET)
  17.           (extentCardinality ?SOLUTE-SET 2)
  18.           (elementOf ?BASE ?SOLUTE-SET)
  19.           (isa ?BASE ttBaseTypeStrong)
  20.           (totalSolutesInAqueousSolution ?SOLN ?SOLUTE-SET)
  21.           (isa ?SOLN tAqueousBufferSolution))))
  22. [B](implies
  23.     (trueSentence
  24.       (exists ?OTHER-TYPE
  25.         (and
  26.           (isa ?OTHER-TYPE ttBaseTypeBronstedLowry)
  27.           (solutionOf ?SOLUTION-TYPE
  28.             (tColOfLiquidFn tWater) ?OTHER-TYPE))))
  29.     (abnormal
  30.       (vTheListFn ?COMPOUND ?SOLUTION-TYPE)
  31.       [B]M(implies
  32.           (and
  33.             (genls ?COMPOUND tChemicallyAcidicSubstance)
  34.             (solutionOf ?SOLUTION-TYPE
  35.               (tColOfLiquidFn tWater) ?COMPOUND))
  36.           (genls ?SOLUTION-TYPE tAcidicSolutionLiquid))))
  37. [Inf](genls tMagnesiumBromide tStrongElectrolyte)
  38. [Inf](solubleInTypetype tPotassiumNitrite
  39.     (tColOfLiquidFn tWater))
  40. [F](implies
  41.     (and
  42.       (isa ?COMPONENT-1 tAqueousSolution)
  43.       (mixtureComponents ?MIXTURE ?COMPONENT-1)
  44.       (mixtureComponents ?MIXTURE ?COMPONENT-2)
  45.       (partsPartitionBinary ?MIXTURE ?COMPONENT-1 ?COMPONENT-2)
  46.       (instantiatesCompoundType ?COMPONENT-2 ?COMPOUND)
  47.       (solubleInTypetype ?COMPOUND
  48.         (tColOfLiquidFn tWater)))
  49.     (isa ?MIXTURE tAqueousSolution))
  50. [F](implies
  51.     (and
  52.       (isa ?COMPONENT-1 tAqueousSolution)
  53.       (mixtureComponents ?MIXTURE ?COMPONENT-1)
  54.       (mixtureComponents ?MIXTURE ?COMPONENT-2)
  55.       (partsPartitionBinary ?MIXTURE ?COMPONENT-1 ?COMPONENT-2)
  56.       (isa ?COMPONENT-2 ?ELEMENT)
  57.       (isa ?ELEMENT ttElementalSubstanceType)
  58.       (solubleInTypetype ?ELEMENT
  59.         (tColOfLiquidFn tWater)))
  60.     (isa ?MIXTURE tAqueousSolution))
  61. [F](implies
  62.     (and
  63.       (isa ?COMPONENT-1 tAqueousSolution)
  64.       (mixtureComponents ?MIXTURE ?COMPONENT-1)
  65.       (mixtureComponents ?MIXTURE ?COMPONENT-2)
  66.       (isa ?COMPONENT-2 tAqueousSolution)
  67.       (partsPartitionBinary ?MIXTURE ?COMPONENT-1 ?COMPONENT-2))
  68.     (isa ?MIXTURE tAqueousSolution))
  69. [Mon](chemicalLaw
  70.     [B]M(implies
  71.         (and
  72.           (isa ?SOLUTION-1 tAqueousSolution)
  73.           (different ?SOLUTION-1 ?SOLUTION-2)
  74.           (isa ?SOLUTION-2 tAqueousSolution)
  75.           (genls ?STRONG-ELECTROLYTE tStrongElectrolyte)
  76.           (genls ?WEAK-ELECTROLYTE tWeakElectrolyte)
  77.           (molarityOfSubstanceInSample ?SOLUTION-2 ?WEAK-ELECTROLYTE ?CONCENTR)
  78.           (molarityOfSubstanceInSample ?SOLUTION-1 ?STRONG-ELECTROLYTE ?CONCENTR))
  79.         (largerThan ?SOLUTION-1 ?SOLUTION-2 electricalResistanceOfObject)))
  80. [F](implies
  81.     (and
  82.       (isa ?SOLUTION tAqueousSolution)
  83.       (mixtureComponents ?MIXTURE ?SOLUTION)
  84.       (mixtureComponents ?MIXTURE ?WATER)
  85.       (isa ?WATER tWater)
  86.       (partsPartitionBinary ?MIXTURE ?SOLUTION ?WATER))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement