Herbie run

Date:Saturday, August 24th, 2024
Commit:73092913 on zane-fix-unused
Hostname:nightly with Racket 8.11.1
Seed:2024237
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: 1.2min)

simplify15.1s (20.2%)

Memory
281.4MiB live, 13 735.8MiB allocated
Algorithm
73×egg-herbie
Rules
385 500×lower-fma.f32
385 400×lower-fma.f64
182 014×lower-*.f32
181 710×lower-*.f64
81 076×lower-+.f32
Stop Event
94×iter limit
41×node limit
34×saturated
Counts
9 756 → 9 604

sample11.8s (15.7%)

Memory
333.6MiB live, 12 165.4MiB allocated
Samples
6.6s70 215×0valid
921.0ms4 083×2valid
615.0ms1 947×0invalid
1.0ms1valid
Precisions
Click to see histograms. Total time spent on operations: 5.8s
ival-div: 1.4s (25% of total)
ival-mult: 1.1s (19.9% of total)
ival-sub: 1.0s (17.4% of total)
ival-sqrt: 621.0ms (10.8% of total)
ival-add: 497.0ms (8.6% of total)
ival-neg: 245.0ms (4.3% of total)
ival-if: 180.0ms (3.1% of total)
ival-log: 127.0ms (2.2% of total)
ival->=: 104.0ms (1.8% of total)
adjust: 92.0ms (1.6% of total)
ival-fabs: 85.0ms (1.5% of total)
ival-exp: 75.0ms (1.3% of total)
ival-true: 58.0ms (1% of total)
exact: 56.0ms (1% of total)
ival-assert: 29.0ms (0.5% of total)
Bogosity

rewrite10.3s (13.7%)

Memory
39.1MiB live, 12 719.9MiB allocated
Rules
145 096×lower-fma.f32
144 996×lower-fma.f64
117 472×lower-*.f32
117 180×lower-*.f64
115 866×lower-/.f32
Stop Event
68×iter limit
30×node limit
unsound
saturated
Counts
402 → 17 019

prune9.4s (12.6%)

Memory
-128.6MiB live, 13 497.3MiB allocated
Counts
35 030 → 403
Compiler

Compiled 20 548 to 9 574 computations (53.4% saved)

soundness8.7s (11.6%)

Memory
-39.3MiB live, 4 720.0MiB allocated
Rules
238 462×lower-fma.f32
238 420×lower-fma.f64
145 164×lower-*.f32
145 032×lower-*.f64
77 592×lower-/.f32
Stop Event
47×iter limit
31×node limit
fuel
done
saturated
Compiler

Compiled 4 884 to 2 285 computations (53.2% saved)

eval6.6s (8.8%)

Memory
222.8MiB live, 10 610.2MiB allocated
Compiler

Compiled 1 423 455 to 85 696 computations (94% saved)

localize5.1s (6.8%)

Memory
21.2MiB live, 6 336.1MiB allocated
Samples
1.8s6 604×0valid
861.0ms900×2valid
558.0ms580×1valid
121.0ms106×3valid
1.0ms5exit
Compiler

