Details

Time bar (total: 769.0ms)

analyze3.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
62.5%37.5%0%4
81.2%18.7%0%5
90.6%9.4%0%6
95.3%4.7%0%7
97.6%2.3%0%8
98.8%1.2%0%9
99.4%0.6%0%10
99.7%0.3%0%11
99.8%0.1%0%12
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample576.0ms (74.9%)

Results
566.0ms8256×body256valid

preprocess15.0ms (2%)

Algorithm
egg-herbie
Rules
11×sub-neg_binary64
+-commutative_binary64
fma-def_binary64
div-sub_binary64
associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
197
2137
3197
4277
5377
6507
7687
8807
9837
10847
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 x (-.f64 1 x))
Outputs
(/.f64 x (-.f64 1 x))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify7.0ms (0.8%)

Algorithm
egg-herbie
Rules
11×sub-neg_binary64
+-commutative_binary64
fma-def_binary64
div-sub_binary64
associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
197
2137
3197
4277
5377
6507
7687
8807
9837
10847
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(/.f64 x (-.f64 1 x))
Outputs
(/.f64 x (-.f64 1 x))

eval0.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize5.0ms (0.6%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
0.0b
(/.f64 x (-.f64 1 x))
Compiler

Compiled 11 to 7 computations (36.4% saved)

series1.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(/.f64 x (-.f64 1 x))
0.0ms
x
@inf
(/.f64 x (-.f64 1 x))
0.0ms
x
@-inf
(/.f64 x (-.f64 1 x))

rewrite34.0ms (4.5%)

Algorithm
batch-egg-rewrite
Rules
607×pow1_binary64
568×add-log-exp_binary64
568×log1p-expm1-u_binary64
568×expm1-log1p-u_binary64
557×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11087
214707
Stop Event
node limit
Counts
1 → 32
Calls
Call 1
Inputs
(/.f64 x (-.f64 1 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 x (-.f64 1 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (/.f64 1 (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) 2) (cbrt.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 x) 2) (*.f64 (cbrt.f64 x) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (-.f64 1 x))) (sqrt.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (/.f64 1 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 x) (/.f64 1 (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 1 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) 1) (/.f64 (cbrt.f64 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 x (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (cbrt.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 x) (pow.f64 (cbrt.f64 (-.f64 1 x)) 2)) (/.f64 (sqrt.f64 x) (cbrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (-.f64 1 x))) (/.f64 x (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 x) 2) (sqrt.f64 (-.f64 1 x))) (/.f64 (cbrt.f64 x) (sqrt.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (pow.f64 x 3))) (+.f64 1 (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (-.f64 1 (*.f64 x x))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (-.f64 1 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (-.f64 1 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (-.f64 1 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (-.f64 1 x) x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 x (neg.f64 (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 x (-.f64 1 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (-.f64 1 x))))))))

simplify35.0ms (4.6%)

Algorithm
egg-herbie
Rules
698×fma-neg_binary64
598×associate-/l*_binary64
535×associate-*l*_binary64
456×cancel-sign-sub-inv_binary64
399×associate-*r*_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
027150
176132
2220125
3596125
41773125
55289113
Stop Event
node limit
Counts
44 → 46
Calls
Call 1
Inputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x)))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
Outputs
x
(+.f64 (pow.f64 x 2) x)
(+.f64 x (*.f64 x x))
(fma.f64 x x x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 3) x))
(+.f64 (+.f64 (*.f64 x x) (pow.f64 x 3)) x)
(+.f64 x (*.f64 x (fma.f64 x x x)))
(fma.f64 x (fma.f64 x x x) x)
(+.f64 (pow.f64 x 2) (+.f64 (pow.f64 x 4) (+.f64 (pow.f64 x 3) x)))
(+.f64 (*.f64 x x) (+.f64 (+.f64 x (pow.f64 x 3)) (pow.f64 x 4)))
(+.f64 (+.f64 x (pow.f64 x 3)) (fma.f64 x x (pow.f64 x 4)))
(*.f64 (fma.f64 x x 1) (fma.f64 x x x))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(-.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 1 (*.f64 x x)))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x)))
(+.f64 -1 (+.f64 (/.f64 -1 x) (/.f64 -1 (*.f64 x x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))))
(-.f64 (-.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3)))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 3)))))
(*.f64 (-.f64 1 (/.f64 -1 (*.f64 x x))) (+.f64 -1 (/.f64 -1 x)))
-1
(neg.f64 (+.f64 1 (/.f64 1 x)))
(+.f64 -1 (neg.f64 (/.f64 1 x)))
(+.f64 -1 (/.f64 -1 x))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (/.f64 1 x))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x)))))
(-.f64 -1 (+.f64 (/.f64 1 x) (/.f64 1 (*.f64 x x))))
(-.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 1 (*.f64 x x)))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 -1 (*.f64 x x)))
(+.f64 -1 (+.f64 (/.f64 -1 x) (/.f64 -1 (*.f64 x x))))
(neg.f64 (+.f64 1 (+.f64 (/.f64 1 (pow.f64 x 2)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(+.f64 -1 (neg.f64 (+.f64 (/.f64 1 (*.f64 x x)) (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))))))
(-.f64 -1 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (*.f64 x x)))))
(-.f64 (-.f64 (+.f64 -1 (/.f64 -1 x)) (/.f64 1 (*.f64 x x))) (/.f64 1 (pow.f64 x 3)))
(+.f64 (+.f64 -1 (/.f64 -1 x)) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 3))))
(+.f64 -1 (+.f64 (/.f64 -1 x) (+.f64 (/.f64 -1 (*.f64 x x)) (/.f64 -1 (pow.f64 x 3)))))
(*.f64 (-.f64 1 (/.f64 -1 (*.f64 x x))) (+.f64 -1 (/.f64 -1 x)))

