Details

Time bar (total: 1.1s)

analyze3.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample708.0ms (65.5%)

Results
694.0ms8256×body256valid
0.0msbody256invalid

preprocess87.0ms (8%)

Algorithm
egg-herbie
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(sqrt.f64 (fma.f64 x (neg.f64 x) 1))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify30.0ms (2.8%)

Algorithm
egg-herbie
Counts
1 → 2
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(sqrt.f64 (fma.f64 x (neg.f64 x) 1))

eval1.0ms (0.1%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize6.0ms (0.6%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Compiler

Compiled 17 to 8 computations (52.9% saved)

series2.0ms (0.2%)

Counts
1 → 4
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(sqrt.f64 (-.f64 1 (*.f64 x x)))
1.0ms
x
@0
(sqrt.f64 (-.f64 1 (*.f64 x x)))
1.0ms
x
@-inf
(sqrt.f64 (-.f64 1 (*.f64 x x)))

rewrite45.0ms (4.2%)

Algorithm
batch-egg-rewrite
Rules
42×egg-rr
Counts
1 → 42
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 1/2) (*.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) (*.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 0) (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) (*.f64 1/2 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) (*.f64 0 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 0 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) (cbrt.f64 (fma.f64 x (neg.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (neg.f64 x) 1)) (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))) (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (neg.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))) -1) (*.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))) 1) (*.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 -1 (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))) (*.f64 -1 (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fabs.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))) (fabs.f64 (cbrt.f64 (fma.f64 x (neg.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fabs.f64 (cbrt.f64 (fma.f64 x (neg.f64 x) 1))) (fabs.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) (pow.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 0))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 0) (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) (cbrt.f64 (-.f64 1 (pow.f64 x 6)))) (cbrt.f64 (+.f64 1 (fma.f64 x x (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cbrt.f64 (-.f64 1 (pow.f64 x 6))) (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))) (cbrt.f64 (+.f64 1 (fma.f64 x x (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (neg.f64 x) 1) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) (+.f64 2 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) (+.f64 1 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) (*.f64 3 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) (*.f64 1/3 3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (neg.f64 x) 1) (*.f64 3/2 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (neg.f64 x) 1) (*.f64 1/4 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (neg.f64 x) 1) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (sqrt.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (neg.f64 x) 1) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (fma.f64 x (neg.f64 x) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (neg.f64 x) 1) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (neg.f64 (sqrt.f64 (fma.f64 x (neg.f64 x) 1))))))))

simplify85.0ms (7.8%)

Algorithm
egg-herbie
Counts
46 → 49
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
Outputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 x 2)))
(fma.f64 (*.f64 x x) -1/2 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (*.f64 -1/8 (pow.f64 x 4))))
(+.f64 1 (fma.f64 -1/8 (pow.f64 x 4) (*.f64 (*.f64 -1/2 x) x)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 x 2)) (+.f64 (*.f64 -1/16 (pow.f64 x 6)) (*.f64 -1/8 (pow.f64 x 4)))))
(+.f64 (fma.f64 (*.f64 x x) -1/2 1) (fma.f64 -1/16 (pow.f64 x 6) (*.f64 -1/8 (pow.f64 x 4))))

eval14.0ms (1.3%)

Compiler

Compiled 603 to 403 computations (33.2% saved)

prune9.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New47249
Fresh000
Picked011
Done000
Total47350
Error
0b
Counts
50 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.4b
(fma.f64 (*.f64 x x) -1/2 1)
0.7b
1
Compiler

Compiled 16 to 12 computations (25% saved)

localize5.0ms (0.5%)

Compiler

Compiled 13 to 7 computations (46.2% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.4b
(fma.f64 (*.f64 x x) -1/2 1)
0.7b
1
Compiler

Compiled 16 to 12 computations (25% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.4b
(fma.f64 (*.f64 x x) -1/2 1)
0.7b
1
Compiler

Compiled 16 to 12 computations (25% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done022
Total033
Error
0b
Counts
3 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.4b
(fma.f64 (*.f64 x x) -1/2 1)
0.7b
1
Compiler

Compiled 16 to 12 computations (25% saved)

regimes11.0ms (1%)

Counts
3 → 1
Calls
Call 1
Inputs
1
(fma.f64 (*.f64 x x) -1/2 1)
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
Calls

4 calls:

4.0ms
x
2.0ms
(*.f64 x x)
2.0ms
(sqrt.f64 (-.f64 1 (*.f64 x x)))
2.0ms
(-.f64 1 (*.f64 x x))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(sqrt.f64 (-.f64 1 (*.f64 x x)))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(*.f64 x x)
Compiler

Compiled 33 to 21 computations (36.4% saved)

regimes6.0ms (0.6%)

Accuracy

Total -0.3b remaining (-86.6%)

Threshold costs -0.3b (-86.6%)

Counts
2 → 1
Calls
Call 1
Inputs
1
(fma.f64 (*.f64 x x) -1/2 1)
Outputs
(fma.f64 (*.f64 x x) -1/2 1)
Calls

2 calls:

3.0ms
x
2.0ms
(*.f64 x x)
Results
ErrorSegmentsBranch
0.4b1x
0.4b1(*.f64 x x)
Compiler

Compiled 14 to 9 computations (35.7% saved)

simplify39.0ms (3.6%)

Algorithm
egg-herbie
Stop Event
fuel
Calls
Call 1
Inputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(fma.f64 (*.f64 x x) -1/2 1)
1
Outputs
(sqrt.f64 (-.f64 1 (*.f64 x x)))
(sqrt.f64 (fma.f64 (neg.f64 x) x 1))
(fma.f64 (*.f64 x x) -1/2 1)
1
Compiler

Compiled 16 to 12 computations (25% saved)

soundness0.0ms (0%)

end23.0ms (2.1%)

Compiler

Compiled 14 to 9 computations (35.7% saved)

Profiling

Loading profile data...