Herbie run

Date:Tuesday, July 9th, 2024
Commit:1f32aa37 on Regimes-Speedup-Crit-Sub
Hostname:nightly with Racket 8.11.1
Seed:2024191
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 5.2min)

sample2.1min (39.8%)

Memory
742.2MiB live, 135 358.0MiB allocated
Samples
32.5s43 478×2valid
27.4s146 962×0invalid
21.4s95 042×1valid
10.3s6 145×5exit
8.4s89 270×0valid
3.0s3 375×3valid
317.0ms4 273×0exit
149.0ms1 057×1exit
54.0ms73×4exit
5.0ms4valid
5.0ms3exit
4.0ms2exit
Precisions
Click to see histograms. Total time spent on operations: 1.4min
ival-tan: 16.0s (18.6% of total)
ival-pow: 10.3s (12% of total)
ival-mult: 6.4s (7.4% of total)
const: 5.9s (6.8% of total)
ival-div: 5.3s (6.2% of total)
ival-add: 4.5s (5.2% of total)
ival-sub: 4.5s (5.2% of total)
ival-cos: 4.4s (5.1% of total)
adjust: 3.9s (4.6% of total)
ival-sin: 3.9s (4.5% of total)
ival-log: 3.6s (4.2% of total)
ival-exp: 2.8s (3.2% of total)
ival-<=: 2.7s (3.1% of total)
ival-fabs: 2.6s (3% of total)
ival-expm1: 2.3s (2.7% of total)
ival-log1p: 1.2s (1.4% of total)
ival-<: 1.1s (1.3% of total)
ival-sqrt: 1.1s (1.2% of total)
ival-and: 637.0ms (0.7% of total)
ival-neg: 584.0ms (0.7% of total)
ival-fmin: 499.0ms (0.6% of total)
ival->: 451.0ms (0.5% of total)
ival-atan: 447.0ms (0.5% of total)
exact: 436.0ms (0.5% of total)
ival-cbrt: 428.0ms (0.5% of total)
ival-assert: 175.0ms (0.2% of total)
ival-true: 71.0ms (0.1% of total)
Bogosity

simplify48.8s (15.6%)

Memory
-979.1MiB live, 45 135.2MiB allocated
Algorithm
247×egg-herbie
Rules
82 573×fma-define
70 797×fmm-def
49 790×distribute-lft-in
47 602×times-frac
44 261×distribute-rgt-in
Stop Event
171×node limit
75×saturated
unsound
Counts
58 897 → 60 236

soundness28.7s (9.2%)

Memory
55.6MiB live, 23 781.0MiB allocated
Rules
34 162×log1p-expm1-u
30 161×fma-define
28 273×expm1-log1p-u
26 219×fmm-def
18 278×times-frac
Stop Event
107×node limit
22×fuel
saturated
done
Compiler

Compiled 21 352 to 6 240 computations (70.8% saved)

rewrite27.5s (8.8%)

Memory
-760.6MiB live, 22 132.7MiB allocated
Algorithm
109×batch-egg-rewrite
Rules
66 870×log1p-expm1-u
53 712×expm1-log1p-u
22 498×pow1
22 283×add-exp-log
21 809×add-log-exp
Stop Event
109×node limit
Counts
1 250 → 40 427

localize20.7s (6.6%)

Memory
551.9MiB live, 22 955.3MiB allocated
Samples
5.3s7 751×1valid
4.4s4 416×2valid
3.2s13 458×0valid
634.0ms1 681×0invalid
624.0ms349×3valid
109.0ms446×1exit
47.0ms41×5exit
5.0ms3invalid
4.0ms2invalid
2.0ms1invalid
Compiler

