SCFirstOrderLogic 7.5.1

dotnet add package SCFirstOrderLogic --version 7.5.1
                    
NuGet\Install-Package SCFirstOrderLogic -Version 7.5.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SCFirstOrderLogic" Version="7.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SCFirstOrderLogic" Version="7.5.1" />
                    
Directory.Packages.props
<PackageReference Include="SCFirstOrderLogic" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SCFirstOrderLogic --version 7.5.1
                    
#r "nuget: SCFirstOrderLogic, 7.5.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=SCFirstOrderLogic&version=7.5.1
                    
Install SCFirstOrderLogic as a Cake Addin
#tool nuget:?package=SCFirstOrderLogic&version=7.5.1
                    
Install SCFirstOrderLogic as a Cake Tool

The SCFirstOrderLogic NuGet package contains basic but fully functional and documented first-order logic implementations for .NET. It is heavily influenced by (chapters 8 and 9 of) Artificial Intelligence: A Modern Approach" (Russell & Norvig). It is intended first and foremost to assist with learning and experimentation, but does include extension points (and async support) so that it is at least conceivable that it could be (extended to be) useful in a production scenario. Included are:

  • Implementations of both raw and CNF sentence representation.
  • Multiple ways of instantiating raw sentences, ranging from string parsing, through a number of code-based approaches, all the way to a language-integrated approach that allows (the domain to be modelled as an IEnumerable<T> and) sentences to be provided as lambda expressions.
  • Sentence manipulation logic - base classes for sentence visitors and transformations, as well as some implementations - e.g. normalisation, variable substitutions and basic unification logic.
  • Sentence formatting logic that allows for (customisable) unique labelling of standardised variables and Skolem functions across a set of sentences.
  • Index structures for terms and clauses, with node abstractions to allow for consumer-provided backing stores. Specifically, we have discrimination tree, path tree and feature vector index implementations.
  • Some abstractions for knowledge base implementations to implement.

Accompanying the core SCFirstOrderLogic package are two supporting packages:

  • SCFirstOrderLogic.ExampleDomains: A few simple first-order logic domains declared using the models found in the SCFirstOrderLogic package - for use in tests and demos.
  • SCFirstOrderLogic.Inference.Basic: Very basic first-order logic knowledge base implementations that use the models defined by the SCFirstOrderLogic package. Not useful for anything resembling a production scenario, but perhaps useful as a tool for learning and experimentation.

Full documentation can be found here.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on SCFirstOrderLogic:

Package Downloads
SCClassicalPlanning

Basic classical planning implementations. Includes a simple model for planning problems, as well planners that implement state-space search, goal-space search, and GraphPlan.

SCFirstOrderLogic.Inference.Basic

Very basic knowledge base implementations that use the models defined by the SCFirstOrderLogic package.

SCFirstOrderLogic.ExampleDomains

A few simple first-order logic domains declared using the models found in the SCFirstOrderLogic package - for use in tests and demos.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.5.1 32 3/31/2025
7.5.0 176 3/9/2025
7.4.0 103 3/1/2025
7.3.0 103 2/15/2025
7.2.0 88 1/30/2025
7.1.0 104 1/2/2025
7.0.1 278 11/22/2024
7.0.0 109 10/20/2024
7.0.0-pre.4 62 10/13/2024
7.0.0-pre.3 59 9/29/2024
7.0.0-pre.2 73 8/27/2024
7.0.0-pre.1 153 8/3/2024
6.0.0 199 7/7/2024
6.0.0-pre.3 57 7/7/2024
6.0.0-pre.2 59 7/6/2024
6.0.0-pre.1 175 6/9/2024
5.5.0 138 6/8/2024
5.4.0 132 5/26/2024
5.3.0 161 1/21/2024
5.2.0 173 12/22/2023
5.1.0 200 8/12/2023
5.0.0 191 7/23/2023
5.0.0-pre.3 112 7/22/2023
5.0.0-pre.2 101 7/16/2023
5.0.0-pre.1 98 7/9/2023
4.2.0 200 5/29/2023
4.1.2 245 4/1/2023
4.1.1 348 3/9/2023
4.1.0 247 3/6/2023
4.0.0 351 2/26/2023
4.0.0-pre.5 112 2/24/2023
4.0.0-pre.4 117 2/8/2023
4.0.0-pre.3 113 2/6/2023
4.0.0-pre.2 117 2/5/2023
4.0.0-pre.1 117 1/18/2023
3.1.4 452 1/11/2023
3.1.3 318 12/24/2022
3.1.2 484 11/14/2022
3.1.1 370 11/13/2022
3.1.0 382 11/13/2022
3.0.0 417 11/5/2022
3.0.0-pre.3 132 11/4/2022
3.0.0-pre.2 156 10/24/2022
3.0.0-pre.1 159 10/21/2022
2.1.3 607 10/9/2022
2.1.2 461 10/9/2022
2.1.1 423 10/5/2022
2.1.0 882 10/5/2022
2.1.0-pre.5 149 10/3/2022
2.1.0-pre.4 129 9/29/2022
2.1.0-pre.3 124 9/29/2022
2.1.0-pre.2 132 9/28/2022
2.1.0-pre.1 133 9/28/2022
2.0.0 440 9/26/2022
1.1.0 472 9/16/2022
1.0.2 471 9/12/2022
1.0.1 461 9/11/2022
1.0.0 455 9/7/2022
1.0.0-pre.1 137 9/7/2022