Herbie run

Date:Tuesday, October 22nd, 2024
Commit:dcd5694a on varun10p-identities
Hostname:nightly with Racket 8.10
Seed:2024296
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 4.4min)

sample1.9min (43.1%)

Memory
641.7MiB live, 101 731.5MiB allocated
Samples
28.3s41 763×2valid
24.5s144 676×0invalid
19.0s91 773×1valid
9.9s4 853×5exit
9.1s94 628×0valid
2.3s3 003×3valid
447.0ms2 280×1exit
346.0ms4 187×0exit
12.0ms3exit
12.0ms4exit
4.0ms2exit
1.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.4s (17.4% of total)
ival-pow: 9.6s (12.5% of total)
ival-mult: 6.3s (8.1% of total)
const: 5.8s (7.6% of total)
adjust: 5.6s (7.3% of total)
ival-cos: 4.3s (5.6% of total)
ival-sin: 3.8s (4.9% of total)
ival-sub: 3.7s (4.9% of total)
ival-div: 3.6s (4.7% of total)
ival-log: 3.2s (4.2% of total)
ival-add: 2.9s (3.8% of total)
ival-<=: 2.2s (2.9% of total)
ival-fabs: 2.2s (2.8% of total)
ival-exp: 1.8s (2.3% of total)
ival-expm1: 1.8s (2.3% of total)
ival-sqrt: 1.4s (1.8% of total)
ival-log1p: 1.2s (1.5% of total)
ival-<: 910.0ms (1.2% of total)
ival-and: 609.0ms (0.8% of total)
ival-fmin: 536.0ms (0.7% of total)
ival-atan: 487.0ms (0.6% of total)
ival-neg: 451.0ms (0.6% of total)
exact: 336.0ms (0.4% of total)
ival->: 307.0ms (0.4% of total)
ival-cbrt: 278.0ms (0.4% of total)
ival-assert: 155.0ms (0.2% of total)
ival-true: 65.0ms (0.1% of total)
Bogosity

simplify36.0s (13.5%)

Memory
1 093.9MiB live, 26 687.9MiB allocated
Algorithm
246×egg-herbie
Stop Event
324×iter limit
189×node limit
60×saturated
Counts
8 734 → 8 645

soundness29.4s (11.1%)

Memory
273.7MiB live, 15 248.1MiB allocated
Stop Event
205×iter limit
134×node limit
23×fuel
done
saturated
Compiler

Compiled 14 082 to 6 524 computations (53.7% saved)

rewrite24.1s (9.1%)

Memory
-140.2MiB live, 20 611.9MiB allocated
Stop Event
219×iter limit
108×node limit
saturated
Counts
1 639 → 63 172

localize20.8s (7.8%)

Memory
-30.3MiB live, 20 542.7MiB allocated
Samples
7.2s5 659×2valid
6.3s10 148×1valid
2.7s10 695×0valid
631.0ms397×3valid
333.0ms876×0invalid
62.0ms114×0exit
26.0ms15×5exit
Compiler

