Details

Time bar (total: 5.9s)

sample20.0ms

Algorithm
intervals
Results
5.0ms49×body1280valid
4.0ms48×body640valid
3.0ms130×body80valid
1.0ms20×body320valid
0.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

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: 29.3b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
2.3b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
215×*-un-lft-identity
140×frac-sub
115×associate-/r*
113×add-sqr-sqrt
89×associate-/l*
71×add-cube-cbrt
52×times-frac
42×distribute-lft-out
28×distribute-lft-out--
26×frac-2neg clear-num
22×associate-/l/
19×difference-of-squares
12×flip3-+ flip-+
add-exp-log add-cbrt-cube
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- div-exp flip-- div-inv
sub-neg diff-log
Counts
3 → 243
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
8.0ms
(/ (+ x 1.0) (- x 1.0))
41.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series221.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(/ x (+ x 1.0))
39.0ms
(/ (+ x 1.0) (- x 1.0))
140.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify67.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
014163130
150013054

prune302.0ms

Filtered
252 candidates to 143 candidates (56.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2484252
Fresh000
Picked101
Done000
Total2494253

Merged error: 0.1b

Counts
253 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x 1.0) (+ x 1.0))
0.0b
(* (+ x 1.0) (/ (- x 1.0) (+ x 1.0)))
0.0b
(/ (- (- (* (/ (- x 1.0) (+ x 1.0)) x) x) 1.0) (* (+ x 1.0) (/ (- x 1.0) (+ x 1.0))))
1.9b
(- (* (/ (- x 1.0) (+ x 1.0)) x) x)

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
715×*-un-lft-identity
469×times-frac
398×add-sqr-sqrt
241×distribute-lft-out--
237×associate-*r*
174×add-cube-cbrt
88×difference-of-squares
75×associate-*l*
67×associate-/r/
66×distribute-lft-out
65×associate-/r*
56×frac-times
46×associate-/l*
40×flip3-+ flip-+
28×associate-*r/
20×add-exp-log add-cbrt-cube unswap-sqr
16×associate-/l/
11×div-inv
10×clear-num
flip3-- *-commutative flip--
frac-2neg
pow1 cbrt-undiv div-exp un-div-inv add-log-exp
distribute-rgt-out-- associate-*l/ prod-exp cbrt-unprod
div-sub
associate--l- sub-neg diff-log pow-prod-down
Counts
4 → 529
Calls
4 calls:
8.0ms
(/ (- x 1.0) (+ x 1.0))
21.0ms
(* (+ x 1.0) (/ (- x 1.0) (+ x 1.0)))
58.0ms
(/ (- (- (* (/ (- x 1.0) (+ x 1.0)) x) x) 1.0) (* (+ x 1.0) (/ (- x 1.0) (+ x 1.0))))
27.0ms
(- (* (/ (- x 1.0) (+ x 1.0)) x) x)

series337.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ (- x 1.0) (+ x 1.0))
27.0ms
(* (+ x 1.0) (/ (- x 1.0) (+ x 1.0)))
155.0ms
(/ (- (- (* (/ (- x 1.0) (+ x 1.0)) x) x) 1.0) (* (+ x 1.0) (/ (- x 1.0) (+ x 1.0))))
113.0ms
(- (* (/ (- x 1.0) (+ x 1.0)) x) x)

simplify127.0ms

Algorithm
egg-herbie
Counts
541 → 541
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
016668634
150028208

prune686.0ms

Filtered
541 candidates to 283 candidates (52.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New5401541
Fresh033
Picked011
Done000
Total5405545

Merged error: 0.0b

Counts
545 → 5

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (/ (- x 1.0) (+ x 1.0)) (/ (+ x 1.0) x)) (* (/ (+ x 1.0) x) (/ (- x 1.0) (+ x 1.0))))
0.0b
(/ (- x 1.0) (+ x 1.0))
0.0b
(/ (- x 1.0) (+ x 1.0))
2.3b
(- (/ (- x 1.0) (+ x 1.0)) (/ (+ x 1.0) x))

rewrite349.0ms

Algorithm
rewrite-expression-head
Rules
3688×*-un-lft-identity
2528×times-frac
1631×add-sqr-sqrt
805×distribute-lft-out--
652×distribute-lft-out
561×add-cube-cbrt
442×associate-*r*
385×associate-/l*
336×associate-/r* frac-sub
334×associate-/l/
327×difference-of-squares
272×associate-*l*
235×associate-/r/
168×frac-times
84×clear-num
83×frac-2neg
68×unswap-sqr
62×flip3-+ flip-+
41×flip3-- flip--
37×div-inv
26×add-exp-log add-cbrt-cube
17×*-commutative
14×associate-*r/
12×associate-*l/
11×cbrt-undiv div-exp
div-sub add-log-exp
pow1 prod-exp cbrt-unprod
un-div-inv
associate--l-
sub-neg diff-log
Counts
4 → 1558
Calls
4 calls:
112.0ms
(/ (- (/ (- x 1.0) (+ x 1.0)) (/ (+ x 1.0) x)) (* (/ (+ x 1.0) x) (/ (- x 1.0) (+ x 1.0))))
8.0ms
(/ (- x 1.0) (+ x 1.0))
8.0ms
(/ (- x 1.0) (+ x 1.0))
38.0ms
(- (/ (- x 1.0) (+ x 1.0)) (/ (+ x 1.0) x))

series362.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(/ (- (/ (- x 1.0) (+ x 1.0)) (/ (+ x 1.0) x)) (* (/ (+ x 1.0) x) (/ (- x 1.0) (+ x 1.0))))
38.0ms
(/ (- x 1.0) (+ x 1.0))
42.0ms
(/ (- x 1.0) (+ x 1.0))
100.0ms
(- (/ (- x 1.0) (+ x 1.0)) (/ (+ x 1.0) x))

simplify305.0ms

Algorithm
egg-herbie
Counts
1570 → 1570
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
0500129081

prune2.0s

Filtered
1570 candidates to 706 candidates (45.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New157001570
Fresh033
Picked011
Done011
Total157051575

Merged error: 0.0b

Counts
1575 → 5

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3.0 x) 1.0)
0.0b
(+ (* 1.0 (pow x 2)) (+ (* 3.0 x) 1.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×distribute-lft-out
add-log-exp
associate-*l*
sum-log
+-commutative
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt associate-+r+ flip3-+ add-cbrt-cube flip-+
Counts
2 → 33
Calls
2 calls:
7.0ms
(+ (* 3.0 x) 1.0)
19.0ms
(+ (* 1.0 (pow x 2)) (+ (* 3.0 x) 1.0))

series59.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ (* 3.0 x) 1.0)
23.0ms
(+ (* 1.0 (pow x 2)) (+ (* 3.0 x) 1.0))

simplify80.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0159217
1571205
22330203
35001203

prune44.0ms

Filtered
39 candidates to 22 candidates (56.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New39039
Fresh022
Picked011
Done022
Total39544

Merged error: 0.0b

Counts
44 → 5

regimes31.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 24.6b

bsearch102.0ms

Steps
ItersRangePoint
10
1.0482644148039984e-06
3857898261607.3584
12664.160931741633
10
-1556119314.230081
-0.05767290693153419
-13967.117865521159

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03927
13927

end0.0ms

sample516.0ms

Algorithm
intervals
Results
179.0ms1656×body1280valid
100.0ms1191×body640valid
97.0ms4206×body80valid
38.0ms617×body320valid
14.0ms330×body160valid