Skip to content

feat(Algebra/Ring/HuntingtonAlgebra): alternative constructions of boolean algebras#31924

Closed
AntoineChambert-Loir wants to merge 3 commits intoleanprover-community:masterfrom
AntoineChambert-Loir:Robbins
Closed

feat(Algebra/Ring/HuntingtonAlgebra): alternative constructions of boolean algebras#31924
AntoineChambert-Loir wants to merge 3 commits intoleanprover-community:masterfrom
AntoineChambert-Loir:Robbins

Conversation

@AntoineChambert-Loir
Copy link
Copy Markdown
Collaborator

Establish the alternative axiomatics of boolean algebras by Huntington, Winker and McCune.


Open in Gitpod

@AntoineChambert-Loir AntoineChambert-Loir marked this pull request as draft November 21, 2025 23:47
@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 21, 2025

PR summary cf85478f35

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ BooleanAlgebra.huntingtonAlgebra
+ BooleanAlgebra.robbinsAlgebra
+ HuntingtonAlgebra
+ RobbinsAlgebra
+ ad_compl_add_compl_add
+ add_compl
+ add_compl'
+ add_compl_eq_compl_add_compl_compl
+ add_eq_compl_mul
+ add_eq_iff_compl_add_compl_eq
+ add_eq_left
+ add_eq_one
+ add_mul
+ add_mul'
+ add_mul_mul_compl
+ add_mul_mul_mul_add_compl
+ add_mul_self
+ add_mul_self_left
+ add_one
+ add_one_smul
+ add_self_eq
+ add_smul
+ add_zero
+ compl_compl
+ compl_eq_compl_add_smul_compl_add
+ compl_eq_compl_add_smul_compl_add'
+ compl_eq_compl_iff
+ compl_eq_iff
+ dahn
+ dahn_PNat
+ dahn_add_coe_PNat
+ dahn_add_dahn
+ dahn_of_one_add_of_three
+ dahn_one
+ dahn_succ
+ dahn_zero
+ delta_add_delta
+ delta_compl_add_add
+ delta_compl_right
+ delta_eq_of_left_compl_eq
+ eq_compl_add_compl_add
+ eq_compl_add_compl_smul_add
+ eq_compl_iff
+ eq_of_add_compl_eq
+ eq_of_eq
+ instance : Mul α
+ instance : One α := ⟨default + defaultᶜ⟩
+ instance : Zero α := ⟨1ᶜ⟩
+ instance [Add α] : HSMul ℕ+ α α
+ isHuntington
+ isHuntington_of_add_zero
+ isHuntington_of_compl_compl_eq
+ isHuntington_of_exists_idempotent
+ isHuntington_of_zero_and_one
+ mul_add
+ mul_add_compl
+ mul_add_eq_zero
+ mul_add_self_left
+ mul_assoc
+ mul_comm
+ mul_compl
+ mul_def
+ mul_mul_compl_add
+ mul_one
+ mul_self
+ mul_zero
+ one_compl
+ one_def
+ one_smul
+ smulAux
+ smul_smul
+ winker
+ zero_add
+ zero_compl
+ zero_mul
+ δ
++ booleanAlgebra

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@AntoineChambert-Loir AntoineChambert-Loir added WIP Work in progress t-ring-theory Ring theory labels Nov 21, 2025
@github-actions github-actions bot added the t-algebra Algebra (groups, rings, fields, etc) label Nov 21, 2025
@AntoineChambert-Loir
Copy link
Copy Markdown
Collaborator Author

PR closed since it clearly won't make it into mathlib and the Lean3 formalization of @b-mehta seems to be more efficient (more compact, at least).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-algebra Algebra (groups, rings, fields, etc) t-ring-theory Ring theory WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant