SCFirstOrderLogic 6.0.0-pre.3

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.3
                    
NuGet\Install-Package SCFirstOrderLogic -Version 6.0.0-pre.3
                    
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.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SCFirstOrderLogic" Version="6.0.0-pre.3" />
                    
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 6.0.0-pre.3
                    
#r "nuget: SCFirstOrderLogic, 6.0.0-pre.3"
                    
#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.
#:package SCFirstOrderLogic@6.0.0-pre.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SCFirstOrderLogic&version=6.0.0-pre.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SCFirstOrderLogic&version=6.0.0-pre.3&prerelease
                    
Install as a Cake Tool

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.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.7.1 173 4/19/2025
7.7.0 232 4/17/2025
7.6.0 215 4/4/2025
7.5.1 214 3/31/2025
7.5.0 215 3/9/2025
7.4.0 138 3/1/2025
7.3.0 132 2/15/2025
7.2.0 122 1/30/2025
7.1.0 139 1/2/2025
7.0.1 325 11/22/2024
7.0.0 131 10/20/2024
7.0.0-pre.4 81 10/13/2024
7.0.0-pre.3 77 9/29/2024
7.0.0-pre.2 87 8/27/2024
7.0.0-pre.1 163 8/3/2024
6.0.0 229 7/7/2024
6.0.0-pre.3 73 7/7/2024
6.0.0-pre.2 70 7/6/2024
6.0.0-pre.1 214 6/9/2024
5.5.0 166 6/8/2024
5.4.0 155 5/26/2024
5.3.0 185 1/21/2024
5.2.0 203 12/22/2023
5.1.0 222 8/12/2023
5.0.0 216 7/23/2023
5.0.0-pre.3 148 7/22/2023
5.0.0-pre.2 123 7/16/2023
5.0.0-pre.1 119 7/9/2023
4.2.0 231 5/29/2023
4.1.2 272 4/1/2023
4.1.1 381 3/9/2023
4.1.0 274 3/6/2023
4.0.0 385 2/26/2023
4.0.0-pre.5 144 2/24/2023
4.0.0-pre.4 145 2/8/2023
4.0.0-pre.3 137 2/6/2023
4.0.0-pre.2 141 2/5/2023
4.0.0-pre.1 143 1/18/2023
3.1.4 479 1/11/2023
3.1.3 349 12/24/2022
3.1.2 508 11/14/2022
3.1.1 397 11/13/2022
3.1.0 411 11/13/2022
3.0.0 452 11/5/2022
3.0.0-pre.3 156 11/4/2022
3.0.0-pre.2 181 10/24/2022
3.0.0-pre.1 182 10/21/2022
2.1.3 646 10/9/2022
2.1.2 491 10/9/2022
2.1.1 452 10/5/2022
2.1.0 916 10/5/2022
2.1.0-pre.5 177 10/3/2022
2.1.0-pre.4 153 9/29/2022
2.1.0-pre.3 154 9/29/2022
2.1.0-pre.2 160 9/28/2022
2.1.0-pre.1 156 9/28/2022
2.0.0 467 9/26/2022
1.1.0 512 9/16/2022
1.0.2 498 9/12/2022
1.0.1 494 9/11/2022
1.0.0 485 9/7/2022
1.0.0-pre.1 162 9/7/2022