Cancel like terms

Time bar (total: 1.4s)

analyze0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
100%100%0%0%0%0%0%1
Compiler

Compiled 7 to 6 computations (14.3% saved)

sample546.0ms (39.7%)

Memory
59.8MiB live, 503.2MiB allocated
Samples
195.0ms3 730×1valid
131.0ms4 526×0valid
Precisions
Click to see histograms. Total time spent on operations: 168.0ms
ival-add: 63.0ms (37.5% of total)
ival-sub: 51.0ms (30.3% of total)
adjust: 41.0ms (24.4% of total)
exact: 6.0ms (3.6% of total)
ival-true: 5.0ms (3% of total)
ival-assert: 3.0ms (1.8% of total)
Bogosity

preprocess17.0ms (1.3%)

Memory
-15.0MiB live, 14.9MiB allocated
Algorithm
egg-herbie
Rules
42×sub-neg
32×+-lowering-+.f64
32×+-lowering-+.f32
22×--lowering--.f32
22×--lowering--.f64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0613
1192
2772
31202
41462
51612
61762
71822
045
1111
2221
3251
4301
5371
6471
7651
8691
0691
Stop Event
iter limit
saturated
saturated
Calls
Call 1
Inputs
(- (+ 1 x) x)
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)

explain55.0ms (4%)

