SCFirstOrderLogic 6.0.0-pre.1

This is a prerelease version of SCFirstOrderLogic.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SCFirstOrderLogic --version 6.0.0-pre.1                
NuGet\Install-Package SCFirstOrderLogic -Version 6.0.0-pre.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="6.0.0-pre.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SCFirstOrderLogic --version 6.0.0-pre.1                
#r "nuget: SCFirstOrderLogic, 6.0.0-pre.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.
// Install SCFirstOrderLogic as a Cake Addin
#addin nuget:?package=SCFirstOrderLogic&version=6.0.0-pre.1&prerelease

// Install SCFirstOrderLogic as a Cake Tool
#tool nuget:?package=SCFirstOrderLogic&version=6.0.0-pre.1&prerelease                

Basic but fully functional and documented first-order logic implementations. Heavily influenced by "Artificial Intelligence: A Modern Approach" (Russell & Norvig). 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. Includes:

  • 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.
  • Knowledge base implementations that, while using very simple (i.e. not production ready) versions of their respective algorithms, do use abstracted, asynchronous clause storage (which could be re-used in more sophisticated knowledge base implementations) and expose properties for the retrieval of proof details.
  • Sentence formatting logic that allows for (customisable) unique labelling of standardised variables and Skolem functions across a set of sentences.

As mentioned above, the main goal here is for it to be a resource for learning and experimentation. As such, care has also been taken to include good type and member documentation, as well as Source Link to allow for debugging - and explanatory inline comments in the source code where appropriate.

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. 
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

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


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


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
6.0.0 80 7/7/2024
6.0.0-pre.3 35 7/7/2024
6.0.0-pre.2 38 7/6/2024
6.0.0-pre.1 128 6/9/2024
5.5.0 77 6/8/2024
5.4.0 93 5/26/2024
5.3.0 116 1/21/2024
5.2.0 140 12/22/2023
5.1.0 169 8/12/2023
5.0.0 152 7/23/2023
5.0.0-pre.3 88 7/22/2023
5.0.0-pre.2 76 7/16/2023
5.0.0-pre.1 81 7/9/2023
4.2.0 163 5/29/2023
4.1.2 192 4/1/2023
4.1.1 301 3/9/2023
4.1.0 202 3/6/2023
4.0.0 303 2/26/2023
4.0.0-pre.5 84 2/24/2023
4.0.0-pre.4 93 2/8/2023
4.0.0-pre.3 89 2/6/2023
4.0.0-pre.2 85 2/5/2023
4.0.0-pre.1 88 1/18/2023
3.1.4 406 1/11/2023
3.1.3 273 12/24/2022
3.1.2 425 11/14/2022
3.1.1 316 11/13/2022
3.1.0 340 11/13/2022
3.0.0 372 11/5/2022
3.0.0-pre.3 107 11/4/2022
3.0.0-pre.2 128 10/24/2022
3.0.0-pre.1 133 10/21/2022
2.1.3 555 10/9/2022
2.1.2 407 10/9/2022
2.1.1 374 10/5/2022
2.1.0 810 10/5/2022
2.1.0-pre.5 119 10/3/2022
2.1.0-pre.4 102 9/29/2022
2.1.0-pre.3 96 9/29/2022
2.1.0-pre.2 100 9/28/2022
2.1.0-pre.1 106 9/28/2022
2.0.0 409 9/26/2022
1.1.0 423 9/16/2022
1.0.2 414 9/12/2022
1.0.1 422 9/11/2022
1.0.0 406 9/7/2022
1.0.0-pre.1 108 9/7/2022