Details

Time bar (total: 1.9s)

sample21.0ms

Algorithm
intervals
Results
7.0ms70×body640valid
4.0ms129×body80valid
2.0ms32×body320valid
1.0ms25×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01511
11511

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 13.9b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
84×*-un-lft-identity
55×times-frac
50×add-sqr-sqrt
30×add-cube-cbrt
25×distribute-lft-out--
10×distribute-lft-out
associate-/r*
difference-of-squares
add-exp-log add-cbrt-cube
associate-/r/ associate-/l*
add-log-exp
div-inv
pow1 flip--
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-+
sub-neg flip3-+ diff-log frac-sub
Counts
3 → 102
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
23.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series196.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(/ 1.0 (+ x 1.0))
2.0ms
(/ 1.0 (- x 1.0))
192.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
050031244

prune139.0ms

Filtered
80 candidates to 111 candidates (-38.8%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1101111
Fresh000
Picked101
Done000
Total1111112

Merged error: 0.2b

Counts
112 → 1

localize7.0ms

Local error

Found 1 expressions with local error:

0.2b
(/ (* 1.0 (* 1.0 -2)) (- (* x x) (* 1.0 1.0)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
times-frac associate-/r*
cbrt-undiv add-sqr-sqrt add-cube-cbrt *-un-lft-identity div-exp prod-exp cbrt-unprod
associate-/r/ difference-of-squares
pow1 flip3-- frac-2neg clear-num flip-- div-inv associate-/l* add-log-exp
Counts
1 → 27
Calls
1 calls:
8.0ms
(/ (* 1.0 (* 1.0 -2)) (- (* x x) (* 1.0 1.0)))

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(/ (* 1.0 (* 1.0 -2)) (- (* x x) (* 1.0 1.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04939446
14939446

prune44.0ms

Filtered
22 candidates to 30 candidates (-36.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New28230
Fresh000
Picked011
Done000
Total28331

Merged error: 0b

Counts
31 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 x))
0.0b
(* (/ 1.0 (+ 1.0 x)) (* 1.0 -2))
0.1b
(/ (* (/ 1.0 (+ 1.0 x)) (* 1.0 -2)) (- x 1.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
35×add-exp-log add-cbrt-cube
29×times-frac
26×add-sqr-sqrt
22×add-cube-cbrt
18×associate-*l*
12×prod-exp cbrt-unprod
10×cbrt-undiv div-exp
associate-/r*
pow1
distribute-lft-out
associate-/r/
associate-/l*
pow-prod-down div-inv add-log-exp
frac-2neg flip3-+ associate-*l/ clear-num flip-+ distribute-lft-out-- difference-of-squares
flip3-- associate-*r* *-commutative flip-- associate-/l/
Counts
3 → 105
Calls
3 calls:
5.0ms
(/ 1.0 (+ 1.0 x))
9.0ms
(* (/ 1.0 (+ 1.0 x)) (* 1.0 -2))
12.0ms
(/ (* (/ 1.0 (+ 1.0 x)) (* 1.0 -2)) (- x 1.0))

series9.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(/ 1.0 (+ 1.0 x))
2.0ms
(* (/ 1.0 (+ 1.0 x)) (* 1.0 -2))
5.0ms
(/ (* (/ 1.0 (+ 1.0 x)) (* 1.0 -2)) (- x 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
049581271
149581271

prune127.0ms

Filtered
76 candidates to 114 candidates (-50.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh011
Picked011
Done011
Total1143117

Merged error: 0b

Counts
117 → 3

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (/ 1.0 (- (pow x 4) (pow 1.0 4))) (* 1.0 -2))
0.0b
(/ 1.0 (- (pow x 4) (pow 1.0 4)))
25.3b
(* (* (/ 1.0 (- (pow x 4) (pow 1.0 4))) (* 1.0 -2)) (+ (* x x) (* 1.0 1.0)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
84×times-frac
69×*-un-lft-identity
63×difference-of-squares
56×unpow-prod-down
49×associate-*l*
42×sqr-pow
41×add-cube-cbrt
35×add-exp-log add-cbrt-cube
17×pow1 prod-exp cbrt-unprod
14×associate-/r* distribute-lft-out--
pow-prod-down
cbrt-undiv div-exp associate-*l/
associate-*r* associate-/r/
associate-/l* add-log-exp
frac-times flip3-- flip3-+ associate-*r/ *-commutative flip-- flip-+ div-inv
distribute-rgt-in frac-2neg distribute-lft-in clear-num
Counts
3 → 173
Calls
3 calls:
16.0ms
(* (/ 1.0 (- (pow x 4) (pow 1.0 4))) (* 1.0 -2))
9.0ms
(/ 1.0 (- (pow x 4) (pow 1.0 4)))
18.0ms
(* (* (/ 1.0 (- (pow x 4) (pow 1.0 4))) (* 1.0 -2)) (+ (* x x) (* 1.0 1.0)))

series25.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(* (/ 1.0 (- (pow x 4) (pow 1.0 4))) (* 1.0 -2))
8.0ms
(/ 1.0 (- (pow x 4) (pow 1.0 4)))
6.0ms
(* (* (/ 1.0 (- (pow x 4) (pow 1.0 4))) (* 1.0 -2)) (+ (* x x) (* 1.0 1.0)))

simplify65.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049942954
149942954

prune363.0ms

Filtered
125 candidates to 182 candidates (-45.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1820182
Fresh000
Picked011
Done022
Total1823185

Merged error: 0b

Counts
185 → 3

regimes28.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11213

end0.0ms

sample584.0ms

Algorithm
intervals
Results
198.0ms1885×body640valid
120.0ms4220×body80valid
97.0ms1226×body320valid
37.0ms669×body160valid

Profiling

Loading profile data...