Memory
-3.1MiB live, 62.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1166(20055767820.138054)0-(-.f64 (+.f64 #s(literal 1 binary64) x) x)
00-0-(+.f64 #s(literal 1 binary64) x)
00-0-#s(literal 1 binary64)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64(-.f64 (+.f64 #s(literal 1 binary64) x) x)cancellation1220
Confusion
Predicted +Predicted -
+1160
-6134
Precision
0.9508196721311475
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+11600
-60134
Precision?
0.9508196721311475
Recall?
1.0
Freqs
test
numberfreq
0134
1122
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
15.0ms222×1valid
10.0ms290×0valid
Compiler

Compiled 36 to 20 computations (44.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-add: 6.0ms (48% of total)
ival-sub: 3.0ms (24% of total)
adjust: 2.0ms (16% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
56.1%
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 6 to 4 computations (33.3% saved)

simplify4.0ms (0.3%)

Memory
4.3MiB live, 4.3MiB allocated
Algorithm
egg-herbie
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
cost-diff0
(+.f64 #s(literal 1 binary64) x)
cost-diff384
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Rules
32×+-lowering-+.f64
32×+-lowering-+.f32
22×--lowering--.f32
22×--lowering--.f64
20×sub-neg
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0414
1116
2226
3256
4306
5376
6476
7656
8696
0696
Stop Event
iter limit
saturated
Calls
Call 1
Inputs
(- (+ 1 x) x)
(+ 1 x)
1
x
Outputs
(- (+ 1 x) x)
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
1
#s(literal 1 binary64)
x

localize18.0ms (1.3%)

Memory
-11.9MiB live, 18.5MiB allocated
Localize:

Found 2 expressions of interest:

NewMetricScoreProgram
accuracy100.0%
(+.f64 #s(literal 1 binary64) x)
accuracy56.1%
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Samples
6.0ms111×1valid
4.0ms145×0valid
Compiler

Compiled 12 to 6 computations (50% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-add: 2.0ms (39.2% of total)
ival-sub: 2.0ms (39.2% of total)
adjust: 1.0ms (19.6% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-true: 0.0ms (0% of total)

series1.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Counts
2 → 24
Calls
Call 1
Inputs
#<alt (- (+ 1 x) x)>
#<alt (+ 1 x)>
Outputs
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt 1>
#<alt (+ 1 x)>
#<alt (+ 1 x)>
#<alt (+ 1 x)>
#<alt x>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt x>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
#<alt (* x (+ 1 (/ 1 x)))>
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(+ 1 x)
0.0ms
x
@-inf
(+ 1 x)
0.0ms
x
@0
(+ 1 x)
0.0ms
x
@0
(- (+ 1 x) x)
0.0ms
x
@inf
(- (+ 1 x) x)

rewrite499.0ms (36.3%)

Memory
6.5MiB live, 290.0MiB allocated
Algorithm
batch-egg-rewrite
Rules
6 796×accelerator-lowering-fma.f32
6 796×accelerator-lowering-fma.f64
3 056×*-lowering-*.f32
3 056×*-lowering-*.f64
2 636×/-lowering-/.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048
1344
22984
338334
090364
Stop Event
iter limit
node limit
Counts
2 → 132
Calls
Call 1
Inputs
(- (+ 1 x) x)
(+ 1 x)
Outputs
#s(literal 1 binary64)
(+.f64 #s(literal 1 binary64) x)
(+.f64 #s(literal 1 binary64) (neg.f64 x))
(+.f64 x #s(literal 1 binary64))
(+.f64 (neg.f64 x) #s(literal 1 binary64))
(+.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(exp.f64 (log1p.f64 x))
(exp.f64 (*.f64 (neg.f64 (log1p.f64 x)) #s(literal -1 binary64)))
(exp.f64 (*.f64 (log1p.f64 x) #s(literal 1 binary64)))
(-.f64 #s(literal 1 binary64) x)
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)))
(-.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (/.f64 (*.f64 x (*.f64 x x)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(-.f64 (/.f64 (*.f64 x x) (+.f64 x #s(literal -1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))))
(fma.f64 #s(literal 1 binary64) x #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (neg.f64 x) #s(literal 1 binary64))
(fma.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 x #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 x #s(literal -1 binary64) #s(literal 1 binary64))
(fma.f64 (+.f64 #s(literal 1 binary64) x) (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (neg.f64 x) #s(literal 1 binary64) #s(literal 1 binary64))
(fma.f64 (neg.f64 x) (-.f64 (neg.f64 x) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64))
(fma.f64 (*.f64 (*.f64 x (*.f64 x x)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (/.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (*.f64 x (*.f64 x (fma.f64 x x x))))) #s(literal 1 binary64))
(fma.f64 #s(literal -1 binary64) x #s(literal 1 binary64))
(fma.f64 (*.f64 x (*.f64 x (-.f64 x (+.f64 #s(literal 1 binary64) x)))) (/.f64 #s(literal 1 binary64) (*.f64 x (-.f64 x (+.f64 #s(literal 1 binary64) x)))) #s(literal 1 binary64))
(fma.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal -1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) (fma.f64 x x #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64))) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) #s(literal -1 binary64)) (+.f64 #s(literal 1 binary64) x) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(fma.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x x #s(literal -1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))) (neg.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(neg.f64 (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(/.f64 #s(literal 1 binary64) (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(/.f64 #s(literal 1 binary64) (/.f64 (+.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))))
(/.f64 #s(literal 1 binary64) (exp.f64 (neg.f64 (log1p.f64 x))))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (-.f64 (*.f64 x x) (neg.f64 x))))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal 1 binary64) x))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (neg.f64 x)))
(/.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) (*.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) x) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64))))
(/.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))))
(/.f64 #s(literal -1 binary64) (neg.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))))
(/.f64 (fma.f64 x x #s(literal -1 binary64)) (+.f64 x #s(literal -1 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (*.f64 (+.f64 #s(literal 1 binary64) x) (fma.f64 x x #s(literal 1 binary64))))
(/.f64 (-.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 x (fma.f64 x x x))) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) #s(literal 1 binary64)) (*.f64 (fma.f64 x x #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) #s(literal 1 binary64)) (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (*.f64 #s(literal 1 binary64) (+.f64 #s(literal -1 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal -1 binary64))) (+.f64 x #s(literal -1 binary64)))
(/.f64 (*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x))
(/.f64 (*.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) #s(literal 1 binary64)) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(/.f64 (*.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (+.f64 x #s(literal -1 binary64)))
(/.f64 (neg.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (neg.f64 (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))))
(/.f64 (neg.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (neg.f64 (fma.f64 x x #s(literal -1 binary64))) (neg.f64 (+.f64 x #s(literal -1 binary64))))
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x)))) (/.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (*.f64 (+.f64 #s(literal 1 binary64) x) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))))) (+.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))) (fma.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))))
(/.f64 (-.f64 (/.f64 #s(literal 1 binary64) (*.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) x))) (*.f64 (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x)))) (+.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (/.f64 (*.f64 x x) (+.f64 #s(literal 1 binary64) x))))
(/.f64 (*.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)))
(/.f64 (*.f64 (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64)))
(/.f64 (*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x)))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))) (fma.f64 x x #s(literal 1 binary64)))
(/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(/.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(/.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x x)))) (exp.f64 (log1p.f64 (fma.f64 x x x))))
(/.f64 (exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))) (+.f64 #s(literal 1 binary64) x))
(/.f64 (exp.f64 (log.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)))) (exp.f64 (log.f64 (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))))
(/.f64 (exp.f64 (log.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)))) (exp.f64 (log.f64 (neg.f64 (+.f64 #s(literal 1 binary64) x)))))
(/.f64 (exp.f64 (log.f64 (fma.f64 x x #s(literal -1 binary64)))) (exp.f64 (log.f64 (+.f64 x #s(literal -1 binary64)))))
(pow.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal -1 binary64))
(pow.f64 (/.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #s(literal -1 binary64))
(pow.f64 (/.f64 (+.f64 x #s(literal -1 binary64)) (fma.f64 x x #s(literal -1 binary64))) #s(literal -1 binary64))
(*.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x))
(*.f64 (+.f64 #s(literal 1 binary64) x) #s(literal 1 binary64))
(*.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))
(*.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))))
(*.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (-.f64 #s(literal 1 binary64) (*.f64 x x)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (pow.f64 (/.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal -1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (fma.f64 x (*.f64 x x) #s(literal 1 binary64)))
(*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) (pow.f64 (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal -1 binary64)))
(*.f64 (fma.f64 x x #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))))
(*.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))))
(*.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) (+.f64 #s(literal 1 binary64) x))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal -1 binary64))) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (+.f64 #s(literal -1 binary64) (*.f64 x x))) (neg.f64 (+.f64 #s(literal 1 binary64) x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x x #s(literal -1 binary64))) (+.f64 x #s(literal -1 binary64)))
(*.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (fma.f64 (fma.f64 x x x) (*.f64 (fma.f64 x x x) (fma.f64 x x x)) #s(literal 1 binary64))) (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x x x) (fma.f64 x x x)))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(*.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) (+.f64 #s(literal 1 binary64) (fma.f64 x x x)))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x x) (fma.f64 x x #s(literal 1 binary64)) #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) x) (-.f64 #s(literal 1 binary64) (*.f64 x (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 x x #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) #s(literal 1 binary64))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 (*.f64 x (*.f64 x x)) (-.f64 (*.f64 x (*.f64 x x)) #s(literal 1 binary64)) #s(literal 1 binary64))))
(*.f64 (pow.f64 (/.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) (+.f64 #s(literal 1 binary64) (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))))) #s(literal -1 binary64)) (/.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))))
(*.f64 (pow.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)) (pow.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (pow.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (pow.f64 (*.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (fma.f64 x (*.f64 x x) #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (fma.f64 (+.f64 #s(literal 1 binary64) x) (neg.f64 x) #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (+.f64 #s(literal -1 binary64) (*.f64 x x)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (neg.f64 (+.f64 #s(literal 1 binary64) x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (fma.f64 x x #s(literal -1 binary64)) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal -1 binary64))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 1 binary64) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) (fma.f64 x x x))) #s(literal 1 binary64)))
(*.f64 (pow.f64 (*.f64 #s(literal 1 binary64) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) (+.f64 #s(literal 1 binary64) x)))
(*.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (-.f64 #s(literal 1 binary64) (*.f64 x x))) #s(literal 1 binary64)) (+.f64 #s(literal 1 binary64) x))
(*.f64 (pow.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (fma.f64 (fma.f64 x x x) (*.f64 (fma.f64 x x x) (fma.f64 x x x)) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) #s(literal 1 binary64)) #s(literal 1 binary64)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 (fma.f64 x (*.f64 x x) #s(literal 1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 (fma.f64 x x x) (fma.f64 x x x)))) #s(literal 1 binary64)) (pow.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) #s(literal 1 binary64)))
(*.f64 (pow.f64 (/.f64 (-.f64 #s(literal 1 binary64) (*.f64 x x)) (fma.f64 x (*.f64 x x) #s(literal 1 binary64))) #s(literal 1 binary64)) (pow.f64 (+.f64 #s(literal 1 binary64) (fma.f64 x x x)) #s(literal 1 binary64)))
(*.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x x)))) (exp.f64 (neg.f64 (log1p.f64 (fma.f64 x x x)))))
(*.f64 (exp.f64 (log1p.f64 (*.f64 x (neg.f64 x)))) (exp.f64 (neg.f64 (log1p.f64 x))))

simplify5.0ms (0.4%)

Memory
5.3MiB live, 5.3MiB allocated
Algorithm
egg-herbie
Rules
20×*-lowering-*.f32
20×*-lowering-*.f64
+-lowering-+.f64
+-lowering-+.f32
distribute-lft-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0642
11742
21842
32742
43342
53342
03342
Stop Event
iter limit
saturated
Counts
24 → 24
Calls
Call 1
Inputs
1
1
1
1
1
1
1
1
1
1
1
1
1
(+ 1 x)
(+ 1 x)
(+ 1 x)
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
x
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
(* x (+ 1 (/ 1 x)))
Outputs
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
1
#s(literal 1 binary64)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
(+ 1 x)
(+.f64 #s(literal 1 binary64) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
x
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)
(* x (+ 1 (/ 1 x)))
(+.f64 #s(literal 1 binary64) x)

eval16.0ms (1.1%)

Memory
18.9MiB live, 18.9MiB allocated
Compiler

Compiled 2 614 to 436 computations (83.3% saved)

prune37.0ms (2.7%)

Memory
-5.4MiB live, 25.1MiB allocated
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1551156
Fresh000
Picked101
Done000
Total1561157
Accuracy
100.0%
Counts
157 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 1 binary64)
Compiler

Compiled 2 to 2 computations (0% saved)

simplify3.0ms (0.2%)

Memory
3.4MiB live, 3.4MiB allocated
Algorithm
egg-herbie
Rules
1-exp
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
131
031
Stop Event
saturated
saturated
Calls
Call 1
Inputs
1
Outputs
1
#s(literal 1 binary64)

localize8.0ms (0.6%)

Memory
-26.8MiB live, 8.4MiB allocated
Samples
6.0ms256×0valid
Compiler

Compiled 3 to 4 computations (-33.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 0.0ms
ival-true: 0.0ms (0% of total)
exact: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

rewrite6.0ms (0.5%)

Memory
3.4MiB live, 3.4MiB allocated
Algorithm
batch-egg-rewrite
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

simplify2.0ms (0.2%)

Memory
1.5MiB live, 1.5MiB allocated
Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
000
Stop Event
saturated
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

eval0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated
Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Memory
1.3MiB live, 1.3MiB allocated
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
#s(literal 1 binary64)
Compiler

Compiled 9 to 6 computations (33.3% saved)

regimes3.0ms (0.2%)

Memory
3.5MiB live, 3.5MiB allocated
Accuracy

Total -28.1b remaining (-∞%)

Threshold costs -28.1b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
#s(literal 1 binary64)
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Outputs
#s(literal 1 binary64)
Calls

2 calls:

1.0ms
x
1.0ms
(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(-.f64 (+.f64 #s(literal 1 binary64) x) x)
Compiler

Compiled 8 to 5 computations (37.5% saved)

simplify6.0ms (0.4%)

Memory
6.0MiB live, 6.0MiB allocated
Algorithm
egg-herbie
Rules
1-exp_binary64
1-exp_binary32
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011
141
Stop Event
saturated
Calls
Call 1
Inputs
#s(literal 1 binary64)
Outputs
#s(literal 1 binary64)

soundness118.0ms (8.6%)

Memory
-10.5MiB live, 80.0MiB allocated
Rules
6 796×accelerator-lowering-fma.f32
6 796×accelerator-lowering-fma.f64
3 056×*-lowering-*.f32
3 056×*-lowering-*.f64
2 636×/-lowering-/.f32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
048
1344
22984
338334
090364
Stop Event
done
iter limit
node limit
Compiler

Compiled 4 to 4 computations (0% saved)

preprocess27.0ms (2%)

Memory
17.1MiB live, 51.6MiB allocated
Compiler

Compiled 16 to 12 computations (25% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...