Herbie run

Date:Thursday, August 22nd, 2024
Commit:0a751149 on faster-egg
Hostname:nightly with Racket 8.11.1
Seed:2024235
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.1min)

sample1.9min (37.5%)

Memory
183.3MiB live, 118 670.0MiB allocated
Samples
28.2s41 375×2valid
24.8s146 941×0invalid
18.5s92 132×1valid
10.1s4 964×5exit
8.4s94 617×0valid
2.1s3 041×3valid
538.0ms2 274×1exit
364.0ms4 243×0exit
329.0ms3exit
17.0ms4exit
5.0ms2exit
3.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 1.3min
ival-tan: 13.5s (17.3% of total)
ival-pow: 9.9s (12.7% of total)
adjust: 5.7s (7.3% of total)
ival-mult: 5.5s (7% of total)
const: 5.2s (6.6% of total)
ival-sub: 4.5s (5.8% of total)
ival-cos: 4.4s (5.6% of total)
ival-div: 4.3s (5.5% of total)
ival-sin: 3.7s (4.7% of total)
ival-add: 3.1s (4% of total)
ival-log: 3.0s (3.8% of total)
ival-<=: 2.7s (3.5% of total)
ival-fabs: 2.4s (3.1% of total)
ival-expm1: 2.1s (2.7% of total)
ival-exp: 2.0s (2.5% of total)
ival-sqrt: 1.3s (1.6% of total)
ival-log1p: 1.1s (1.3% of total)
ival-<: 896.0ms (1.1% of total)
ival-and: 624.0ms (0.8% of total)
ival-fmin: 446.0ms (0.6% of total)
ival-atan: 353.0ms (0.5% of total)
ival-neg: 347.0ms (0.4% of total)
exact: 341.0ms (0.4% of total)
ival->: 269.0ms (0.3% of total)
ival-cbrt: 242.0ms (0.3% of total)
ival-assert: 162.0ms (0.2% of total)
ival-true: 73.0ms (0.1% of total)
Bogosity

simplify38.7s (12.7%)

Memory
141.6MiB live, 33 943.4MiB allocated
Algorithm
248×egg-herbie
Rules
2 205 914×lower-fma.f32
2 205 226×lower-fma.f64
796 202×lower-*.f32
795 172×lower-*.f64
493 728×lower-+.f32
Stop Event
330×iter limit
176×node limit
72×saturated
Counts
30 288 → 29 804

soundness30.5s (10%)

Memory
133.0MiB live, 19 803.5MiB allocated
Rules
1 248 554×lower-fma.f32
1 248 218×lower-fma.f64
611 262×lower-*.f32
610 756×lower-*.f64
327 772×lower-+.f32
Stop Event
200×iter limit
134×node limit
25×fuel
done
saturated
Compiler

Compiled 11 611 to 5 553 computations (52.2% saved)

rewrite26.9s (8.8%)

Memory
-77.9MiB live, 26 499.5MiB allocated
Rules
500 736×lower-fma.f32
500 048×lower-fma.f64
456 010×lower-*.f32
454 984×lower-*.f64
411 722×lower-/.f32
Stop Event
223×iter limit
110×node limit
Counts
1 759 → 68 032

localize26.5s (8.7%)

Memory
-353.8MiB live, 27 466.9MiB allocated
Samples
8.5s5 814×2valid
6.6s9 664×1valid
3.7s11 626×0valid
774.0ms375×3valid
167.0ms600×0invalid
37.0ms78×0exit
11.0ms5exit
Compiler

