def
definition
derivedCost
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Foundation.LogicAsFunctionalEquation on GitHub at line 69.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
-
of -
scale -
compose -
Composition -
of -
A -
reciprocity -
ComparisonOperator -
Identity -
cost -
cost -
is -
of -
from -
as -
is -
of -
is -
of -
A -
is -
A -
total -
and -
total -
F -
F -
F -
value -
comparison
used by
-
generatorOfLawsOfLogic -
continuous_combiner_bilinear -
continuous_combiner_bilinear_classification -
continuous_combiner_finite_smoothness_to_top -
continuous_combiner_log_smoothness_bootstrap -
ContinuousCombinerMollifierFiniteSmoothness -
ContinuousCombinerPsiAffineCompletion -
continuous_combiner_psi_affine_forcing -
ContinuousCombinerSecondDerivativeInput -
ContinuousRouteIndependence -
laws_continuous_subsumes_polynomial -
log_aczel_data_of_laws -
RCL_is_unique_functional_form_of_logic_continuous -
excluded_middle_implies_continuous -
identity_implies_normalized -
J_is_unique_cost_under_logic -
laws_of_logic_imply_dalembert_hypotheses -
non_contradiction_and_scale_imply_reciprocal -
NonTrivial -
RCL_is_unique_functional_form_of_logic -
RouteIndependence -
route_independence_implies_multiplicative_consistency -
rcl_from_canonical_mismatch_encoding -
counted_once_combiner_forces_rcl -
CountedOnceComposition -
operative_derived_cost_symmetric -
operative_descends_to_ratio -
rcl_direct_theorem -
rcl_polynomial_closure_theorem -
finite_logical_comparison_forces_rcl -
no_hidden_state_logic_forces_rcl -
operative_domain_rcl_logic_reality_chain -
rcl_is_counted_once_logic_on_positive_ratios -
rcl_is_scale_free_counted_once_logic_on_positive_ratios -
scale_free_counted_once_logic_forces_ratio_rcl -
no_hidden_state_comparison_forces_rcl -
NoHiddenStateComposition -
operative_domain_identification -
rcl_logic_reality_chain -
ratioCost_eq_derivedCost
formal source
66/-- The cost function derived from a comparison operator by fixing the
67second argument at the multiplicative identity. Under scale invariance,
68this is well-defined on the multiplicative group of positive ratios. -/
69@[simp] def derivedCost (C : ComparisonOperator) : ℝ → ℝ :=
70 fun r => C r 1
71
72/-! ## The Four Aristotelian Constraints
73
74We encode the classical laws of logic as structural constraints on a
75comparison operator. The mapping from Aristotle's propositional
76formulations to functional constraints on C is:
77
78 Identity (A = A) ↦ C(x, x) = 0
79 comparison of a thing with itself is trivial
80 Non-contradiction (¬(A ∧ ¬A))↦ C(x, y) = C(y, x)
81 the cost is single-valued under reordering
82 (with scale invariance, this gives reciprocity
83 F(x) = F(1/x))
84 Excluded middle (A ∨ ¬A) ↦ C is continuous and total on its domain
85 every comparison returns a definite value
86 Composition consistency ↦ Route-independence (the d'Alembert form)
87 comparisons assembled forward and backward
88 must compose by a fixed combining rule
89-/
90
91/-- **Identity**: comparing a thing with itself costs zero. The mathematical
92counterpart of the Aristotelian law A = A. -/
93def Identity (C : ComparisonOperator) : Prop :=
94 ∀ x : ℝ, 0 < x → C x x = 0
95
96/-- **Non-contradiction (reciprocal symmetry)**: the cost of comparing x to y
97equals the cost of comparing y to x. The mathematical counterpart of the
98Aristotelian law ¬(A ∧ ¬A): if comparison were not single-valued under
99reordering, the same comparison would simultaneously hold and not hold. -/
papers checked against this theorem (showing 7 of 7)
-
State-space models align semantics across point cloud batches
"L_SPD = (1/N) Σ ||f_s_i − f_t_i||²₂ ; L_fine-tune = L_task + λ_SPD L_SPD + λ_geo L_geo"
-
Entropy-based RL matches supervised video summarization
"RREP = exp(−(1/N) Σ min_{t'∈S} |H_t − H_{t'}|)"
-
Multi-scale features train SDF to detect 3D point cloud anomalies
"L_SDF = (1/Card(P~)) Σ (d~_i − d*_i)^2 ... The absolute value of d~ ... directly serves as the anomaly score"
-
PINN cuts qubit gate times 20-40% at 99% fidelity
"H_eff(t) = h_z(t)σ_z + h_x(t)σ_x with h_z = J23/4 − J12/2, h_x = √3 J23/4; pulse shapes optimized by a 4-layer tanh PINN"
-
Neural approximation yields periodic paths along brain heteroclinic cycles
"Universal Approximation Theorem used to approximate an arbitrary smooth vector field by −x + Pσ(Wx+b)"
-
Unpaired super-resolution yields 54% Dice in dead tree segmentation
"L_ADA-Net = L_A + λ L_Spatial + β L_IDSpatial + γ L_Freq + ϑ L_IDFreq (adversarial + contrastive losses with tuned weights)"
-
Unanswerable math prompts deviate in LLM geometry before output
"we compute each prompt's own_dist — cosine distance to its form's A-only centroid — as the reliability score."