Compiled 48 398 to 6 861 computations (85.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.4s
ival-mult: 2.1s (15.8% of total)
adjust: 1.7s (13% of total)
ival-div: 1.6s (11.7% of total)
ival-tan: 1.4s (10.4% of total)
ival-add: 1.2s (9.3% of total)
ival-cos: 1.0s (7.8% of total)
ival-pow: 730.0ms (5.4% of total)
ival-sub: 652.0ms (4.8% of total)
ival-log: 625.0ms (4.6% of total)
const: 536.0ms (4% of total)
ival-sin: 475.0ms (3.5% of total)
ival-exp: 279.0ms (2.1% of total)
ival-sqrt: 249.0ms (1.9% of total)
ival-log1p: 170.0ms (1.3% of total)
ival-cosh: 136.0ms (1% of total)
ival-pow2: 124.0ms (0.9% of total)
ival-neg: 109.0ms (0.8% of total)
ival-expm1: 64.0ms (0.5% of total)
ival-cbrt: 64.0ms (0.5% of total)
exact: 47.0ms (0.3% of total)
ival-true: 23.0ms (0.2% of total)
ival-atan: 17.0ms (0.1% of total)
ival-atan2: 15.0ms (0.1% of total)
ival-assert: 13.0ms (0.1% of total)
ival-fabs: 1.0ms (0% of total)

eval15.7s (5.9%)

Memory
-81.7MiB live, 15 986.0MiB allocated
Compiler

Compiled 2 794 169 to 288 492 computations (89.7% saved)

explain6.0s (2.3%)

Memory
-1.3MiB live, 6 231.4MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation414435
log.f64#fsensitivity7592
/.f64#fu/u4510
sqrt.f64#foflow-rescue3800
+.f64#fcancellation3230
/.f64#fu/n1470
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity700
sqrt.f64#fuflow-rescue340
/.f64(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) #s(literal 1 binary64))) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))))n/u260
(*.f64 b eps)underflow152
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow144
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow152
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow232
(*.f64 a eps)underflow144
-.f64#fnan-rescue100
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o40
(*.f64 x x)overflow73
cos.f64(cos.f64 (+.f64 x eps))sensitivity32
exp.f64#fsensitivity31
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o30
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow3
(*.f64 #s(literal 2 binary64) x)overflow1
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow3
(exp.f64 x)overflow3
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow3
sin.f64(sin.f64 (+.f64 x eps))sensitivity31
tan.f64(tan.f64 (+.f64 x eps))sensitivity32
Confusion
Predicted +Predicted -
+521420
-1611773
Precision
0.970046511627907
Recall
0.996178830722201
Confusion?
Predicted +Predicted MaybePredicted -
+5214173
-161231750
Precision?
0.9660203139427516
Recall?
0.9994268246083301
Freqs
test
numberfreq
01793
14583
2643
3102
447
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.7s2 574×2valid
1.1s5 778×1valid
656.0ms5 758×0valid
113.0ms226×3valid
Compiler

Compiled 3 034 to 980 computations (67.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.6s
ival-tan: 603.0ms (22.8% of total)
ival-cos: 344.0ms (13% of total)
adjust: 222.0ms (8.4% of total)
ival-log: 219.0ms (8.3% of total)
ival-div: 200.0ms (7.6% of total)
ival-sin: 188.0ms (7.1% of total)
ival-sub: 159.0ms (6% of total)
ival-exp: 144.0ms (5.5% of total)
ival-mult: 109.0ms (4.1% of total)
ival-add: 103.0ms (3.9% of total)
ival-pow: 103.0ms (3.9% of total)
ival-log1p: 75.0ms (2.8% of total)
ival-sqrt: 68.0ms (2.6% of total)
ival-expm1: 22.0ms (0.8% of total)
ival-cbrt: 20.0ms (0.8% of total)
ival-atan: 19.0ms (0.7% of total)
ival-neg: 18.0ms (0.7% of total)
ival-true: 12.0ms (0.5% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

preprocess4.8s (1.8%)

Memory
-145.9MiB live, 3 855.1MiB allocated
Algorithm
28×egg-herbie
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 17 992 to 5 363 computations (70.2% saved)

series4.1s (1.5%)

Memory
-696.9MiB live, 3 584.8MiB allocated
Counts
1 639 → 8 734
Calls

501 calls:

TimeVariablePointExpression
262.0ms
x
@0
((+ (/ (* (sin x) eps) (cos x)) 1) (- (tan (+ x eps)) (tan x)) (* (* (+ (* (/ (sin x) (pow (cos x) 2)) (sin x)) 1) (+ (/ (* (sin x) eps) (cos x)) 1)) eps) (* (+ (* (/ (sin x) (pow (cos x) 2)) (sin x)) 1) (+ (/ (* (sin x) eps) (cos x)) 1)) (- (tan (+ x eps)) (tan x)) (/ (sin eps) (cos eps)) (sin eps) (cos eps) (+ (* (neg (sin (+ eps x))) (/ 1 (neg (cos (+ eps x))))) (neg (tan x))) (/ 1 (neg (cos (+ eps x)))) (neg (sin (+ eps x))) (sin (+ eps x)) (- (tan (+ x eps)) (tan x)) (- (/ (sin (+ eps x)) (cos (+ eps x))) (/ (sin x) (cos x))) (/ (sin (+ eps x)) (cos (+ eps x))) (* (/ (+ (tan eps) (tan x)) (- 1 (pow (* (tan eps) (tan x)) 2))) (+ (* (tan eps) (tan x)) 1)) (- (* (/ (+ (tan eps) (tan x)) (- 1 (pow (* (tan eps) (tan x)) 2))) (+ (* (tan eps) (tan x)) 1)) (tan x)) (/ (+ (tan eps) (tan x)) (- 1 (pow (* (tan eps) (tan x)) 2))) (+ (tan eps) (tan x)) (pow (cos x) 2) (/ (sin x) (pow (cos x) 2)) (* (sin x) eps) (cos (+ eps x)) (pow (* (tan eps) (tan x)) 2) (* (tan eps) (tan x)))
170.0ms
c
@-inf
((/ (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) (- (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (neg b_2) (sqrt (- (* b_2 b_2) (* a c))) (- (* b_2 b_2) (* a c)))
110.0ms
b_2
@-inf
((+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ (+ (neg b_2) (sqrt (- (* b_2 b_2) (* a c)))) a) (neg b_2) (sqrt (- (* b_2 b_2) (* a c))) (- (* b_2 b_2) (* a c)))
73.0ms
n
@0
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (/ (pow x (/ 1 n)) x) n) (/ (pow x (/ 1 n)) x) (pow x (/ 1 n)) (- (pow (+ x 1) (/ 1 n)) (/ 1 (pow x (/ -1 n)))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ (* (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) x) 1) (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) (* (- (+ (+ (/ (/ 1 x) x) (/ (/ 1 x) n)) (/ 1/2 (* n n))) (/ 1/2 n)) (* x x)) (+ (/ (/ 1 x) x) (/ (/ 1 x) n)) (+ (+ (/ (/ 1 x) x) (/ (/ 1 x) n)) (/ 1/2 (* n n))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (- (exp (/ (log (+ 1 x)) n)) (pow x (/ 1 n))) (/ (exp (/ (log x) n)) (* n x)) (exp (/ (log x) n)) (/ (log x) n) (/ 1 n) (pow (+ x 1) (/ 1 n)) (/ 1/2 (* n n)))
69.0ms
c
@-inf
((+ (* b b) (+ (* (* c a) 4) (* b b))) (* (* c a) 4) (* c a) (* (- b (sqrt (+ (* -4 (* c a)) (* b b)))) (* -2 a)) (/ (- (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (/ b a) (/ 1 (/ a b)) (/ (- (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (/ a b) (/ (- (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (- (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* (* (/ a b) -2) c) (* (/ a b) -2) (* (pow a -1) b) (/ (- (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (pow a -1) (sqrt (+ (* -4 (* c a)) (* b b))) (/ (+ (* b b) (+ (* (* c a) 4) (* b b))) (* (- b (sqrt (+ (* -4 (* c a)) (* b b)))) (* -2 a))) (- b (sqrt (+ (* -4 (* c a)) (* b b)))))

prune4.0s (1.5%)

Memory
-171.4MiB live, 5 607.5MiB allocated
Counts
72 913 → 1 897
Compiler

Compiled 100 807 to 53 233 computations (47.2% saved)

regimes3.6s (1.4%)

Memory
81.3MiB live, 3 983.2MiB allocated
Counts
3 556 → 310
Calls

43 calls:

1.0s
x
295.0ms
eps
176.0ms
b
172.0ms
(+.f64 (-.f64 (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) x)) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
172.0ms
(-.f64 (cbrt.f64 (+.f64 x #s(literal 1 binary64))) (cbrt.f64 x))
Compiler

Compiled 2 175 to 2 007 computations (7.7% saved)

analyze1.6s (0.6%)

Memory
0.8MiB live, 1 855.0MiB allocated
Algorithm
28×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%61.1%38.9%0%0%0%0
7.4%4.5%56.6%38.9%0%0%0%1
22.3%13.6%47.5%38.9%0%0%0%2
40.2%23.5%34.9%38.9%0%2.7%0%3
53.4%31.1%27.2%38.9%0%2.8%0%4
63%36.3%21.3%38.9%0%3.6%0%5
65.9%37.5%19.4%38.9%0%4.2%0%6
70.4%38.8%16.3%38.9%0%6%0%7
73.6%40.2%14.4%38.9%0%6.5%0%8
76.3%40.9%12.7%38.9%0%7.5%0%9
78.4%41.4%11.4%38.9%0%8.3%0%10
81.1%42.4%9.9%38.9%0%8.8%0%11
82.3%42.7%9.2%38.9%0%9.3%0%12
Compiler

Compiled 483 to 337 computations (30.2% saved)

bsearch1.2s (0.4%)

Memory
76.7MiB live, 1 241.8MiB allocated
Algorithm
80×binary-search
18×left-value
Stop Event
76×narrow-enough
predicate-same
Samples
340.0ms3 891×0valid
141.0ms375×2valid
136.0ms801×1valid
96.0ms1 003×0invalid
1.0ms15×0exit
1.0ms3valid
Compiler

Compiled 29 152 to 21 986 computations (24.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 494.0ms
ival-pow: 102.0ms (20.7% of total)
ival-mult: 87.0ms (17.6% of total)
ival-sub: 61.0ms (12.4% of total)
ival-div: 58.0ms (11.7% of total)
ival-add: 47.0ms (9.5% of total)
adjust: 42.0ms (8.5% of total)
ival-sqrt: 36.0ms (7.3% of total)
ival-neg: 20.0ms (4.1% of total)
ival-cos: 12.0ms (2.4% of total)
ival-cbrt: 7.0ms (1.4% of total)
ival-expm1: 7.0ms (1.4% of total)
ival-sin: 4.0ms (0.8% of total)
ival-true: 4.0ms (0.8% of total)
ival-assert: 3.0ms (0.6% of total)
exact: 3.0ms (0.6% of total)
ival-exp: 2.0ms (0.4% of total)

start1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated

end0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated

Profiling

Loading profile data...