Compiled 25 974 to 3 505 computations (86.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 15.9s
ival-mult: 2.7s (17.2% of total)
ival-div: 2.1s (13.5% of total)
ival-tan: 1.8s (11.5% of total)
adjust: 1.7s (10.7% of total)
ival-add: 1.5s (9.5% of total)
const: 1.2s (7.2% of total)
ival-sub: 795.0ms (5% of total)
ival-pow: 645.0ms (4% of total)
ival-log: 625.0ms (3.9% of total)
ival-cos: 613.0ms (3.8% of total)
ival-sqrt: 559.0ms (3.5% of total)
ival-sin: 516.0ms (3.2% of total)
ival-exp: 411.0ms (2.6% of total)
ival-log1p: 174.0ms (1.1% of total)
ival-neg: 105.0ms (0.7% of total)
ival-pow2: 77.0ms (0.5% of total)
ival-expm1: 65.0ms (0.4% of total)
ival-cosh: 58.0ms (0.4% of total)
ival-cbrt: 49.0ms (0.3% of total)
ival-atan2: 44.0ms (0.3% of total)
exact: 42.0ms (0.3% of total)
ival-true: 26.0ms (0.2% of total)
ival-atan: 13.0ms (0.1% of total)
ival-assert: 13.0ms (0.1% of total)
ival-fabs: 9.0ms (0.1% of total)
ival-copysign: 5.0ms (0% of total)

prune22.6s (7.4%)

Memory
-507.5MiB live, 30 664.2MiB allocated
Counts
115 179 → 2 258
Compiler

Compiled 89 189 to 41 138 computations (53.9% saved)

eval21.9s (7.2%)

Memory
561.7MiB live, 26 852.3MiB allocated
Compiler

Compiled 3 358 164 to 257 565 computations (92.3% saved)

explain6.1s (2%)

Memory
86.8MiB live, 7 483.1MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation416128
log.f64#fsensitivity7604
/.f64#fu/u4390
sqrt.f64#foflow-rescue4160
+.f64#fcancellation3243
/.f64#fu/n1150
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity701
sqrt.f64#fuflow-rescue280
/.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/u230
(*.f64 b eps)underflow141
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow143
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow141
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow230
(*.f64 a eps)underflow143
-.f64#fnan-rescue130
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o30
(*.f64 x x)overflow58
exp.f64#fsensitivity20
cos.f64(cos.f64 (+.f64 x eps))sensitivity11
/.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
tan.f64(tan.f64 (+.f64 x eps))sensitivity11
Confusion
Predicted +Predicted -
+520822
-1451793
Precision
0.9729123855781805
Recall
0.9957934990439771
Confusion?
Predicted +Predicted MaybePredicted -
+5208139
-145201773
Precision?
0.9693650204233197
Recall?
0.9982791586998088
Freqs
test
numberfreq
01815
14556
2641
3105
451
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.7s2 640×2valid
1.2s5 674×1valid
500.0ms5 850×0valid
162.0ms172×3valid
Compiler

Compiled 2 197 to 763 computations (65.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.8s
ival-tan: 705.0ms (24.9% of total)
adjust: 335.0ms (11.8% of total)
ival-log: 294.0ms (10.4% of total)
ival-cos: 255.0ms (9% of total)
ival-sub: 218.0ms (7.7% of total)
ival-sin: 189.0ms (6.7% of total)
ival-div: 152.0ms (5.4% of total)
ival-exp: 130.0ms (4.6% of total)
ival-add: 107.0ms (3.8% of total)
ival-pow: 105.0ms (3.7% of total)
ival-mult: 91.0ms (3.2% of total)
ival-sqrt: 61.0ms (2.2% of total)
ival-log1p: 60.0ms (2.1% of total)
ival-atan: 48.0ms (1.7% of total)
ival-expm1: 26.0ms (0.9% of total)
ival-cbrt: 17.0ms (0.6% of total)
ival-true: 13.0ms (0.5% of total)
ival-neg: 12.0ms (0.4% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

regimes5.6s (1.8%)

Memory
197.3MiB live, 7 111.8MiB allocated
Counts
4 885 → 359
Calls

43 calls:

1.2s
x
586.0ms
eps
338.0ms
(/.f64 #s(literal 1 binary64) n)
251.0ms
n
221.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
Compiler

Compiled 3 398 to 2 261 computations (33.5% saved)

preprocess4.4s (1.5%)

Memory
36.1MiB live, 5 387.7MiB allocated
Algorithm
28×egg-herbie
Rules
27 478×lower-fma.f64
27 478×lower-fma.f32
10 768×div-sub
10 444×sub-neg
9 190×lower-*.f32
Stop Event
56×iter limit
50×saturated
node limit
Compiler

Compiled 12 119 to 4 023 computations (66.8% saved)

series4.1s (1.4%)

Memory
279.4MiB live, 4 932.7MiB allocated
Counts
1 759 → 30 288
Calls

3936 calls:

TimeVariablePointExpression
244.0ms
x
@inf
(/ (* (sin x) (tan (/ x 2))) (* x x))
126.0ms
N
@-inf
(log N)
61.0ms
x
@0
(- (cbrt (+ x 1)) (* (pow x 2/9) (pow x 1/9)))
55.0ms
n
@0
(* n (log n))
52.0ms
x
@0
(/ (* (/ (- 1 x) (sqrt x)) -1/2) x)

analyze1.8s (0.6%)

Memory
-45.7MiB live, 2 124.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.1s (0.4%)

Memory
-0.5MiB live, 1 203.9MiB allocated
Algorithm
67×binary-search
55×left-value
Stop Event
64×narrow-enough
predicate-same
Samples
304.0ms3 304×0valid
139.0ms661×1valid
120.0ms316×2valid
47.0ms624×0invalid
17.0ms131×0exit
2.0ms3valid
Compiler

Compiled 15 537 to 10 435 computations (32.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 488.0ms
ival-pow: 97.0ms (19.9% of total)
ival-mult: 71.0ms (14.5% of total)
ival-add: 64.0ms (13.1% of total)
ival-sqrt: 61.0ms (12.5% of total)
ival-div: 58.0ms (11.9% of total)
ival-sub: 46.0ms (9.4% of total)
ival-neg: 27.0ms (5.5% of total)
adjust: 26.0ms (5.3% of total)
ival-cos: 14.0ms (2.9% of total)
ival-expm1: 6.0ms (1.2% of total)
ival-sin: 4.0ms (0.8% of total)
ival-true: 4.0ms (0.8% of total)
ival-cbrt: 3.0ms (0.6% of total)
ival-exp: 2.0ms (0.4% of total)
ival-assert: 2.0ms (0.4% of total)
exact: 2.0ms (0.4% of total)

start0.0ms (0%)

Memory
1.1MiB live, 1.1MiB allocated

end0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated

Profiling

Loading profile data...