eval10.0ms (1.4%)

Compiler

Compiled 447 to 308 computations (31.1% saved)

prune6.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New43346
Fresh000
Picked011
Done000
Total43447
Error
0b
Counts
47 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
29.7b
-1
34.1b
(fma.f64 x x x)
33.4b
x
Compiler

Compiled 15 to 9 computations (40% saved)

localize3.0ms (0.4%)

Compiler

Compiled 6 to 2 computations (66.7% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
29.7b
-1
34.1b
(fma.f64 x x x)
33.4b
x
Compiler

Compiled 15 to 9 computations (40% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done022
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
29.7b
-1
34.1b
(fma.f64 x x x)
33.4b
x
Compiler

Compiled 15 to 9 computations (40% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked000
Done022
Total044
Error
0b
Counts
4 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(/.f64 x (-.f64 1 x))
29.7b
-1
34.1b
(fma.f64 x x x)
33.4b
x
Compiler

Compiled 15 to 9 computations (40% saved)

regimes7.0ms (0.9%)

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

2 calls:

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

Compiled 20 to 11 computations (45% saved)

regimes9.0ms (1.2%)

Accuracy

Total -60.3b remaining (-4249.5%)

Threshold costs -60.3b (-4249.5%)

Counts
2 → 3
Calls
Call 1
Inputs
x
-1
Outputs
-1
x
-1
Calls

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
1.4b3x
Compiler

Compiled 5 to 3 computations (40% saved)

bsearch26.0ms (3.4%)

Algorithm
binary-search
Steps
TimeLeftRight
13.0ms
8.526253890034033e-6
388.6759492171977
13.0ms
-26.871658108037973
-1.7361786698097538e-13
Compiler

Compiled 10 to 7 computations (30% saved)

simplify2.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01323
11723
22023
32223
42323
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 x (-.f64 1 x))
(if (<=.f64 x -7563699340136699/281474976710656) -1 (if (<=.f64 x 2516505974670853/295147905179352825856) x -1))
x
Outputs
(/.f64 x (-.f64 1 x))
(if (<=.f64 x -7563699340136699/281474976710656) -1 (if (<=.f64 x 2516505974670853/295147905179352825856) x -1))
x

end22.0ms (2.8%)

Stop Event
fuel
Compiler

Compiled 38 to 26 computations (31.6% saved)

Profiling

Loading profile data...