Details

Time bar (total: 4.6s)

sample69.0ms

Algorithm
intervals
Results
35.0ms76×body1280valid
13.0ms56×body640valid
7.0ms26×body2560valid
3.0ms21×body320valid
2.0ms68×body80valid
1.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
095
195

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 53.8b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.6b
(+ x (sqrt (+ (* x x) 1.0)))
1.8b
(log (+ x (sqrt (+ (* x x) 1.0))))
15.0b
(sqrt (+ (* x x) 1.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
flip3-+ flip-+
log-div sqrt-div
+-commutative pow1/2
Counts
3 → 8
Calls
3 calls:
3.0ms
(+ x (sqrt (+ (* x x) 1.0)))
3.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
3.0ms
(sqrt (+ (* x x) 1.0))

series272.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(+ x (sqrt (+ (* x x) 1.0)))
169.0ms
(log (+ x (sqrt (+ (* x x) 1.0))))
44.0ms
(sqrt (+ (* x x) 1.0))

simplify114.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0255176
1860174
24067158
35002158

prune62.0ms

Filtered
17 candidates to 17 candidates (100.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New13417
Fresh000
Picked101
Done000
Total14418

Merged error: 0.0b

Counts
18 → 4

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
0.1b
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
21×associate-*r/
16×frac-sub
10×unpow3 sqr-pow
flip3-+ flip-+
clear-num associate-/r* associate-/l*
associate-*r*
times-frac
frac-2neg un-div-inv
associate--l+
+-commutative sub-neg flip3-- *-commutative flip-- div-inv
Counts
2 → 36
Calls
2 calls:
8.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
5.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

series293.0ms

Counts
2 → 6
Calls
2 calls:
157.0ms
(- (+ (log (sqrt 1.0)) (/ x (sqrt 1.0))) (* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3))))
135.0ms
(* 1/6 (/ (pow x 3) (pow (sqrt 1.0) 3)))

simplify52.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0344855
11657810
25003808

prune129.0ms

Filtered
42 candidates to 33 candidates (78.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh033
Picked011
Done000
Total42446

Merged error: 0.0b

Counts
46 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ 0.5 x) (- (/ 0.125 (pow x 3)) (* 2 x)))
0.1b
(/ 0.125 (pow x 3))
10.7b
(log (- (/ 0.5 x) (- (/ 0.125 (pow x 3)) (* 2 x))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×frac-sub
log-div flip3-- flip--
frac-2neg clear-num
sub-neg associate-/r* associate--r+
unpow3 div-inv associate--r- sqr-pow
Counts
3 → 26
Calls
3 calls:
8.0ms
(- (/ 0.5 x) (- (/ 0.125 (pow x 3)) (* 2 x)))
2.0ms
(/ 0.125 (pow x 3))
11.0ms
(log (- (/ 0.5 x) (- (/ 0.125 (pow x 3)) (* 2 x))))

series243.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(- (/ 0.5 x) (- (/ 0.125 (pow x 3)) (* 2 x)))
36.0ms
(/ 0.125 (pow x 3))
159.0ms
(log (- (/ 0.5 x) (- (/ 0.125 (pow x 3)) (* 2 x))))

simplify46.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0383575
11620557
25001542

prune101.0ms

Filtered
35 candidates to 27 candidates (77.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New35035
Fresh022
Picked011
Done011
Total35439

Merged error: 0.0b

Counts
39 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 0.125 (pow x 3))
0.4b
(/ (- 0.0625) (pow x 5))
13.9b
(log (- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5)))))
20.9b
(- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
320×frac-sub
116×frac-2neg clear-num
101×associate-/r*
87×log-div
67×sqr-pow
35×unpow3
32×neg-mul-1
31×associate-/l*
12×flip3-- flip--
associate--r+
neg-sub0 sub-neg div-sub div-inv associate--r-
times-frac distribute-frac-neg
Counts
4 → 193
Calls
4 calls:
2.0ms
(/ 0.125 (pow x 3))
3.0ms
(/ (- 0.0625) (pow x 5))
17.0ms
(log (- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5)))))
17.0ms
(- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5))))

series328.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 0.125 (pow x 3))
53.0ms
(/ (- 0.0625) (pow x 5))
180.0ms
(log (- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5)))))
59.0ms
(- (/ 0.125 (pow x 3)) (- (/ 0.5 x) (/ (- 0.0625) (pow x 5))))

simplify86.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
019134619
150024414

prune637.0ms

Filtered
205 candidates to 163 candidates (79.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2050205
Fresh011
Picked011
Done022
Total2054209

Merged error: 0.0b

Counts
209 → 4

regimes31.0ms

Accuracy

99.5% (0.2b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 32.2b

bsearch77.0ms

Steps
ItersRangePoint
9
0.09117784756913819
2697524.489058797
0.8902423635659321
10
-1421.6155834850151
-1.485944467815708e-07
-1.0153027309600835

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04127
14127

end0.0ms

sample1.9s

Algorithm
intervals
Results
976.0ms2342×body1280valid
375.0ms1525×body640valid
236.0ms839×body2560valid
102.0ms731×body320valid
70.0ms2144×body80valid
34.0ms419×body160valid