SCFirstOrderLogic 2.1.0-pre.4

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 2.1.0-pre.4                
NuGet\Install-Package SCFirstOrderLogic -Version 2.1.0-pre.4                
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="2.1.0-pre.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SCFirstOrderLogic --version 2.1.0-pre.4                
#r "nuget: SCFirstOrderLogic, 2.1.0-pre.4"                
#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=2.1.0-pre.4&prerelease

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

SCFirstOrderLogic

Basic but fully functional and documented first-order logic implementations. Includes:

  • Implementations of both raw and CNF sentence representation. Multiple ways of instantiating raw sentences, including 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 versions of their respective algorithms, do 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.

Created just for fun while reading chapters 8 and 9 of Artificial Intelligence: A Modern Approach (3rd Edition - ISBN 978-1292153964) - so may prove interesting to the C#-inclined reading the same book. The "official" C# repository for the book does of course cover these chapters, but given that what I've found there isn't (IMHO) very useful, here we are. The main goal here is for it to be a learning resource. As such, care has been taken to include decent XML documentation, functionality for explaining the results of queries, and explanatory inline comments in the source code where appropriate. For production scenarios, there are obviously other better inference engines out there - that generally use more powerful logics than first-order.

For usage guidance, please consult the user guide.

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.
  • net6.0

    • No dependencies.

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.0.1 135 11/22/2024
7.0.0 100 10/20/2024
7.0.0-pre.4 56 10/13/2024
7.0.0-pre.3 49 9/29/2024
7.0.0-pre.2 65 8/27/2024
7.0.0-pre.1 147 8/3/2024
6.0.0 190 7/7/2024
6.0.0-pre.3 50 7/7/2024
6.0.0-pre.2 53 7/6/2024
6.0.0-pre.1 166 6/9/2024
5.5.0 132 6/8/2024
5.4.0 123 5/26/2024
5.3.0 157 1/21/2024
5.2.0 168 12/22/2023
5.1.0 196 8/12/2023
5.0.0 187 7/23/2023
5.0.0-pre.3 108 7/22/2023
5.0.0-pre.2 96 7/16/2023
5.0.0-pre.1 94 7/9/2023
4.2.0 192 5/29/2023
4.1.2 236 4/1/2023
4.1.1 338 3/9/2023
4.1.0 236 3/6/2023
4.0.0 340 2/26/2023
4.0.0-pre.5 102 2/24/2023
4.0.0-pre.4 106 2/8/2023
4.0.0-pre.3 102 2/6/2023
4.0.0-pre.2 105 2/5/2023
4.0.0-pre.1 105 1/18/2023
3.1.4 439 1/11/2023
3.1.3 297 12/24/2022
3.1.2 468 11/14/2022
3.1.1 348 11/13/2022
3.1.0 368 11/13/2022
3.0.0 402 11/5/2022
3.0.0-pre.3 120 11/4/2022
3.0.0-pre.2 141 10/24/2022
3.0.0-pre.1 145 10/21/2022
2.1.3 591 10/9/2022
2.1.2 445 10/9/2022
2.1.1 407 10/5/2022
2.1.0 865 10/5/2022
2.1.0-pre.5 136 10/3/2022
2.1.0-pre.4 114 9/29/2022
2.1.0-pre.3 109 9/29/2022
2.1.0-pre.2 118 9/28/2022
2.1.0-pre.1 119 9/28/2022
2.0.0 424 9/26/2022
1.1.0 454 9/16/2022
1.0.2 453 9/12/2022
1.0.1 444 9/11/2022
1.0.0 437 9/7/2022
1.0.0-pre.1 121 9/7/2022