Compiled 8 290 to 861 computations (89.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.2s
ival-mult: 557.0ms (25.9% of total)
ival-add: 435.0ms (20.2% of total)
ival-div: 404.0ms (18.8% of total)
adjust: 298.0ms (13.8% of total)
ival-sub: 136.0ms (6.3% of total)
ival-sqrt: 99.0ms (4.6% of total)
ival-neg: 60.0ms (2.8% of total)
ival-if: 57.0ms (2.6% of total)
ival-log: 26.0ms (1.2% of total)
ival-fabs: 18.0ms (0.8% of total)
const: 16.0ms (0.7% of total)
ival-exp: 14.0ms (0.6% of total)
exact: 11.0ms (0.5% of total)
ival-true: 7.0ms (0.3% of total)
ival-e: 6.0ms (0.3% of total)
ival->=: 6.0ms (0.3% of total)
ival-assert: 3.0ms (0.1% of total)

preprocess2.1s (2.8%)

Memory
77.8MiB live, 1 760.9MiB allocated
Algorithm
egg-herbie
Rules
11 858×lower-fma.f32
11 858×lower-fma.f64
5 976×div-sub
5 512×lower-*.f32
5 482×lower-*.f64
Stop Event
18×iter limit
13×saturated
node limit
Compiler

Compiled 4 110 to 1 120 computations (72.7% saved)

series1.9s (2.6%)

Memory
-286.1MiB live, 1 385.0MiB allocated
Counts
402 → 9 756
Calls

1119 calls:

TimeVariablePointExpression
436.0ms
x
@inf
(log x)
71.0ms
a
@0
(- (neg b) (sqrt (- (* b b) (* (* 4 a) c))))
41.0ms
b
@-inf
(- (* b b) (* (* 4 a) c))
40.0ms
x
@0
(log x)
22.0ms
y
@-inf
(- (/ (+ x 4) y) (* (/ x y) z))

explain1.6s (2.1%)

Memory
60.9MiB live, 2 167.6MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue2660
+.f64#fcancellation1310
-.f64#fcancellation1080
sqrt.f64#fuflow-rescue640
/.f64#fn/u250
/.f64#fu/n230
-.f64#fnan-rescue170
*.f64(*.f64 (/.f64 x y) z)n*o110
*.f64(*.f64 (/.f64 x y) z)n*u30
Confusion
Predicted +Predicted -
+28813
-2221781
Precision
0.5647058823529412
Recall
0.9568106312292359
Confusion?
Predicted +Predicted MaybePredicted -
+288013
-22201781
Precision?
0.5647058823529412
Recall?
0.9568106312292359
Freqs
test
numberfreq
01794
1380
2122
38
Total Confusion?
Predicted +Predicted MaybePredicted -
+400
-005
Precision?
1.0
Recall?
1.0
Samples
360.0ms3 672×0valid
170.0ms598×2valid
69.0ms290×1valid
19.0ms48×3valid
Compiler

Compiled 1 124 to 300 computations (73.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 317.0ms
ival-mult: 70.0ms (22.1% of total)
ival-div: 63.0ms (19.9% of total)
ival-sub: 51.0ms (16.1% of total)
ival-sqrt: 35.0ms (11.1% of total)
adjust: 32.0ms (10.1% of total)
ival-add: 16.0ms (5.1% of total)
ival-neg: 11.0ms (3.5% of total)
ival-if: 10.0ms (3.2% of total)
ival-log: 7.0ms (2.2% of total)
ival-exp: 5.0ms (1.6% of total)
ival-fabs: 5.0ms (1.6% of total)
ival-true: 4.0ms (1.3% of total)
exact: 4.0ms (1.3% of total)
ival->=: 3.0ms (0.9% of total)
ival-assert: 2.0ms (0.6% of total)

regimes1.5s (2%)

Memory
31.8MiB live, 1 987.5MiB allocated
Counts
939 → 106
Calls

26 calls:

237.0ms
x
135.0ms
b
112.0ms
(*.f64 x x)
106.0ms
(-.f64 #s(literal 1 binary64) (*.f64 x x))
103.0ms
(neg.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)))
Compiler

Compiled 1 606 to 1 014 computations (36.9% saved)

analyze441.0ms (0.6%)

Memory
-61.0MiB live, 710.5MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
22.2%22.2%77.7%0.1%0%0%0%1
29.4%27.8%66.6%0.1%0%5.6%0%2
50%44.4%44.4%0.1%0%11.1%0%3
59.7%51.3%34.7%0.1%0%13.9%0%4
67.2%56.9%27.7%0.1%0%15.3%0%5
74.4%62.4%21.5%0.1%0%16%0%6
78.9%64.9%17.3%0.1%0%17.7%0%7
80.8%66.3%15.8%0.1%0%17.9%0%8
85.9%69.9%11.5%0.1%0%18.5%0%9
88%70.7%9.7%0.1%0%19.6%0%10
90%72.1%8%0.1%0%19.8%0%11
92.3%73.5%6.2%0.1%0%20.3%0%12
Compiler

Compiled 153 to 106 computations (30.7% saved)

bsearch401.0ms (0.5%)

Memory
-36.6MiB live, 662.6MiB allocated
Algorithm
34×binary-search
11×left-value
Stop Event
27×narrow-enough
predicate-same
Samples
202.0ms2 624×0valid
16.0ms149×0invalid
7.0ms48×2valid
Compiler

Compiled 11 597 to 7 136 computations (38.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 155.0ms
ival-mult: 46.0ms (29.8% of total)
ival-div: 36.0ms (23.3% of total)
ival-sub: 17.0ms (11% of total)
ival-add: 13.0ms (8.4% of total)
ival->=: 12.0ms (7.8% of total)
ival-sqrt: 8.0ms (5.2% of total)
ival-fabs: 7.0ms (4.5% of total)
ival-neg: 5.0ms (3.2% of total)
ival-if: 4.0ms (2.6% of total)
ival-true: 2.0ms (1.3% of total)
exact: 2.0ms (1.3% of total)
adjust: 1.0ms (0.6% of total)
ival-assert: 1.0ms (0.6% of total)

start0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated

end0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

Profiling

Loading profile data...