Compiled 19 081 to 2 716 computations (85.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0s
ival-mult: 1.6s (14.2% of total)
ival-div: 1.6s (14.2% of total)
ival-add: 1.0s (9.1% of total)
ival-pow: 837.0ms (7.6% of total)
ival-log: 810.0ms (7.3% of total)
const: 704.0ms (6.4% of total)
ival-tan: 652.0ms (5.9% of total)
ival-sub: 610.0ms (5.5% of total)
adjust: 603.0ms (5.5% of total)
ival-pow2: 506.0ms (4.6% of total)
ival-log1p: 360.0ms (3.3% of total)
ival-sqrt: 324.0ms (2.9% of total)
ival-exp: 286.0ms (2.6% of total)
ival-sin: 273.0ms (2.5% of total)
ival-cos: 189.0ms (1.7% of total)
ival-cosh: 158.0ms (1.4% of total)
ival-neg: 130.0ms (1.2% of total)
ival-cbrt: 108.0ms (1% of total)
ival-hypot: 102.0ms (0.9% of total)
exact: 61.0ms (0.6% of total)
ival-expm1: 61.0ms (0.6% of total)
ival-atan2: 29.0ms (0.3% of total)
ival-atan: 28.0ms (0.3% of total)
ival-true: 25.0ms (0.2% of total)
ival-assert: 13.0ms (0.1% of total)
ival-e: 10.0ms (0.1% of total)
ival-fabs: 3.0ms (0% of total)

prune19.5s (6.3%)

Memory
-296.2MiB live, 27 275.5MiB allocated
Counts
85 244 → 2 034
Compiler

Compiled 65 947 to 36 772 computations (44.2% saved)

eval16.3s (5.2%)

Memory
699.1MiB live, 21 496.4MiB allocated
Compiler

Compiled 2 267 821 to 318 289 computations (86% saved)

explain6.6s (2.1%)

Memory
335.4MiB live, 7 553.9MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation416129
log.f64#fsensitivity7593
/.f64#fu/u4410
sqrt.f64#foflow-rescue4300
+.f64#fcancellation3471
/.f64#fu/n1130
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity731
sqrt.f64#fuflow-rescue400
/.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/u270
(*.f64 b eps)underflow146
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow140
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow146
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow239
(*.f64 a eps)underflow140
-.f64#fnan-rescue190
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o40
(*.f64 x x)overflow71
cos.f64(cos.f64 (+.f64 x eps))sensitivity10
exp.f64(exp.f64 (neg.f64 x))sensitivity10
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o10
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow1
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow1
(exp.f64 x)overflow1
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow1
Confusion
Predicted +Predicted -
+522112
-1561779
Precision
0.9709875395201786
Recall
0.9977068603095739
Confusion?
Predicted +Predicted MaybePredicted -
+5221111
-156241755
Precision?
0.9667405764966741
Recall?
0.9998089050257978
Freqs
test
numberfreq
01791
14554
2669
391
463
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.6s5 982×1valid
1.5s2 652×2valid
575.0ms5 488×0valid
318.0ms214×3valid
Compiler

Compiled 2 522 to 980 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.9s
ival-tan: 729.0ms (25% of total)
ival-div: 330.0ms (11.3% of total)
ival-cos: 316.0ms (10.8% of total)
ival-log: 242.0ms (8.3% of total)
ival-sin: 180.0ms (6.2% of total)
ival-add: 170.0ms (5.8% of total)
adjust: 158.0ms (5.4% of total)
ival-sub: 148.0ms (5.1% of total)
ival-log1p: 132.0ms (4.5% of total)
ival-exp: 124.0ms (4.2% of total)
ival-mult: 100.0ms (3.4% of total)
ival-pow: 87.0ms (3% of total)
ival-sqrt: 84.0ms (2.9% of total)
ival-expm1: 24.0ms (0.8% of total)
ival-cbrt: 23.0ms (0.8% of total)
ival-atan: 21.0ms (0.7% of total)
ival-neg: 19.0ms (0.7% of total)
exact: 13.0ms (0.4% of total)
ival-true: 13.0ms (0.4% of total)
ival-assert: 6.0ms (0.2% of total)

preprocess5.7s (1.8%)

Memory
15.3MiB live, 6 167.0MiB allocated
Algorithm
28×egg-herbie
Rules
8 308×fmm-def
6 663×fma-define
4 254×div-sub
2 652×sub-neg
2 620×times-frac
Stop Event
23×saturated
node limit
Compiler

Compiled 10 000 to 3 898 computations (61% saved)

series5.5s (1.8%)

Memory
170.6MiB live, 6 232.9MiB allocated
Counts
1 250 → 18 470
Calls

5055 calls:

TimeVariablePointExpression
158.0ms
x
@inf
(log (tan x))
154.0ms
c
@-inf
(* a c)
144.0ms
x
@-inf
(* 2 (log (sqrt (exp (- (exp x) 1)))))
113.0ms
eps
@-inf
(* (sin (* (+ x (- eps x)) 1/2)) (sin (* (+ eps (+ x x)) 1/2)))
76.0ms
x
@inf
(pow (+ x 1) (/ 1 n))

regimes4.5s (1.4%)

Memory
-48.2MiB live, 5 859.2MiB allocated
Counts
3 825 → 310
Calls

43 calls:

971.0ms
x
385.0ms
a
252.0ms
(/.f64 #s(literal 1 binary64) n)
247.0ms
(-.f64 (cbrt.f64 (+.f64 x #s(literal 1 binary64))) (cbrt.f64 x))
239.0ms
b_2
Compiler

Compiled 2 780 to 1 852 computations (33.4% saved)

bsearch2.2s (0.7%)

Memory
32.6MiB live, 2 918.8MiB allocated
Algorithm
68×binary-search
48×left-value
Stop Event
65×narrow-enough
predicate-same
Samples
739.0ms5 453×0valid
376.0ms3 073×1valid
322.0ms1 857×0invalid
138.0ms482×2valid
3.0ms30×0exit
0.0ms1exit
Compiler

Compiled 14 179 to 10 519 computations (25.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.0s
ival-mult: 271.0ms (25.8% of total)
ival-sqrt: 259.0ms (24.7% of total)
ival-div: 132.0ms (12.6% of total)
ival-sub: 92.0ms (8.8% of total)
ival-add: 55.0ms (5.2% of total)
ival-neg: 54.0ms (5.1% of total)
ival-cbrt: 51.0ms (4.9% of total)
adjust: 50.0ms (4.8% of total)
ival-pow: 45.0ms (4.3% of total)
ival-cos: 14.0ms (1.3% of total)
exact: 8.0ms (0.8% of total)
ival-true: 8.0ms (0.8% of total)
ival-assert: 4.0ms (0.4% of total)
ival-sin: 4.0ms (0.4% of total)
ival-expm1: 2.0ms (0.2% of total)
ival-log1p: 0.0ms (0% of total)
ival-log: 0.0ms (0% of total)

analyze1.8s (0.6%)

Memory
98.2MiB live, 2 124.1MiB 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)

end0.0ms (0%)

Memory
0.3MiB live, 0.2MiB allocated

Profiling

Loading profile data...